@credo-ts/anoncreds 0.6.0-pr-2143-20250106173054 → 0.6.0-pr-2195-20250217183709
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/AnonCredsApi.js +7 -4
- package/build/AnonCredsApi.js.map +1 -1
- package/build/AnonCredsModuleConfig.js +2 -4
- package/build/AnonCredsModuleConfig.js.map +1 -1
- package/build/anoncreds-rs/AnonCredsDataIntegrityService.js +13 -14
- package/build/anoncreds-rs/AnonCredsDataIntegrityService.js.map +1 -1
- package/build/anoncreds-rs/AnonCredsRsHolderService.js +22 -28
- package/build/anoncreds-rs/AnonCredsRsHolderService.js.map +1 -1
- package/build/anoncreds-rs/AnonCredsRsIssuerService.js +23 -17
- package/build/anoncreds-rs/AnonCredsRsIssuerService.js.map +1 -1
- package/build/anoncreds-rs/AnonCredsRsVerifierService.js +6 -7
- package/build/anoncreds-rs/AnonCredsRsVerifierService.js.map +1 -1
- package/build/anoncreds-rs/utils.js +3 -3
- package/build/anoncreds-rs/utils.js.map +1 -1
- package/build/formats/AnonCredsCredentialFormat.d.ts +1 -1
- package/build/formats/AnonCredsCredentialFormatService.d.ts +3 -2
- package/build/formats/AnonCredsCredentialFormatService.js +26 -39
- package/build/formats/AnonCredsCredentialFormatService.js.map +1 -1
- package/build/formats/AnonCredsProofFormat.d.ts +1 -1
- package/build/formats/AnonCredsProofFormatService.d.ts +2 -1
- package/build/formats/AnonCredsProofFormatService.js +26 -27
- package/build/formats/AnonCredsProofFormatService.js.map +1 -1
- package/build/formats/DataIntegrityCredentialFormatService.d.ts +3 -2
- package/build/formats/DataIntegrityCredentialFormatService.js +82 -83
- package/build/formats/DataIntegrityCredentialFormatService.js.map +1 -1
- package/build/formats/LegacyIndyCredentialFormat.d.ts +1 -1
- package/build/formats/LegacyIndyCredentialFormatService.d.ts +3 -2
- package/build/formats/LegacyIndyCredentialFormatService.js +19 -32
- package/build/formats/LegacyIndyCredentialFormatService.js.map +1 -1
- package/build/formats/LegacyIndyProofFormat.d.ts +1 -1
- package/build/formats/LegacyIndyProofFormatService.d.ts +2 -1
- package/build/formats/LegacyIndyProofFormatService.js +28 -30
- package/build/formats/LegacyIndyProofFormatService.js.map +1 -1
- package/build/models/AnonCredsProofRequest.js +2 -3
- package/build/models/AnonCredsProofRequest.js.map +1 -1
- package/build/models/AnonCredsRequestedAttribute.js +1 -2
- package/build/models/AnonCredsRequestedAttribute.js.map +1 -1
- package/build/models/AnonCredsRequestedPredicate.js +1 -2
- package/build/models/AnonCredsRequestedPredicate.js.map +1 -1
- package/build/models/AnonCredsRestriction.js +2 -3
- package/build/models/AnonCredsRestriction.js.map +1 -1
- package/build/protocols/credentials/v1/V1CredentialProtocol.d.ts +4 -3
- package/build/protocols/credentials/v1/V1CredentialProtocol.js +159 -155
- package/build/protocols/credentials/v1/V1CredentialProtocol.js.map +1 -1
- package/build/protocols/credentials/v1/errors/V1CredentialProblemReportError.d.ts +2 -2
- package/build/protocols/credentials/v1/errors/V1CredentialProblemReportError.js +2 -2
- package/build/protocols/credentials/v1/errors/V1CredentialProblemReportError.js.map +1 -1
- package/build/protocols/credentials/v1/handlers/V1CredentialAckHandler.d.ts +1 -1
- package/build/protocols/credentials/v1/handlers/V1CredentialProblemReportHandler.d.ts +1 -1
- package/build/protocols/credentials/v1/handlers/V1IssueCredentialHandler.d.ts +2 -2
- package/build/protocols/credentials/v1/handlers/V1IssueCredentialHandler.js +2 -1
- package/build/protocols/credentials/v1/handlers/V1IssueCredentialHandler.js.map +1 -1
- package/build/protocols/credentials/v1/handlers/V1OfferCredentialHandler.d.ts +2 -2
- package/build/protocols/credentials/v1/handlers/V1OfferCredentialHandler.js +2 -2
- package/build/protocols/credentials/v1/handlers/V1OfferCredentialHandler.js.map +1 -1
- package/build/protocols/credentials/v1/handlers/V1ProposeCredentialHandler.d.ts +2 -2
- package/build/protocols/credentials/v1/handlers/V1ProposeCredentialHandler.js +2 -2
- package/build/protocols/credentials/v1/handlers/V1ProposeCredentialHandler.js.map +1 -1
- package/build/protocols/credentials/v1/handlers/V1RequestCredentialHandler.d.ts +2 -2
- package/build/protocols/credentials/v1/handlers/V1RequestCredentialHandler.js +2 -1
- package/build/protocols/credentials/v1/handlers/V1RequestCredentialHandler.js.map +1 -1
- package/build/protocols/credentials/v1/messages/V1CredentialAckMessage.d.ts +3 -3
- package/build/protocols/credentials/v1/messages/V1CredentialAckMessage.js +4 -4
- package/build/protocols/credentials/v1/messages/V1CredentialAckMessage.js.map +1 -1
- package/build/protocols/credentials/v1/messages/V1CredentialPreview.d.ts +3 -3
- package/build/protocols/credentials/v1/messages/V1CredentialPreview.js +8 -7
- package/build/protocols/credentials/v1/messages/V1CredentialPreview.js.map +1 -1
- package/build/protocols/credentials/v1/messages/V1CredentialProblemReportMessage.d.ts +3 -3
- package/build/protocols/credentials/v1/messages/V1CredentialProblemReportMessage.js +4 -4
- package/build/protocols/credentials/v1/messages/V1CredentialProblemReportMessage.js.map +1 -1
- package/build/protocols/credentials/v1/messages/V1IssueCredentialMessage.d.ts +2 -2
- package/build/protocols/credentials/v1/messages/V1IssueCredentialMessage.js +8 -10
- package/build/protocols/credentials/v1/messages/V1IssueCredentialMessage.js.map +1 -1
- package/build/protocols/credentials/v1/messages/V1OfferCredentialMessage.d.ts +2 -2
- package/build/protocols/credentials/v1/messages/V1OfferCredentialMessage.js +7 -8
- package/build/protocols/credentials/v1/messages/V1OfferCredentialMessage.js.map +1 -1
- package/build/protocols/credentials/v1/messages/V1ProposeCredentialMessage.d.ts +3 -3
- package/build/protocols/credentials/v1/messages/V1ProposeCredentialMessage.js +5 -6
- package/build/protocols/credentials/v1/messages/V1ProposeCredentialMessage.js.map +1 -1
- package/build/protocols/credentials/v1/messages/V1RequestCredentialMessage.d.ts +2 -2
- package/build/protocols/credentials/v1/messages/V1RequestCredentialMessage.js +7 -8
- package/build/protocols/credentials/v1/messages/V1RequestCredentialMessage.js.map +1 -1
- package/build/protocols/proofs/v1/V1ProofProtocol.d.ts +4 -3
- package/build/protocols/proofs/v1/V1ProofProtocol.js +147 -156
- package/build/protocols/proofs/v1/V1ProofProtocol.js.map +1 -1
- package/build/protocols/proofs/v1/errors/V1PresentationProblemReportError.d.ts +2 -2
- package/build/protocols/proofs/v1/errors/V1PresentationProblemReportError.js +2 -2
- package/build/protocols/proofs/v1/errors/V1PresentationProblemReportError.js.map +1 -1
- package/build/protocols/proofs/v1/handlers/V1PresentationAckHandler.d.ts +1 -1
- package/build/protocols/proofs/v1/handlers/V1PresentationHandler.d.ts +2 -2
- package/build/protocols/proofs/v1/handlers/V1PresentationHandler.js +2 -1
- package/build/protocols/proofs/v1/handlers/V1PresentationHandler.js.map +1 -1
- package/build/protocols/proofs/v1/handlers/V1PresentationProblemReportHandler.d.ts +1 -1
- package/build/protocols/proofs/v1/handlers/V1ProposePresentationHandler.d.ts +2 -2
- package/build/protocols/proofs/v1/handlers/V1ProposePresentationHandler.js +2 -2
- package/build/protocols/proofs/v1/handlers/V1ProposePresentationHandler.js.map +1 -1
- package/build/protocols/proofs/v1/handlers/V1RequestPresentationHandler.d.ts +2 -2
- package/build/protocols/proofs/v1/handlers/V1RequestPresentationHandler.js +2 -2
- package/build/protocols/proofs/v1/handlers/V1RequestPresentationHandler.js.map +1 -1
- package/build/protocols/proofs/v1/messages/V1PresentationAckMessage.d.ts +3 -3
- package/build/protocols/proofs/v1/messages/V1PresentationAckMessage.js +4 -4
- package/build/protocols/proofs/v1/messages/V1PresentationAckMessage.js.map +1 -1
- package/build/protocols/proofs/v1/messages/V1PresentationMessage.d.ts +2 -2
- package/build/protocols/proofs/v1/messages/V1PresentationMessage.js +9 -11
- package/build/protocols/proofs/v1/messages/V1PresentationMessage.js.map +1 -1
- package/build/protocols/proofs/v1/messages/V1PresentationProblemReportMessage.d.ts +3 -3
- package/build/protocols/proofs/v1/messages/V1PresentationProblemReportMessage.js +4 -4
- package/build/protocols/proofs/v1/messages/V1PresentationProblemReportMessage.js.map +1 -1
- package/build/protocols/proofs/v1/messages/V1ProposePresentationMessage.d.ts +2 -2
- package/build/protocols/proofs/v1/messages/V1ProposePresentationMessage.js +5 -6
- package/build/protocols/proofs/v1/messages/V1ProposePresentationMessage.js.map +1 -1
- package/build/protocols/proofs/v1/messages/V1RequestPresentationMessage.d.ts +2 -2
- package/build/protocols/proofs/v1/messages/V1RequestPresentationMessage.js +8 -10
- package/build/protocols/proofs/v1/messages/V1RequestPresentationMessage.js.map +1 -1
- package/build/protocols/proofs/v1/models/V1PresentationPreview.d.ts +1 -1
- package/build/protocols/proofs/v1/models/V1PresentationPreview.js +6 -6
- package/build/protocols/proofs/v1/models/V1PresentationPreview.js.map +1 -1
- package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.js +6 -4
- package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.js.map +1 -1
- package/build/repository/AnonCredsCredentialDefinitionRecord.js +11 -4
- package/build/repository/AnonCredsCredentialDefinitionRecord.js.map +1 -1
- package/build/repository/AnonCredsCredentialRecord.js +12 -4
- package/build/repository/AnonCredsCredentialRecord.js.map +1 -1
- package/build/repository/AnonCredsKeyCorrectnessProofRecord.js +6 -4
- package/build/repository/AnonCredsKeyCorrectnessProofRecord.js.map +1 -1
- package/build/repository/AnonCredsLinkSecretRecord.js +5 -3
- package/build/repository/AnonCredsLinkSecretRecord.js.map +1 -1
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.js +8 -4
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.js.map +1 -1
- package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.js +7 -4
- package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.js.map +1 -1
- package/build/repository/AnonCredsSchemaRecord.js +11 -4
- package/build/repository/AnonCredsSchemaRecord.js.map +1 -1
- package/build/services/tails/BasicTailsFileService.js +2 -3
- package/build/services/tails/BasicTailsFileService.js.map +1 -1
- package/build/updates/0.3.1-0.4/credentialExchangeRecord.d.ts +2 -1
- package/build/updates/0.3.1-0.4/credentialExchangeRecord.js +2 -2
- package/build/updates/0.3.1-0.4/credentialExchangeRecord.js.map +1 -1
- package/build/updates/0.3.1-0.4/linkSecret.js +2 -3
- package/build/updates/0.3.1-0.4/linkSecret.js.map +1 -1
- package/build/updates/0.4-0.5/anonCredsCredentialRecord.js +4 -4
- package/build/updates/0.4-0.5/anonCredsCredentialRecord.js.map +1 -1
- package/build/utils/bytesToBigint.d.ts +1 -0
- package/build/utils/bytesToBigint.js +14 -0
- package/build/utils/bytesToBigint.js.map +1 -0
- package/build/utils/composeAutoAccept.d.ts +1 -1
- package/build/utils/composeAutoAccept.js +3 -5
- package/build/utils/composeAutoAccept.js.map +1 -1
- package/build/utils/createRequestFromPreview.js +3 -4
- package/build/utils/createRequestFromPreview.js.map +1 -1
- package/build/utils/credential.d.ts +1 -1
- package/build/utils/credential.js +10 -10
- package/build/utils/credential.js.map +1 -1
- package/build/utils/credentialPreviewAttributes.d.ts +1 -1
- package/build/utils/credentialPreviewAttributes.js +1 -1
- package/build/utils/credentialPreviewAttributes.js.map +1 -1
- package/build/utils/getCredentialsForAnonCredsRequest.js +2 -3
- package/build/utils/getCredentialsForAnonCredsRequest.js.map +1 -1
- package/build/utils/getRevocationRegistries.js +13 -5
- package/build/utils/getRevocationRegistries.js.map +1 -1
- package/build/utils/indyIdentifiers.js +23 -12
- package/build/utils/indyIdentifiers.js.map +1 -1
- package/build/utils/proofRequest.js +7 -10
- package/build/utils/proofRequest.js.map +1 -1
- package/build/utils/w3cAnonCredsUtils.js +29 -21
- package/build/utils/w3cAnonCredsUtils.js.map +1 -1
- package/package.json +4 -5
|
@@ -9,7 +9,6 @@ const credential_1 = require("./credential");
|
|
|
9
9
|
const indyIdentifiers_1 = require("./indyIdentifiers");
|
|
10
10
|
const metadata_1 = require("./metadata");
|
|
11
11
|
function anonCredsCredentialInfoFromW3cRecord(w3cCredentialRecord, useUnqualifiedIdentifiers) {
|
|
12
|
-
var _a, _b, _c, _d;
|
|
13
12
|
if (Array.isArray(w3cCredentialRecord.credential.credentialSubject)) {
|
|
14
13
|
throw new core_1.CredoError('Credential subject must be an object, not an array.');
|
|
15
14
|
}
|
|
@@ -27,22 +26,21 @@ function anonCredsCredentialInfoFromW3cRecord(w3cCredentialRecord, useUnqualifie
|
|
|
27
26
|
: anonCredsTags.anonCredsSchemaId;
|
|
28
27
|
const revocationRegistryId = useUnqualifiedIdentifiers && anonCredsTags.anonCredsUnqualifiedRevocationRegistryId
|
|
29
28
|
? anonCredsTags.anonCredsUnqualifiedRevocationRegistryId
|
|
30
|
-
:
|
|
29
|
+
: anonCredsTags.anonCredsRevocationRegistryId ?? null;
|
|
31
30
|
return {
|
|
32
|
-
attributes:
|
|
31
|
+
attributes: w3cCredentialRecord.credential.credentialSubject.claims ?? {},
|
|
33
32
|
credentialId: w3cCredentialRecord.id,
|
|
34
33
|
credentialDefinitionId,
|
|
35
34
|
schemaId,
|
|
36
35
|
revocationRegistryId,
|
|
37
|
-
credentialRevocationId:
|
|
36
|
+
credentialRevocationId: anonCredsCredentialMetadata.credentialRevocationId ?? null,
|
|
38
37
|
methodName: anonCredsCredentialMetadata.methodName,
|
|
39
38
|
linkSecretId: anonCredsCredentialMetadata.linkSecretId,
|
|
40
39
|
createdAt: w3cCredentialRecord.createdAt,
|
|
41
|
-
updatedAt:
|
|
40
|
+
updatedAt: w3cCredentialRecord.updatedAt ?? w3cCredentialRecord.createdAt,
|
|
42
41
|
};
|
|
43
42
|
}
|
|
44
43
|
function anonCredsCredentialInfoFromAnonCredsRecord(anonCredsCredentialRecord) {
|
|
45
|
-
var _a, _b, _c;
|
|
46
44
|
const attributes = {};
|
|
47
45
|
for (const attribute in anonCredsCredentialRecord.credential) {
|
|
48
46
|
attributes[attribute] = anonCredsCredentialRecord.credential.values[attribute].raw;
|
|
@@ -52,12 +50,12 @@ function anonCredsCredentialInfoFromAnonCredsRecord(anonCredsCredentialRecord) {
|
|
|
52
50
|
credentialDefinitionId: anonCredsCredentialRecord.credential.cred_def_id,
|
|
53
51
|
credentialId: anonCredsCredentialRecord.credentialId,
|
|
54
52
|
schemaId: anonCredsCredentialRecord.credential.schema_id,
|
|
55
|
-
credentialRevocationId:
|
|
56
|
-
revocationRegistryId:
|
|
53
|
+
credentialRevocationId: anonCredsCredentialRecord.credentialRevocationId ?? null,
|
|
54
|
+
revocationRegistryId: anonCredsCredentialRecord.credential.rev_reg_id ?? null,
|
|
57
55
|
methodName: anonCredsCredentialRecord.methodName,
|
|
58
56
|
linkSecretId: anonCredsCredentialRecord.linkSecretId,
|
|
59
57
|
createdAt: anonCredsCredentialRecord.createdAt,
|
|
60
|
-
updatedAt:
|
|
58
|
+
updatedAt: anonCredsCredentialRecord.updatedAt ?? anonCredsCredentialRecord.createdAt,
|
|
61
59
|
};
|
|
62
60
|
}
|
|
63
61
|
function getAnoncredsCredentialInfoFromRecord(credentialRecord, useUnqualifiedIdentifiersIfPresent) {
|
|
@@ -97,7 +95,7 @@ function getStoreCredentialOptions(options, indyNamespace) {
|
|
|
97
95
|
? (0, indyIdentifiers_1.getQualifiedDidIndyCredentialDefinition)(credentialDefinition, indyNamespace)
|
|
98
96
|
: credentialDefinition,
|
|
99
97
|
schema: (0, indyIdentifiers_1.isUnqualifiedDidIndySchema)(schema) ? (0, indyIdentifiers_1.getQualifiedDidIndySchema)(schema, indyNamespace) : schema,
|
|
100
|
-
revocationRegistry:
|
|
98
|
+
revocationRegistry: revocationRegistry?.definition
|
|
101
99
|
? {
|
|
102
100
|
definition: (0, indyIdentifiers_1.isUnqualifiedDidIndyRevocationRegistryDefinition)(revocationRegistry.definition)
|
|
103
101
|
? (0, indyIdentifiers_1.getQualifiedDidIndyRevocationRegistryDefinition)(revocationRegistry.definition, indyNamespace)
|
|
@@ -111,18 +109,28 @@ function getStoreCredentialOptions(options, indyNamespace) {
|
|
|
111
109
|
return storeCredentialOptions;
|
|
112
110
|
}
|
|
113
111
|
function getW3cRecordAnonCredsTags(options) {
|
|
114
|
-
var _a;
|
|
115
112
|
const { credentialSubject, issuerId, schema, schemaId, credentialDefinitionId, revocationRegistryId, credentialRevocationId, linkSecretId, methodName, } = options;
|
|
116
|
-
const anonCredsCredentialRecordTags =
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
113
|
+
const anonCredsCredentialRecordTags = {
|
|
114
|
+
anonCredsLinkSecretId: linkSecretId,
|
|
115
|
+
anonCredsCredentialDefinitionId: credentialDefinitionId,
|
|
116
|
+
anonCredsSchemaId: schemaId,
|
|
117
|
+
anonCredsSchemaName: schema.name,
|
|
118
|
+
anonCredsSchemaIssuerId: schema.issuerId,
|
|
119
|
+
anonCredsSchemaVersion: schema.version,
|
|
120
|
+
anonCredsMethodName: methodName,
|
|
121
|
+
anonCredsRevocationRegistryId: revocationRegistryId,
|
|
122
|
+
anonCredsCredentialRevocationId: credentialRevocationId,
|
|
123
|
+
...(((0, indyIdentifiers_1.isIndyDid)(issuerId) || (0, indyIdentifiers_1.isUnqualifiedIndyDid)(issuerId)) && {
|
|
124
|
+
anonCredsUnqualifiedIssuerId: (0, indyIdentifiers_1.getUnQualifiedDidIndyDid)(issuerId),
|
|
125
|
+
anonCredsUnqualifiedCredentialDefinitionId: (0, indyIdentifiers_1.getUnQualifiedDidIndyDid)(credentialDefinitionId),
|
|
126
|
+
anonCredsUnqualifiedSchemaId: (0, indyIdentifiers_1.getUnQualifiedDidIndyDid)(schemaId),
|
|
127
|
+
anonCredsUnqualifiedSchemaIssuerId: (0, indyIdentifiers_1.getUnQualifiedDidIndyDid)(schema.issuerId),
|
|
128
|
+
anonCredsUnqualifiedRevocationRegistryId: revocationRegistryId
|
|
129
|
+
? (0, indyIdentifiers_1.getUnQualifiedDidIndyDid)(revocationRegistryId)
|
|
130
|
+
: undefined,
|
|
131
|
+
}),
|
|
132
|
+
};
|
|
133
|
+
const values = (0, credential_1.mapAttributeRawValuesToAnonCredsCredentialValues)(credentialSubject.claims ?? {});
|
|
126
134
|
for (const [key, value] of Object.entries(values)) {
|
|
127
135
|
anonCredsCredentialRecordTags[`anonCredsAttr::${key}::value`] = value.raw;
|
|
128
136
|
anonCredsCredentialRecordTags[`anonCredsAttr::${key}::marker`] = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"w3cAnonCredsUtils.js","sourceRoot":"","sources":["../../src/utils/w3cAnonCredsUtils.ts"],"names":[],"mappings":";;AAqHA,oFASC;AACD,gEAoBC;AAED,8DAqCC;AAED,8DAsDC;AA3OD,yCAAuE;AAEvE,6CAA+E;AAC/E,uDAa0B;AAC1B,yCAA8D;AA0B9D,SAAS,oCAAoC,CAC3C,mBAAwC,EACxC,yBAAmC
|
|
1
|
+
{"version":3,"file":"w3cAnonCredsUtils.js","sourceRoot":"","sources":["../../src/utils/w3cAnonCredsUtils.ts"],"names":[],"mappings":";;AAqHA,oFASC;AACD,gEAoBC;AAED,8DAqCC;AAED,8DAsDC;AA3OD,yCAAuE;AAEvE,6CAA+E;AAC/E,uDAa0B;AAC1B,yCAA8D;AA0B9D,SAAS,oCAAoC,CAC3C,mBAAwC,EACxC,yBAAmC;IAEnC,IAAI,KAAK,CAAC,OAAO,CAAC,mBAAmB,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACpE,MAAM,IAAI,iBAAU,CAAC,qDAAqD,CAAC,CAAA;IAC7E,CAAC;IAED,MAAM,aAAa,GAAG,0BAA0B,CAAC,mBAAmB,CAAC,CAAA;IACrE,IAAI,CAAC,aAAa;QAAE,MAAM,IAAI,iBAAU,CAAC,gDAAgD,CAAC,CAAA;IAE1F,MAAM,2BAA2B,GAAG,mBAAmB,CAAC,QAAQ,CAAC,GAAG,CAClE,4CAAiC,CAClC,CAAA;IACD,IAAI,CAAC,2BAA2B;QAAE,MAAM,IAAI,iBAAU,CAAC,oDAAoD,CAAC,CAAA;IAE5G,MAAM,sBAAsB,GAC1B,yBAAyB,IAAI,aAAa,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,GAAG,SAAS,CAAC,GAAG,KAAK,CAAC,GAAG,CAAA;QACzE,6BAA6B,CAAC,kBAAkB,GAAG,UAAU,CAAC,GAAG,IAAI,CAAA;IACvE,CAAC;IAED,OAAO,6BAA6B,CAAA;AACtC,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@credo-ts/anoncreds",
|
|
3
3
|
"main": "build/index",
|
|
4
4
|
"types": "build/index",
|
|
5
|
-
"version": "0.6.0-pr-
|
|
5
|
+
"version": "0.6.0-pr-2195-20250217183709",
|
|
6
6
|
"files": [
|
|
7
7
|
"build"
|
|
8
8
|
],
|
|
@@ -19,12 +19,11 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@astronautlabs/jsonpath": "^1.1.2",
|
|
21
21
|
"@sphereon/pex-models": "^2.3.1",
|
|
22
|
-
"big-integer": "^1.6.51",
|
|
23
|
-
"bn.js": "^5.2.1",
|
|
24
22
|
"class-transformer": "0.5.1",
|
|
25
23
|
"class-validator": "0.14.1",
|
|
26
24
|
"reflect-metadata": "^0.1.13",
|
|
27
|
-
"@credo-ts/core": "0.6.0-pr-
|
|
25
|
+
"@credo-ts/core": "0.6.0-pr-2195-20250217183709",
|
|
26
|
+
"@credo-ts/didcomm": "0.6.0-pr-2195-20250217183709"
|
|
28
27
|
},
|
|
29
28
|
"devDependencies": {
|
|
30
29
|
"@hyperledger/anoncreds-nodejs": "^0.2.2",
|
|
@@ -32,7 +31,7 @@
|
|
|
32
31
|
"rimraf": "^4.4.0",
|
|
33
32
|
"rxjs": "^7.8.0",
|
|
34
33
|
"typescript": "~5.5.2",
|
|
35
|
-
"@credo-ts/node": "0.6.0-pr-
|
|
34
|
+
"@credo-ts/node": "0.6.0-pr-2195-20250217183709"
|
|
36
35
|
},
|
|
37
36
|
"peerDependencies": {
|
|
38
37
|
"@hyperledger/anoncreds-shared": "^0.2.2"
|