@sphereon/ssi-sdk-ext.identifier-resolution 0.24.1-unstable.114 → 0.24.1-unstable.116

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.
@@ -18,7 +18,7 @@ export type ManagedIdentifierOptsBase = {
18
18
  clientId?: string;
19
19
  clientIdScheme?: ClientIdScheme | 'did' | string;
20
20
  };
21
- export type ManagedIdentifierDidOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
21
+ export type ManagedIdentifierDidOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
22
22
  method?: 'did';
23
23
  identifier: IIdentifier | string;
24
24
  keyType?: TKeyType;
@@ -28,27 +28,27 @@ export type ManagedIdentifierDidOpts = Omit<ManagedIdentifierOptsBase, 'method'>
28
28
  vmRelationship?: DIDDocumentSection;
29
29
  };
30
30
  export declare function isManagedIdentifierDidOpts(opts: ManagedIdentifierOptsBase): opts is ManagedIdentifierDidOpts;
31
- export type ManagedIdentifierKidOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
31
+ export type ManagedIdentifierKidOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
32
32
  method?: 'kid';
33
33
  identifier: string;
34
34
  };
35
35
  export declare function isManagedIdentifierKidOpts(opts: ManagedIdentifierOptsBase): opts is ManagedIdentifierKidOpts;
36
- export type ManagedIdentifierKeyOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
36
+ export type ManagedIdentifierKeyOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
37
37
  method?: 'key';
38
38
  identifier: IKey;
39
39
  };
40
40
  export declare function isManagedIdentifierKeyOpts(opts: ManagedIdentifierOptsBase): opts is ManagedIdentifierKeyOpts;
41
- export type ManagedIdentifierCoseKeyOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
41
+ export type ManagedIdentifierCoseKeyOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
42
42
  method?: 'cose_key';
43
43
  identifier: ICoseKeyJson;
44
44
  };
45
45
  export declare function isManagedIdentifierCoseKeyOpts(opts: ManagedIdentifierOptsBase): opts is ManagedIdentifierCoseKeyOpts;
46
- export type ManagedIdentifierJwkOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
46
+ export type ManagedIdentifierJwkOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
47
47
  method?: 'jwk';
48
48
  identifier: JWK;
49
49
  };
50
50
  export declare function isManagedIdentifierJwkOpts(opts: ManagedIdentifierOptsBase): opts is ManagedIdentifierJwkOpts;
51
- export type ManagedIdentifierX5cOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
51
+ export type ManagedIdentifierX5cOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
52
52
  method?: 'x5c';
53
53
  identifier: string[];
54
54
  };
