@sphereon/ssi-sdk.vc-status-list 0.34.1-feature.FIDES.1.274 → 0.34.1-feature.IDK.11.48
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/dist/index.cjs +8 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +11 -16
- package/dist/index.js.map +1 -1
- package/package.json +12 -13
- package/src/impl/StatusList2021.ts +0 -6
- package/src/impl/encoding/cbor.ts +12 -14
- package/src/types/BitstringStatusList.ts +1 -1
- package/src/types/index.ts +0 -2
package/dist/index.cjs
CHANGED
|
@@ -251,8 +251,7 @@ var StatusList2021Implementation = class {
|
|
|
251
251
|
statusListCredential,
|
|
252
252
|
statusList2021: {
|
|
253
253
|
statusPurpose,
|
|
254
|
-
indexingDirection: "rightToLeft"
|
|
255
|
-
credentialIdMode: import_ssi_types2.StatusListCredentialIdMode.ISSUANCE
|
|
254
|
+
indexingDirection: "rightToLeft"
|
|
256
255
|
},
|
|
257
256
|
length,
|
|
258
257
|
type: import_ssi_types2.StatusListType.StatusList2021,
|
|
@@ -291,8 +290,7 @@ var StatusList2021Implementation = class {
|
|
|
291
290
|
encodedList,
|
|
292
291
|
statusList2021: {
|
|
293
292
|
statusPurpose: credentialSubject.statusPurpose,
|
|
294
|
-
indexingDirection: "rightToLeft"
|
|
295
|
-
credentialIdMode: import_ssi_types2.StatusListCredentialIdMode.ISSUANCE
|
|
293
|
+
indexingDirection: "rightToLeft"
|
|
296
294
|
},
|
|
297
295
|
length: statusList.length - 1,
|
|
298
296
|
type: import_ssi_types2.StatusListType.StatusList2021,
|
|
@@ -329,8 +327,7 @@ var StatusList2021Implementation = class {
|
|
|
329
327
|
encodedList: newEncodedList,
|
|
330
328
|
statusList2021: {
|
|
331
329
|
statusPurpose: args.statusList2021.statusPurpose,
|
|
332
|
-
indexingDirection: "rightToLeft"
|
|
333
|
-
credentialIdMode: import_ssi_types2.StatusListCredentialIdMode.ISSUANCE
|
|
330
|
+
indexingDirection: "rightToLeft"
|
|
334
331
|
},
|
|
335
332
|
length: statusList.length,
|
|
336
333
|
proofFormat: args.proofFormat ?? "lds",
|
|
@@ -392,8 +389,7 @@ var StatusList2021Implementation = class {
|
|
|
392
389
|
statusPurpose,
|
|
393
390
|
statusList2021: {
|
|
394
391
|
indexingDirection: "rightToLeft",
|
|
395
|
-
statusPurpose
|
|
396
|
-
credentialIdMode: import_ssi_types2.StatusListCredentialIdMode.ISSUANCE
|
|
392
|
+
statusPurpose
|
|
397
393
|
}
|
|
398
394
|
};
|
|
399
395
|
} else {
|
|
@@ -418,8 +414,7 @@ var StatusList2021Implementation = class {
|
|
|
418
414
|
statusPurpose: statusList2021Entity.statusPurpose,
|
|
419
415
|
statusList2021: {
|
|
420
416
|
indexingDirection: statusList2021Entity.indexingDirection,
|
|
421
|
-
statusPurpose: statusList2021Entity.statusPurpose
|
|
422
|
-
credentialIdMode: import_ssi_types2.StatusListCredentialIdMode.ISSUANCE
|
|
417
|
+
statusPurpose: statusList2021Entity.statusPurpose
|
|
423
418
|
}
|
|
424
419
|
};
|
|
425
420
|
}
|
|
@@ -571,9 +566,9 @@ var import_pako = require("pako");
|
|
|
571
566
|
var import_kmp_mdoc_core = __toESM(require("@sphereon/kmp-mdoc-core"), 1);
|
|
572
567
|
var import_base64url2 = __toESM(require("base64url"), 1);
|
|
573
568
|
var { com, kotlin } = import_kmp_mdoc_core.default;
|
|
574
|
-
var CborByteString =
|
|
575
|
-
var CborUInt =
|
|
576
|
-
var CborString =
|
|
569
|
+
var CborByteString = com.sphereon.cbor.CborByteString;
|
|
570
|
+
var CborUInt = com.sphereon.cbor.CborUInt;
|
|
571
|
+
var CborString = com.sphereon.cbor.CborString;
|
|
577
572
|
var decompressRawStatusList = import_jwt_status_list2.StatusList.decodeStatusList.bind(import_jwt_status_list2.StatusList);
|
|
578
573
|
var CWT_CLAIMS = {
|
|
579
574
|
SUBJECT: 2,
|