@mojaloop/api-snippets 17.2.0 → 17.2.4
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 +21 -0
- package/audit-ci.jsonc +8 -0
- package/jest.config.js +2 -4
- package/lib/fspiop/v1_0/openapi.d.ts +792 -1490
- package/lib/fspiop/v1_1/openapi.d.ts +812 -1523
- package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +190 -141
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +219 -207
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js.map +1 -1
- package/lib/thirdparty/openapi.d.ts +656 -1454
- package/package.json +26 -36
package/package.json
CHANGED
@@ -1,15 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mojaloop/api-snippets",
|
3
|
-
"version": "17.2.
|
3
|
+
"version": "17.2.4",
|
4
4
|
"description": "Mojaloop API specification reusable snippets",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"types": "lib/index.d.ts",
|
7
|
-
"engines": {
|
8
|
-
"node": "=16.x"
|
9
|
-
},
|
10
7
|
"scripts": {
|
11
|
-
"audit:
|
12
|
-
"audit:check": "
|
8
|
+
"audit:fix": "npm audit fix",
|
9
|
+
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
|
13
10
|
"build": "npm run build:openapi; npm run build:dto; npm run build:schemas; tsc -p ./tsconfig.build.json",
|
14
11
|
"build:dto": "npm run build:dto:v1.0; npm run build:dto:v1.1; npm run build:dto:thirdparty; npm run build:dto:sdk-scheme-adapter;",
|
15
12
|
"build:schemas": "npm run build:schemas:sdk-scheme-adapter:backend; npm run build:schemas:sdk-scheme-adapter:outbound;",
|
@@ -38,13 +35,6 @@
|
|
38
35
|
"snapshot": "standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'",
|
39
36
|
"test:unit": "jest --testMatch '**/test/dto/*.(test|spec).ts'"
|
40
37
|
},
|
41
|
-
"husky": {
|
42
|
-
"hooks": {
|
43
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
44
|
-
"pre-commit": "lint-staged; npm run test:unit",
|
45
|
-
"post-commit": "git update-index --again"
|
46
|
-
}
|
47
|
-
},
|
48
38
|
"lint-staged": {
|
49
39
|
"*.{js,ts}": "eslint --cache --fix"
|
50
40
|
},
|
@@ -68,50 +58,50 @@
|
|
68
58
|
"license": "Apache-2.0",
|
69
59
|
"dependencies": {
|
70
60
|
"@apidevtools/json-schema-ref-parser": "^9.1.2",
|
71
|
-
"commander": "^
|
61
|
+
"commander": "^11.0.0",
|
72
62
|
"jest-ts-auto-mock": "^2.1.0",
|
73
63
|
"js-yaml": "^4.1.0",
|
74
64
|
"json-refs": "^3.0.15",
|
75
65
|
"openapi-types": "^12.1.3",
|
76
|
-
"openapi-typescript": "^5.
|
77
|
-
"ts-auto-mock": "^3.
|
78
|
-
"ttypescript": "^1.5.15"
|
66
|
+
"openapi-typescript": "^6.5.3",
|
67
|
+
"ts-auto-mock": "^3.7.1"
|
79
68
|
},
|
80
69
|
"overrides": {
|
81
70
|
"@types/cacheable-request": "^6.0.2",
|
82
71
|
"@types/responselike": "^1.0.0"
|
83
72
|
},
|
84
73
|
"devDependencies": {
|
85
|
-
"@commitlint/cli": "^17.
|
86
|
-
"@commitlint/config-conventional": "^17.
|
74
|
+
"@commitlint/cli": "^17.7.1",
|
75
|
+
"@commitlint/config-conventional": "^17.7.0",
|
87
76
|
"@redocly/openapi-cli": "^1.0.0-beta.94",
|
88
|
-
"@types/jest": "^29.5.
|
89
|
-
"@typescript-eslint/eslint-plugin": "^
|
90
|
-
"@typescript-eslint/parser": "^
|
77
|
+
"@types/jest": "^29.5.4",
|
78
|
+
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
79
|
+
"@typescript-eslint/parser": "^6.4.1",
|
80
|
+
"audit-ci": "^6.6.1",
|
91
81
|
"diff": "^5.1.0",
|
92
|
-
"eslint": "^8.
|
93
|
-
"eslint-config-prettier": "^
|
82
|
+
"eslint": "^8.47.0",
|
83
|
+
"eslint-config-prettier": "^9.0.0",
|
94
84
|
"eslint-config-standard": "^17.1.0",
|
95
|
-
"eslint-import-resolver-typescript": "^3.
|
85
|
+
"eslint-import-resolver-typescript": "^3.6.0",
|
96
86
|
"eslint-plugin-cucumber": "^2.0.0",
|
97
|
-
"eslint-plugin-import": "^2.
|
87
|
+
"eslint-plugin-import": "^2.28.1",
|
98
88
|
"eslint-plugin-node": "^11.1.0",
|
99
|
-
"eslint-plugin-prettier": "^
|
89
|
+
"eslint-plugin-prettier": "^5.0.0",
|
100
90
|
"eslint-plugin-promise": "^6.1.1",
|
101
91
|
"eslint-plugin-standard": "^5.0.0",
|
102
|
-
"husky": "
|
103
|
-
"jest": "^29.
|
92
|
+
"husky": "8.0.3",
|
93
|
+
"jest": "^29.6.3",
|
104
94
|
"jest-junit": "^16.0.0",
|
105
|
-
"lint-staged": "^
|
106
|
-
"npm-
|
107
|
-
"
|
108
|
-
"prettier": "^2.8.8",
|
95
|
+
"lint-staged": "^14.0.1",
|
96
|
+
"npm-check-updates": "^16.13.0",
|
97
|
+
"prettier": "^3.0.2",
|
109
98
|
"standard-version": "^9.5.0",
|
110
99
|
"swagger-cli": "^4.0.4",
|
111
|
-
"ts-jest": "^29.1.
|
100
|
+
"ts-jest": "^29.1.1",
|
112
101
|
"ts-node": "^10.9.1",
|
113
|
-
"
|
114
|
-
"
|
102
|
+
"ts-patch": "^3.0.2",
|
103
|
+
"tslib": "^2.6.2",
|
104
|
+
"typescript": "^5.1.6"
|
115
105
|
},
|
116
106
|
"publishConfig": {
|
117
107
|
"registry": "https://registry.npmjs.org/"
|