@sphereon/ssi-sdk.vc-status-list 0.34.1-next.88 → 0.36.0
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 +10 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +11 -6
- package/dist/index.js.map +1 -1
- package/package.json +13 -12
- package/src/impl/StatusList2021.ts +6 -0
- package/src/types/BitstringStatusList.ts +1 -1
- package/src/types/index.ts +2 -0
package/dist/index.cjs
CHANGED
|
@@ -251,7 +251,8 @@ var StatusList2021Implementation = class {
|
|
|
251
251
|
statusListCredential,
|
|
252
252
|
statusList2021: {
|
|
253
253
|
statusPurpose,
|
|
254
|
-
indexingDirection: "rightToLeft"
|
|
254
|
+
indexingDirection: "rightToLeft",
|
|
255
|
+
credentialIdMode: import_ssi_types2.StatusListCredentialIdMode.ISSUANCE
|
|
255
256
|
},
|
|
256
257
|
length,
|
|
257
258
|
type: import_ssi_types2.StatusListType.StatusList2021,
|
|
@@ -290,7 +291,8 @@ var StatusList2021Implementation = class {
|
|
|
290
291
|
encodedList,
|
|
291
292
|
statusList2021: {
|
|
292
293
|
statusPurpose: credentialSubject.statusPurpose,
|
|
293
|
-
indexingDirection: "rightToLeft"
|
|
294
|
+
indexingDirection: "rightToLeft",
|
|
295
|
+
credentialIdMode: import_ssi_types2.StatusListCredentialIdMode.ISSUANCE
|
|
294
296
|
},
|
|
295
297
|
length: statusList.length - 1,
|
|
296
298
|
type: import_ssi_types2.StatusListType.StatusList2021,
|
|
@@ -327,7 +329,8 @@ var StatusList2021Implementation = class {
|
|
|
327
329
|
encodedList: newEncodedList,
|
|
328
330
|
statusList2021: {
|
|
329
331
|
statusPurpose: args.statusList2021.statusPurpose,
|
|
330
|
-
indexingDirection: "rightToLeft"
|
|
332
|
+
indexingDirection: "rightToLeft",
|
|
333
|
+
credentialIdMode: import_ssi_types2.StatusListCredentialIdMode.ISSUANCE
|
|
331
334
|
},
|
|
332
335
|
length: statusList.length,
|
|
333
336
|
proofFormat: args.proofFormat ?? "lds",
|
|
@@ -389,7 +392,8 @@ var StatusList2021Implementation = class {
|
|
|
389
392
|
statusPurpose,
|
|
390
393
|
statusList2021: {
|
|
391
394
|
indexingDirection: "rightToLeft",
|
|
392
|
-
statusPurpose
|
|
395
|
+
statusPurpose,
|
|
396
|
+
credentialIdMode: import_ssi_types2.StatusListCredentialIdMode.ISSUANCE
|
|
393
397
|
}
|
|
394
398
|
};
|
|
395
399
|
} else {
|
|
@@ -414,7 +418,8 @@ var StatusList2021Implementation = class {
|
|
|
414
418
|
statusPurpose: statusList2021Entity.statusPurpose,
|
|
415
419
|
statusList2021: {
|
|
416
420
|
indexingDirection: statusList2021Entity.indexingDirection,
|
|
417
|
-
statusPurpose: statusList2021Entity.statusPurpose
|
|
421
|
+
statusPurpose: statusList2021Entity.statusPurpose,
|
|
422
|
+
credentialIdMode: import_ssi_types2.StatusListCredentialIdMode.ISSUANCE
|
|
418
423
|
}
|
|
419
424
|
};
|
|
420
425
|
}
|