@mojaloop/sdk-scheme-adapter 24.1.1 → 24.1.3

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 (197) hide show
  1. package/.yarn/cache/{@apidevtools-json-schema-ref-parser-npm-11.9.0-687585503c-5b09f7d4bb.zip → @apidevtools-json-schema-ref-parser-npm-11.9.1-affeb92b0d-965c52ebd2.zip} +0 -0
  2. package/.yarn/cache/@babel-helper-create-class-features-plugin-npm-7.26.9-b0bf1b10a4-d445a660d2.zip +0 -0
  3. package/.yarn/cache/{@babel-runtime-npm-7.26.7-685f05ad2c-a1664a08f3.zip → @babel-runtime-npm-7.26.9-8369ff039f-838492d8a9.zip} +0 -0
  4. package/.yarn/cache/{@eslint-config-array-npm-0.19.1-2985276432-421aad712a.zip → @eslint-config-array-npm-0.19.2-9310e910a9-1c707e04fc.zip} +0 -0
  5. package/.yarn/cache/@eslint-core-npm-0.12.0-38bccca4dd-3979af3241.zip +0 -0
  6. package/.yarn/cache/@eslint-core-npm-0.9.1-e156c07571-33c8159842.zip +0 -0
  7. package/.yarn/cache/@eslint-eslintrc-npm-3.3.0-72b2f21ce8-1d8a4205c2.zip +0 -0
  8. package/.yarn/cache/{@eslint-js-npm-9.19.0-12d90bd733-bf4077b390.zip → @eslint-js-npm-9.15.0-299ff7a9ff-8b2aa35b62.zip} +0 -0
  9. package/.yarn/cache/{@eslint-object-schema-npm-2.1.5-9f81710c7d-5facffc832.zip → @eslint-object-schema-npm-2.1.6-a777ee59e8-e32e565319.zip} +0 -0
  10. package/.yarn/cache/{@eslint-plugin-kit-npm-0.2.5-aeb42dfdc6-423db33e67.zip → @eslint-plugin-kit-npm-0.2.7-c313bcf919-e5d9be6ae5.zip} +0 -0
  11. package/.yarn/cache/@humanwhocodes-retry-npm-0.4.2-78a05c1b69-764127449a.zip +0 -0
  12. package/.yarn/cache/{@mojaloop-central-services-shared-npm-18.18.1-69bf11c401-704023ed97.zip → @mojaloop-central-services-shared-npm-18.19.0-e14673dce9-2d984e3fba.zip} +0 -0
  13. package/.yarn/cache/{@redocly-openapi-core-npm-1.28.0-c4b1f1cf53-83f9fa2ed3.zip → @redocly-openapi-core-npm-1.31.1-fb4096a34f-bce3703b79.zip} +0 -0
  14. package/.yarn/cache/call-bind-apply-helpers-npm-1.0.2-3eedbea3bb-b2863d74fc.zip +0 -0
  15. package/.yarn/cache/caniuse-lite-npm-1.0.30001700-af88646d2b-0e5e1c8648.zip +0 -0
  16. package/.yarn/cache/cjs-module-lexer-npm-1.4.3-4a46e7bf6c-221a1661a9.zip +0 -0
  17. package/.yarn/cache/cli-table-npm-0.3.11-f912789cff-59fb61f992.zip +0 -0
  18. package/.yarn/cache/colors-npm-1.0.3-6c5d583ab3-234e8d3ab7.zip +0 -0
  19. package/.yarn/cache/compression-npm-1.8.0-5088616544-12ca3e326b.zip +0 -0
  20. package/.yarn/cache/cookie-npm-0.6.0-362d6a2e45-f56a7d32a0.zip +0 -0
  21. package/.yarn/cache/electron-to-chromium-npm-1.5.104-d9177e3237-5b8b22c0ae.zip +0 -0
  22. package/.yarn/cache/es-shim-unscopables-npm-1.1.0-13f1970345-33cfb1ebcb.zip +0 -0
  23. package/.yarn/cache/{eslint-npm-9.19.0-e70f56e959-173c77ac3f.zip → eslint-npm-9.15.0-5469d28713-50b7e1c4cb.zip} +0 -0
  24. package/.yarn/cache/exponential-backoff-npm-3.1.2-e030c582de-7e191e3dd6.zip +0 -0
  25. package/.yarn/cache/express-npm-4.19.2-f81334a22a-212dbd6c2c.zip +0 -0
  26. package/.yarn/cache/fast-xml-parser-npm-4.5.3-4c572a6316-cd6a184941.zip +0 -0
  27. package/.yarn/cache/fastq-npm-1.19.0-5e2713df98-c9203c9e48.zip +0 -0
  28. package/.yarn/cache/finalhandler-npm-1.2.0-593d001463-92effbfd32.zip +0 -0
  29. package/.yarn/cache/{flatted-npm-3.3.2-6bf77e6e67-ac3c159742.zip → flatted-npm-3.3.3-ca455563b2-8c96c02fbe.zip} +0 -0
  30. package/.yarn/cache/for-each-npm-0.3.5-b74c5c5ba7-3c986d7e11.zip +0 -0
  31. package/.yarn/cache/{foreground-child-npm-3.3.0-b8be745271-1989698488.zip → foreground-child-npm-3.3.1-b7775fda04-b2c1a6fc0b.zip} +0 -0
  32. package/.yarn/cache/form-data-npm-4.0.2-d2e89057d5-e887298b22.zip +0 -0
  33. package/.yarn/cache/get-intrinsic-npm-1.3.0-35558f27b6-301008e448.zip +0 -0
  34. package/.yarn/cache/glob-npm-9.3.5-2f602083f0-94b093adbc.zip +0 -0
  35. package/.yarn/cache/import-fresh-npm-3.3.1-1916794950-a06b19461b.zip +0 -0
  36. package/.yarn/cache/ini-npm-3.0.1-5000598340-947b582a82.zip +0 -0
  37. package/.yarn/cache/is-boolean-object-npm-1.2.2-ceb8c82b17-0415b181e8.zip +0 -0
  38. package/.yarn/cache/is-weakref-npm-1.1.1-e6458807f4-1769b9aed5.zip +0 -0
  39. package/.yarn/cache/long-npm-5.3.1-c44e0933f0-2a44ed1408.zip +0 -0
  40. package/.yarn/cache/merge-descriptors-npm-1.0.1-615287aaa8-5abc259d2a.zip +0 -0
  41. package/.yarn/cache/minimatch-npm-7.4.6-f3feee458c-1a6c8d2261.zip +0 -0
  42. package/.yarn/cache/minimatch-npm-8.0.4-bf57f0e98a-2e46cffb86.zip +0 -0
  43. package/.yarn/cache/minipass-npm-4.2.8-f05abfe254-7f4914d529.zip +0 -0
  44. package/.yarn/cache/nan-npm-2.22.1-09e9287ac1-984c07db9f.zip +0 -0
  45. package/.yarn/cache/node-gyp-npm-11.1.0-bd7044e197-b196da39a7.zip +0 -0
  46. package/.yarn/cache/npm-check-updates-npm-16.7.10-c7631e6e9a-003a1b618b.zip +0 -0
  47. package/.yarn/cache/oauth2-server-npm-4.0.0-dev.2-0a8b43e457-78a7fc8cfc.zip +0 -0
  48. package/.yarn/cache/object-inspect-npm-1.13.4-4e741f9806-582810c6a8.zip +0 -0
  49. package/.yarn/cache/pacote-npm-15.1.1-61d4204b89-109388e873.zip +0 -0
  50. package/.yarn/cache/possible-typed-array-names-npm-1.1.0-ce60ca4401-cfcd4f0526.zip +0 -0
  51. package/.yarn/cache/postcss-npm-8.5.3-37174aa03d-da574620eb.zip +0 -0
  52. package/.yarn/cache/prompts-ncu-npm-2.5.1-586a5abf0b-e8b6479305.zip +0 -0
  53. package/.yarn/cache/qs-npm-6.11.0-caf1bc9dea-6e1f29dd53.zip +0 -0
  54. package/.yarn/cache/registry-auth-token-npm-5.1.0-0b41e3c979-620c897167.zip +0 -0
  55. package/.yarn/cache/reusify-npm-1.1.0-96242be57f-64cb3142ac.zip +0 -0
  56. package/.yarn/cache/rimraf-npm-4.4.1-80b02e041a-b786adc026.zip +0 -0
  57. package/.yarn/cache/send-npm-0.18.0-faadf6353f-74fc07ebb5.zip +0 -0
  58. package/.yarn/cache/serve-static-npm-1.15.0-86c81879f5-af57fc13be.zip +0 -0
  59. package/.yarn/cache/{socks-npm-2.8.3-3532b59899-7a6b7f6eed.zip → socks-npm-2.8.4-8194b86bd0-cd1edc9244.zip} +0 -0
  60. package/.yarn/cache/strnum-npm-1.1.1-67836fb7cf-1be70c6ec3.zip +0 -0
  61. package/.yarn/cache/{swagger-ui-dist-npm-5.18.3-592e0fa048-3a2c17181b.zip → swagger-ui-dist-npm-5.19.0-1a4737b567-a2ae866b9f.zip} +0 -0
  62. package/.yarn/cache/{type-fest-npm-4.33.0-34a5b19843-42c9a4e305.zip → type-fest-npm-4.35.0-9c20cd5f20-14581e7b02.zip} +0 -0
  63. package/.yarn/cache/{zod-npm-3.24.1-62ba4e84b3-dcd5334725.zip → zod-npm-3.24.2-ab80dc0969-c02455c096.zip} +0 -0
  64. package/.yarn/install-state.gz +0 -0
  65. package/CHANGELOG.md +14 -0
  66. package/modules/api-svc/package.json +50 -50
  67. package/modules/api-svc/src/constants.js +0 -3
  68. package/modules/api-svc/src/index.js +5 -20
  69. package/modules/api-svc/src/lib/utils.js +20 -1
  70. package/modules/outbound-command-event-handler/package.json +30 -30
  71. package/modules/outbound-command-event-handler/src/api-server/app.ts +0 -22
  72. package/modules/outbound-command-event-handler/src/api-server/handlers/bulk-transactions.ts +0 -22
  73. package/modules/outbound-command-event-handler/src/api-server/handlers/health.ts +0 -22
  74. package/modules/outbound-command-event-handler/src/api-server/handlers/index.ts +0 -22
  75. package/modules/outbound-command-event-handler/src/api-server/index.ts +0 -22
  76. package/modules/outbound-command-event-handler/src/api-server/models/bulk-transaction.ts +0 -22
  77. package/modules/outbound-command-event-handler/src/api-server/models/health.ts +0 -22
  78. package/modules/outbound-command-event-handler/src/api-server/models/index.ts +0 -22
  79. package/modules/outbound-command-event-handler/src/api-server/services/bulk-transactions.ts +0 -22
  80. package/modules/outbound-command-event-handler/src/api-server/services/health.ts +0 -22
  81. package/modules/outbound-command-event-handler/src/application/errors.ts +0 -26
  82. package/modules/outbound-command-event-handler/src/application/handler.ts +0 -22
  83. package/modules/outbound-command-event-handler/src/application/index.ts +0 -22
  84. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/index.ts +0 -22
  85. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/prepare_sdk_outbound_bulk_response.ts +0 -22
  86. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/process_bulk_quotes_callback.ts +0 -22
  87. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/process_bulk_transfers_callback.ts +0 -22
  88. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/process_party_info_callback.ts +0 -22
  89. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/process_sdk_outbound_bulk_accept_party_info.ts +0 -22
  90. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/process_sdk_outbound_bulk_accept_quote.ts +0 -22
  91. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/process_sdk_outbound_bulk_party_info_request.ts +0 -22
  92. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/process_sdk_outbound_bulk_quotes_request.ts +0 -22
  93. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/process_sdk_outbound_bulk_request.ts +0 -22
  94. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/process_sdk_outbound_bulk_response_sent.ts +0 -22
  95. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/handlers/process_sdk_outbound_bulk_transfers_request.ts +0 -22
  96. package/modules/outbound-command-event-handler/src/domain/bulk_transaction_agg/index.ts +0 -22
  97. package/modules/outbound-command-event-handler/src/domain/index.ts +0 -22
  98. package/modules/outbound-command-event-handler/src/types/command_event_handler_options.ts +0 -22
  99. package/modules/outbound-command-event-handler/src/types/index.ts +0 -22
  100. package/modules/outbound-command-event-handler/src/types/repo_infra_types.ts +0 -26
  101. package/modules/outbound-command-event-handler/test/integration/application/agreement/process_bulk_quotes_callback.test.ts +0 -22
  102. package/modules/outbound-command-event-handler/test/integration/application/agreement/process_sdk_outbound_bulk_quotes_request.test.ts +0 -22
  103. package/modules/outbound-command-event-handler/test/integration/application/discovery/process_bulk_accept_party_info.test.ts +0 -22
  104. package/modules/outbound-command-event-handler/test/integration/application/discovery/process_bulk_party_info_request.test.ts +0 -22
  105. package/modules/outbound-command-event-handler/test/integration/application/discovery/process_bulk_request.test.ts +0 -22
  106. package/modules/outbound-command-event-handler/test/integration/application/discovery/process_party_info_callback.test.ts +0 -22
  107. package/modules/outbound-command-event-handler/test/integration/application/transfers/prepare_sdk_outbound_bulk_response.test.ts +0 -22
  108. package/modules/outbound-command-event-handler/test/integration/application/transfers/process_bulk_response_sent.test.ts +0 -22
  109. package/modules/outbound-command-event-handler/test/integration/application/transfers/process_bulk_transfers_callback.test.ts +0 -22
  110. package/modules/outbound-command-event-handler/test/integration/application/transfers/process_bulk_transfers_request.test.ts +0 -22
  111. package/modules/outbound-command-event-handler/test/integration/application/transfers/process_bulk_transfers_request_complete.test.ts +0 -22
  112. package/modules/outbound-command-event-handler/test/integration/application/transfers/process_prepare_bulk_response.test.ts +0 -22
  113. package/modules/outbound-command-event-handler/test/integration/application/transfers/process_sdk_outbound_bulk_accept_quote.test.ts +0 -22
  114. package/modules/outbound-command-event-handler/test/integration/application/transfers/process_sdk_outbound_bulk_response_sent.test.ts +0 -22
  115. package/modules/outbound-command-event-handler/test/integration/sample_events/process_sdk_outbound_bulk_transfers_request.test.ts +0 -24
  116. package/modules/outbound-command-event-handler/test/integration/sample_events/sdk_outbound_bulk_accept_party_info_received.test.ts +0 -24
  117. package/modules/outbound-command-event-handler/test/integration/sample_events/sdk_outbound_bulk_request_received.test.ts +0 -24
  118. package/modules/outbound-command-event-handler/test/unit/data/bulk_transaction_request.ts +0 -22
  119. package/modules/outbound-command-event-handler/test/unit/domain/bulk_transaction_agg/index.test.ts +0 -22
  120. package/modules/outbound-command-event-handler/test/unit/index.test.ts +0 -26
  121. package/modules/outbound-command-event-handler/test/util/generator.ts +0 -22
  122. package/modules/outbound-command-event-handler/test/util/index.ts +0 -22
  123. package/modules/outbound-command-event-handler/test/util/timer.ts +0 -22
  124. package/modules/outbound-domain-event-handler/package.json +28 -28
  125. package/modules/outbound-domain-event-handler/src/api-server/services/health.ts +0 -22
  126. package/modules/private-shared-lib/package.json +19 -19
  127. package/modules/private-shared-lib/src/values/enums.ts +0 -3
  128. package/package.json +28 -25
  129. package/.yarn/cache/@babel-compat-data-npm-7.26.5-b6047aeefb-7aaac0e79c.zip +0 -0
  130. package/.yarn/cache/@babel-core-npm-7.26.7-7cf6c69e74-017ad8db99.zip +0 -0
  131. package/.yarn/cache/@babel-generator-npm-7.26.5-8de063382c-baa42a98cd.zip +0 -0
  132. package/.yarn/cache/@babel-generator-npm-7.26.8-dfc15b983a-15ef65699a.zip +0 -0
  133. package/.yarn/cache/@babel-helper-create-class-features-plugin-npm-7.25.9-1efda825e9-91dd5f203e.zip +0 -0
  134. package/.yarn/cache/@babel-helpers-npm-7.26.7-284c12b13e-1c93604c7f.zip +0 -0
  135. package/.yarn/cache/@babel-parser-npm-7.26.7-ef2912fba4-22aafd7a6f.zip +0 -0
  136. package/.yarn/cache/@babel-parser-npm-7.26.8-5116d8ce65-2ede62d245.zip +0 -0
  137. package/.yarn/cache/@babel-template-npm-7.25.9-d903b7b6d5-103641fea1.zip +0 -0
  138. package/.yarn/cache/@babel-template-npm-7.26.8-9bdae70850-dfa79b33d4.zip +0 -0
  139. package/.yarn/cache/@babel-traverse-npm-7.26.7-18316b804e-22ea8aed13.zip +0 -0
  140. package/.yarn/cache/@babel-traverse-npm-7.26.8-616e5e7b7f-f8b2f4d994.zip +0 -0
  141. package/.yarn/cache/@babel-types-npm-7.26.7-0a324aa562-cfb12e8794.zip +0 -0
  142. package/.yarn/cache/@babel-types-npm-7.26.8-a2ea1f87c1-8f0f3bac37.zip +0 -0
  143. package/.yarn/cache/@colors-colors-npm-1.5.0-875af3a8b4-d64d5260be.zip +0 -0
  144. package/.yarn/cache/@eslint-core-npm-0.10.0-33fca4886d-851fa099b3.zip +0 -0
  145. package/.yarn/cache/@eslint-eslintrc-npm-3.2.0-1f7efe7868-c898e4d12f.zip +0 -0
  146. package/.yarn/cache/@humanwhocodes-retry-npm-0.4.1-44b0ee0d64-f11167c28e.zip +0 -0
  147. package/.yarn/cache/@mojaloop-central-services-error-handling-npm-13.0.4-3106885f50-9bb050e3f1.zip +0 -0
  148. package/.yarn/cache/@mojaloop-central-services-logger-npm-11.5.1-c8d0879908-d3b2019b7c.zip +0 -0
  149. package/.yarn/cache/@mojaloop-central-services-logger-npm-11.5.4-28fbcdf0be-676182b798.zip +0 -0
  150. package/.yarn/cache/@mojaloop-central-services-shared-npm-18.16.2-cb9431c1ea-5c444af44b.zip +0 -0
  151. package/.yarn/cache/@mojaloop-inter-scheme-proxy-cache-lib-npm-2.3.1-b4fc6c209f-89d815d1f0.zip +0 -0
  152. package/.yarn/cache/@mojaloop-ml-schema-transformer-lib-npm-2.5.2-a22418b595-e9f2011e63.zip +0 -0
  153. package/.yarn/cache/@mojaloop-ml-schema-transformer-lib-npm-2.5.3-61baad09fa-f459689d3c.zip +0 -0
  154. package/.yarn/cache/@mojaloop-sdk-standard-components-npm-19.6.4-3d5f991e58-7d42500cce.zip +0 -0
  155. package/.yarn/cache/@redocly-openapi-core-npm-1.27.2-c328c4b237-b5135f1d85.zip +0 -0
  156. package/.yarn/cache/@rollup-rollup-linux-x64-musl-npm-4.32.0-538515afc9-8.zip +0 -0
  157. package/.yarn/cache/@types-node-npm-22.12.0-7905337c99-2f6dd04abe.zip +0 -0
  158. package/.yarn/cache/@types-semver-utils-npm-1.1.3-f5c3f0e2c0-37f3bacf14.zip +0 -0
  159. package/.yarn/cache/@typescript-eslint-scope-manager-npm-8.22.0-e9d4565a7f-0aa51fbf3a.zip +0 -0
  160. package/.yarn/cache/@typescript-eslint-types-npm-8.22.0-cc19234a46-37fae8f21f.zip +0 -0
  161. package/.yarn/cache/@typescript-eslint-typescript-estree-npm-8.22.0-3f7a16feac-e7fd704869.zip +0 -0
  162. package/.yarn/cache/@typescript-eslint-utils-npm-8.22.0-5491e74318-976cd0e2ac.zip +0 -0
  163. package/.yarn/cache/@typescript-eslint-visitor-keys-npm-8.22.0-5832313ce6-df205177bc.zip +0 -0
  164. package/.yarn/cache/call-bind-apply-helpers-npm-1.0.1-cda777c96d-3c55343261.zip +0 -0
  165. package/.yarn/cache/caniuse-lite-npm-1.0.30001696-067c2f955f-079be180f3.zip +0 -0
  166. package/.yarn/cache/cjs-module-lexer-npm-1.4.1-4a824480ac-2556807a99.zip +0 -0
  167. package/.yarn/cache/cli-table3-npm-0.6.5-c3f24f9c39-ab7afbf4f8.zip +0 -0
  168. package/.yarn/cache/compression-npm-1.7.5-346039c027-d624b55624.zip +0 -0
  169. package/.yarn/cache/electron-to-chromium-npm-1.5.88-0030a5a506-90f58f1562.zip +0 -0
  170. package/.yarn/cache/es-shim-unscopables-npm-1.0.2-a3056a4c0d-432bd527c6.zip +0 -0
  171. package/.yarn/cache/exponential-backoff-npm-3.1.1-04df458b30-3d21519a4f.zip +0 -0
  172. package/.yarn/cache/fast-xml-parser-npm-4.5.1-77d072daa3-aab32d7f08.zip +0 -0
  173. package/.yarn/cache/fastq-npm-1.18.0-25fe4d7171-fb8d94318c.zip +0 -0
  174. package/.yarn/cache/for-each-npm-0.3.4-9925a6ce6e-7c094a28f9.zip +0 -0
  175. package/.yarn/cache/form-data-npm-4.0.1-f1a27a1c2e-ccee458cd5.zip +0 -0
  176. package/.yarn/cache/get-intrinsic-npm-1.2.7-2e0e0e7564-a1597b3b43.zip +0 -0
  177. package/.yarn/cache/import-fresh-npm-3.3.0-3e34265ca9-2cacfad06e.zip +0 -0
  178. package/.yarn/cache/ini-npm-4.1.3-56188f3216-004b2be423.zip +0 -0
  179. package/.yarn/cache/ioredis-npm-5.4.2-d393ad1d4d-6c40ef071c.zip +0 -0
  180. package/.yarn/cache/is-boolean-object-npm-1.2.1-ac39eabf5e-2672609f0f.zip +0 -0
  181. package/.yarn/cache/is-weakref-npm-1.1.0-65d773cc3c-2a2f3a1746.zip +0 -0
  182. package/.yarn/cache/long-npm-5.2.4-b96a88098c-abffed049d.zip +0 -0
  183. package/.yarn/cache/nan-npm-2.22.0-3750ad85d9-222e3a090e.zip +0 -0
  184. package/.yarn/cache/node-gyp-npm-11.0.0-669e34db1b-d7d5055ccc.zip +0 -0
  185. package/.yarn/cache/npm-check-updates-npm-16.14.20-a12a5ccfd5-85c69d05aa.zip +0 -0
  186. package/.yarn/cache/oauth2-server-npm-4.0.0-dev.3-2787680f69-91cee84582.zip +0 -0
  187. package/.yarn/cache/object-inspect-npm-1.13.3-b4e129b6d9-8c96210211.zip +0 -0
  188. package/.yarn/cache/pacote-npm-15.2.0-b9ed3321e9-c731572be2.zip +0 -0
  189. package/.yarn/cache/possible-typed-array-names-npm-1.0.0-3a8176348a-b32d403ece.zip +0 -0
  190. package/.yarn/cache/postcss-npm-8.5.1-90fd898a99-cfdcfcd019.zip +0 -0
  191. package/.yarn/cache/prompts-ncu-npm-3.0.2-a6ba800349-fe595b880c.zip +0 -0
  192. package/.yarn/cache/registry-auth-token-npm-5.0.3-6280f226c2-5976f822d6.zip +0 -0
  193. package/.yarn/cache/reusify-npm-1.0.4-95ac4aec11-c3076ebcc2.zip +0 -0
  194. package/.yarn/cache/semver-npm-7.7.0-2100277c86-a4eefdada9.zip +0 -0
  195. package/.yarn/cache/strnum-npm-1.0.5-9ba11d2a0a-651b2031db.zip +0 -0
  196. package/.yarn/cache/ts-api-utils-npm-2.0.0-1384745dce-f16f3e4e33.zip +0 -0
  197. package/.yarn/cache/winston-npm-3.14.2-d92fb20061-9021637d3a.zip +0 -0
