@openvtc/trust-tasks 0.12.14 → 0.12.15

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.
Files changed (36) hide show
  1. package/dist/auth/passkey/enroll/start/0.1/payload.d.ts +24 -0
  2. package/dist/auth/passkey/enroll/start/0.1/payload.d.ts.map +1 -1
  3. package/dist/auth/passkey/enroll/start/0.1/payload.js +8 -0
  4. package/dist/auth/passkey/enroll/start/0.1/payload.js.map +1 -1
  5. package/dist/auth/passkey/enroll/start/0.2/payload.d.ts +48 -0
  6. package/dist/auth/passkey/enroll/start/0.2/payload.d.ts.map +1 -1
  7. package/dist/auth/passkey/enroll/start/0.2/payload.js +16 -0
  8. package/dist/auth/passkey/enroll/start/0.2/payload.js.map +1 -1
  9. package/dist/auth/passkey/login/start/0.1/payload.d.ts +24 -0
  10. package/dist/auth/passkey/login/start/0.1/payload.d.ts.map +1 -1
  11. package/dist/auth/passkey/login/start/0.1/payload.js +8 -0
  12. package/dist/auth/passkey/login/start/0.1/payload.js.map +1 -1
  13. package/dist/auth/passkey/login/start/0.2/payload.d.ts +24 -0
  14. package/dist/auth/passkey/login/start/0.2/payload.d.ts.map +1 -1
  15. package/dist/auth/passkey/login/start/0.2/payload.js +8 -0
  16. package/dist/auth/passkey/login/start/0.2/payload.js.map +1 -1
  17. package/dist/auth/passkey/revoke/start/0.1/payload.d.ts +24 -0
  18. package/dist/auth/passkey/revoke/start/0.1/payload.d.ts.map +1 -1
  19. package/dist/auth/passkey/revoke/start/0.1/payload.js +8 -0
  20. package/dist/auth/passkey/revoke/start/0.1/payload.js.map +1 -1
  21. package/dist/auth/step-up/approve-request/0.1/payload.d.ts +24 -0
  22. package/dist/auth/step-up/approve-request/0.1/payload.d.ts.map +1 -1
  23. package/dist/auth/step-up/approve-request/0.1/payload.js +8 -0
  24. package/dist/auth/step-up/approve-request/0.1/payload.js.map +1 -1
  25. package/dist/auth/step-up/approve-request/0.2/payload.d.ts +24 -0
  26. package/dist/auth/step-up/approve-request/0.2/payload.d.ts.map +1 -1
  27. package/dist/auth/step-up/approve-request/0.2/payload.js +8 -0
  28. package/dist/auth/step-up/approve-request/0.2/payload.js.map +1 -1
  29. package/package.json +1 -1
  30. package/src/auth/passkey/enroll/start/0.1/payload.ts +16 -0
  31. package/src/auth/passkey/enroll/start/0.2/payload.ts +32 -0
  32. package/src/auth/passkey/login/start/0.1/payload.ts +16 -0
  33. package/src/auth/passkey/login/start/0.2/payload.ts +16 -0
  34. package/src/auth/passkey/revoke/start/0.1/payload.ts +16 -0
  35. package/src/auth/step-up/approve-request/0.1/payload.ts +16 -0
  36. package/src/auth/step-up/approve-request/0.2/payload.ts +16 -0