@@ -1 +1 @@
1
- {"version":3,"file":"managedIdentifierTypes.d.ts","sourceRoot":"","sources":["../../src/types/managedIdentifierTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AACjE,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAC9E,OAAO,EAA4G,OAAO,EAAE,MAAM,UAAU,CAAA;AAE5I;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,WAAW,GAAW,MAAM,GAAkB,MAAM,EAAE,GAAW,GAAG,GAAG,IAAI,GAAG,YAAY,CAAA;AAE9H,MAAM,MAAM,qBAAqB,GAAG,CAChC,wBAAwB,GACxB,wBAAwB,GACxB,wBAAwB,GACxB,wBAAwB,GACxB,wBAAwB,GACxB,4BAA4B,CAC/B,GACC,yBAAyB,CAAA;AAE3B,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,CAAC,EAAE,uBAAuB,CA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,MAAM,uBAAuB,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,UAAU,CAAA;AAExF,MAAM,MAAM,uBAAuB,GAAG,4BAA4B,GAChE,CACI,0BAA0B,GAC1B,0BAA0B,GAC1B,0BAA0B,GAC1B,0BAA0B,GAC1B,0BAA0B,GAC1B,8BAA8B,CACjC,CAAA;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,uBAAuB,GAAG,qBAAqB,CAAC,GAAG;IAC9F,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-sdk-ext.identifier-resolution",
3
- "version": "0.24.1-unstable.114+708742c",
3
+ "version": "0.24.1-unstable.116+9c566a4",
4
4
  "source": "src/index.ts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,9 +15,9 @@
15
15
  "generate-plugin-schema": "sphereon dev generate-plugin-schema"
16
16
  },
17
17
  "dependencies": {
18
- "@sphereon/ssi-sdk-ext.did-utils": "0.24.1-unstable.114+708742c",
19
- "@sphereon/ssi-sdk-ext.key-utils": "0.24.1-unstable.114+708742c",
20
- "@sphereon/ssi-sdk-ext.x509-utils": "0.24.1-unstable.114+708742c",
18
+ "@sphereon/ssi-sdk-ext.did-utils": "0.24.1-unstable.116+9c566a4",
19
+ "@sphereon/ssi-sdk-ext.key-utils": "0.24.1-unstable.116+9c566a4",
20
+ "@sphereon/ssi-sdk-ext.x509-utils": "0.24.1-unstable.116+9c566a4",
21
21
  "@sphereon/ssi-sdk.agent-config": "0.29.1-unstable.161",
22
22
  "@sphereon/ssi-types": "0.29.1-unstable.161",
23
23
  "@veramo/core": "4.2.0",
@@ -27,10 +27,10 @@
27
27
  "uint8arrays": "^3.1.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@sphereon/ssi-sdk-ext.did-provider-jwk": "0.24.1-unstable.114+708742c",
31
- "@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.24.1-unstable.114+708742c",
32
- "@sphereon/ssi-sdk-ext.key-manager": "0.24.1-unstable.114+708742c",
33
- "@sphereon/ssi-sdk-ext.kms-local": "0.24.1-unstable.114+708742c",
30
+ "@sphereon/ssi-sdk-ext.did-provider-jwk": "0.24.1-unstable.116+9c566a4",
31
+ "@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.24.1-unstable.116+9c566a4",
32
+ "@sphereon/ssi-sdk-ext.key-manager": "0.24.1-unstable.116+9c566a4",
33
+ "@sphereon/ssi-sdk-ext.kms-local": "0.24.1-unstable.116+9c566a4",
34
34
  "@sphereon/ssi-sdk.dev": "0.29.1-unstable.161",
35
35
  "@veramo/data-store": "4.2.0",
36
36
  "@veramo/did-manager": "4.2.0",
@@ -64,5 +64,5 @@
64
64
  "X.509 Certificates",
65
65
  "ARF"
66
66
  ],
67
- "gitHead": "708742c013bc9e8cff9217e1eaff746ae0f8af00"
67
+ "gitHead": "9c566a4448c7a46cd850d56fc96bdb730420c66c"
68
68
  }
@@ -1985,7 +1985,7 @@
1985
1985
  "const": "jwk"
1986
1986
  },
1987
1987
  "identifier": {
1988
- "$ref": "#/components/schemas/ManagedIdentifierType"
1988
+ "$ref": "#/components/schemas/JWK"
1989
1989
  },
1990
1990
  "kmsKeyRef": {
1991
1991
  "type": "string"
@@ -2029,7 +2029,10 @@
2029
2029
  "const": "x5c"
2030
2030
  },
2031
2031
  "identifier": {
2032
- "$ref": "#/components/schemas/ManagedIdentifierType"
2032
+ "type": "array",
2033
+ "items": {
2034
+ "type": "string"
2035
+ }
2033
2036
  },
2034
2037
  "kmsKeyRef": {
2035
2038
  "type": "string"
@@ -2073,7 +2076,14 @@
2073
2076
  "const": "did"
2074
2077
  },
