@sphereon/ssi-sdk.ebsi-support 0.34.1-fix.170 → 0.34.1-fix.182
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +19 -19
- package/src/did/functions.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -2807,7 +2807,7 @@ var toMinimalImportableKey = /* @__PURE__ */ __name(async (args) => {
|
|
|
2807
2807
|
minimalImportableKey.meta = {
|
|
2808
2808
|
purposes: assertedPurposes({
|
|
2809
2809
|
key
|
|
2810
|
-
}) ??
|
|
2810
|
+
}) ?? setPurposes({
|
|
2811
2811
|
key,
|
|
2812
2812
|
type
|
|
2813
2813
|
}),
|
|
@@ -2843,7 +2843,7 @@ var assertedPurposes = /* @__PURE__ */ __name((args) => {
|
|
|
2843
2843
|
}
|
|
2844
2844
|
return key?.purposes;
|
|
2845
2845
|
}, "assertedPurposes");
|
|
2846
|
-
var
|
|
2846
|
+
var setPurposes = /* @__PURE__ */ __name((args) => {
|
|
2847
2847
|
const { key, type } = args;
|
|
2848
2848
|
if (!key?.purposes || key.purposes.length === 0) {
|
|
2849
2849
|
switch (type) {
|
|
@@ -2861,7 +2861,7 @@ var setDefaultPurposes = /* @__PURE__ */ __name((args) => {
|
|
|
2861
2861
|
}
|
|
2862
2862
|
}
|
|
2863
2863
|
return key.purposes;
|
|
2864
|
-
}, "
|
|
2864
|
+
}, "setPurposes");
|
|
2865
2865
|
var randomRpcId = /* @__PURE__ */ __name(() => {
|
|
2866
2866
|
return Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);
|
|
2867
2867
|
}, "randomRpcId");
|