Binary file
package/CHANGELOG.md CHANGED
@@ -1,4 +1,18 @@
1
1
  # Changelog: [mojaloop/sdk-scheme-adapter](https://github.com/mojaloop/sdk-scheme-adapter)
2
+ ### [24.1.3](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.1.2...v24.1.3) (2025-02-25)
3
+
4
+
5
+ ### Chore
6
+
7
+ * update src code headers pi26 ([#548](https://github.com/mojaloop/sdk-scheme-adapter/issues/548)) ([631a1ff](https://github.com/mojaloop/sdk-scheme-adapter/commit/631a1ffe4b62a3998bbb7e2c7c9dd7c61428fe49))
8
+
9
+ ### [24.1.2](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.1.1...v24.1.2) (2025-02-25)
10
+
11
+
12
+ ### Chore
13
+
14
+ * fixed logLevel ([#547](https://github.com/mojaloop/sdk-scheme-adapter/issues/547)) ([f88a464](https://github.com/mojaloop/sdk-scheme-adapter/commit/f88a4642cad323dca80bbfd57a590b8c8bae9d87))
15
+
2
16
  ### [24.1.1](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.1.0...v24.1.1) (2025-02-25)
3
17
 
4
18
 
@@ -63,63 +63,63 @@
63
63
  "url": "git@github.com:mojaloop/sdk-scheme-adapter.git"
64
64
  },
65
65
  "dependencies": {
66
- "@koa/cors": "^5.0.0",
66
+ "@koa/cors": "5.0.0",
67
67
  "@mojaloop/api-snippets": "17.8.0",
68
- "@mojaloop/central-services-error-handling": "^13.0.6",
69
- "@mojaloop/central-services-logger": "^11.5.5",
70
- "@mojaloop/central-services-metrics": "^12.4.5",
71
- "@mojaloop/central-services-shared": "^18.18.2",
72
- "@mojaloop/event-sdk": "^14.1.5",
68
+ "@mojaloop/central-services-error-handling": "13.0.6",
69
+ "@mojaloop/central-services-logger": "11.5.5",
70
+ "@mojaloop/central-services-metrics": "12.4.5",
71
+ "@mojaloop/central-services-shared": "18.19.0",
72
+ "@mojaloop/event-sdk": "14.1.5",
73
73
  "@mojaloop/logging-bc-client-lib": "0.5.8",
74
- "@mojaloop/ml-schema-transformer-lib": "^2.5.4",
74
+ "@mojaloop/ml-schema-transformer-lib": "2.5.4",
75
75
  "@mojaloop/sdk-scheme-adapter-private-shared-lib": "workspace:^",
76
76
  "@mojaloop/sdk-standard-components": "19.7.0",
77
77
  "ajv": "8.17.1",
78
- "axios": "^1.7.9",
79
- "body-parser": "^1.20.3",
80
- "co-body": "^6.2.0",
81
- "dotenv": "^16.4.7",
82
- "env-var": "^7.5.0",
83
- "express": "^4.21.2",
84
- "fast-json-patch": "^3.1.1",
85
- "fast-safe-stringify": "^2.1.1",
86
- "javascript-state-machine": "^3.1.0",
87
- "js-yaml": "^4.1.0",
88
- "json-schema-ref-parser": "^9.0.9",
89
- "koa": "^2.15.4",
90
- "koa-body": "^6.0.1",
91
- "lodash": "^4.17.21",
92
- "module-alias": "^2.2.3",
93
- "oauth2-server": "^4.0.0-dev.2",
94
- "openapi-jsonschema-parameters": "^12.1.3",
95
- "prom-client": "^15.1.3",
96
- "promise-timeout": "^1.3.0",
97
- "random-word-slugs": "^0.1.7",
98
- "redis": "^4.7.0",
99
- "uuidv4": "^6.2.13",
100
- "ws": "^8.18.1"
78
+ "axios": "1.7.9",
79
+ "body-parser": "1.20.3",
80
+ "co-body": "6.2.0",
81
+ "dotenv": "16.4.7",
82
+ "env-var": "7.5.0",
83
+ "express": "4.21.2",
84
+ "fast-json-patch": "3.1.1",
85
+ "fast-safe-stringify": "2.1.1",
86
+ "javascript-state-machine": "3.1.0",
87
+ "js-yaml": "4.1.0",
88
+ "json-schema-ref-parser": "9.0.9",
89
+ "koa": "2.15.4",
90
+ "koa-body": "6.0.1",
91
+ "lodash": "4.17.21",
92
+ "module-alias": "2.2.3",
93
+ "oauth2-server": "4.0.0-dev.2",
94
+ "openapi-jsonschema-parameters": "12.1.3",
95
+ "prom-client": "15.1.3",
96
+ "promise-timeout": "1.3.0",
97
+ "random-word-slugs": "0.1.7",
98
+ "redis": "4.7.0",
99
+ "uuidv4": "6.2.13",
100
+ "ws": "8.18.1"
101
101
  },
102
102
  "devDependencies": {
103
- "@babel/core": "^7.26.9",
104
- "@babel/preset-env": "^7.26.9",
105
- "@redocly/openapi-cli": "^1.0.0-beta.95",
106
- "@types/jest": "^29.5.14",
107
- "axios-mock-adapter": "^2.1.0",
108
- "babel-jest": "^29.7.0",
109
- "eslint": "^9.15.0",
110
- "eslint-config-airbnb-base": "^15.0.0",
111
- "eslint-plugin-import": "^2.31.0",
112
- "eslint-plugin-jest": "^28.11.0",
113
- "jest": "^29.7.0",
114
- "jest-junit": "^16.0.0",
115
- "npm-check-updates": "^16.7.10",
116
- "openapi-response-validator": "^12.1.3",
117
- "openapi-typescript": "^7.6.1",
118
- "redis-mock": "^0.56.3",
119
- "replace": "^1.2.2",
120
- "standard-version": "^9.5.0",
121
- "supertest": "^7.0.0",
122
- "swagger-cli": "^4.0.4"
103
+ "@babel/core": "7.26.9",
104
+ "@babel/preset-env": "7.26.9",
105
+ "@redocly/openapi-cli": "1.0.0-beta.95",
106
+ "@types/jest": "29.5.14",
107
+ "axios-mock-adapter": "2.1.0",
108
+ "babel-jest": "29.7.0",
109
+ "eslint": "9.15.0",
110
+ "eslint-config-airbnb-base": "15.0.0",
111
+ "eslint-plugin-import": "2.31.0",
112
+ "eslint-plugin-jest": "28.11.0",
113
+ "jest": "29.7.0",
114
+ "jest-junit": "16.0.0",
115
+ "npm-check-updates": "16.7.10",
116
+ "openapi-response-validator": "12.1.3",
117
+ "openapi-typescript": "7.6.1",
118
+ "redis-mock": "0.56.3",
119
+ "replace": "1.2.2",
120
+ "standard-version": "9.5.0",
121
+ "supertest": "7.0.0",
122
+ "swagger-cli": "4.0.4"
123
123
  },
124
124
  "standard-version": {
125
125
  "scripts": {
@@ -38,11 +38,8 @@ const API_TYPES = Object.freeze({
38
38
  iso20022: 'iso20022',
39
39
  });
40
40
 
41
- const SDK_LOGGER_HIERARCHY = ['verbose', 'trace', 'debug', 'info', 'warn', 'error', 'fatal'];
42
-
43
41
  module.exports = {
44
42
  API_TYPES,
45
43
  ISO_20022_HEADER_PART,
46
44
  RESOURCE_VERSIONS_STRING,
47
- SDK_LOGGER_HIERARCHY,
48
45
  };
@@ -26,10 +26,8 @@
26
26
  ******/
27
27
  'use strict';
28
28
 
29
- const { hostname } = require('os');
30
- const EventEmitter = require('events');
29
+ const EventEmitter = require('node:events');
31
30
  const _ = require('lodash');
32
- const { Logger } = require('@mojaloop/sdk-standard-components');
33
31
  const { name, version } = require('../../../package.json');
34
32
 
35
33
  const config = require('./config');
@@ -50,8 +48,7 @@ const Router = require('./lib/router');
50
48
  const Validate = require('./lib/validate');
51
49
  const Cache = require('./lib/cache');
52
50
  const { SDKStateEnum } = require('./lib/model/common');
53
- const { createAuthClient } = require('./lib/utils');
54
- const { SDK_LOGGER_HIERARCHY } = require('./constants');
51
+ const { createAuthClient, createLogger } = require('./lib/utils');
55
52
 
56
53
  const LOG_ID = {
57
54
  INBOUND: { app: 'mojaloop-connector-inbound-api' },
@@ -65,19 +62,6 @@ const LOG_ID = {
65
62
  CACHE: { component: 'cache' },
66
63
  };
67
64
 
68
- const createLogger = (conf) => new Logger.Logger({
69
- context: {
70
- // If we're running from a Mojaloop helm chart deployment, we'll have a SIM_NAME
71
- simulator: process.env['SIM_NAME'],
72
- hostname: hostname(),
73
- },
74
- opts: {
75
- levels: SDK_LOGGER_HIERARCHY.slice(SDK_LOGGER_HIERARCHY.indexOf(conf.logLevel)),
76
- isJsonOutput: conf.isJsonOutput,
77
- },
78
- stringify: Logger.buildStringify({ isJsonOutput: conf.isJsonOutput }),
79
- });
80
-
81
65
  const createCache = (config, logger) => new Cache({
82
66
  cacheUrl: config.cacheUrl,
83
67
  logger: logger.push(LOG_ID.CACHE),
@@ -397,6 +381,7 @@ async function start(config) {
397
381
  _.merge(config, updatedConfigFromMgmtAPI);
398
382
  controlClient.terminate();
399
383
  }
384
+
400
385
  const svr = new Server(config, logger);
401
386
  svr.on('error', (err) => {
402
387
  logger.push({ err }).error('Unhandled server error');
@@ -405,7 +390,7 @@ async function start(config) {
405
390
 
406
391
  // handle SIGTERM to exit gracefully
407
392
  process.on('SIGTERM', async () => {
408
- logger.isInfoEnabled && logger.info('SIGTERM received. Shutting down APIs...');
393
+ logger.info('SIGTERM received. Shutting down SDK...');
409
394
  await svr.stop();
410
395
  process.exit(0);
411
396
  });
@@ -415,7 +400,7 @@ async function start(config) {
415
400
  process.exit(1);
416
401
  });
417
402
 
418
- logger.isInfoEnabled && logger.push({ name, version }).info('SDK server is started!');
403
+ logger.push({ name, version }).info('SDK server is started!');
419
404
  }
420
405
 
421
406
  if (require.main === module) {
@@ -24,7 +24,25 @@
24
24
 
25
25
  --------------
26
26
  ******/
27
- const { WSO2Auth } = require('@mojaloop/sdk-standard-components');
27
+
28
+ const { hostname } = require('node:os');
29
+ const { WSO2Auth, Logger } = require('@mojaloop/sdk-standard-components');
30
+
31
+ const SDK_LOGGER_HIERARCHY = Logger.Logger.logLevels.reverse();
32
+
33
+ const createLogger = (conf) => new Logger.Logger({
34
+ context: {
35
+ // If we're running from a Mojaloop helm chart deployment, we'll have a SIM_NAME
36
+ simulator: process.env['SIM_NAME'],
37
+ hostname: hostname(),
38
+ },
39
+ opts: {
40
+ // todo: should be done inside Logger code
41
+ levels: SDK_LOGGER_HIERARCHY.slice(SDK_LOGGER_HIERARCHY.indexOf(conf.logLevel)),
42
+ isJsonOutput: conf.isJsonOutput,
43
+ },
44
+ stringify: Logger.buildStringify({ isJsonOutput: conf.isJsonOutput }),
45
+ });
28
46
 
29
47
  const createAuthClient = (conf, logger) => {
30
48
  const { wso2, outbound } = conf;
@@ -63,5 +81,6 @@ const transformHeadersIsoToFspiop = (isoHeaders) => {
63
81
 
64
82
  module.exports = {
65
83
  createAuthClient,
84
+ createLogger,
66
85
  transformHeadersIsoToFspiop
67
86
  };
@@ -42,40 +42,40 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@mojaloop/api-snippets": "17.8.0",
45
- "@mojaloop/central-services-shared": "^18.18.2",
46
- "@mojaloop/logging-bc-client-lib": "^0.5.8",
47
- "@mojaloop/logging-bc-public-types-lib": "^0.5.4",
45
+ "@mojaloop/central-services-shared": "18.19.0",
46
+ "@mojaloop/logging-bc-client-lib": "0.5.8",
47
+ "@mojaloop/logging-bc-public-types-lib": "0.5.4",
48
48
  "@mojaloop/sdk-scheme-adapter-private-shared-lib": "workspace:^",
49
- "ajv": "^8.17.1",
50
- "convict": "^6.2.4",
51
- "express": "^4.21.2",
52
- "openapi-backend": "^5.11.1",
53
- "redis": "^4.7.0",
54
- "swagger-ui-express": "^5.0.1",
55
- "yamljs": "^0.3.0"
49
+ "ajv": "8.17.1",
50
+ "convict": "6.2.4",
51
+ "express": "4.21.2",
52
+ "openapi-backend": "5.11.1",
53
+ "redis": "4.7.0",
54
+ "swagger-ui-express": "5.0.1",
55
+ "yamljs": "0.3.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@eslint/compat": "^1.2.7",
59
- "@types/convict": "^6.1.6",
60
- "@types/express": "^5.0.0",
61
- "@types/jest": "^29.5.14",
62
- "@types/node": "^22.13.5",
63
- "@types/node-cache": "^4.2.5",
64
- "@types/supertest": "^6.0.2",
58
+ "@eslint/compat": "1.2.7",
59
+ "@types/convict": "6.1.6",
60
+ "@types/express": "5.0.0",
61
+ "@types/jest": "29.5.14",
62
+ "@types/node": "22.13.5",
63
+ "@types/node-cache": "4.2.5",
64
+ "@types/supertest": "6.0.2",
65
65
  "@types/swagger-ui-express": "4.1.8",
66
- "@types/yamljs": "^0.2.34",
67
- "@typescript-eslint/eslint-plugin": "^8.25.0",
68
- "@typescript-eslint/parser": "^8.25.0",
69
- "copyfiles": "^2.4.1",
70
- "eslint": "^9.15.0",
71
- "jest": "^29.7.0",
72
- "nodemon": "^3.1.9",
73
- "npm-check-updates": "^16.7.10",
74
- "replace": "^1.2.2",
75
- "standard-version": "^9.5.0",
76
- "ts-jest": "^29.2.6",
77
- "ts-node": "^10.9.2",
78
- "typescript": "^5.7.3"
66
+ "@types/yamljs": "0.2.34",
67
+ "@typescript-eslint/eslint-plugin": "8.25.0",
68
+ "@typescript-eslint/parser": "8.25.0",
69
+ "copyfiles": "2.4.1",
70
+ "eslint": "9.15.0",
71
+ "jest": "29.7.0",
72
+ "nodemon": "3.1.9",
73
+ "npm-check-updates": "16.7.10",
74
+ "replace": "1.2.2",
75
+ "standard-version": "9.5.0",
76
+ "ts-jest": "29.2.6",
77
+ "ts-node": "10.9.2",
78
+ "typescript": "5.7.3"
79
79
  },
80
80
  "nodemonConfig": {
81
81
  "watch": [
@@ -21,28 +21,6 @@
21
21
 
22
22
  * Mojaloop Foundation
23
23
  - Name Surname <name.surname@mojaloop.io>
24
-
25
- --------------
26
- ******/
27
- /*****
28
- License
29
- --------------
30
- Copyright © 2017 Bill & Melinda Gates Foundation
31
- The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the License at
32
- http://www.apache.org/licenses/LICENSE-2.0
33
- Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
34
- Contributors
35
- --------------
36
- This is the official list (alphabetical ordering) of the Mojaloop project contributors for this file.
37
- Names of the original copyright holders (individuals or organizations)
38
- should be listed with a '*' in the first column. People who have
39
- contributed from an organization can be listed under the organization
40
- that actually holds the copyright for their contributions (see the
41
- Gates Foundation organization for an example). Those individuals should have
42
- their names indented and be marked with a '-'. Email address can be added
43
- optionally within square brackets <email>.
44
- * Gates Foundation
45
- - Name Surname <name.surname@gatesfoundation.com>
46
24
  * Infitx
47
25
  - Vijay Kumar Guthi <vijaya.guthi@infitx.com>
48
26
  --------------
@@ -21,28 +21,6 @@
21
21
 
22
22
  * Mojaloop Foundation
23
23
  - Name Surname <name.surname@mojaloop.io>
24
-
25
- --------------
26
- ******/
27
- /*****
28
- License
29
- --------------
30
- Copyright © 2017 Bill & Melinda Gates Foundation
31
- The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the License at
32
- http://www.apache.org/licenses/LICENSE-2.0
33
- Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
34
- Contributors
35
- --------------
36
- This is the official list (alphabetical ordering) of the Mojaloop project contributors for this file.
37
- Names of the original copyright holders (individuals or organizations)
38
- should be listed with a '*' in the first column. People who have
39
- contributed from an organization can be listed under the organization
40
- that actually holds the copyright for their contributions (see the
41
- Gates Foundation organization for an example). Those individuals should have
42
- their names indented and be marked with a '-'. Email address can be added
43
- optionally within square brackets <email>.
44
- * Gates Foundation
45
- - Name Surname <name.surname@gatesfoundation.com>
46
24
  * Infitx
47
25
  - Vijay Kumar Guthi <vijaya.guthi@infitx.com>
48
26
  --------------
@@ -21,28 +21,6 @@
21
21
 
22
22
  * Mojaloop Foundation
23
23
  - Name Surname <name.surname@mojaloop.io>
24
-
25
- --------------
26
- ******/
27
- /*****
28
- License
29
- --------------
30
- Copyright © 2017 Bill & Melinda Gates Foundation
31
- The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the License at
32
- http://www.apache.org/licenses/LICENSE-2.0
33
- Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
34
- Contributors
35
- --------------
36
- This is the official list (alphabetical ordering) of the Mojaloop project contributors for this file.
37
- Names of the original copyright holders (individuals or organizations)
38
- should be listed with a '*' in the first column. People who have
39
- contributed from an organization can be listed under the organization
40
- that actually holds the copyright for their contributions (see the
41
- Gates Foundation organization for an example). Those individuals should have
42
- their names indented and be marked with a '-'. Email address can be added
43
- optionally within square brackets <email>.
44
- * Gates Foundation
45
- - Name Surname <name.surname@gatesfoundation.com>
46
24
  * Infitx
47
25
  - Vijay Kumar Guthi <vijaya.guthi@infitx.com>
48
26
  --------------
@@ -21,28 +21,6 @@
21
21
 
22
22
  * Mojaloop Foundation
23
23
  - Name Surname <name.surname@mojaloop.io>
24
-
25
- --------------
26
- ******/
27
- /*****
28
- License
29
- --------------
30
- Copyright © 2017 Bill & Melinda Gates Foundation
31
- The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the License at
32
- http://www.apache.org/licenses/LICENSE-2.0
33
- Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
34
- Contributors
35
- --------------
36
- This is the official list (alphabetical ordering) of the Mojaloop project contributors for this file.
37
- Names of the original copyright holders (individuals or organizations)
38
- should be listed with a '*' in the first column. People who have
39
- contributed from an organization can be listed under the organization
40
- that actually holds the copyright for their contributions (see the
41
- Gates Foundation organization for an example). Those individuals should have
42
- their names indented and be marked with a '-'. Email address can be added
43
- optionally within square brackets <email>.
44
- * Gates Foundation
45
- - Name Surname <name.surname@gatesfoundation.com>
46
24
  * Infitx
47
25
  - Vijay Kumar Guthi <vijaya.guthi@infitx.com>
48
26
  --------------