@sphereon/ssi-sdk.ebsi-support 0.34.1-fix.171 → 0.34.1-fix.223
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 +23 -23
- package/src/did/functions.ts +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2843,7 +2843,7 @@ var toMinimalImportableKey = /* @__PURE__ */ __name(async (args) => {
|
|
|
2843
2843
|
minimalImportableKey.meta = {
|
|
2844
2844
|
purposes: assertedPurposes({
|
|
2845
2845
|
key
|
|
2846
|
-
}) ??
|
|
2846
|
+
}) ?? setPurposes({
|
|
2847
2847
|
key,
|
|
2848
2848
|
type
|
|
2849
2849
|
}),
|
|
@@ -2879,7 +2879,7 @@ var assertedPurposes = /* @__PURE__ */ __name((args) => {
|
|
|
2879
2879
|
}
|
|
2880
2880
|
return key?.purposes;
|
|
2881
2881
|
}, "assertedPurposes");
|
|
2882
|
-
var
|
|
2882
|
+
var setPurposes = /* @__PURE__ */ __name((args) => {
|
|
2883
2883
|
const { key, type } = args;
|
|
2884
2884
|
if (!key?.purposes || key.purposes.length === 0) {
|
|
2885
2885
|
switch (type) {
|
|
@@ -2897,7 +2897,7 @@ var setDefaultPurposes = /* @__PURE__ */ __name((args) => {
|
|
|
2897
2897
|
}
|
|
2898
2898
|
}
|
|
2899
2899
|
return key.purposes;
|
|
2900
|
-
}, "
|
|
2900
|
+
}, "setPurposes");
|
|
2901
2901
|
var randomRpcId = /* @__PURE__ */ __name(() => {
|
|
2902
2902
|
return Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);
|
|
2903
2903
|
}, "randomRpcId");
|