2075
2078
  "identifier": {
2076
- "$ref": "#/components/schemas/ManagedIdentifierType"
2079
+ "anyOf": [
2080
+ {
2081
+ "$ref": "#/components/schemas/IIdentifier"
2082
+ },
2083
+ {
2084
+ "type": "string"
2085
+ }
2086
+ ]
2077
2087
  },
2078
2088
  "kmsKeyRef": {
2079
2089
  "type": "string"
@@ -2132,7 +2142,7 @@
2132
2142
  "const": "kid"
2133
2143
  },
2134
2144
  "identifier": {
2135
- "$ref": "#/components/schemas/ManagedIdentifierType"
2145
+ "type": "string"
2136
2146
  },
2137
2147
  "kmsKeyRef": {
2138
2148
  "type": "string"
@@ -2176,7 +2186,7 @@
2176
2186
  "const": "key"
2177
2187
  },
2178
2188
  "identifier": {
2179
- "$ref": "#/components/schemas/ManagedIdentifierType"
2189
+ "$ref": "#/components/schemas/IKey"
2180
2190
  },
2181
2191
  "kmsKeyRef": {
2182
2192
  "type": "string"
@@ -2220,7 +2230,7 @@
2220
2230
  "const": "cose_key"
2221
2231
  },
2222
2232
  "identifier": {
2223
- "$ref": "#/components/schemas/ManagedIdentifierType"
2233
+ "$ref": "#/components/schemas/ICoseKeyJson"
2224
2234
  },
2225
2235
  "kmsKeyRef": {
2226
2236
  "type": "string"
@@ -2276,7 +2286,7 @@
2276
2286
  "const": "jwk"
2277
2287
  },
2278
2288
  "identifier": {
2279
- "$ref": "#/components/schemas/ManagedIdentifierType"
2289
+ "$ref": "#/components/schemas/JWK"
2280
2290
  },
2281
2291
  "kmsKeyRef": {
2282
2292
  "type": "string"
@@ -2317,7 +2327,10 @@
2317
2327
  "const": "x5c"
2318
2328
  },
2319
2329
  "identifier": {
2320
- "$ref": "#/components/schemas/ManagedIdentifierType"
2330
+ "type": "array",
2331
+ "items": {
2332
+ "type": "string"
2333
+ }
2321
2334
  },
2322
2335
  "kmsKeyRef": {
2323
2336
  "type": "string"
@@ -2358,7 +2371,14 @@
2358
2371
  "const": "did"
2359
2372
  },
2360
2373
  "identifier": {
2361
- "$ref": "#/components/schemas/ManagedIdentifierType"
2374
+ "anyOf": [
2375
+ {
2376
+ "$ref": "#/components/schemas/IIdentifier"
2377
+ },
2378
+ {
2379
+ "type": "string"
2380
+ }
2381
+ ]
2362
2382
  },
2363
2383
  "kmsKeyRef": {
2364
2384
  "type": "string"
@@ -2414,7 +2434,7 @@
2414
2434
  "const": "kid"
2415
2435
  },
2416
2436
  "identifier": {
2417
- "$ref": "#/components/schemas/ManagedIdentifierType"
2437
+ "type": "string"
2418
2438
  },
2419
2439
  "kmsKeyRef": {
2420
2440
  "type": "string"
@@ -2455,7 +2475,7 @@
2455
2475
  "const": "key"
2456
2476
  },
2457
2477
  "identifier": {
2458
- "$ref": "#/components/schemas/ManagedIdentifierType"
2478
+ "$ref": "#/components/schemas/IKey"
2459
2479
  },
2460
2480
  "kmsKeyRef": {
2461
2481
  "type": "string"
@@ -2496,7 +2516,7 @@
2496
2516
  "const": "cose_key"
2497
2517
  },
2498
2518
  "identifier": {
2499
- "$ref": "#/components/schemas/ManagedIdentifierType"
2519
+ "$ref": "#/components/schemas/ICoseKeyJson"
2500
2520
  },
