@sphereon/ssi-sdk.oid4vci-holder 0.34.1-feature.SSISDK.26.RP.57 → 0.34.1-feature.SSISDK.45.74
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 +26 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +26 -26
- package/dist/index.js.map +1 -1
- package/package.json +25 -24
- package/src/types/FirstPartyMachine.ts +3 -2
package/dist/index.cjs
CHANGED
|
@@ -155,18 +155,18 @@ var import_i18n_js = __toESM(require("i18n-js"), 1);
|
|
|
155
155
|
var import_lodash = __toESM(require("lodash.memoize"), 1);
|
|
156
156
|
|
|
157
157
|
// src/types/IOID4VCIHolder.ts
|
|
158
|
-
var OID4VCIHolderEvent = /* @__PURE__ */ function(OID4VCIHolderEvent2) {
|
|
158
|
+
var OID4VCIHolderEvent = /* @__PURE__ */ (function(OID4VCIHolderEvent2) {
|
|
159
159
|
OID4VCIHolderEvent2["CONTACT_IDENTITY_CREATED"] = "contact_identity_created";
|
|
160
160
|
OID4VCIHolderEvent2["CREDENTIAL_STORED"] = "credential_stored";
|
|
161
161
|
OID4VCIHolderEvent2["IDENTIFIER_CREATED"] = "identifier_created";
|
|
162
162
|
return OID4VCIHolderEvent2;
|
|
163
|
-
}({});
|
|
164
|
-
var SupportedLanguage = /* @__PURE__ */ function(SupportedLanguage2) {
|
|
163
|
+
})({});
|
|
164
|
+
var SupportedLanguage = /* @__PURE__ */ (function(SupportedLanguage2) {
|
|
165
165
|
SupportedLanguage2["ENGLISH"] = "en";
|
|
166
166
|
SupportedLanguage2["DUTCH"] = "nl";
|
|
167
167
|
return SupportedLanguage2;
|
|
168
|
-
}({});
|
|
169
|
-
var OID4VCIMachineStates = /* @__PURE__ */ function(OID4VCIMachineStates2) {
|
|
168
|
+
})({});
|
|
169
|
+
var OID4VCIMachineStates = /* @__PURE__ */ (function(OID4VCIMachineStates2) {
|
|
170
170
|
OID4VCIMachineStates2["start"] = "start";
|
|
171
171
|
OID4VCIMachineStates2["createCredentialsToSelectFrom"] = "createCredentialsToSelectFrom";
|
|
172
172
|
OID4VCIMachineStates2["getContact"] = "getContact";
|
|
@@ -197,18 +197,18 @@ var OID4VCIMachineStates = /* @__PURE__ */ function(OID4VCIMachineStates2) {
|
|
|
197
197
|
OID4VCIMachineStates2["error"] = "error";
|
|
198
198
|
OID4VCIMachineStates2["done"] = "done";
|
|
199
199
|
return OID4VCIMachineStates2;
|
|
200
|
-
}({});
|
|
201
|
-
var OID4VCIMachineAddContactStates = /* @__PURE__ */ function(OID4VCIMachineAddContactStates2) {
|
|
200
|
+
})({});
|
|
201
|
+
var OID4VCIMachineAddContactStates = /* @__PURE__ */ (function(OID4VCIMachineAddContactStates2) {
|
|
202
202
|
OID4VCIMachineAddContactStates2["idle"] = "idle";
|
|
203
203
|
OID4VCIMachineAddContactStates2["next"] = "next";
|
|
204
204
|
return OID4VCIMachineAddContactStates2;
|
|
205
|
-
}({});
|
|
206
|
-
var OID4VCIMachineVerifyPinStates = /* @__PURE__ */ function(OID4VCIMachineVerifyPinStates2) {
|
|
205
|
+
})({});
|
|
206
|
+
var OID4VCIMachineVerifyPinStates = /* @__PURE__ */ (function(OID4VCIMachineVerifyPinStates2) {
|
|
207
207
|
OID4VCIMachineVerifyPinStates2["idle"] = "idle";
|
|
208
208
|
OID4VCIMachineVerifyPinStates2["next"] = "next";
|
|
209
209
|
return OID4VCIMachineVerifyPinStates2;
|
|
210
|
-
}({});
|
|
211
|
-
var OID4VCIMachineEvents = /* @__PURE__ */ function(OID4VCIMachineEvents2) {
|
|
210
|
+
})({});
|
|
211
|
+
var OID4VCIMachineEvents = /* @__PURE__ */ (function(OID4VCIMachineEvents2) {
|
|
212
212
|
OID4VCIMachineEvents2["NEXT"] = "NEXT";
|
|
213
213
|
OID4VCIMachineEvents2["PREVIOUS"] = "PREVIOUS";
|
|
214
214
|
OID4VCIMachineEvents2["DECLINE"] = "DECLINE";
|
|
@@ -221,8 +221,8 @@ var OID4VCIMachineEvents = /* @__PURE__ */ function(OID4VCIMachineEvents2) {
|
|
|
221
221
|
OID4VCIMachineEvents2["INVOKED_AUTHORIZATION_CODE_REQUEST"] = "INVOKED_AUTHORIZATION_CODE_REQUEST";
|
|
222
222
|
OID4VCIMachineEvents2["PROVIDE_AUTHORIZATION_CODE_RESPONSE"] = "PROVIDE_AUTHORIZATION_CODE_RESPONSE";
|
|
223
223
|
return OID4VCIMachineEvents2;
|
|
224
|
-
}({});
|
|
225
|
-
var OID4VCIMachineGuards = /* @__PURE__ */ function(OID4VCIMachineGuards2) {
|
|
224
|
+
})({});
|
|
225
|
+
var OID4VCIMachineGuards = /* @__PURE__ */ (function(OID4VCIMachineGuards2) {
|
|
226
226
|
OID4VCIMachineGuards2["hasContactGuard"] = "oid4vciHasContactGuard";
|
|
227
227
|
OID4VCIMachineGuards2["hasNoContactGuard"] = "oid4vciHasNoContactGuard";
|
|
228
228
|
OID4VCIMachineGuards2["credentialsToSelectRequiredGuard"] = "oid4vciCredentialsToSelectRequiredGuard";
|
|
@@ -239,8 +239,8 @@ var OID4VCIMachineGuards = /* @__PURE__ */ function(OID4VCIMachineGuards2) {
|
|
|
239
239
|
OID4VCIMachineGuards2["contactHasLowTrustGuard"] = "oid4vciContactHasLowTrustGuard";
|
|
240
240
|
OID4VCIMachineGuards2["isFirstPartyApplication"] = "oid4vciIsFirstPartyApplication";
|
|
241
241
|
return OID4VCIMachineGuards2;
|
|
242
|
-
}({});
|
|
243
|
-
var OID4VCIMachineServices = /* @__PURE__ */ function(OID4VCIMachineServices2) {
|
|
242
|
+
})({});
|
|
243
|
+
var OID4VCIMachineServices = /* @__PURE__ */ (function(OID4VCIMachineServices2) {
|
|
244
244
|
OID4VCIMachineServices2["start"] = "start";
|
|
245
245
|
OID4VCIMachineServices2["getContact"] = "getContact";
|
|
246
246
|
OID4VCIMachineServices2["getFederationTrust"] = "getFederationTrust";
|
|
@@ -255,17 +255,17 @@ var OID4VCIMachineServices = /* @__PURE__ */ function(OID4VCIMachineServices2) {
|
|
|
255
255
|
OID4VCIMachineServices2["storeCredentials"] = "storeCredentials";
|
|
256
256
|
OID4VCIMachineServices2["startFirstPartApplicationFlow"] = "startFirstPartApplicationFlow";
|
|
257
257
|
return OID4VCIMachineServices2;
|
|
258
|
-
}({});
|
|
259
|
-
var RequestType = /* @__PURE__ */ function(RequestType2) {
|
|
258
|
+
})({});
|
|
259
|
+
var RequestType = /* @__PURE__ */ (function(RequestType2) {
|
|
260
260
|
RequestType2["OPENID_INITIATE_ISSUANCE"] = "openid-initiate-issuance";
|
|
261
261
|
RequestType2["OPENID_CREDENTIAL_OFFER"] = "openid-credential-offer";
|
|
262
262
|
RequestType2["URL"] = "URL";
|
|
263
263
|
return RequestType2;
|
|
264
|
-
}({});
|
|
265
|
-
var IdentifierAliasEnum = /* @__PURE__ */ function(IdentifierAliasEnum2) {
|
|
264
|
+
})({});
|
|
265
|
+
var IdentifierAliasEnum = /* @__PURE__ */ (function(IdentifierAliasEnum2) {
|
|
266
266
|
IdentifierAliasEnum2["PRIMARY"] = "primary";
|
|
267
267
|
return IdentifierAliasEnum2;
|
|
268
|
-
}({});
|
|
268
|
+
})({});
|
|
269
269
|
|
|
270
270
|
// src/localization/Localization.ts
|
|
271
271
|
var Localization = class Localization2 {
|
|
@@ -307,7 +307,7 @@ var Localization = class Localization2 {
|
|
|
307
307
|
var translate = Localization.translate;
|
|
308
308
|
|
|
309
309
|
// src/types/FirstPartyMachine.ts
|
|
310
|
-
var FirstPartyMachineStateTypes = /* @__PURE__ */ function(FirstPartyMachineStateTypes2) {
|
|
310
|
+
var FirstPartyMachineStateTypes = /* @__PURE__ */ (function(FirstPartyMachineStateTypes2) {
|
|
311
311
|
FirstPartyMachineStateTypes2["sendAuthorizationChallengeRequest"] = "sendAuthorizationChallengeRequest";
|
|
312
312
|
FirstPartyMachineStateTypes2["sendAuthorizationResponse"] = "sendAuthorizationResponse";
|
|
313
313
|
FirstPartyMachineStateTypes2["selectCredentials"] = "selectCredentials";
|
|
@@ -318,21 +318,21 @@ var FirstPartyMachineStateTypes = /* @__PURE__ */ function(FirstPartyMachineStat
|
|
|
318
318
|
FirstPartyMachineStateTypes2["aborted"] = "aborted";
|
|
319
319
|
FirstPartyMachineStateTypes2["declined"] = "declined";
|
|
320
320
|
return FirstPartyMachineStateTypes2;
|
|
321
|
-
}({});
|
|
322
|
-
var FirstPartyMachineServices = /* @__PURE__ */ function(FirstPartyMachineServices2) {
|
|
321
|
+
})({});
|
|
322
|
+
var FirstPartyMachineServices = /* @__PURE__ */ (function(FirstPartyMachineServices2) {
|
|
323
323
|
FirstPartyMachineServices2["sendAuthorizationChallengeRequest"] = "sendAuthorizationChallengeRequest";
|
|
324
324
|
FirstPartyMachineServices2["sendAuthorizationResponse"] = "sendAuthorizationResponse";
|
|
325
325
|
FirstPartyMachineServices2["createConfig"] = "createConfig";
|
|
326
326
|
FirstPartyMachineServices2["getSiopRequest"] = "getSiopRequest";
|
|
327
327
|
return FirstPartyMachineServices2;
|
|
328
|
-
}({});
|
|
329
|
-
var FirstPartyMachineEvents = /* @__PURE__ */ function(FirstPartyMachineEvents2) {
|
|
328
|
+
})({});
|
|
329
|
+
var FirstPartyMachineEvents = /* @__PURE__ */ (function(FirstPartyMachineEvents2) {
|
|
330
330
|
FirstPartyMachineEvents2["NEXT"] = "NEXT";
|
|
331
331
|
FirstPartyMachineEvents2["PREVIOUS"] = "PREVIOUS";
|
|
332
332
|
FirstPartyMachineEvents2["DECLINE"] = "DECLINE";
|
|
333
333
|
FirstPartyMachineEvents2["SET_SELECTED_CREDENTIALS"] = "SET_SELECTED_CREDENTIALS";
|
|
334
334
|
return FirstPartyMachineEvents2;
|
|
335
|
-
}({});
|
|
335
|
+
})({});
|
|
336
336
|
|
|
337
337
|
// src/machines/oid4vciMachine.ts
|
|
338
338
|
var oid4vciHasNoContactGuard = /* @__PURE__ */ __name((_ctx, _event) => {
|