@@ -34,6 +34,14 @@ export interface AuthPasskeyRevokeStartResponsePayload {
34
34
  * PublicKeyCredentialRequestOptions for navigator.credentials.get — a fresh user-verification ceremony proving a human with an enrolled authenticator is present right now. userVerification SHOULD be "required".
35
35
  */
36
36
  export interface PublicKeyCredentialRequestOptions {
37
+ /**
38
+ * Client extension inputs, per the WebAuthn Level 2 `AuthenticationExtensionsClientInputs` dictionary.
39
+ *
40
+ * This component states that it mirrors the W3C dictionary, and that dictionary defines `extensions`. Omitting it while closing the object with `additionalProperties: false` made the two claims contradict each other: a server emitting standard WebAuthn options could not conform, and the widely-used server libraries emit this member by default.
41
+ *
42
+ * Structure is deliberately unconstrained. The set of extensions is open and registered outside this framework, so enumerating them here would date the schema against a registry it does not own — and a closed list would reproduce the original defect one revision later.
43
+ */
44
+ extensions?: {};
37
45
  /**
38
46
  * base64url-encoded one-time nonce.
39
47
  */
@@ -147,6 +155,10 @@ export const PAYLOAD_SCHEMA = {
147
155
  "challenge"
148
156
  ],
149
157
  "properties": {
158
+ "extensions": {
159
+ "type": "object",
160
+ "description": "Client extension inputs, per the WebAuthn Level 2 `AuthenticationExtensionsClientInputs` dictionary.\n\nThis component states that it mirrors the W3C dictionary, and that dictionary defines `extensions`. Omitting it while closing the object with `additionalProperties: false` made the two claims contradict each other: a server emitting standard WebAuthn options could not conform, and the widely-used server libraries emit this member by default.\n\nStructure is deliberately unconstrained. The set of extensions is open and registered outside this framework, so enumerating them here would date the schema against a registry it does not own — and a closed list would reproduce the original defect one revision later."
161
+ },
150
162
  "challenge": {
151
163
  "type": "string",
152
164
  "description": "base64url-encoded one-time nonce."
@@ -259,6 +271,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
259
271
  "challenge"
260
272
  ],
261
273
  "properties": {
274
+ "extensions": {
275
+ "type": "object",
276
+ "description": "Client extension inputs, per the WebAuthn Level 2 `AuthenticationExtensionsClientInputs` dictionary.\n\nThis component states that it mirrors the W3C dictionary, and that dictionary defines `extensions`. Omitting it while closing the object with `additionalProperties: false` made the two claims contradict each other: a server emitting standard WebAuthn options could not conform, and the widely-used server libraries emit this member by default.\n\nStructure is deliberately unconstrained. The set of extensions is open and registered outside this framework, so enumerating them here would date the schema against a registry it does not own — and a closed list would reproduce the original defect one revision later."
277
+ },
262
278
  "challenge": {
263
279
  "type": "string",
264
280
  "description": "base64url-encoded one-time nonce."
@@ -44,6 +44,14 @@ export interface AuthStepUpApproveRequest {
44
44
  * Optional WebAuthn `PublicKeyCredentialRequestOptions` the approver passes to the platform passkey API when producing `webauthn` evidence. When present, its `challenge` MUST equal `payload.challenge` so the resulting assertion binds the same nonce the relying party bound server-side. `rpId`/`allowCredentials` identify which credential the approver should assert with.
45
45
  */
46
46
  export interface PublicKeyCredentialRequestOptions {
47
+ /**
48
+ * Client extension inputs, per the WebAuthn Level 2 `AuthenticationExtensionsClientInputs` dictionary.
49
+ *
50
+ * This component states that it mirrors the W3C dictionary, and that dictionary defines `extensions`. Omitting it while closing the object with `additionalProperties: false` made the two claims contradict each other: a server emitting standard WebAuthn options could not conform, and the widely-used server libraries emit this member by default.
51
+ *
52
+ * Structure is deliberately unconstrained. The set of extensions is open and registered outside this framework, so enumerating them here would date the schema against a registry it does not own — and a closed list would reproduce the original defect one revision later.
53
+ */
54
+ extensions?: {};
47
55
  /**
48
56
  * base64url-encoded one-time nonce.
49
57
  */
@@ -215,6 +223,10 @@ export const PAYLOAD_SCHEMA = {
215
223
  "challenge"
216
224
  ],
217
225
  "properties": {
226
+ "extensions": {
227
+ "type": "object",
228
+ "description": "Client extension inputs, per the WebAuthn Level 2 `AuthenticationExtensionsClientInputs` dictionary.\n\nThis component states that it mirrors the W3C dictionary, and that dictionary defines `extensions`. Omitting it while closing the object with `additionalProperties: false` made the two claims contradict each other: a server emitting standard WebAuthn options could not conform, and the widely-used server libraries emit this member by default.\n\nStructure is deliberately unconstrained. The set of extensions is open and registered outside this framework, so enumerating them here would date the schema against a registry it does not own — and a closed list would reproduce the original defect one revision later."
229
+ },
218
230
  "challenge": {
219
231
  "type": "string",
220
232
  "description": "base64url-encoded one-time nonce."
@@ -328,6 +340,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
328
340
  "challenge"
329
341
  ],
330
342
  "properties": {
343
+ "extensions": {
344
+ "type": "object",
345
+ "description": "Client extension inputs, per the WebAuthn Level 2 `AuthenticationExtensionsClientInputs` dictionary.\n\nThis component states that it mirrors the W3C dictionary, and that dictionary defines `extensions`. Omitting it while closing the object with `additionalProperties: false` made the two claims contradict each other: a server emitting standard WebAuthn options could not conform, and the widely-used server libraries emit this member by default.\n\nStructure is deliberately unconstrained. The set of extensions is open and registered outside this framework, so enumerating them here would date the schema against a registry it does not own — and a closed list would reproduce the original defect one revision later."
346
+ },
331
347
  "challenge": {
332
348
  "type": "string",
333
349
  "description": "base64url-encoded one-time nonce."
@@ -44,6 +44,14 @@ export interface AuthStepUpApproveRequest {
44
44
  * Optional WebAuthn `PublicKeyCredentialRequestOptions` the approver passes to the platform passkey API when producing `webauthn` evidence. When present, its `challenge` MUST equal `payload.challenge` so the resulting assertion binds the same nonce the relying party bound server-side. `rpId`/`allowCredentials` identify which credential the approver should assert with.
45
45
  */
46
46
  export interface PublicKeyCredentialRequestOptions {
47
+ /**
48
+ * Client extension inputs, per the WebAuthn Level 2 `AuthenticationExtensionsClientInputs` dictionary.
49
+ *
50
+ * This component states that it mirrors the W3C dictionary, and that dictionary defines `extensions`. Omitting it while closing the object with `additionalProperties: false` made the two claims contradict each other: a server emitting standard WebAuthn options could not conform, and the widely-used server libraries emit this member by default.
51
+ *
52
+ * Structure is deliberately unconstrained. The set of extensions is open and registered outside this framework, so enumerating them here would date the schema against a registry it does not own — and a closed list would reproduce the original defect one revision later.
53
+ */
54
+ extensions?: {};
47
55
  /**
48
56
  * base64url-encoded one-time nonce.
49
57
  */
@@ -215,6 +223,10 @@ export const PAYLOAD_SCHEMA = {
215
223
  "challenge"
216
224
  ],
217
225
  "properties": {
226
+ "extensions": {
227
+ "type": "object",
228
+ "description": "Client extension inputs, per the WebAuthn Level 2 `AuthenticationExtensionsClientInputs` dictionary.\n\nThis component states that it mirrors the W3C dictionary, and that dictionary defines `extensions`. Omitting it while closing the object with `additionalProperties: false` made the two claims contradict each other: a server emitting standard WebAuthn options could not conform, and the widely-used server libraries emit this member by default.\n\nStructure is deliberately unconstrained. The set of extensions is open and registered outside this framework, so enumerating them here would date the schema against a registry it does not own — and a closed list would reproduce the original defect one revision later."
229
+ },
218
230
  "challenge": {
219
231
  "type": "string",
220
232
  "description": "base64url-encoded one-time nonce."
@@ -328,6 +340,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
328
340
  "challenge"
329
341
  ],
330
342
  "properties": {
343
+ "extensions": {
344
+ "type": "object",
345
+ "description": "Client extension inputs, per the WebAuthn Level 2 `AuthenticationExtensionsClientInputs` dictionary.\n\nThis component states that it mirrors the W3C dictionary, and that dictionary defines `extensions`. Omitting it while closing the object with `additionalProperties: false` made the two claims contradict each other: a server emitting standard WebAuthn options could not conform, and the widely-used server libraries emit this member by default.\n\nStructure is deliberately unconstrained. The set of extensions is open and registered outside this framework, so enumerating them here would date the schema against a registry it does not own — and a closed list would reproduce the original defect one revision later."
346
+ },
331
347
  "challenge": {
332
348
  "type": "string",
333
349
  "description": "base64url-encoded one-time nonce."