Skip to content

Commit

Permalink
Misc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed Oct 30, 2024
1 parent f685d4b commit a8f2cae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
UniversalResolver,
WILDCARD,
DIDResolver,
ResolverRouter,
Resolver,
} from '@docknetwork/credential-sdk/resolver';
import { DockDIDModule } from '@docknetwork/dock-blockchain-modules';
Expand Down Expand Up @@ -93,7 +94,7 @@ async function main() {
new EtherResolver(ethereumProviderConfig), // Custom resolver
];

class AnyDIDResolver extends DIDResolver {
class AnyDIDResolver extends ResolverRouter {
method = WILDCARD;
}

Expand Down
4 changes: 2 additions & 2 deletions packages/credential-sdk/src/modules/tests/blob-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { DidKeypair, Ed25519Keypair } from '../../keypairs';
import { NoBlobError } from '../abstract/blob/errors';
import { DIDDocument } from '../../types';
import { itIf } from './common';
import { BlobResolver } from '../../resolver/blob';
import { stringToU8a } from '../../utils';
// import { BlobResolver } from '../../resolver/blob';
// import { stringToU8a } from '../../utils';

// eslint-disable-next-line jest/no-export
export default function generateBlobModuleTests(
Expand Down
2 changes: 1 addition & 1 deletion packages/credential-sdk/src/modules/tests/did-module.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DidKeypair, Ed25519Keypair } from '../../keypairs';
import { DIDResolver } from '../../resolver';
// import { DIDResolver } from '../../resolver';
import {
DIDDocument,
BBSPublicKeyValue,
Expand Down

0 comments on commit a8f2cae

Please sign in to comment.