@mojaloop/api-snippets 18.3.0 → 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,18 @@
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
+
9
+ ### [18.3.1](https://github.com/mojaloop/api-snippets/compare/v18.3.0...v18.3.1) (2026-02-13)
10
+
11
+
12
+ ### Maintenance
13
+
14
+ * **ci:** update CircleCI orb to 1.1.10 ([8e5eba8](https://github.com/mojaloop/api-snippets/commit/8e5eba8a2dc640262301141bd055334b1d10f11e))
15
+
2
16
  ## [18.3.0](https://github.com/mojaloop/api-snippets/compare/v18.2.3...v18.3.0) (2026-01-20)
3
17
 
4
18
 
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.0",
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",
@@ -85,12 +85,12 @@
85
85
  "dependencies": {
86
86
  "@apidevtools/json-schema-ref-parser": "^9.1.2",
87
87
  "@redocly/openapi-core": "^1.5.0",
88
- "commander": "^14.0.2",
88
+ "commander": "^14.0.3",
89
89
  "jest-ts-auto-mock": "^2.1.0",
90
90
  "js-yaml": "4.1.1",
91
91
  "json-refs": "^3.0.15",
92
92
  "openapi-types": "^12.1.3",
93
- "openapi-typescript": "^7.10.1",
93
+ "openapi-typescript": "^7.13.0",
94
94
  "ts-auto-mock": "^3.7.4"
95
95
  },
96
96
  "overrides": {
@@ -101,20 +101,23 @@
101
101
  "form-data": "4.0.4",
102
102
  "glob": "11.1.0",
103
103
  "js-yaml": "4.1.1",
104
- "qs": "6.14.1"
104
+ "qs": "6.14.2",
105
+ "lodash": "4.17.23",
106
+ "lodash-es": "4.17.23",
107
+ "undici": "6.23.0"
105
108
  },
106
109
  "devDependencies": {
107
- "@commitlint/cli": "^20.3.1",
108
- "@commitlint/config-conventional": "^20.3.1",
110
+ "@commitlint/cli": "^20.4.2",
111
+ "@commitlint/config-conventional": "^20.4.2",
109
112
  "@redocly/cli": "^1.5.0",
110
113
  "@redocly/openapi-cli": "^1.0.0-beta.95",
111
114
  "@types/jest": "^30.0.0",
112
115
  "@types/js-yaml": "^4.0.9",
113
- "@typescript-eslint/eslint-plugin": "^8.53.1",
114
- "@typescript-eslint/parser": "^8.53.1",
116
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
117
+ "@typescript-eslint/parser": "^8.56.1",
115
118
  "audit-ci": "^7.1.0",
116
119
  "browser-sync": "^3.0.4",
117
- "diff": "^8.0.3",
120
+ "diff": "8.0.3",
118
121
  "eslint": "^8.55.0",
119
122
  "eslint-config-prettier": "^10.1.8",
120
123
  "eslint-config-standard": "^17.1.0",
@@ -130,8 +133,8 @@
130
133
  "jest-junit": "^16.0.0",
131
134
  "json-schema-to-ts": "^3.1.1",
132
135
  "lint-staged": "^16.2.7",
133
- "npm-check-updates": "^19.3.1",
134
- "prettier": "^3.8.0",
136
+ "npm-check-updates": "^19.4.1",
137
+ "prettier": "^3.8.1",
135
138
  "standard-version": "^9.5.0",
136
139
  "swagger-cli": "^4.0.4",
137
140
  "ts-jest": "^29.4.6",
@@ -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