@mojaloop/sdk-scheme-adapter 11.18.12 → 12.0.0

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
@@ -2,6 +2,17 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [12.0.0](https://github.com/mojaloop/sdk-scheme-adapter/compare/v11.18.12...v12.0.0) (2022-03-18)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * update typescript interfaces using latest api-snippets (#297)
11
+
12
+ ### Refactors
13
+
14
+ * update typescript interfaces using latest api-snippets ([#297](https://github.com/mojaloop/sdk-scheme-adapter/issues/297)) ([9a72083](https://github.com/mojaloop/sdk-scheme-adapter/commit/9a7208372976297a307a57478fb339b4ebbdc790))
15
+
5
16
  ### [11.18.12](https://github.com/mojaloop/sdk-scheme-adapter/compare/v11.18.11...v11.18.12) (2022-02-15)
6
17
 
7
18
 
@@ -83,9 +83,6 @@ export declare namespace Schemas {
83
83
  type accountsCreationState = components['schemas']['accountsCreationState'];
84
84
  type accountsResponse = components['schemas']['accountsResponse'];
85
85
  type errorAccountsResponse = components['schemas']['errorAccountsResponse'];
86
- type AccountAddress = components['schemas']['AccountAddress'];
87
- type Account = components['schemas']['Account'];
88
- type AccountList = components['schemas']['AccountList'];
89
86
  type PartyIdInfo = components['schemas']['PartyIdInfo'];
90
87
  type PartyName = components['schemas']['PartyName'];
91
88
  type PartyComplexName = components['schemas']['PartyComplexName'];
@@ -101,17 +98,4 @@ export declare namespace Schemas {
101
98
  type simpleTransfersPostRequest = components['schemas']['simpleTransfersPostRequest'];
102
99
  type simpleTransfersPostResponse = components['schemas']['simpleTransfersPostResponse'];
103
100
  type errorSimpleTransfersResponse = components['schemas']['errorSimpleTransfersResponse'];
104
- type AuthorizationChannelType = components['schemas']['AuthorizationChannelType'];
105
- type Integer = components['schemas']['Integer'];
106
- type AuthorizationsPostRequest = components['schemas']['AuthorizationsPostRequest'];
107
- type authorizationsPostRequest = components['schemas']['authorizationsPostRequest'];
108
- type OtpValue = components['schemas']['OtpValue'];
109
- type QRCODE = components['schemas']['QRCODE'];
110
- type U2FPIN = components['schemas']['U2FPIN'];
111
- type U2FPinValue = components['schemas']['U2FPinValue'];
112
- type AuthenticationValue = components['schemas']['AuthenticationValue'];
113
- type AuthenticationInfo = components['schemas']['AuthenticationInfo'];
114
- type AuthorizationResponseType = components['schemas']['AuthorizationResponseType'];
115
- type authorizationsPostResponse = components['schemas']['authorizationsPostResponse'];
116
- type errorAuthorizationsResponse = components['schemas']['errorAuthorizationsResponse'];
117
- }
101
+ }
@@ -7,7 +7,7 @@ items:
7
7
  properties:
8
8
  idType:
9
9
  $ref: >-
10
- ../../../../node_modules/@mojaloop/api-snippets/thirdparty/openapi3/components/schemas/PartyIdType.yaml
10
+ ../../../../node_modules/@mojaloop/api-snippets/thirdparty/v1_0/openapi3/components/schemas/PartyIdType.yaml
11
11
  idValue:
12
12
  $ref: >-
13
13
  ../../../../node_modules/@mojaloop/api-snippets/fspiop/v1_1/openapi3/components/schemas/PartyIdentifier.yaml
@@ -8,7 +8,7 @@ items:
8
8
  properties:
9
9
  idType:
10
10
  $ref: >-
11
- ../../../../node_modules/@mojaloop/api-snippets/thirdparty/openapi3/components/schemas/PartyIdType.yaml
11
+ ../../../../node_modules/@mojaloop/api-snippets/thirdparty/v1_0/openapi3/components/schemas/PartyIdType.yaml
12
12
  idValue:
13
13
  $ref: >-
14
14
  ../../../../node_modules/@mojaloop/api-snippets/fspiop/v1_1/openapi3/components/schemas/PartyIdentifier.yaml
@@ -4,10 +4,10 @@
4
4
  properties:
5
5
  party:
6
6
  $ref: >-
7
- ../../../../node_modules/@mojaloop/api-snippets/thirdparty/openapi3/components/schemas/Party.yaml
7
+ ../../../../node_modules/@mojaloop/api-snippets/thirdparty/v1_0/openapi3/components/schemas/Party.yaml
8
8
  description: Information regarding the requested Party.
9
9
  currentState:
10
10
  $ref: ../schemas/async2SyncCurrentState.yaml
11
11
  required:
12
12
  - party
13
- - currentState
13
+ - currentState
@@ -1,13 +1,13 @@
1
1
  title: QuotesPostRequest
2
2
  type: object
3
3
  properties:
4
- fspId:
4
+ fspId:
5
5
  title: destination DFSP requested to calculate the quote
6
6
  $ref: >-
7
7
  ../../../../node_modules/@mojaloop/api-snippets/fspiop/v1_1/openapi3/components/schemas/FspId.yaml
8
8
  quotesPostRequest:
9
9
  $ref: >-
10
- ../../../../node_modules/@mojaloop/api-snippets/thirdparty/openapi3/components/schemas/QuotesPostRequest.yaml
11
- required:
10
+ ../../../../node_modules/@mojaloop/api-snippets/thirdparty/v1_0/openapi3/components/schemas/QuotesPostRequest.yaml
11
+ required:
12
12
  - fspId
13
13
  - quotesPostRequest
@@ -8,7 +8,7 @@ properties:
8
8
  ../../../../node_modules/@mojaloop/api-snippets/fspiop/v1_1/openapi3/components/schemas/TransactionInitiatorType.yaml
9
9
  idType:
10
10
  $ref: >-
11
- ../../../../node_modules/@mojaloop/api-snippets/thirdparty/openapi3/components/schemas/PartyIdType.yaml
11
+ ../../../../node_modules/@mojaloop/api-snippets/thirdparty/v1_0/openapi3/components/schemas/PartyIdType.yaml
12
12
  idValue:
13
13
  $ref: >-
14
14
  ../../../../node_modules/@mojaloop/api-snippets/fspiop/v1_1/openapi3/components/schemas/PartyIdentifier.yaml
@@ -272,6 +272,123 @@
272
272
  "decision": "ignore",
273
273
  "madeAt": 1644879161354,
274
274
  "expiresAt": 1647471110577
275
+ },
276
+ "1064587|@mojaloop/central-services-shared>widdershins>urijs": {
277
+ "decision": "fix",
278
+ "madeAt": 1647565572809
279
+ },
280
+ "1064606|@mojaloop/central-services-shared>widdershins>urijs": {
281
+ "decision": "fix",
282
+ "madeAt": 1647565572809
283
+ },
284
+ "1067233|@mojaloop/central-services-shared>widdershins>urijs": {
285
+ "decision": "fix",
286
+ "madeAt": 1647565572809
287
+ },
288
+ "1064843|@mojaloop/event-sdk>@grpc/proto-loader>yargs>string-width>strip-ansi>ansi-regex": {
289
+ "decision": "ignore",
290
+ "madeAt": 1647565608486,
291
+ "expiresAt": 1650157604921
292
+ },
293
+ "1064843|@mojaloop/central-services-shared>widdershins>oas-resolver>yargs>string-width>strip-ansi>ansi-regex": {
294
+ "decision": "ignore",
295
+ "madeAt": 1647565608486,
296
+ "expiresAt": 1650157604921
297
+ },
298
+ "1064843|@mojaloop/central-services-shared>widdershins>oas-resolver>yargs>cliui>string-width>strip-ansi>ansi-regex": {
299
+ "decision": "ignore",
300
+ "madeAt": 1647565608486,
301
+ "expiresAt": 1650157604921
302
+ },
303
+ "1064843|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-resolver>yargs>cliui>string-width>strip-ansi>ansi-regex": {
304
+ "decision": "ignore",
305
+ "madeAt": 1647565608486,
306
+ "expiresAt": 1650157604921
307
+ },
308
+ "1064843|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-validator>oas-resolver>yargs>cliui>string-width>strip-ansi>ansi-regex": {
309
+ "decision": "ignore",
310
+ "madeAt": 1647565608486,
311
+ "expiresAt": 1650157604921
312
+ },
313
+ "1064843|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-validator>oas-resolver>yargs>cliui>wrap-ansi>string-width>strip-ansi>ansi-regex": {
314
+ "decision": "ignore",
315
+ "madeAt": 1647565608486,
316
+ "expiresAt": 1650157604921
317
+ },
318
+ "1064843|@mojaloop/event-sdk>@grpc/proto-loader>yargs>cliui>wrap-ansi>strip-ansi>ansi-regex": {
319
+ "decision": "ignore",
320
+ "madeAt": 1647565608486,
321
+ "expiresAt": 1650157604921
322
+ },
323
+ "1064843|@mojaloop/central-services-shared>widdershins>oas-resolver>yargs>cliui>wrap-ansi>strip-ansi>ansi-regex": {
324
+ "decision": "ignore",
325
+ "madeAt": 1647565608486,
326
+ "expiresAt": 1650157604921
327
+ },
328
+ "1064843|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-resolver>yargs>cliui>wrap-ansi>strip-ansi>ansi-regex": {
329
+ "decision": "ignore",
330
+ "madeAt": 1647565608486,
331
+ "expiresAt": 1650157604921
332
+ },
333
+ "1064843|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-validator>oas-resolver>yargs>cliui>wrap-ansi>strip-ansi>ansi-regex": {
334
+ "decision": "ignore",
335
+ "madeAt": 1647565608487,
336
+ "expiresAt": 1650157604921
337
+ },
338
+ "1064843|@mojaloop/event-sdk>@grpc/proto-loader>yargs>cliui>strip-ansi>ansi-regex": {
339
+ "decision": "ignore",
340
+ "madeAt": 1647565608487,
341
+ "expiresAt": 1650157604921
342
+ },
343
+ "1064661|@mojaloop/central-services-shared>shins>markdown-it": {
344
+ "decision": "ignore",
345
+ "madeAt": 1647565592292,
346
+ "expiresAt": 1650157555692
347
+ },
348
+ "1064744|@mojaloop/central-services-shared>widdershins>openapi-sampler>json-pointer": {
349
+ "decision": "ignore",
350
+ "madeAt": 1647565593879,
351
+ "expiresAt": 1650157555692
352
+ },
353
+ "1064761|@mojaloop/central-services-shared>widdershins>swagger2openapi>better-ajv-errors>jsonpointer": {
354
+ "decision": "ignore",
355
+ "madeAt": 1647565594838,
356
+ "expiresAt": 1650157555692
357
+ },
358
+ "1064761|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-validator>better-ajv-errors>jsonpointer": {
359
+ "decision": "ignore",
360
+ "madeAt": 1647565594838,
361
+ "expiresAt": 1650157555692
362
+ },
363
+ "1064843|@mojaloop/central-services-shared>widdershins>yargs>string-width>strip-ansi>ansi-regex": {
364
+ "decision": "ignore",
365
+ "madeAt": 1647565599016,
366
+ "expiresAt": 1650157555692
367
+ },
368
+ "1064843|@mojaloop/central-services-shared>widdershins>yargs>cliui>string-width>strip-ansi>ansi-regex": {
369
+ "decision": "ignore",
370
+ "madeAt": 1647565599016,
371
+ "expiresAt": 1650157555692
372
+ },
373
+ "1065159|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-validator>ajv": {
374
+ "decision": "ignore",
375
+ "madeAt": 1647565600359,
376
+ "expiresAt": 1650157555692
377
+ },
378
+ "1065367|@mojaloop/central-services-shared>shins>sanitize-html": {
379
+ "decision": "ignore",
380
+ "madeAt": 1647565601450,
381
+ "expiresAt": 1650157555692
382
+ },
383
+ "1065368|@mojaloop/central-services-shared>shins>sanitize-html": {
384
+ "decision": "ignore",
385
+ "madeAt": 1647565601450,
386
+ "expiresAt": 1650157555692
387
+ },
388
+ "1065523|@mojaloop/central-services-shared>widdershins>yargs>yargs-parser": {
389
+ "decision": "ignore",
390
+ "madeAt": 1647565602524,
391
+ "expiresAt": 1650157555692
275
392
  }
276
393
  },
277
394
  "rules": {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter",
3
- "version": "11.18.12",
3
+ "version": "12.0.0",
4
4
  "description": "An adapter for connecting to Mojaloop API enabled switches.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -49,6 +49,12 @@
49
49
  "type": "git",
50
50
  "url": "git@github.com:mojaloop/sdk-scheme-adapter.git"
51
51
  },
52
+ "@comment dependencies": [
53
+ "koa2-oauth-server is an old unmaintained repo. It uses the now unsupported git protocol.",
54
+ "Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.",
55
+ "If you regenerate package-lock.json, you will manually have to update `git://` to `https://` on its",
56
+ "dependencies."
57
+ ],
52
58
  "dependencies": {
53
59
  "@koa/cors": "^3.1.0",
54
60
  "@mojaloop/central-services-error-handling": "11.3.0",
@@ -57,7 +63,7 @@
57
63
  "@mojaloop/central-services-metrics": "11.0.0",
58
64
  "@mojaloop/central-services-shared": "14.0.0",
59
65
  "@mojaloop/event-sdk": "10.7.1",
60
- "@mojaloop/sdk-standard-components": "15.13.0",
66
+ "@mojaloop/sdk-standard-components": "^16.0.0",
61
67
  "ajv": "8.6.3",
62
68
  "ajv-keywords": "5.0.0",
63
69
  "axios": "^0.21.4",
@@ -79,7 +85,7 @@
79
85
  "devDependencies": {
80
86
  "@babel/core": "^7.15.5",
81
87
  "@babel/preset-env": "^7.15.6",
82
- "@mojaloop/api-snippets": "^13.0.3",
88
+ "@mojaloop/api-snippets": "^13.0.9",
83
89
  "@redocly/openapi-cli": "^1.0.0-beta.59",
84
90
  "@types/jest": "^27.0.1",
85
91
  "babel-jest": "^27.2.0",