@sphereon/ssi-sdk.ebsi-support 0.34.1-fix.114 → 0.34.1-fix.141
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 +9 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +19 -19
- package/src/did/types.ts +1 -1
- package/src/functions/AttestationHeadlessCallbacks.ts +1 -1
- package/src/types/IEbsiSupport.ts +2 -1
package/dist/index.cjs
CHANGED
|
@@ -2078,11 +2078,11 @@ __export(index_exports, {
|
|
|
2078
2078
|
schema: () => schema
|
|
2079
2079
|
});
|
|
2080
2080
|
module.exports = __toCommonJS(index_exports);
|
|
2081
|
-
var
|
|
2081
|
+
var import_ssi_types3 = require("@sphereon/ssi-types");
|
|
2082
2082
|
|
|
2083
2083
|
// src/agent/EbsiSupport.ts
|
|
2084
2084
|
var import_oid4vci_common4 = require("@sphereon/oid4vci-common");
|
|
2085
|
-
var
|
|
2085
|
+
var import_ssi_types2 = require("@sphereon/ssi-types");
|
|
2086
2086
|
var import_cross_fetch4 = __toESM(require("cross-fetch"), 1);
|
|
2087
2087
|
|
|
2088
2088
|
// src/did/functions.ts
|
|
@@ -2109,6 +2109,7 @@ var import_did_auth_siop = require("@sphereon/did-auth-siop");
|
|
|
2109
2109
|
var import_oid4vci_common = require("@sphereon/oid4vci-common");
|
|
2110
2110
|
var import_ssi_sdk = require("@sphereon/ssi-sdk.data-store");
|
|
2111
2111
|
var import_ssi_sdk2 = require("@sphereon/ssi-sdk.oid4vci-holder");
|
|
2112
|
+
var import_ssi_types = require("@sphereon/ssi-types");
|
|
2112
2113
|
var import_cross_fetch = __toESM(require("cross-fetch"), 1);
|
|
2113
2114
|
var addContactCallback = /* @__PURE__ */ __name((context) => {
|
|
2114
2115
|
return async (oid4vciMachine, state) => {
|
|
@@ -2139,7 +2140,7 @@ var addContactCallback = /* @__PURE__ */ __name((context) => {
|
|
|
2139
2140
|
{
|
|
2140
2141
|
alias: correlationId,
|
|
2141
2142
|
roles: [
|
|
2142
|
-
|
|
2143
|
+
import_ssi_types.CredentialRole.ISSUER
|
|
2143
2144
|
],
|
|
2144
2145
|
origin: import_ssi_sdk.IdentityOrigin.EXTERNAL,
|
|
2145
2146
|
identifier: {
|
|
@@ -3229,7 +3230,7 @@ var EbsiSupport = class {
|
|
|
3229
3230
|
}
|
|
3230
3231
|
});
|
|
3231
3232
|
if (pexResult.filteredCredentials.length > 0) {
|
|
3232
|
-
const filtered = pexResult.filteredCredentials.map((cred) =>
|
|
3233
|
+
const filtered = pexResult.filteredCredentials.map((cred) => import_ssi_types2.CredentialMapper.toUniformCredential(cred, {
|
|
3233
3234
|
hasher: import_ssi_sdk5.defaultHasher
|
|
3234
3235
|
})).filter((cred) => {
|
|
3235
3236
|
if (!cred.expirationDate) {
|
|
@@ -3548,11 +3549,11 @@ var import_did_resolver = require("did-resolver");
|
|
|
3548
3549
|
var import_ssi_sdk_ext7 = require("@sphereon/ssi-sdk-ext.did-resolver-ebsi");
|
|
3549
3550
|
|
|
3550
3551
|
// src/index.ts
|
|
3551
|
-
var logger =
|
|
3552
|
-
defaultLogLevel:
|
|
3552
|
+
var logger = import_ssi_types3.Loggers.DEFAULT.options("sphereon:ebsi-support", {
|
|
3553
|
+
defaultLogLevel: import_ssi_types3.LogLevel.DEBUG,
|
|
3553
3554
|
methods: [
|
|
3554
|
-
|
|
3555
|
-
|
|
3555
|
+
import_ssi_types3.LogMethod.CONSOLE,
|
|
3556
|
+
import_ssi_types3.LogMethod.DEBUG_PKG
|
|
3556
3557
|
]
|
|
3557
3558
|
}).get("sphereon:ebsi-support");
|
|
3558
3559
|
var schema = require_plugin_schema();
|