@sphereon/ssi-sdk.vc-status-list 0.34.1-feature.SSISDK.46.40 → 0.34.1-feature.SSISDK.50.98
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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
- package/src/impl/encoding/cbor.ts +14 -12
package/dist/index.js
CHANGED
|
@@ -2,17 +2,17 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
3
|
|
|
4
4
|
// src/types/index.ts
|
|
5
|
-
var StatusOAuth = /* @__PURE__ */
|
|
5
|
+
var StatusOAuth = /* @__PURE__ */ function(StatusOAuth2) {
|
|
6
6
|
StatusOAuth2[StatusOAuth2["Valid"] = 0] = "Valid";
|
|
7
7
|
StatusOAuth2[StatusOAuth2["Invalid"] = 1] = "Invalid";
|
|
8
8
|
StatusOAuth2[StatusOAuth2["Suspended"] = 2] = "Suspended";
|
|
9
9
|
return StatusOAuth2;
|
|
10
|
-
}
|
|
11
|
-
var Status2021 = /* @__PURE__ */
|
|
10
|
+
}({});
|
|
11
|
+
var Status2021 = /* @__PURE__ */ function(Status20212) {
|
|
12
12
|
Status20212[Status20212["Valid"] = 0] = "Valid";
|
|
13
13
|
Status20212[Status20212["Invalid"] = 1] = "Invalid";
|
|
14
14
|
return Status20212;
|
|
15
|
-
}
|
|
15
|
+
}({});
|
|
16
16
|
|
|
17
17
|
// src/functions.ts
|
|
18
18
|
import { CredentialMapper as CredentialMapper4, StatusListType as StatusListType6 } from "@sphereon/ssi-types";
|
|
@@ -514,12 +514,12 @@ var getSigningAlgo = /* @__PURE__ */ __name((type) => {
|
|
|
514
514
|
// src/impl/encoding/cbor.ts
|
|
515
515
|
import { StatusList as StatusList3 } from "@sd-jwt/jwt-status-list";
|
|
516
516
|
import { deflate, inflate } from "pako";
|
|
517
|
-
import
|
|
517
|
+
import mdocPkg from "@sphereon/kmp-mdoc-core";
|
|
518
518
|
import base64url2 from "base64url";
|
|
519
|
-
var { com, kotlin } =
|
|
520
|
-
var CborByteString = com.sphereon.cbor.CborByteString;
|
|
521
|
-
var CborUInt = com.sphereon.cbor.CborUInt;
|
|
522
|
-
var CborString = com.sphereon.cbor.CborString;
|
|
519
|
+
var { com, kotlin } = mdocPkg;
|
|
520
|
+
var CborByteString = mdocPkg.com.sphereon.cbor.CborByteString;
|
|
521
|
+
var CborUInt = mdocPkg.com.sphereon.cbor.CborUInt;
|
|
522
|
+
var CborString = mdocPkg.com.sphereon.cbor.CborString;
|
|
523
523
|
var decompressRawStatusList = StatusList3.decodeStatusList.bind(StatusList3);
|
|
524
524
|
var CWT_CLAIMS = {
|
|
525
525
|
SUBJECT: 2,
|