2501
2521
  "kmsKeyRef": {
2502
2522
  "type": "string"
@@ -2531,32 +2551,6 @@
2531
2551
  }
2532
2552
  ]
2533
2553
  },
2534
- "ManagedIdentifierType": {
2535
- "anyOf": [
2536
- {
2537
- "$ref": "#/components/schemas/IIdentifier"
2538
- },
2539
- {
2540
- "type": "string"
2541
- },
2542
- {
2543
- "type": "array",
2544
- "items": {
2545
- "type": "string"
2546
- }
2547
- },
2548
- {
2549
- "$ref": "#/components/schemas/JWK"
2550
- },
2551
- {
2552
- "$ref": "#/components/schemas/IKey"
2553
- },
2554
- {
2555
- "$ref": "#/components/schemas/ICoseKeyJson"
2556
- }
2557
- ],
2558
- "description": "Use whenever we need to pass in an identifier. We can pass in kids, DIDs, IIdentifier objects and x5chains\n\nThe functions below can be used to check the type, and they also provide the proper 'runtime' types"
2559
- },
2560
2554
  "IIdentifier": {
2561
2555
  "type": "object",
2562
2556
  "properties": {
@@ -2715,6 +2709,32 @@
2715
2709
  ],
2716
2710
  "description": "Represents a service endpoint URL or a map of URLs"
2717
2711
  },
2712
+ "ManagedIdentifierType": {
2713
+ "anyOf": [
2714
+ {
2715
+ "$ref": "#/components/schemas/IIdentifier"
2716
+ },
2717
+ {
2718
+ "type": "string"
2719
+ },
2720
+ {
2721
+ "type": "array",
2722
+ "items": {
2723
+ "type": "string"
2724
+ }
2725
+ },
2726
+ {
2727
+ "$ref": "#/components/schemas/JWK"
2728
+ },
2729
+ {
2730
+ "$ref": "#/components/schemas/IKey"
2731
+ },
2732
+ {
2733
+ "$ref": "#/components/schemas/ICoseKeyJson"
2734
+ }
2735
+ ],
2736
+ "description": "Use whenever we need to pass in an identifier. We can pass in kids, DIDs, IIdentifier objects and x5chains\n\nThe functions below can be used to check the type, and they also provide the proper 'runtime' types"
2737
+ },
2718
2738
  "ManagedIdentifierResult": {
2719
2739
  "anyOf": [
2720
2740
  {
@@ -3104,7 +3124,7 @@
3104
3124
  "const": "cose_key"
3105
3125
  },
3106
3126
  "identifier": {
3107
- "$ref": "#/components/schemas/ManagedIdentifierType"
3127
+ "$ref": "#/components/schemas/ICoseKeyJson"
3108
3128
  },
3109
3129
  "kmsKeyRef": {
3110
3130
  "type": "string"
@@ -3204,7 +3224,14 @@
3204
3224
  "const": "did"
3205
3225
  },
3206
3226
  "identifier": {
3207
- "$ref": "#/components/schemas/ManagedIdentifierType"
3227
+ "anyOf": [
3228
+ {
3229
+ "$ref": "#/components/schemas/IIdentifier"
3230
+ },
3231
+ {
3232
+ "type": "string"
3233
+ }
3234
+ ]
3208
3235
  },
3209
3236
  "keyType": {
3210
3237
  "$ref": "#/components/schemas/TKeyType"
@@ -3338,7 +3365,7 @@
3338
3365
  "const": "jwk"
3339
3366
  },
3340
3367
  "identifier": {
3341
- "$ref": "#/components/schemas/ManagedIdentifierType"
3368
+ "$ref": "#/components/schemas/JWK"
3342
3369
  },
3343
3370
  "kmsKeyRef": {
3344
3371
  "type": "string"
@@ -3438,7 +3465,7 @@
3438
3465
  "const": "key"
3439
3466
  },
3440
3467
  "identifier": {
3441
- "$ref": "#/components/schemas/ManagedIdentifierType"
3468
+ "$ref": "#/components/schemas/IKey"
3442
3469
  },
3443
3470
  "kmsKeyRef": {
3444
3471
  "type": "string"
@@ -3538,7 +3565,7 @@
3538
3565
  "const": "kid"
3539
3566
  },
3540
3567
  "identifier": {
3541
- "$ref": "#/components/schemas/ManagedIdentifierType"
3568
+ "type": "string"
3542
3569
  },
3543
3570
  "kmsKeyRef": {
3544
3571
  "type": "string"
@@ -3639,7 +3666,10 @@
3639
3666
  "const": "x5c"
3640
3667
  },
3641
3668
  "identifier": {
3642
- "$ref": "#/components/schemas/ManagedIdentifierType"
3669
+ "type": "array",
3670
+ "items": {
3671
+ "type": "string"
3672
+ }
3643
3673
  },
3644
3674
  "kmsKeyRef": {
3645
3675
  "type": "string"
@@ -30,7 +30,7 @@ export type ManagedIdentifierOptsBase = {
30
30
  clientIdScheme?: ClientIdScheme | 'did' | string
31
31
  }
32
32
 
33
- export type ManagedIdentifierDidOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
33
+ export type ManagedIdentifierDidOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
34
34
  method?: 'did'
35
35
  identifier: IIdentifier | string
36
36
  keyType?: TKeyType
@@ -45,7 +45,7 @@ export function isManagedIdentifierDidOpts(opts: ManagedIdentifierOptsBase): opt
45
45
  return ('method' in opts && opts.method === 'did') || isDidIdentifier(identifier)
46
46
  }
47
47
 
48
- export type ManagedIdentifierKidOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
48
+ export type ManagedIdentifierKidOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
49
49
  method?: 'kid'
50
50
  identifier: string
51
51
  }
@@ -55,7 +55,7 @@ export function isManagedIdentifierKidOpts(opts: ManagedIdentifierOptsBase): opt
55
55
  return ('method' in opts && opts.method === 'kid') || isKidIdentifier(identifier)
56
56
  }
