@mojaloop/api-snippets 18.3.1 → 18.3.2

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/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
1
  # Changelog: [mojaloop/api-snippets](https://github.com/mojaloop/api-snippets)
2
+ ### [18.3.2](https://github.com/mojaloop/api-snippets/compare/v18.3.1...v18.3.2) (2026-02-24)
3
+
4
+
5
+ ### Maintenance
6
+
7
+ * lower fido id and raw id min length ([#218](https://github.com/mojaloop/api-snippets/issues/218)) ([9876bb5](https://github.com/mojaloop/api-snippets/commit/9876bb5360b9efca2b1a8dfe23073b03fb422120))
8
+
2
9
  ### [18.3.1](https://github.com/mojaloop/api-snippets/compare/v18.3.0...v18.3.1) (2026-02-13)
3
10
 
4
11
 
package/audit-ci.jsonc CHANGED
@@ -3,5 +3,7 @@
3
3
  // audit-ci supports reading JSON, JSONC, and JSON5 config files.
4
4
  // Only use one of ["low": true, "moderate": true, "high": true, "critical": true]
5
5
  "moderate": true,
6
- "allowlist": []
6
+ "allowlist": [
7
+ "GHSA-3ppc-4f35-3m26"
8
+ ]
7
9
  }
@@ -2907,7 +2907,7 @@ components:
2907
2907
  title: FIDOPublicKeyCredentialAttestation
2908
2908
  type: object
2909
2909
  description: |
2910
- A data model representing a FIDO Attestation result. Derived from
2910
+ A data model representing a FIDO Attestation result. Derived from
2911
2911
  [`PublicKeyCredential` Interface](https://w3c.github.io/webauthn/#iface-pkcredential).
2912
2912
 
2913
2913
  The `PublicKeyCredential` interface represents the below fields with
@@ -2919,13 +2919,13 @@ components:
2919
2919
  description: |
2920
2920
  credential id: identifier of pair of keys, base64 encoded
2921
2921
  https://w3c.github.io/webauthn/#ref-for-dom-credential-id
2922
- minLength: 59
2922
+ minLength: 20
2923
2923
  maxLength: 118
2924
2924
  rawId:
2925
2925
  type: string
2926
2926
  description: |
2927
2927
  raw credential id: identifier of pair of keys, base64 encoded
2928
- minLength: 59
2928
+ minLength: 20
2929
2929
  maxLength: 118
2930
2930
  response:
2931
2931
  type: object
@@ -3394,13 +3394,13 @@ components:
3394
3394
  description: |
3395
3395
  credential id: identifier of pair of keys, base64 encoded
3396
3396
  https://w3c.github.io/webauthn/#ref-for-dom-credential-id
3397
- minLength: 59
3397
+ minLength: 20
3398
3398
  maxLength: 118
3399
3399
  rawId:
3400
3400
  type: string
3401
3401
  description: |
3402
3402
  raw credential id: identifier of pair of keys, base64 encoded.
3403
- minLength: 59
3403
+ minLength: 20
3404
3404
  maxLength: 118
3405
3405
  response:
3406
3406
  type: object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/api-snippets",
3
- "version": "18.3.1",
3
+ "version": "18.3.2",
4
4
  "description": "Mojaloop API specification reusable snippets",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -107,14 +107,14 @@
107
107
  "undici": "6.23.0"
108
108
  },
109
109
  "devDependencies": {
110
- "@commitlint/cli": "^20.4.1",
111
- "@commitlint/config-conventional": "^20.4.1",
110
+ "@commitlint/cli": "^20.4.2",
111
+ "@commitlint/config-conventional": "^20.4.2",
112
112
  "@redocly/cli": "^1.5.0",
113
113
  "@redocly/openapi-cli": "^1.0.0-beta.95",
114
114
  "@types/jest": "^30.0.0",
115
115
  "@types/js-yaml": "^4.0.9",
116
- "@typescript-eslint/eslint-plugin": "^8.55.0",
117
- "@typescript-eslint/parser": "^8.55.0",
116
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
117
+ "@typescript-eslint/parser": "^8.56.1",
118
118
  "audit-ci": "^7.1.0",
119
119
  "browser-sync": "^3.0.4",
120
120
  "diff": "8.0.3",
@@ -133,7 +133,7 @@
133
133
  "jest-junit": "^16.0.0",
134
134
  "json-schema-to-ts": "^3.1.1",
135
135
  "lint-staged": "^16.2.7",
136
- "npm-check-updates": "^19.3.2",
136
+ "npm-check-updates": "^19.4.1",
137
137
  "prettier": "^3.8.1",
138
138
  "standard-version": "^9.5.0",
139
139
  "swagger-cli": "^4.0.4",
@@ -15,13 +15,13 @@ properties:
15
15
  description: |
16
16
  credential id: identifier of pair of keys, base64 encoded
17
17
  https://w3c.github.io/webauthn/#ref-for-dom-credential-id
18
- minLength: 59
18
+ minLength: 20
19
19
  maxLength: 118
20
20
  rawId:
21
21
  type: string
22
22
  description: |
23
23
  raw credential id: identifier of pair of keys, base64 encoded.
24
- minLength: 59
24
+ minLength: 20
25
25
  maxLength: 118
26
26
  response:
27
27
  type: object
@@ -1,7 +1,7 @@
1
1
  title: FIDOPublicKeyCredentialAttestation
2
2
  type: object
3
3
  description: |
4
- A data model representing a FIDO Attestation result. Derived from
4
+ A data model representing a FIDO Attestation result. Derived from
5
5
  [`PublicKeyCredential` Interface](https://w3c.github.io/webauthn/#iface-pkcredential).
6
6
 
7
7
  The `PublicKeyCredential` interface represents the below fields with
@@ -13,13 +13,13 @@ properties:
13
13
  description: |
14
14
  credential id: identifier of pair of keys, base64 encoded
15
15
  https://w3c.github.io/webauthn/#ref-for-dom-credential-id
16
- minLength: 59
16
+ minLength: 20
17
17
  maxLength: 118
18
18
  rawId:
19
19
  type: string
20
20
  description: |
21
21
  raw credential id: identifier of pair of keys, base64 encoded
22
- minLength: 59
22
+ minLength: 20
23
23
  maxLength: 118
24
24
  response:
25
25
  type: object