Skip to content

Commit

Permalink
More tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed Nov 5, 2024
1 parent e335886 commit d1d0c2e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/credential-sdk/src/types/did/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
Ed255192020VerKeyName,
Ed25519VerKeyName,
Sr25519VerKeyName,
} from '../../vc/custom_crypto';
} from '../../vc/crypto';
import {
PublicKeyEd25519,
PublicKeySecp256k1,
Expand Down
2 changes: 1 addition & 1 deletion packages/credential-sdk/src/types/did/onchain/did-key.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
Bls12381BBS23DockVerKeyName,
Bls12381BBSDockVerKeyName,
Bls12381PSDockVerKeyName,
} from '../../../vc/custom_crypto';
} from '../../../vc/crypto';

/**
* Class representing either of possible DidKeys.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
Bls12381BBS23DockVerKeyName,
Bls12381BBSDockVerKeyName,
Bls12381PSDockVerKeyName,
} from '../../../vc/custom_crypto';
} from '../../../vc/crypto';
import {
BBSPublicKeyValue,
BBSPlusPublicKeyValue,
Expand Down
5 changes: 3 additions & 2 deletions packages/credential-sdk/src/vc/credentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ import {
isRegistryRevocationStatus,
} from './revocation';
import {
DockRevRegQualifier, RevRegType,
DockRevRegQualifier,
RevRegType,
DEFAULT_CONTEXT_V1_URL,
credentialContextField,
PrivateStatusList2021EntryType,
Expand Down Expand Up @@ -57,7 +58,7 @@ import {
Bls12381BBS23SigDockSigName,
Bls12381BBDT16MacDockName,
Bls12381BBDT16MacProofDockName,
} from './custom_crypto';
} from './crypto';
import { signJWS } from './jws';
import Bls12381BBDT16MACProofDock2024 from './crypto/Bls12381BBDT16MACProofDock2024';

Expand Down
2 changes: 1 addition & 1 deletion packages/credential-sdk/src/vc/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
Bls12381PSDockVerKeyName,
JsonWebSignature2020,
Ed25519Signature2020,
} from './custom_crypto';
} from './crypto';
import {
Bls12381BBDT16DockVerKeyName,
Bls12381BBDT16MacDockName,
Expand Down
1 change: 0 additions & 1 deletion packages/credential-sdk/src/vc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export * from './credentials';
export * from './helpers';
export * from './schema';
export * from './constants';
export * from './custom_crypto';
export { default as CredentialIssuancePurpose } from './CredentialIssuancePurpose';
export { default as documentLoader } from './document-loader';
export * from './jws';
Expand Down
2 changes: 1 addition & 1 deletion packages/credential-sdk/src/vc/presentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import defaultDocumentLoader from './document-loader';
import {
Bls12381BBSSignatureDock2023,
Bls12381PSSignatureDock2023,
} from './custom_crypto';
} from './crypto';
import Bls12381BBDT16MACDock2024 from './crypto/Bls12381BBDT16MACDock2024';

import { isCredVerGte060 } from './crypto/common/DockCryptoSignature';
Expand Down
2 changes: 1 addition & 1 deletion packages/credential-sdk/src/vc/presentations.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {
Bls12381BBSSignatureDock2022,
Bls12381BBSSignatureDock2023,
Bls12381PSSignatureDock2023,
} from './custom_crypto';
} from './crypto';

const { AuthenticationProofPurpose } = jsigs.purposes;

Expand Down

0 comments on commit d1d0c2e

Please sign in to comment.