@sphereon/ssi-sdk.credential-store 0.32.1-feature.VDX.341.57 → 0.32.1-feature.new.develop.273
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.
|
@@ -6,7 +6,7 @@ import { CredentialStateType } from '@sphereon/ssi-sdk.data-store';
|
|
|
6
6
|
import { DigitalCredential } from '@sphereon/ssi-sdk.data-store';
|
|
7
7
|
import { DocumentType as DocumentType_2 } from '@sphereon/ssi-sdk.data-store';
|
|
8
8
|
import { FindDigitalCredentialArgs } from '@sphereon/ssi-sdk.data-store';
|
|
9
|
-
import {
|
|
9
|
+
import { HasherSync } from '@sphereon/ssi-types';
|
|
10
10
|
import { IAgentContext } from '@veramo/core';
|
|
11
11
|
import { IAgentPlugin } from '@veramo/core';
|
|
12
12
|
import { ICredential } from '@sphereon/ssi-types';
|
|
@@ -24,7 +24,7 @@ export declare type AddCredentialArgs = {
|
|
|
24
24
|
credential: AddDigitalCredential;
|
|
25
25
|
opts?: {
|
|
26
26
|
maxTimeSkewInMS?: number;
|
|
27
|
-
hasher?:
|
|
27
|
+
hasher?: HasherSync;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
|
package/dist/tsdoc-metadata.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CredentialRole, DigitalCredential, FindDigitalCredentialArgs, NonPersistedDigitalCredential, UpdateCredentialStateArgs } from '@sphereon/ssi-sdk.data-store';
|
|
2
|
-
import {
|
|
2
|
+
import { HasherSync, ICredential, IPresentation, IVerifiableCredential, IVerifiablePresentation, OriginalVerifiableCredential, OriginalVerifiablePresentation } from '@sphereon/ssi-types';
|
|
3
3
|
import { IAgentContext, IPluginMethodMap } from '@veramo/core';
|
|
4
4
|
import { FindClaimsArgs } from './claims';
|
|
5
5
|
export type { UpdateCredentialStateArgs };
|
|
@@ -87,7 +87,7 @@ export type AddCredentialArgs = {
|
|
|
87
87
|
credential: AddDigitalCredential;
|
|
88
88
|
opts?: {
|
|
89
89
|
maxTimeSkewInMS?: number;
|
|
90
|
-
hasher?:
|
|
90
|
+
hasher?: HasherSync;
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
export interface UniqueDigitalCredential {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICredentialStore.d.ts","sourceRoot":"","sources":["../../src/types/ICredentialStore.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,yBAAyB,EACzB,6BAA6B,EAC7B,yBAAyB,EAC1B,MAAM,8BAA8B,CAAA;AACrC,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"ICredentialStore.d.ts","sourceRoot":"","sources":["../../src/types/ICredentialStore.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,yBAAyB,EACzB,6BAA6B,EAC7B,yBAAyB,EAC1B,MAAM,8BAA8B,CAAA;AACrC,OAAO,EACL,UAAU,EACV,WAAW,EACX,aAAa,EACb,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,8BAA8B,EAC/B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEzC,YAAY,EAAE,yBAAyB,EAAE,CAAA;AAEzC,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD;;;OAGG;IACH,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAA;IAErE;;;OAGG;IACH,wBAAwB,CAAC,IAAI,EAAE,yBAAyB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAA;IAErF;;;OAGG;IACH,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAA;IAErE;;;OAGG;IACH,iBAAiB,CAAC,IAAI,EAA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;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAEpE,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,CAAA;AAEtD,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,6BAA6B,EAC7B,IAAI,GAAG,cAAc,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,MAAM,GAAG,WAAW,GAAG,eAAe,GAAG,WAAW,GAAG,YAAY,CACnI,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,EAAE,oBAAoB,CAAA;IAChC,IAAI,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,UAAU,CAAA;KAAE,CAAA;CACzD,CAAA;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,iBAAiB,EAAE,iBAAiB,CAAA;IAEpC,4BAA4B,CAAC,EAAE,4BAA4B,CAAA;IAC3D,8BAA8B,CAAC,EAAE,8BAA8B,CAAA;IAC/D,kBAAkB,CAAC,EAAE,WAAW,CAAA;IAChC,oBAAoB,CAAC,EAAE,aAAa,CAAA;IACpC,2BAA2B,CAAC,EAAE,qBAAqB,CAAA;IACnD,6BAA6B,CAAC,EAAE,uBAAuB,CAAA;CACxD;AAED,MAAM,MAAM,+BAA+B,GAAG,uBAAuB,GAAG,SAAS,CAAA;AAEjF,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.credential-store",
|
|
3
|
-
"version": "0.32.1-feature.
|
|
3
|
+
"version": "0.32.1-feature.new.develop.273+79f7bcde",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@sphereon/pex": "5.0.0-unstable.28",
|
|
19
19
|
"@sphereon/pex-models": "^2.3.2",
|
|
20
|
-
"@sphereon/ssi-sdk.core": "0.32.1-feature.
|
|
21
|
-
"@sphereon/ssi-sdk.data-store": "0.32.1-feature.
|
|
20
|
+
"@sphereon/ssi-sdk.core": "0.32.1-feature.new.develop.273+79f7bcde",
|
|
21
|
+
"@sphereon/ssi-sdk.data-store": "0.32.1-feature.new.develop.273+79f7bcde",
|
|
22
22
|
"cross-fetch": "^3.1.8",
|
|
23
23
|
"debug": "^4.3.4",
|
|
24
24
|
"typeorm": "^0.3.20",
|
|
25
25
|
"uuid": "^9.0.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@sphereon/ssi-sdk.agent-config": "0.32.1-feature.
|
|
29
|
-
"@sphereon/ssi-types": "0.32.1-feature.
|
|
28
|
+
"@sphereon/ssi-sdk.agent-config": "0.32.1-feature.new.develop.273+79f7bcde",
|
|
29
|
+
"@sphereon/ssi-types": "0.32.1-feature.new.develop.273+79f7bcde",
|
|
30
30
|
"@types/uuid": "^9.0.8",
|
|
31
31
|
"@veramo/remote-client": "4.2.0",
|
|
32
32
|
"@veramo/remote-server": "4.2.0"
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"Credential Manager"
|
|
53
53
|
],
|
|
54
54
|
"nx": {},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "79f7bcdece5b9890c6243a402f36160bf205e482"
|
|
56
56
|
}
|
package/plugin.schema.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"type": "number"
|
|
16
16
|
},
|
|
17
17
|
"hasher": {
|
|
18
|
-
"$ref": "#/components/schemas/
|
|
18
|
+
"$ref": "#/components/schemas/HasherSync"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"issuerCorrelationId"
|
|
102
102
|
]
|
|
103
103
|
},
|
|
104
|
-
"
|
|
104
|
+
"HasherSync": {
|
|
105
105
|
"$comment": "(data: string, alg: string) => Uint8Array",
|
|
106
106
|
"type": "object",
|
|
107
107
|
"properties": {
|
|
@@ -1103,7 +1103,7 @@
|
|
|
1103
1103
|
"additionalProperties": {
|
|
1104
1104
|
"anyOf": [
|
|
1105
1105
|
{
|
|
1106
|
-
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-
|
|
1106
|
+
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-197-306-pes_sd-jwt-vc.d.ts-0-7978"
|
|
1107
1107
|
},
|
|
1108
1108
|
{
|
|
1109
1109
|
"not": {}
|
|
@@ -1114,7 +1114,7 @@
|
|
|
1114
1114
|
{
|
|
1115
1115
|
"type": "array",
|
|
1116
1116
|
"items": {
|
|
1117
|
-
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-
|
|
1117
|
+
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-197-306-pes_sd-jwt-vc.d.ts-0-7978"
|
|
1118
1118
|
}
|
|
1119
1119
|
}
|
|
1120
1120
|
]
|
|
@@ -1145,7 +1145,7 @@
|
|
|
1145
1145
|
"additionalProperties": {
|
|
1146
1146
|
"anyOf": [
|
|
1147
1147
|
{
|
|
1148
|
-
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-
|
|
1148
|
+
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-197-306-pes_sd-jwt-vc.d.ts-0-7978"
|
|
1149
1149
|
},
|
|
1150
1150
|
{
|
|
1151
1151
|
"not": {}
|
|
@@ -1156,7 +1156,7 @@
|
|
|
1156
1156
|
{
|
|
1157
1157
|
"type": "array",
|
|
1158
1158
|
"items": {
|
|
1159
|
-
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-
|
|
1159
|
+
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-197-306-pes_sd-jwt-vc.d.ts-0-7978"
|
|
1160
1160
|
}
|
|
1161
1161
|
}
|
|
1162
1162
|
]
|
|
@@ -1166,7 +1166,7 @@
|
|
|
1166
1166
|
}
|
|
1167
1167
|
]
|
|
1168
1168
|
},
|
|
1169
|
-
"alias-pes_sd-jwt-vc.d.ts-
|
|
1169
|
+
"alias-pes_sd-jwt-vc.d.ts-197-306-pes_sd-jwt-vc.d.ts-0-7978": {
|
|
1170
1170
|
"anyOf": [
|
|
1171
1171
|
{
|
|
1172
1172
|
"type": "string"
|
|
@@ -1182,7 +1182,7 @@
|
|
|
1182
1182
|
"additionalProperties": {
|
|
1183
1183
|
"anyOf": [
|
|
1184
1184
|
{
|
|
1185
|
-
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-
|
|
1185
|
+
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-197-306-pes_sd-jwt-vc.d.ts-0-7978"
|
|
1186
1186
|
},
|
|
1187
1187
|
{
|
|
1188
1188
|
"not": {}
|
|
@@ -1193,7 +1193,7 @@
|
|
|
1193
1193
|
{
|
|
1194
1194
|
"type": "array",
|
|
1195
1195
|
"items": {
|
|
1196
|
-
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-
|
|
1196
|
+
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-197-306-pes_sd-jwt-vc.d.ts-0-7978"
|
|
1197
1197
|
}
|
|
1198
1198
|
}
|
|
1199
1199
|
]
|
|
@@ -1265,7 +1265,7 @@
|
|
|
1265
1265
|
"additionalProperties": {
|
|
1266
1266
|
"anyOf": [
|
|
1267
1267
|
{
|
|
1268
|
-
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-
|
|
1268
|
+
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-197-306-pes_sd-jwt-vc.d.ts-0-7978"
|
|
1269
1269
|
},
|
|
1270
1270
|
{
|
|
1271
1271
|
"not": {}
|
|
@@ -1276,7 +1276,7 @@
|
|
|
1276
1276
|
{
|
|
1277
1277
|
"type": "array",
|
|
1278
1278
|
"items": {
|
|
1279
|
-
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-
|
|
1279
|
+
"$ref": "#/components/schemas/alias-pes_sd-jwt-vc.d.ts-197-306-pes_sd-jwt-vc.d.ts-0-7978"
|
|
1280
1280
|
}
|
|
1281
1281
|
},
|
|
1282
1282
|
{
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
UpdateCredentialStateArgs,
|
|
8
8
|
} from '@sphereon/ssi-sdk.data-store'
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
HasherSync,
|
|
11
11
|
ICredential,
|
|
12
12
|
IPresentation,
|
|
13
13
|
IVerifiableCredential,
|
|
@@ -121,7 +121,7 @@ export type AddDigitalCredential = Omit<
|
|
|
121
121
|
|
|
122
122
|
export type AddCredentialArgs = {
|
|
123
123
|
credential: AddDigitalCredential
|
|
124
|
-
opts?: { maxTimeSkewInMS?: number; hasher?:
|
|
124
|
+
opts?: { maxTimeSkewInMS?: number; hasher?: HasherSync }
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
export interface UniqueDigitalCredential {
|