57
57
 
58
- export type ManagedIdentifierKeyOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
58
+ export type ManagedIdentifierKeyOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
59
59
  method?: 'key'
60
60
  identifier: IKey
61
61
  }
@@ -65,7 +65,7 @@ export function isManagedIdentifierKeyOpts(opts: ManagedIdentifierOptsBase): opt
65
65
  return ('method' in opts && opts.method === 'key') || isKeyIdentifier(identifier)
66
66
  }
67
67
 
68
- export type ManagedIdentifierCoseKeyOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
68
+ export type ManagedIdentifierCoseKeyOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
69
69
  method?: 'cose_key'
70
70
  identifier: ICoseKeyJson
71
71
  }
@@ -75,7 +75,7 @@ export function isManagedIdentifierCoseKeyOpts(opts: ManagedIdentifierOptsBase):
75
75
  return ('method' in opts && opts.method === 'cose_key') || isCoseKeyIdentifier(identifier)
76
76
  }
77
77
 
78
- export type ManagedIdentifierJwkOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
78
+ export type ManagedIdentifierJwkOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
79
79
  method?: 'jwk'
80
80
  identifier: JWK
81
81
  }
@@ -85,7 +85,7 @@ export function isManagedIdentifierJwkOpts(opts: ManagedIdentifierOptsBase): opt
85
85
  return ('method' in opts && opts.method === 'jwk') || isJwkIdentifier(identifier)
86
86
  }
87
87
 
88
- export type ManagedIdentifierX5cOpts = Omit<ManagedIdentifierOptsBase, 'method'> & {
88
+ export type ManagedIdentifierX5cOpts = Omit<ManagedIdentifierOptsBase, 'method' | 'identifier'> & {
89
89
  method?: 'x5c'
90
90
  identifier: string[]
91
91
  }