@ledgerhq/device-management-kit 0.0.0-io-revamp-20250630132403 → 0.0.0-io-revamp-20250630133506

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 (141) hide show
  1. package/lib/cjs/package.json +1 -0
  2. package/lib/cjs/src/api/DeviceManagementKit.test.js +1 -1
  3. package/lib/cjs/src/api/DeviceManagementKit.test.js.map +2 -2
  4. package/lib/cjs/src/api/apdu/utils/ByteArrayBuilder.js +1 -1
  5. package/lib/cjs/src/api/apdu/utils/ByteArrayBuilder.js.map +3 -3
  6. package/lib/cjs/src/api/apdu/utils/ByteArrayBuilder.test.js +1 -1
  7. package/lib/cjs/src/api/apdu/utils/ByteArrayBuilder.test.js.map +2 -2
  8. package/lib/cjs/src/api/command/di/commandModule.js +1 -1
  9. package/lib/cjs/src/api/command/di/commandModule.js.map +3 -3
  10. package/lib/cjs/src/api/command/di/commandModule.test.js +1 -1
  11. package/lib/cjs/src/api/command/di/commandModule.test.js.map +2 -2
  12. package/lib/cjs/src/api/device-action/di/deviceActionModule.js +1 -1
  13. package/lib/cjs/src/api/device-action/di/deviceActionModule.js.map +3 -3
  14. package/lib/cjs/src/api/device-action/di/deviceActionModule.test.js +1 -1
  15. package/lib/cjs/src/api/device-action/di/deviceActionModule.test.js.map +2 -2
  16. package/lib/cjs/src/api/device-action/model/UserInteractionRequired.js +1 -1
  17. package/lib/cjs/src/api/device-action/model/UserInteractionRequired.js.map +2 -2
  18. package/lib/cjs/src/di.js +1 -1
  19. package/lib/cjs/src/di.js.map +2 -2
  20. package/lib/cjs/src/internal/config/di/configModule.js +1 -1
  21. package/lib/cjs/src/internal/config/di/configModule.js.map +3 -3
  22. package/lib/cjs/src/internal/config/di/configModule.test.js +1 -1
  23. package/lib/cjs/src/internal/config/di/configModule.test.js.map +2 -2
  24. package/lib/cjs/src/internal/device-model/di/deviceModelModule.js +1 -1
  25. package/lib/cjs/src/internal/device-model/di/deviceModelModule.js.map +3 -3
  26. package/lib/cjs/src/internal/device-model/di/deviceModelModule.test.js +1 -1
  27. package/lib/cjs/src/internal/device-model/di/deviceModelModule.test.js.map +2 -2
  28. package/lib/cjs/src/internal/device-session/di/deviceSessionModule.js +1 -1
  29. package/lib/cjs/src/internal/device-session/di/deviceSessionModule.js.map +3 -3
  30. package/lib/cjs/src/internal/device-session/di/deviceSessionModule.test.js +1 -1
  31. package/lib/cjs/src/internal/device-session/di/deviceSessionModule.test.js.map +2 -2
  32. package/lib/cjs/src/internal/discovery/di/discoveryModule.js +1 -1
  33. package/lib/cjs/src/internal/discovery/di/discoveryModule.js.map +3 -3
  34. package/lib/cjs/src/internal/discovery/di/discoveryModule.test.js +1 -1
  35. package/lib/cjs/src/internal/discovery/di/discoveryModule.test.js.map +2 -2
  36. package/lib/cjs/src/internal/logger-publisher/di/loggerModule.js +1 -1
  37. package/lib/cjs/src/internal/logger-publisher/di/loggerModule.js.map +3 -3
  38. package/lib/cjs/src/internal/logger-publisher/di/loggerModule.test.js +1 -1
  39. package/lib/cjs/src/internal/logger-publisher/di/loggerModule.test.js.map +2 -2
  40. package/lib/cjs/src/internal/manager-api/di/managerApiModule.js +1 -1
  41. package/lib/cjs/src/internal/manager-api/di/managerApiModule.js.map +3 -3
  42. package/lib/cjs/src/internal/manager-api/di/managerApiModule.test.js +1 -1
  43. package/lib/cjs/src/internal/manager-api/di/managerApiModule.test.js.map +2 -2
  44. package/lib/cjs/src/internal/secure-channel/di/secureChannelModule.js +1 -1
  45. package/lib/cjs/src/internal/secure-channel/di/secureChannelModule.js.map +3 -3
  46. package/lib/cjs/src/internal/secure-channel/di/secureChannelModule.test.js +1 -1
  47. package/lib/cjs/src/internal/secure-channel/di/secureChannelModule.test.js.map +2 -2
  48. package/lib/cjs/src/internal/send/di/sendModule.js +1 -1
  49. package/lib/cjs/src/internal/send/di/sendModule.js.map +3 -3
  50. package/lib/cjs/src/internal/send/di/sendModule.test.js +1 -1
  51. package/lib/cjs/src/internal/send/di/sendModule.test.js.map +2 -2
  52. package/lib/cjs/src/internal/send/use-case/SendApduUseCase.js.map +2 -2
  53. package/lib/cjs/src/internal/transport/di/transportModule.js +1 -1
  54. package/lib/cjs/src/internal/transport/di/transportModule.js.map +3 -3
  55. package/lib/cjs/src/internal/transport/di/transportModule.test.js +1 -1
  56. package/lib/cjs/src/internal/transport/di/transportModule.test.js.map +2 -2
  57. package/lib/esm/package.json +1 -0
  58. package/lib/esm/src/api/DeviceManagementKit.test.js +1 -1
  59. package/lib/esm/src/api/DeviceManagementKit.test.js.map +2 -2
  60. package/lib/esm/src/api/apdu/utils/ByteArrayBuilder.js +1 -1
  61. package/lib/esm/src/api/apdu/utils/ByteArrayBuilder.js.map +3 -3
  62. package/lib/esm/src/api/apdu/utils/ByteArrayBuilder.test.js +1 -1
  63. package/lib/esm/src/api/apdu/utils/ByteArrayBuilder.test.js.map +2 -2
  64. package/lib/esm/src/api/command/di/commandModule.js +1 -1
  65. package/lib/esm/src/api/command/di/commandModule.js.map +3 -3
  66. package/lib/esm/src/api/command/di/commandModule.test.js +1 -1
  67. package/lib/esm/src/api/command/di/commandModule.test.js.map +2 -2
  68. package/lib/esm/src/api/device-action/di/deviceActionModule.js +1 -1
  69. package/lib/esm/src/api/device-action/di/deviceActionModule.js.map +3 -3
  70. package/lib/esm/src/api/device-action/di/deviceActionModule.test.js +1 -1
  71. package/lib/esm/src/api/device-action/di/deviceActionModule.test.js.map +2 -2
  72. package/lib/esm/src/api/device-action/model/UserInteractionRequired.js +1 -1
  73. package/lib/esm/src/api/device-action/model/UserInteractionRequired.js.map +2 -2
  74. package/lib/esm/src/di.js +1 -1
  75. package/lib/esm/src/di.js.map +2 -2
  76. package/lib/esm/src/internal/config/di/configModule.js +1 -1
  77. package/lib/esm/src/internal/config/di/configModule.js.map +3 -3
  78. package/lib/esm/src/internal/config/di/configModule.test.js +1 -1
  79. package/lib/esm/src/internal/config/di/configModule.test.js.map +2 -2
  80. package/lib/esm/src/internal/device-model/di/deviceModelModule.js +1 -1
  81. package/lib/esm/src/internal/device-model/di/deviceModelModule.js.map +3 -3
  82. package/lib/esm/src/internal/device-model/di/deviceModelModule.test.js +1 -1
  83. package/lib/esm/src/internal/device-model/di/deviceModelModule.test.js.map +2 -2
  84. package/lib/esm/src/internal/device-session/di/deviceSessionModule.js +1 -1
  85. package/lib/esm/src/internal/device-session/di/deviceSessionModule.js.map +3 -3
  86. package/lib/esm/src/internal/device-session/di/deviceSessionModule.test.js +1 -1
  87. package/lib/esm/src/internal/device-session/di/deviceSessionModule.test.js.map +2 -2
  88. package/lib/esm/src/internal/discovery/di/discoveryModule.js +1 -1
  89. package/lib/esm/src/internal/discovery/di/discoveryModule.js.map +3 -3
  90. package/lib/esm/src/internal/discovery/di/discoveryModule.test.js +1 -1
  91. package/lib/esm/src/internal/discovery/di/discoveryModule.test.js.map +2 -2
  92. package/lib/esm/src/internal/logger-publisher/di/loggerModule.js +1 -1
  93. package/lib/esm/src/internal/logger-publisher/di/loggerModule.js.map +3 -3
  94. package/lib/esm/src/internal/logger-publisher/di/loggerModule.test.js +1 -1
  95. package/lib/esm/src/internal/logger-publisher/di/loggerModule.test.js.map +2 -2
  96. package/lib/esm/src/internal/manager-api/di/managerApiModule.js +1 -1
  97. package/lib/esm/src/internal/manager-api/di/managerApiModule.js.map +3 -3
  98. package/lib/esm/src/internal/manager-api/di/managerApiModule.test.js +1 -1
  99. package/lib/esm/src/internal/manager-api/di/managerApiModule.test.js.map +2 -2
  100. package/lib/esm/src/internal/secure-channel/di/secureChannelModule.js +1 -1
  101. package/lib/esm/src/internal/secure-channel/di/secureChannelModule.js.map +3 -3
  102. package/lib/esm/src/internal/secure-channel/di/secureChannelModule.test.js +1 -1
  103. package/lib/esm/src/internal/secure-channel/di/secureChannelModule.test.js.map +2 -2
  104. package/lib/esm/src/internal/send/di/sendModule.js +1 -1
  105. package/lib/esm/src/internal/send/di/sendModule.js.map +3 -3
  106. package/lib/esm/src/internal/send/di/sendModule.test.js +1 -1
  107. package/lib/esm/src/internal/send/di/sendModule.test.js.map +2 -2
  108. package/lib/esm/src/internal/send/use-case/SendApduUseCase.js.map +2 -2
  109. package/lib/esm/src/internal/transport/di/transportModule.js +1 -1
  110. package/lib/esm/src/internal/transport/di/transportModule.js.map +3 -3
  111. package/lib/esm/src/internal/transport/di/transportModule.test.js +1 -1
  112. package/lib/esm/src/internal/transport/di/transportModule.test.js.map +2 -2
  113. package/lib/types/src/api/apdu/utils/ApduBuilder.d.ts.map +1 -1
  114. package/lib/types/src/api/apdu/utils/ApduParser.d.ts.map +1 -1
  115. package/lib/types/src/api/apdu/utils/ByteArrayBuilder.d.ts +0 -28
  116. package/lib/types/src/api/apdu/utils/ByteArrayBuilder.d.ts.map +1 -1
  117. package/lib/types/src/api/command/di/commandModule.d.ts.map +1 -1
  118. package/lib/types/src/api/command/os/__mocks__/GetOsVersionCommand.d.ts.map +1 -1
  119. package/lib/types/src/api/command/utils/CommandErrors.d.ts.map +1 -1
  120. package/lib/types/src/api/device-action/__test-utils__/setupTestMachine.d.ts.map +1 -1
  121. package/lib/types/src/api/device-action/di/deviceActionModule.d.ts.map +1 -1
  122. package/lib/types/src/api/device-action/model/UserInteractionRequired.d.ts +0 -1
  123. package/lib/types/src/api/device-action/model/UserInteractionRequired.d.ts.map +1 -1
  124. package/lib/types/src/api/device-session/service/DefaultApduReceiverService.stub.d.ts.map +1 -1
  125. package/lib/types/src/api/device-session/service/DefaultApduSenderService.stub.d.ts.map +1 -1
  126. package/lib/types/src/api/utils/HexaString.d.ts.map +1 -1
  127. package/lib/types/src/di.d.ts.map +1 -1
  128. package/lib/types/src/internal/config/di/configModule.d.ts.map +1 -1
  129. package/lib/types/src/internal/device-model/di/deviceModelModule.d.ts.map +1 -1
  130. package/lib/types/src/internal/device-session/di/deviceSessionModule.d.ts.map +1 -1
  131. package/lib/types/src/internal/device-session/model/DeviceSession.stub.d.ts.map +1 -1
  132. package/lib/types/src/internal/device-session/utils/deviceSessionUtils.d.ts.map +1 -1
  133. package/lib/types/src/internal/discovery/di/discoveryModule.d.ts.map +1 -1
  134. package/lib/types/src/internal/logger-publisher/di/loggerModule.d.ts.map +1 -1
  135. package/lib/types/src/internal/manager-api/di/managerApiModule.d.ts.map +1 -1
  136. package/lib/types/src/internal/secure-channel/di/secureChannelModule.d.ts.map +1 -1
  137. package/lib/types/src/internal/send/di/sendModule.d.ts.map +1 -1
  138. package/lib/types/src/internal/send/use-case/SendApduUseCase.d.ts.map +1 -1
  139. package/lib/types/src/internal/transport/di/transportModule.d.ts.map +1 -1
  140. package/lib/types/tsconfig.prod.tsbuildinfo +1 -1
  141. package/package.json +4 -3
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/internal/manager-api/di/managerApiModule.test.ts"],
4
- "sourcesContent": ["import { Container } from \"inversify\";\n\nimport { type DmkConfig } from \"@api/DmkConfig\";\nimport { AxiosManagerApiDataSource } from \"@internal/manager-api/data/AxiosManagerApiDataSource\";\nimport { DefaultManagerApiService } from \"@internal/manager-api/service/DefaultManagerApiService\";\nimport { StubUseCase } from \"@root/src/di.stub\";\n\nimport { managerApiModuleFactory } from \"./managerApiModule\";\nimport { managerApiTypes } from \"./managerApiTypes\";\n\ndescribe(\"managerApiModuleFactory\", () => {\n describe(\"Default\", () => {\n let container: Container;\n let mod: ReturnType<typeof managerApiModuleFactory>;\n beforeEach(() => {\n mod = managerApiModuleFactory({\n stub: false,\n config: {\n managerApiUrl: \"http://fake.url\",\n mockUrl: \"http://fake-mock.url\",\n webSocketUrl: \"http://fake-websocket.url\",\n } as DmkConfig,\n });\n container = new Container();\n container.loadSync(mod);\n });\n\n it(\"should return the config module\", () => {\n expect(mod).toBeDefined();\n });\n\n it(\"should return none stubbed use cases\", () => {\n const managerApiDataSource = container.get(\n managerApiTypes.ManagerApiDataSource,\n );\n expect(managerApiDataSource).toBeInstanceOf(AxiosManagerApiDataSource);\n\n const managerApiService = container.get(\n managerApiTypes.ManagerApiService,\n );\n expect(managerApiService).toBeInstanceOf(DefaultManagerApiService);\n\n const config = container.get(managerApiTypes.DmkConfig);\n expect(config).toEqual({\n managerApiUrl: \"http://fake.url\",\n mockUrl: \"http://fake-mock.url\",\n webSocketUrl: \"http://fake-websocket.url\",\n });\n });\n });\n\n describe(\"Stubbed\", () => {\n let container: Container;\n let mod: ReturnType<typeof managerApiModuleFactory>;\n beforeEach(() => {\n mod = managerApiModuleFactory({\n stub: true,\n config: {\n managerApiUrl: \"http://fake.url\",\n mockUrl: \"http://fake-mock.url\",\n webSocketUrl: \"http://fake-websocket.url\",\n } as DmkConfig,\n });\n container = new Container();\n container.loadSync(mod);\n });\n\n it(\"should return the config module\", () => {\n expect(mod).toBeDefined();\n });\n\n it(\"should return stubbed use cases\", () => {\n const managerApiDataSource = container.get(\n managerApiTypes.ManagerApiDataSource,\n );\n expect(managerApiDataSource).toBeInstanceOf(StubUseCase);\n\n const managerApiService = container.get(\n managerApiTypes.ManagerApiService,\n );\n expect(managerApiService).toBeInstanceOf(StubUseCase);\n\n const config = container.get(managerApiTypes.DmkConfig);\n expect(config).toEqual({\n managerApiUrl: \"http://fake.url\",\n mockUrl: \"http://fake-mock.url\",\n webSocketUrl: \"http://fake-websocket.url\",\n });\n });\n });\n});\n"],
5
- "mappings": "AAAA,OAAS,aAAAA,MAAiB,YAG1B,OAAS,6BAAAC,MAAiC,uDAC1C,OAAS,4BAAAC,MAAgC,yDACzC,OAAS,eAAAC,MAAmB,oBAE5B,OAAS,2BAAAC,MAA+B,qBACxC,OAAS,mBAAAC,MAAuB,oBAEhC,SAAS,0BAA2B,IAAM,CACxC,SAAS,UAAW,IAAM,CACxB,IAAIC,EACAC,EACJ,WAAW,IAAM,CACfA,EAAMH,EAAwB,CAC5B,KAAM,GACN,OAAQ,CACN,cAAe,kBACf,QAAS,uBACT,aAAc,2BAChB,CACF,CAAC,EACDE,EAAY,IAAIN,EAChBM,EAAU,SAASC,CAAG,CACxB,CAAC,EAED,GAAG,kCAAmC,IAAM,CAC1C,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,EAED,GAAG,uCAAwC,IAAM,CAC/C,MAAMC,EAAuBF,EAAU,IACrCD,EAAgB,oBAClB,EACA,OAAOG,CAAoB,EAAE,eAAeP,CAAyB,EAErE,MAAMQ,EAAoBH,EAAU,IAClCD,EAAgB,iBAClB,EACA,OAAOI,CAAiB,EAAE,eAAeP,CAAwB,EAEjE,MAAMQ,EAASJ,EAAU,IAAID,EAAgB,SAAS,EACtD,OAAOK,CAAM,EAAE,QAAQ,CACrB,cAAe,kBACf,QAAS,uBACT,aAAc,2BAChB,CAAC,CACH,CAAC,CACH,CAAC,EAED,SAAS,UAAW,IAAM,CACxB,IAAIJ,EACAC,EACJ,WAAW,IAAM,CACfA,EAAMH,EAAwB,CAC5B,KAAM,GACN,OAAQ,CACN,cAAe,kBACf,QAAS,uBACT,aAAc,2BAChB,CACF,CAAC,EACDE,EAAY,IAAIN,EAChBM,EAAU,SAASC,CAAG,CACxB,CAAC,EAED,GAAG,kCAAmC,IAAM,CAC1C,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,EAED,GAAG,kCAAmC,IAAM,CAC1C,MAAMC,EAAuBF,EAAU,IACrCD,EAAgB,oBAClB,EACA,OAAOG,CAAoB,EAAE,eAAeL,CAAW,EAEvD,MAAMM,EAAoBH,EAAU,IAClCD,EAAgB,iBAClB,EACA,OAAOI,CAAiB,EAAE,eAAeN,CAAW,EAEpD,MAAMO,EAASJ,EAAU,IAAID,EAAgB,SAAS,EACtD,OAAOK,CAAM,EAAE,QAAQ,CACrB,cAAe,kBACf,QAAS,uBACT,aAAc,2BAChB,CAAC,CACH,CAAC,CACH,CAAC,CACH,CAAC",
4
+ "sourcesContent": ["import { Container } from \"inversify\";\n\nimport { type DmkConfig } from \"@api/DmkConfig\";\nimport { AxiosManagerApiDataSource } from \"@internal/manager-api/data/AxiosManagerApiDataSource\";\nimport { DefaultManagerApiService } from \"@internal/manager-api/service/DefaultManagerApiService\";\nimport { StubUseCase } from \"@root/src/di.stub\";\n\nimport { managerApiModuleFactory } from \"./managerApiModule\";\nimport { managerApiTypes } from \"./managerApiTypes\";\n\ndescribe(\"managerApiModuleFactory\", () => {\n describe(\"Default\", () => {\n let container: Container;\n let mod: ReturnType<typeof managerApiModuleFactory>;\n beforeEach(() => {\n mod = managerApiModuleFactory({\n stub: false,\n config: {\n managerApiUrl: \"http://fake.url\",\n mockUrl: \"http://fake-mock.url\",\n webSocketUrl: \"http://fake-websocket.url\",\n } as DmkConfig,\n });\n container = new Container();\n container.load(mod);\n });\n\n it(\"should return the config module\", () => {\n expect(mod).toBeDefined();\n });\n\n it(\"should return none stubbed use cases\", () => {\n const managerApiDataSource = container.get(\n managerApiTypes.ManagerApiDataSource,\n );\n expect(managerApiDataSource).toBeInstanceOf(AxiosManagerApiDataSource);\n\n const managerApiService = container.get(\n managerApiTypes.ManagerApiService,\n );\n expect(managerApiService).toBeInstanceOf(DefaultManagerApiService);\n\n const config = container.get(managerApiTypes.DmkConfig);\n expect(config).toEqual({\n managerApiUrl: \"http://fake.url\",\n mockUrl: \"http://fake-mock.url\",\n webSocketUrl: \"http://fake-websocket.url\",\n });\n });\n });\n\n describe(\"Stubbed\", () => {\n let container: Container;\n let mod: ReturnType<typeof managerApiModuleFactory>;\n beforeEach(() => {\n mod = managerApiModuleFactory({\n stub: true,\n config: {\n managerApiUrl: \"http://fake.url\",\n mockUrl: \"http://fake-mock.url\",\n webSocketUrl: \"http://fake-websocket.url\",\n } as DmkConfig,\n });\n container = new Container();\n container.load(mod);\n });\n\n it(\"should return the config module\", () => {\n expect(mod).toBeDefined();\n });\n\n it(\"should return stubbed use cases\", () => {\n const managerApiDataSource = container.get(\n managerApiTypes.ManagerApiDataSource,\n );\n expect(managerApiDataSource).toBeInstanceOf(StubUseCase);\n\n const managerApiService = container.get(\n managerApiTypes.ManagerApiService,\n );\n expect(managerApiService).toBeInstanceOf(StubUseCase);\n\n const config = container.get(managerApiTypes.DmkConfig);\n expect(config).toEqual({\n managerApiUrl: \"http://fake.url\",\n mockUrl: \"http://fake-mock.url\",\n webSocketUrl: \"http://fake-websocket.url\",\n });\n });\n });\n});\n"],
5
+ "mappings": "AAAA,OAAS,aAAAA,MAAiB,YAG1B,OAAS,6BAAAC,MAAiC,uDAC1C,OAAS,4BAAAC,MAAgC,yDACzC,OAAS,eAAAC,MAAmB,oBAE5B,OAAS,2BAAAC,MAA+B,qBACxC,OAAS,mBAAAC,MAAuB,oBAEhC,SAAS,0BAA2B,IAAM,CACxC,SAAS,UAAW,IAAM,CACxB,IAAIC,EACAC,EACJ,WAAW,IAAM,CACfA,EAAMH,EAAwB,CAC5B,KAAM,GACN,OAAQ,CACN,cAAe,kBACf,QAAS,uBACT,aAAc,2BAChB,CACF,CAAC,EACDE,EAAY,IAAIN,EAChBM,EAAU,KAAKC,CAAG,CACpB,CAAC,EAED,GAAG,kCAAmC,IAAM,CAC1C,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,EAED,GAAG,uCAAwC,IAAM,CAC/C,MAAMC,EAAuBF,EAAU,IACrCD,EAAgB,oBAClB,EACA,OAAOG,CAAoB,EAAE,eAAeP,CAAyB,EAErE,MAAMQ,EAAoBH,EAAU,IAClCD,EAAgB,iBAClB,EACA,OAAOI,CAAiB,EAAE,eAAeP,CAAwB,EAEjE,MAAMQ,EAASJ,EAAU,IAAID,EAAgB,SAAS,EACtD,OAAOK,CAAM,EAAE,QAAQ,CACrB,cAAe,kBACf,QAAS,uBACT,aAAc,2BAChB,CAAC,CACH,CAAC,CACH,CAAC,EAED,SAAS,UAAW,IAAM,CACxB,IAAIJ,EACAC,EACJ,WAAW,IAAM,CACfA,EAAMH,EAAwB,CAC5B,KAAM,GACN,OAAQ,CACN,cAAe,kBACf,QAAS,uBACT,aAAc,2BAChB,CACF,CAAC,EACDE,EAAY,IAAIN,EAChBM,EAAU,KAAKC,CAAG,CACpB,CAAC,EAED,GAAG,kCAAmC,IAAM,CAC1C,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,EAED,GAAG,kCAAmC,IAAM,CAC1C,MAAMC,EAAuBF,EAAU,IACrCD,EAAgB,oBAClB,EACA,OAAOG,CAAoB,EAAE,eAAeL,CAAW,EAEvD,MAAMM,EAAoBH,EAAU,IAClCD,EAAgB,iBAClB,EACA,OAAOI,CAAiB,EAAE,eAAeN,CAAW,EAEpD,MAAMO,EAASJ,EAAU,IAAID,EAAgB,SAAS,EACtD,OAAOK,CAAM,EAAE,QAAQ,CACrB,cAAe,kBACf,QAAS,uBACT,aAAc,2BAChB,CAAC,CACH,CAAC,CACH,CAAC,CACH,CAAC",
6
6
  "names": ["Container", "AxiosManagerApiDataSource", "DefaultManagerApiService", "StubUseCase", "managerApiModuleFactory", "managerApiTypes", "container", "mod", "managerApiDataSource", "managerApiService", "config"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{ContainerModule as n}from"inversify";import{DefaultSecureChannelDataSource as a}from"../../secure-channel/data/DefaultSecureChannelDataSource";import{DefaultSecureChannelService as c}from"../../secure-channel/service/DefaultSecureChannelService";import{secureChannelTypes as o}from"./secureChannelTypes";const i=({stub:r,config:t})=>new n(({bind:e})=>{e(o.DmkConfig).toConstantValue(t),e(o.SecureChannelDataSource).to(a),e(o.SecureChannelService).to(c)});export{i as secureChannelModuleFactory};
1
+ import{ContainerModule as t}from"inversify";import{DefaultSecureChannelDataSource as a}from"../../secure-channel/data/DefaultSecureChannelDataSource";import{DefaultSecureChannelService as u}from"../../secure-channel/service/DefaultSecureChannelService";import{secureChannelTypes as o}from"./secureChannelTypes";const s=({stub:r,config:n})=>new t((e,c,i,m)=>{e(o.DmkConfig).toConstantValue(n),e(o.SecureChannelDataSource).to(a),e(o.SecureChannelService).to(u)});export{s as secureChannelModuleFactory};
2
2
  //# sourceMappingURL=secureChannelModule.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/internal/secure-channel/di/secureChannelModule.ts"],
4
- "sourcesContent": ["import { ContainerModule } from \"inversify\";\n\nimport { type DmkConfig } from \"@api/DmkConfig\";\nimport { DefaultSecureChannelDataSource } from \"@internal/secure-channel/data/DefaultSecureChannelDataSource\";\nimport { DefaultSecureChannelService } from \"@internal/secure-channel/service/DefaultSecureChannelService\";\n\nimport { secureChannelTypes } from \"./secureChannelTypes\";\n\ntype FactoryProps = {\n stub?: boolean;\n config: DmkConfig;\n};\n\nexport const secureChannelModuleFactory = ({ stub, config }: FactoryProps) =>\n new ContainerModule(({ bind }) => {\n bind(secureChannelTypes.DmkConfig).toConstantValue(config);\n\n bind(secureChannelTypes.SecureChannelDataSource).to(\n DefaultSecureChannelDataSource,\n );\n bind(secureChannelTypes.SecureChannelService).to(\n DefaultSecureChannelService,\n );\n\n if (stub) {\n /* empty */\n }\n });\n"],
5
- "mappings": "AAAA,OAAS,mBAAAA,MAAuB,YAGhC,OAAS,kCAAAC,MAAsC,+DAC/C,OAAS,+BAAAC,MAAmC,+DAE5C,OAAS,sBAAAC,MAA0B,uBAO5B,MAAMC,EAA6B,CAAC,CAAE,KAAAC,EAAM,OAAAC,CAAO,IACxD,IAAIN,EAAgB,CAAC,CAAE,KAAAO,CAAK,IAAM,CAChCA,EAAKJ,EAAmB,SAAS,EAAE,gBAAgBG,CAAM,EAEzDC,EAAKJ,EAAmB,uBAAuB,EAAE,GAC/CF,CACF,EACAM,EAAKJ,EAAmB,oBAAoB,EAAE,GAC5CD,CACF,CAKF,CAAC",
6
- "names": ["ContainerModule", "DefaultSecureChannelDataSource", "DefaultSecureChannelService", "secureChannelTypes", "secureChannelModuleFactory", "stub", "config", "bind"]
4
+ "sourcesContent": ["import { ContainerModule } from \"inversify\";\n\nimport { type DmkConfig } from \"@api/DmkConfig\";\nimport { DefaultSecureChannelDataSource } from \"@internal/secure-channel/data/DefaultSecureChannelDataSource\";\nimport { DefaultSecureChannelService } from \"@internal/secure-channel/service/DefaultSecureChannelService\";\n\nimport { secureChannelTypes } from \"./secureChannelTypes\";\n\ntype FactoryProps = {\n stub?: boolean;\n config: DmkConfig;\n};\n\nexport const secureChannelModuleFactory = ({ stub, config }: FactoryProps) =>\n new ContainerModule((bind, _unbind, _isBound, _rebind) => {\n bind(secureChannelTypes.DmkConfig).toConstantValue(config);\n\n bind(secureChannelTypes.SecureChannelDataSource).to(\n DefaultSecureChannelDataSource,\n );\n bind(secureChannelTypes.SecureChannelService).to(\n DefaultSecureChannelService,\n );\n\n if (stub) {\n /* empty */\n }\n });\n"],
5
+ "mappings": "AAAA,OAAS,mBAAAA,MAAuB,YAGhC,OAAS,kCAAAC,MAAsC,+DAC/C,OAAS,+BAAAC,MAAmC,+DAE5C,OAAS,sBAAAC,MAA0B,uBAO5B,MAAMC,EAA6B,CAAC,CAAE,KAAAC,EAAM,OAAAC,CAAO,IACxD,IAAIN,EAAgB,CAACO,EAAMC,EAASC,EAAUC,IAAY,CACxDH,EAAKJ,EAAmB,SAAS,EAAE,gBAAgBG,CAAM,EAEzDC,EAAKJ,EAAmB,uBAAuB,EAAE,GAC/CF,CACF,EACAM,EAAKJ,EAAmB,oBAAoB,EAAE,GAC5CD,CACF,CAKF,CAAC",
6
+ "names": ["ContainerModule", "DefaultSecureChannelDataSource", "DefaultSecureChannelService", "secureChannelTypes", "secureChannelModuleFactory", "stub", "config", "bind", "_unbind", "_isBound", "_rebind"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{Container as u}from"inversify";import{DefaultSecureChannelDataSource as l}from"../../secure-channel/data/DefaultSecureChannelDataSource";import{DefaultSecureChannelService as s}from"../../secure-channel/service/DefaultSecureChannelService";import{secureChannelModuleFactory as f}from"./secureChannelModule";import{secureChannelTypes as o}from"./secureChannelTypes";describe("secureChannelModuleFactory default use case",()=>{const n={webSocketUrl:"http://fake-websocket.url"};let e,t;beforeEach(()=>{t=f({stub:!1,config:n}),e=new u,e.loadSync(t)}),it("the secure channel module should be defined",()=>{expect(t).toBeDefined()}),it("should return default use cases instead of stub",()=>{const c=e.get(o.DmkConfig);expect(c).toEqual({webSocketUrl:"http://fake-websocket.url"});const r=e.get(o.SecureChannelDataSource);expect(r).toBeInstanceOf(l);const a=e.get(o.SecureChannelService);expect(a).toBeInstanceOf(s)})});
1
+ import{Container as u}from"inversify";import{DefaultSecureChannelDataSource as l}from"../../secure-channel/data/DefaultSecureChannelDataSource";import{DefaultSecureChannelService as s}from"../../secure-channel/service/DefaultSecureChannelService";import{secureChannelModuleFactory as f}from"./secureChannelModule";import{secureChannelTypes as o}from"./secureChannelTypes";describe("secureChannelModuleFactory default use case",()=>{const n={webSocketUrl:"http://fake-websocket.url"};let e,t;beforeEach(()=>{t=f({stub:!1,config:n}),e=new u,e.load(t)}),it("the secure channel module should be defined",()=>{expect(t).toBeDefined()}),it("should return default use cases instead of stub",()=>{const r=e.get(o.DmkConfig);expect(r).toEqual({webSocketUrl:"http://fake-websocket.url"});const c=e.get(o.SecureChannelDataSource);expect(c).toBeInstanceOf(l);const a=e.get(o.SecureChannelService);expect(a).toBeInstanceOf(s)})});
2
2
  //# sourceMappingURL=secureChannelModule.test.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/internal/secure-channel/di/secureChannelModule.test.ts"],
4
- "sourcesContent": ["import { Container } from \"inversify\";\n\nimport { type DmkConfig } from \"@api/index\";\nimport { DefaultSecureChannelDataSource } from \"@internal/secure-channel/data/DefaultSecureChannelDataSource\";\nimport { DefaultSecureChannelService } from \"@internal/secure-channel/service/DefaultSecureChannelService\";\n\nimport { secureChannelModuleFactory } from \"./secureChannelModule\";\nimport { secureChannelTypes } from \"./secureChannelTypes\";\n\ndescribe(\"secureChannelModuleFactory default use case\", () => {\n const mockDmkConfig = {\n webSocketUrl: \"http://fake-websocket.url\",\n } as DmkConfig;\n\n let container: Container;\n let mod: ReturnType<typeof secureChannelModuleFactory>;\n\n beforeEach(() => {\n mod = secureChannelModuleFactory({\n stub: false,\n config: mockDmkConfig,\n });\n container = new Container();\n container.loadSync(mod);\n });\n\n it(\"the secure channel module should be defined\", () => {\n expect(mod).toBeDefined();\n });\n\n it(\"should return default use cases instead of stub\", () => {\n const config = container.get(secureChannelTypes.DmkConfig);\n expect(config).toEqual({\n webSocketUrl: \"http://fake-websocket.url\",\n });\n\n const secureChannelDataSource = container.get(\n secureChannelTypes.SecureChannelDataSource,\n );\n expect(secureChannelDataSource).toBeInstanceOf(\n DefaultSecureChannelDataSource,\n );\n\n const secureChannelService = container.get(\n secureChannelTypes.SecureChannelService,\n );\n expect(secureChannelService).toBeInstanceOf(DefaultSecureChannelService);\n });\n});\n"],
5
- "mappings": "AAAA,OAAS,aAAAA,MAAiB,YAG1B,OAAS,kCAAAC,MAAsC,+DAC/C,OAAS,+BAAAC,MAAmC,+DAE5C,OAAS,8BAAAC,MAAkC,wBAC3C,OAAS,sBAAAC,MAA0B,uBAEnC,SAAS,8CAA+C,IAAM,CAC5D,MAAMC,EAAgB,CACpB,aAAc,2BAChB,EAEA,IAAIC,EACAC,EAEJ,WAAW,IAAM,CACfA,EAAMJ,EAA2B,CAC/B,KAAM,GACN,OAAQE,CACV,CAAC,EACDC,EAAY,IAAIN,EAChBM,EAAU,SAASC,CAAG,CACxB,CAAC,EAED,GAAG,8CAA+C,IAAM,CACtD,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,EAED,GAAG,kDAAmD,IAAM,CAC1D,MAAMC,EAASF,EAAU,IAAIF,EAAmB,SAAS,EACzD,OAAOI,CAAM,EAAE,QAAQ,CACrB,aAAc,2BAChB,CAAC,EAED,MAAMC,EAA0BH,EAAU,IACxCF,EAAmB,uBACrB,EACA,OAAOK,CAAuB,EAAE,eAC9BR,CACF,EAEA,MAAMS,EAAuBJ,EAAU,IACrCF,EAAmB,oBACrB,EACA,OAAOM,CAAoB,EAAE,eAAeR,CAA2B,CACzE,CAAC,CACH,CAAC",
4
+ "sourcesContent": ["import { Container } from \"inversify\";\n\nimport { type DmkConfig } from \"@api/index\";\nimport { DefaultSecureChannelDataSource } from \"@internal/secure-channel/data/DefaultSecureChannelDataSource\";\nimport { DefaultSecureChannelService } from \"@internal/secure-channel/service/DefaultSecureChannelService\";\n\nimport { secureChannelModuleFactory } from \"./secureChannelModule\";\nimport { secureChannelTypes } from \"./secureChannelTypes\";\n\ndescribe(\"secureChannelModuleFactory default use case\", () => {\n const mockDmkConfig = {\n webSocketUrl: \"http://fake-websocket.url\",\n } as DmkConfig;\n\n let container: Container;\n let mod: ReturnType<typeof secureChannelModuleFactory>;\n\n beforeEach(() => {\n mod = secureChannelModuleFactory({\n stub: false,\n config: mockDmkConfig,\n });\n container = new Container();\n container.load(mod);\n });\n\n it(\"the secure channel module should be defined\", () => {\n expect(mod).toBeDefined();\n });\n\n it(\"should return default use cases instead of stub\", () => {\n const config = container.get(secureChannelTypes.DmkConfig);\n expect(config).toEqual({\n webSocketUrl: \"http://fake-websocket.url\",\n });\n\n const secureChannelDataSource = container.get(\n secureChannelTypes.SecureChannelDataSource,\n );\n expect(secureChannelDataSource).toBeInstanceOf(\n DefaultSecureChannelDataSource,\n );\n\n const secureChannelService = container.get(\n secureChannelTypes.SecureChannelService,\n );\n expect(secureChannelService).toBeInstanceOf(DefaultSecureChannelService);\n });\n});\n"],
5
+ "mappings": "AAAA,OAAS,aAAAA,MAAiB,YAG1B,OAAS,kCAAAC,MAAsC,+DAC/C,OAAS,+BAAAC,MAAmC,+DAE5C,OAAS,8BAAAC,MAAkC,wBAC3C,OAAS,sBAAAC,MAA0B,uBAEnC,SAAS,8CAA+C,IAAM,CAC5D,MAAMC,EAAgB,CACpB,aAAc,2BAChB,EAEA,IAAIC,EACAC,EAEJ,WAAW,IAAM,CACfA,EAAMJ,EAA2B,CAC/B,KAAM,GACN,OAAQE,CACV,CAAC,EACDC,EAAY,IAAIN,EAChBM,EAAU,KAAKC,CAAG,CACpB,CAAC,EAED,GAAG,8CAA+C,IAAM,CACtD,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,EAED,GAAG,kDAAmD,IAAM,CAC1D,MAAMC,EAASF,EAAU,IAAIF,EAAmB,SAAS,EACzD,OAAOI,CAAM,EAAE,QAAQ,CACrB,aAAc,2BAChB,CAAC,EAED,MAAMC,EAA0BH,EAAU,IACxCF,EAAmB,uBACrB,EACA,OAAOK,CAAuB,EAAE,eAC9BR,CACF,EAEA,MAAMS,EAAuBJ,EAAU,IACrCF,EAAmB,oBACrB,EACA,OAAOM,CAAoB,EAAE,eAAeR,CAA2B,CACzE,CAAC,CACH,CAAC",
6
6
  "names": ["Container", "DefaultSecureChannelDataSource", "DefaultSecureChannelService", "secureChannelModuleFactory", "secureChannelTypes", "mockDmkConfig", "container", "mod", "config", "secureChannelDataSource", "secureChannelService"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{ContainerModule as t}from"inversify";import{SendApduUseCase as p}from"../../send/use-case/SendApduUseCase";import{StubUseCase as a}from"../../../../src/di.stub";import{sendTypes as e}from"./sendTypes";const f=({stub:o=!1})=>new t(({bind:s,rebindSync:r})=>{s(e.SendApduUseCase).to(p),o&&r(e.SendApduUseCase).to(a)});export{f as sendModuleFactory};
1
+ import{ContainerModule as s}from"inversify";import{SendApduUseCase as r}from"../../send/use-case/SendApduUseCase";import{StubUseCase as a}from"../../../../src/di.stub";import{sendTypes as o}from"./sendTypes";const A=({stub:e=!1})=>new s((n,d,i,t,p,u,m)=>{n(o.SendApduUseCase).to(r),e&&t(o.SendApduUseCase).to(a)});export{A as sendModuleFactory};
2
2
  //# sourceMappingURL=sendModule.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/internal/send/di/sendModule.ts"],
4
- "sourcesContent": ["import { ContainerModule } from \"inversify\";\n\nimport { SendApduUseCase } from \"@internal/send/use-case/SendApduUseCase\";\nimport { StubUseCase } from \"@root/src/di.stub\";\n\nimport { sendTypes } from \"./sendTypes\";\n\ntype FactoryProps = {\n stub: boolean;\n};\n\nexport const sendModuleFactory = ({ stub = false }: FactoryProps) =>\n new ContainerModule(({ bind, rebindSync }) => {\n bind(sendTypes.SendApduUseCase).to(SendApduUseCase);\n if (stub) {\n rebindSync(sendTypes.SendApduUseCase).to(StubUseCase);\n }\n });\n"],
5
- "mappings": "AAAA,OAAS,mBAAAA,MAAuB,YAEhC,OAAS,mBAAAC,MAAuB,0CAChC,OAAS,eAAAC,MAAmB,oBAE5B,OAAS,aAAAC,MAAiB,cAMnB,MAAMC,EAAoB,CAAC,CAAE,KAAAC,EAAO,EAAM,IAC/C,IAAIL,EAAgB,CAAC,CAAE,KAAAM,EAAM,WAAAC,CAAW,IAAM,CAC5CD,EAAKH,EAAU,eAAe,EAAE,GAAGF,CAAe,EAC9CI,GACFE,EAAWJ,EAAU,eAAe,EAAE,GAAGD,CAAW,CAExD,CAAC",
6
- "names": ["ContainerModule", "SendApduUseCase", "StubUseCase", "sendTypes", "sendModuleFactory", "stub", "bind", "rebindSync"]
4
+ "sourcesContent": ["import { ContainerModule } from \"inversify\";\n\nimport { SendApduUseCase } from \"@internal/send/use-case/SendApduUseCase\";\nimport { StubUseCase } from \"@root/src/di.stub\";\n\nimport { sendTypes } from \"./sendTypes\";\n\ntype FactoryProps = {\n stub: boolean;\n};\n\nexport const sendModuleFactory = ({ stub = false }: FactoryProps) =>\n new ContainerModule(\n (\n bind,\n _unbind,\n _isBound,\n rebind,\n _unbindAsync,\n _onActivation,\n _onDeactivation,\n ) => {\n bind(sendTypes.SendApduUseCase).to(SendApduUseCase);\n if (stub) {\n rebind(sendTypes.SendApduUseCase).to(StubUseCase);\n }\n },\n );\n"],
5
+ "mappings": "AAAA,OAAS,mBAAAA,MAAuB,YAEhC,OAAS,mBAAAC,MAAuB,0CAChC,OAAS,eAAAC,MAAmB,oBAE5B,OAAS,aAAAC,MAAiB,cAMnB,MAAMC,EAAoB,CAAC,CAAE,KAAAC,EAAO,EAAM,IAC/C,IAAIL,EACF,CACEM,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,IACG,CACHN,EAAKH,EAAU,eAAe,EAAE,GAAGF,CAAe,EAC9CI,GACFI,EAAON,EAAU,eAAe,EAAE,GAAGD,CAAW,CAEpD,CACF",
6
+ "names": ["ContainerModule", "SendApduUseCase", "StubUseCase", "sendTypes", "sendModuleFactory", "stub", "bind", "_unbind", "_isBound", "rebind", "_unbindAsync", "_onActivation", "_onDeactivation"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{Container as t}from"inversify";import{sendModuleFactory as r}from"./sendModule";describe("sendModuleFactory",()=>{describe("Default",()=>{let o,e;beforeEach(()=>{e=r({stub:!1}),o=new t,o.loadSync(e)}),it("should return the config module",()=>{expect(e).toBeDefined()})})});
1
+ import{Container as t}from"inversify";import{sendModuleFactory as r}from"./sendModule";describe("sendModuleFactory",()=>{describe("Default",()=>{let o,e;beforeEach(()=>{e=r({stub:!1}),o=new t,o.load(e)}),it("should return the config module",()=>{expect(e).toBeDefined()})})});
2
2
  //# sourceMappingURL=sendModule.test.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/internal/send/di/sendModule.test.ts"],
4
- "sourcesContent": ["import { Container } from \"inversify\";\n\nimport { sendModuleFactory } from \"./sendModule\";\n\ndescribe(\"sendModuleFactory\", () => {\n describe(\"Default\", () => {\n let container: Container;\n let mod: ReturnType<typeof sendModuleFactory>;\n beforeEach(() => {\n mod = sendModuleFactory({ stub: false });\n container = new Container();\n container.loadSync(mod);\n });\n\n it(\"should return the config module\", () => {\n expect(mod).toBeDefined();\n });\n });\n});\n"],
5
- "mappings": "AAAA,OAAS,aAAAA,MAAiB,YAE1B,OAAS,qBAAAC,MAAyB,eAElC,SAAS,oBAAqB,IAAM,CAClC,SAAS,UAAW,IAAM,CACxB,IAAIC,EACAC,EACJ,WAAW,IAAM,CACfA,EAAMF,EAAkB,CAAE,KAAM,EAAM,CAAC,EACvCC,EAAY,IAAIF,EAChBE,EAAU,SAASC,CAAG,CACxB,CAAC,EAED,GAAG,kCAAmC,IAAM,CAC1C,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,CACH,CAAC,CACH,CAAC",
4
+ "sourcesContent": ["import { Container } from \"inversify\";\n\nimport { sendModuleFactory } from \"./sendModule\";\n\ndescribe(\"sendModuleFactory\", () => {\n describe(\"Default\", () => {\n let container: Container;\n let mod: ReturnType<typeof sendModuleFactory>;\n beforeEach(() => {\n mod = sendModuleFactory({ stub: false });\n container = new Container();\n container.load(mod);\n });\n\n it(\"should return the config module\", () => {\n expect(mod).toBeDefined();\n });\n });\n});\n"],
5
+ "mappings": "AAAA,OAAS,aAAAA,MAAiB,YAE1B,OAAS,qBAAAC,MAAyB,eAElC,SAAS,oBAAqB,IAAM,CAClC,SAAS,UAAW,IAAM,CACxB,IAAIC,EACAC,EACJ,WAAW,IAAM,CACfA,EAAMF,EAAkB,CAAE,KAAM,EAAM,CAAC,EACvCC,EAAY,IAAIF,EAChBE,EAAU,KAAKC,CAAG,CACpB,CAAC,EAED,GAAG,kCAAmC,IAAM,CAC1C,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,CACH,CAAC,CACH,CAAC",
6
6
  "names": ["Container", "sendModuleFactory", "container", "mod"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/internal/send/use-case/SendApduUseCase.ts"],
4
- "sourcesContent": ["import { inject, injectable } from \"inversify\";\n\nimport { ApduResponse } from \"@api/device-session/ApduResponse\";\nimport { type LoggerPublisherService } from \"@api/logger-publisher/service/LoggerPublisherService\";\nimport { DeviceSessionId } from \"@api/types\";\nimport { deviceSessionTypes } from \"@internal/device-session/di/deviceSessionTypes\";\nimport type { DeviceSessionService } from \"@internal/device-session/service/DeviceSessionService\";\nimport { loggerTypes } from \"@internal/logger-publisher/di/loggerTypes\";\n\n/**\n * The arguments for the SendApduUseCase.\n */\nexport type SendApduUseCaseArgs = {\n /**\n * Device session identifier from `DeviceManagementKit.connect`.\n */\n sessionId: DeviceSessionId;\n /**\n * Raw APDU to send to the device.\n */\n apdu: Uint8Array;\n /**\n * The time, in milliseconds, to wait before aborting an operation.\n */\n abortTimeout?: number;\n /**\n * Indicates if a device disconnection should be expected after sending the APDU.\n */\n triggersDisconnection?: boolean;\n};\n\n/**\n * Sends an APDU to a connected device.\n */\n@injectable()\nexport class SendApduUseCase {\n private readonly _sessionService: DeviceSessionService;\n private readonly _logger: LoggerPublisherService;\n\n constructor(\n @inject(deviceSessionTypes.DeviceSessionService)\n sessionService: DeviceSessionService,\n @inject(loggerTypes.LoggerPublisherServiceFactory)\n loggerFactory: (tag: string) => LoggerPublisherService,\n ) {\n this._sessionService = sessionService;\n this._logger = loggerFactory(\"SendApduUseCase\");\n }\n\n async execute({\n sessionId,\n apdu,\n abortTimeout,\n triggersDisconnection,\n }: SendApduUseCaseArgs): Promise<ApduResponse> {\n const deviceSessionOrError =\n this._sessionService.getDeviceSessionById(sessionId);\n\n return deviceSessionOrError.caseOf({\n // Case device session found\n Right: async (deviceSession) => {\n const response = await deviceSession.sendApdu(apdu, {\n abortTimeout,\n triggersDisconnection,\n });\n return response.caseOf({\n // Case APDU sent and response received successfully\n Right: (data) => data,\n // Case error sending or receiving APDU\n Left: (error) => {\n this._logger.error(\"Error sending APDU\", {\n data: { sessionId, apdu, error },\n });\n throw error;\n },\n });\n },\n // Case device session not found\n Left: (error) => {\n this._logger.error(\"Error getting deviceSession\", {\n data: { error },\n });\n throw error;\n },\n });\n }\n}\n"],
5
- "mappings": "iOAAA,OAAS,UAAAA,EAAQ,cAAAC,MAAkB,YAKnC,OAAS,sBAAAC,MAA0B,iDAEnC,OAAS,eAAAC,MAAmB,4CA4BrB,IAAMC,EAAN,KAAsB,CACV,gBACA,QAEjB,YAEEC,EAEAC,EACA,CACA,KAAK,gBAAkBD,EACvB,KAAK,QAAUC,EAAc,iBAAiB,CAChD,CAEA,MAAM,QAAQ,CACZ,UAAAC,EACA,KAAAC,EACA,aAAAC,EACA,sBAAAC,CACF,EAA+C,CAI7C,OAFE,KAAK,gBAAgB,qBAAqBH,CAAS,EAEzB,OAAO,CAEjC,MAAO,MAAOI,IACK,MAAMA,EAAc,SAASH,EAAM,CAClD,aAAAC,EACA,sBAAAC,CACF,CAAC,GACe,OAAO,CAErB,MAAQE,GAASA,EAEjB,KAAOC,GAAU,CACf,WAAK,QAAQ,MAAM,qBAAsB,CACvC,KAAM,CAAE,UAAAN,EAAW,KAAAC,EAAM,MAAAK,CAAM,CACjC,CAAC,EACKA,CACR,CACF,CAAC,EAGH,KAAOA,GAAU,CACf,WAAK,QAAQ,MAAM,8BAA+B,CAChD,KAAM,CAAE,MAAAA,CAAM,CAChB,CAAC,EACKA,CACR,CACF,CAAC,CACH,CACF,EAnDaT,EAANU,EAAA,CADNC,EAAW,EAMPC,EAAA,EAAAC,EAAOC,EAAmB,oBAAoB,GAE9CF,EAAA,EAAAC,EAAOE,EAAY,6BAA6B,IAPxCf",
4
+ "sourcesContent": ["import { inject, injectable } from \"inversify\";\n\nimport { ApduResponse } from \"@api/device-session/ApduResponse\";\nimport { type LoggerPublisherService } from \"@api/logger-publisher/service/LoggerPublisherService\";\nimport { DeviceSessionId } from \"@api/types\";\nimport { deviceSessionTypes } from \"@internal/device-session/di/deviceSessionTypes\";\nimport type { DeviceSessionService } from \"@internal/device-session/service/DeviceSessionService\";\nimport { loggerTypes } from \"@internal/logger-publisher/di/loggerTypes\";\n\n/**\n * The arguments for the SendApduUseCase.\n */\nexport type SendApduUseCaseArgs = {\n /**\n * Device session identifier from `DeviceManagementKit.connect`.\n */\n sessionId: DeviceSessionId;\n /**\n * Raw APDU to send to the device.\n */\n apdu: Uint8Array;\n /**\n * The time, in milliseconds, to wait before aborting an operation.\n */\n abortTimeout?: number;\n /**\n * Indicates if a device disconnection should be expected after sending the APDU.\n */\n triggersDisconnection?: boolean;\n};\n\n/**\n * Sends an APDU to a connected device.\n */\n@injectable()\nexport class SendApduUseCase {\n private readonly _sessionService: DeviceSessionService;\n private readonly _logger: LoggerPublisherService;\n\n constructor(\n @inject(deviceSessionTypes.DeviceSessionService)\n sessionService: DeviceSessionService,\n @inject(loggerTypes.LoggerPublisherServiceFactory)\n loggerFactory: (tag: string) => LoggerPublisherService,\n ) {\n this._sessionService = sessionService;\n this._logger = loggerFactory(\"SendApduUseCase\");\n }\n\n async execute({\n sessionId,\n apdu,\n abortTimeout,\n triggersDisconnection,\n }: SendApduUseCaseArgs): Promise<ApduResponse> {\n const deviceSessionOrError =\n this._sessionService.getDeviceSessionById(sessionId);\n\n return deviceSessionOrError.caseOf({\n // Case device session found\n Right: async (deviceSession) => {\n const response = await deviceSession.sendApdu(apdu, { abortTimeout, triggersDisconnection });\n return response.caseOf({\n // Case APDU sent and response received successfully\n Right: (data) => data,\n // Case error sending or receiving APDU\n Left: (error) => {\n this._logger.error(\"Error sending APDU\", {\n data: { sessionId, apdu, error },\n });\n throw error;\n },\n });\n },\n // Case device session not found\n Left: (error) => {\n this._logger.error(\"Error getting deviceSession\", {\n data: { error },\n });\n throw error;\n },\n });\n }\n}\n"],
5
+ "mappings": "iOAAA,OAAS,UAAAA,EAAQ,cAAAC,MAAkB,YAKnC,OAAS,sBAAAC,MAA0B,iDAEnC,OAAS,eAAAC,MAAmB,4CA4BrB,IAAMC,EAAN,KAAsB,CACV,gBACA,QAEjB,YAEEC,EAEAC,EACA,CACA,KAAK,gBAAkBD,EACvB,KAAK,QAAUC,EAAc,iBAAiB,CAChD,CAEA,MAAM,QAAQ,CACZ,UAAAC,EACA,KAAAC,EACA,aAAAC,EACA,sBAAAC,CACF,EAA+C,CAI7C,OAFE,KAAK,gBAAgB,qBAAqBH,CAAS,EAEzB,OAAO,CAEjC,MAAO,MAAOI,IACK,MAAMA,EAAc,SAASH,EAAM,CAAE,aAAAC,EAAc,sBAAAC,CAAsB,CAAC,GAC3E,OAAO,CAErB,MAAQE,GAASA,EAEjB,KAAOC,GAAU,CACf,WAAK,QAAQ,MAAM,qBAAsB,CACvC,KAAM,CAAE,UAAAN,EAAW,KAAAC,EAAM,MAAAK,CAAM,CACjC,CAAC,EACKA,CACR,CACF,CAAC,EAGH,KAAOA,GAAU,CACf,WAAK,QAAQ,MAAM,8BAA+B,CAChD,KAAM,CAAE,MAAAA,CAAM,CAChB,CAAC,EACKA,CACR,CACF,CAAC,CACH,CACF,EAhDaT,EAANU,EAAA,CADNC,EAAW,EAMPC,EAAA,EAAAC,EAAOC,EAAmB,oBAAoB,GAE9CF,EAAA,EAAAC,EAAOE,EAAY,6BAA6B,IAPxCf",
6
6
  "names": ["inject", "injectable", "deviceSessionTypes", "loggerTypes", "SendApduUseCase", "sessionService", "loggerFactory", "sessionId", "apdu", "abortTimeout", "triggersDisconnection", "deviceSession", "data", "error", "__decorateClass", "injectable", "__decorateParam", "inject", "deviceSessionTypes", "loggerTypes"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{ContainerModule as p}from"inversify";import{DefaultTransportService as e}from"../../transport/service/DefaultTransportService";import{transportDiTypes as t}from"./transportDiTypes";const f=({stub:r=!1,transports:a=[],config:n}={})=>new p(({bind:o})=>{o(t.TransportsInput).toConstantValue(a),o(t.TransportService).to(e).inSingletonScope(),o(t.DmkConfig).toConstantValue(n)});export{f as transportModuleFactory};
1
+ import{ContainerModule as p}from"inversify";import{DefaultTransportService as e}from"../../transport/service/DefaultTransportService";import{transportDiTypes as r}from"./transportDiTypes";const u=({stub:t=!1,transports:n=[],config:a}={})=>new p((o,s,i,m)=>{o(r.TransportsInput).toConstantValue(n),o(r.TransportService).to(e).inSingletonScope(),o(r.DmkConfig).toConstantValue(a)});export{u as transportModuleFactory};
2
2
  //# sourceMappingURL=transportModule.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/internal/transport/di/transportModule.ts"],
4
- "sourcesContent": ["import { ContainerModule } from \"inversify\";\n\nimport { type DmkConfig } from \"@api/DmkConfig\";\nimport { type TransportFactory } from \"@api/transport/model/Transport\";\nimport { DefaultTransportService } from \"@internal/transport/service/DefaultTransportService\";\n\nimport { transportDiTypes } from \"./transportDiTypes\";\n\ntype FactoryProps = {\n stub: boolean;\n transports: TransportFactory[];\n config: DmkConfig;\n};\n\nexport const transportModuleFactory = ({\n stub = false,\n transports = [],\n config,\n}: Partial<FactoryProps> = {}) =>\n new ContainerModule(({ bind }) => {\n bind(transportDiTypes.TransportsInput).toConstantValue(transports);\n bind(transportDiTypes.TransportService)\n .to(DefaultTransportService)\n .inSingletonScope();\n\n bind(transportDiTypes.DmkConfig).toConstantValue(config);\n\n if (stub) {\n // TODO: Implement stub\n }\n });\n"],
5
- "mappings": "AAAA,OAAS,mBAAAA,MAAuB,YAIhC,OAAS,2BAAAC,MAA+B,sDAExC,OAAS,oBAAAC,MAAwB,qBAQ1B,MAAMC,EAAyB,CAAC,CACrC,KAAAC,EAAO,GACP,WAAAC,EAAa,CAAC,EACd,OAAAC,CACF,EAA2B,CAAC,IAC1B,IAAIN,EAAgB,CAAC,CAAE,KAAAO,CAAK,IAAM,CAChCA,EAAKL,EAAiB,eAAe,EAAE,gBAAgBG,CAAU,EACjEE,EAAKL,EAAiB,gBAAgB,EACnC,GAAGD,CAAuB,EAC1B,iBAAiB,EAEpBM,EAAKL,EAAiB,SAAS,EAAE,gBAAgBI,CAAM,CAKzD,CAAC",
6
- "names": ["ContainerModule", "DefaultTransportService", "transportDiTypes", "transportModuleFactory", "stub", "transports", "config", "bind"]
4
+ "sourcesContent": ["import { ContainerModule } from \"inversify\";\n\nimport { type DmkConfig } from \"@api/DmkConfig\";\nimport { type TransportFactory } from \"@api/transport/model/Transport\";\nimport { DefaultTransportService } from \"@internal/transport/service/DefaultTransportService\";\n\nimport { transportDiTypes } from \"./transportDiTypes\";\n\ntype FactoryProps = {\n stub: boolean;\n transports: TransportFactory[];\n config: DmkConfig;\n};\n\nexport const transportModuleFactory = ({\n stub = false,\n transports = [],\n config,\n}: Partial<FactoryProps> = {}) =>\n new ContainerModule((bind, _unbind, _isBound, _rebind) => {\n bind(transportDiTypes.TransportsInput).toConstantValue(transports);\n bind(transportDiTypes.TransportService)\n .to(DefaultTransportService)\n .inSingletonScope();\n\n bind(transportDiTypes.DmkConfig).toConstantValue(config);\n\n if (stub) {\n // TODO: Implement stub\n }\n });\n"],
5
+ "mappings": "AAAA,OAAS,mBAAAA,MAAuB,YAIhC,OAAS,2BAAAC,MAA+B,sDAExC,OAAS,oBAAAC,MAAwB,qBAQ1B,MAAMC,EAAyB,CAAC,CACrC,KAAAC,EAAO,GACP,WAAAC,EAAa,CAAC,EACd,OAAAC,CACF,EAA2B,CAAC,IAC1B,IAAIN,EAAgB,CAACO,EAAMC,EAASC,EAAUC,IAAY,CACxDH,EAAKL,EAAiB,eAAe,EAAE,gBAAgBG,CAAU,EACjEE,EAAKL,EAAiB,gBAAgB,EACnC,GAAGD,CAAuB,EAC1B,iBAAiB,EAEpBM,EAAKL,EAAiB,SAAS,EAAE,gBAAgBI,CAAM,CAKzD,CAAC",
6
+ "names": ["ContainerModule", "DefaultTransportService", "transportDiTypes", "transportModuleFactory", "stub", "transports", "config", "bind", "_unbind", "_isBound", "_rebind"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{Container as o}from"inversify";import{TransportMock as a}from"../../../api/transport/model/__mocks__/TransportMock";import{deviceModelModuleFactory as l}from"../../device-model/di/deviceModelModule";import{deviceSessionModuleFactory as d}from"../../device-session/di/deviceSessionModule";import{loggerModuleFactory as u}from"../../logger-publisher/di/loggerModule";import{transportDiTypes as i}from"./transportDiTypes";import{transportModuleFactory as n}from"./transportModule";describe("transportModuleFactory",()=>{describe("Default",()=>{let e,t;beforeEach(()=>{t=n(),e=new o,e.loadSync(t)}),it("should create the transport module",()=>{expect(t).toBeDefined()}),it("should not bind the TransportService when transports is empty",()=>{try{e.get(i.TransportService)}catch(r){expect(r).toBeDefined()}})}),describe("With transports",()=>{let e,t,r;beforeEach(()=>{r=new a,vi.spyOn(r,"getIdentifier").mockReturnValue("MOCK");const s=u(),c=l({stub:!0}),p=d({stub:!0});t=n({transports:[()=>r],config:{managerApiUrl:"http://fake.url/api",mockUrl:"http://fake.url",webSocketUrl:"ws://fake.websocket.url",firmwareDistributionSalt:"salt"}}),e=new o,e.loadSync(s,c,p,t)}),it("should bind the TransportService",()=>{expect(e.get(i.TransportService)).toBeDefined()})}),describe("With stub",()=>{let e,t,r;beforeEach(()=>{r=new a,vi.spyOn(r,"getIdentifier").mockReturnValue("MOCK"),t=n({stub:!0,transports:[()=>r]}),e=new o,e.loadSync(t)}),it("should create the transport module",()=>{expect(t).toBeDefined()})})});
1
+ import{Container as o}from"inversify";import{TransportMock as a}from"../../../api/transport/model/__mocks__/TransportMock";import{deviceModelModuleFactory as l}from"../../device-model/di/deviceModelModule";import{deviceSessionModuleFactory as d}from"../../device-session/di/deviceSessionModule";import{loggerModuleFactory as u}from"../../logger-publisher/di/loggerModule";import{transportDiTypes as i}from"./transportDiTypes";import{transportModuleFactory as n}from"./transportModule";describe("transportModuleFactory",()=>{describe("Default",()=>{let e,t;beforeEach(()=>{t=n(),e=new o,e.load(t)}),it("should create the transport module",()=>{expect(t).toBeDefined()}),it("should not bind the TransportService when transports is empty",()=>{try{e.get(i.TransportService)}catch(r){expect(r).toBeDefined()}})}),describe("With transports",()=>{let e,t,r;beforeEach(()=>{r=new a,vi.spyOn(r,"getIdentifier").mockReturnValue("MOCK");const s=u(),p=l({stub:!0}),c=d({stub:!0});t=n({transports:[()=>r],config:{managerApiUrl:"http://fake.url/api",mockUrl:"http://fake.url",webSocketUrl:"ws://fake.websocket.url",firmwareDistributionSalt:"salt"}}),e=new o,e.load(s,p,c,t)}),it("should bind the TransportService",()=>{expect(e.get(i.TransportService)).toBeDefined()})}),describe("With stub",()=>{let e,t,r;beforeEach(()=>{r=new a,vi.spyOn(r,"getIdentifier").mockReturnValue("MOCK"),t=n({stub:!0,transports:[()=>r]}),e=new o,e.load(t)}),it("should create the transport module",()=>{expect(t).toBeDefined()})})});
2
2
  //# sourceMappingURL=transportModule.test.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/internal/transport/di/transportModule.test.ts"],
4
- "sourcesContent": ["import { Container } from \"inversify\";\n\nimport { type DmkConfig } from \"@api/DmkConfig\";\nimport { TransportMock } from \"@api/transport/model/__mocks__/TransportMock\";\nimport { deviceModelModuleFactory } from \"@internal/device-model/di/deviceModelModule\";\nimport { deviceSessionModuleFactory } from \"@internal/device-session/di/deviceSessionModule\";\nimport { loggerModuleFactory } from \"@internal/logger-publisher/di/loggerModule\";\n\nimport { transportDiTypes } from \"./transportDiTypes\";\nimport { transportModuleFactory } from \"./transportModule\";\n\ndescribe(\"transportModuleFactory\", () => {\n describe(\"Default\", () => {\n let container: Container;\n let mod: ReturnType<typeof transportModuleFactory>;\n beforeEach(() => {\n mod = transportModuleFactory();\n container = new Container();\n container.loadSync(mod);\n });\n\n it(\"should create the transport module\", () => {\n expect(mod).toBeDefined();\n });\n\n it(\"should not bind the TransportService when transports is empty\", () => {\n try {\n container.get(transportDiTypes.TransportService);\n } catch (error) {\n expect(error).toBeDefined();\n }\n });\n });\n\n describe(\"With transports\", () => {\n let container: Container;\n let mod: ReturnType<typeof transportModuleFactory>;\n let transport: TransportMock;\n beforeEach(() => {\n transport = new TransportMock();\n vi.spyOn(transport, \"getIdentifier\").mockReturnValue(\"MOCK\");\n const logger = loggerModuleFactory();\n const deviceModel = deviceModelModuleFactory({ stub: true });\n const deviceSession = deviceSessionModuleFactory({ stub: true });\n mod = transportModuleFactory({\n transports: [() => transport],\n config: {\n managerApiUrl: \"http://fake.url/api\",\n mockUrl: \"http://fake.url\",\n webSocketUrl: \"ws://fake.websocket.url\",\n firmwareDistributionSalt: \"salt\",\n } as DmkConfig,\n });\n container = new Container();\n container.loadSync(logger, deviceModel, deviceSession, mod);\n });\n\n it(\"should bind the TransportService\", () => {\n expect(container.get(transportDiTypes.TransportService)).toBeDefined();\n });\n });\n\n describe(\"With stub\", () => {\n let container: Container;\n let mod: ReturnType<typeof transportModuleFactory>;\n let transport: TransportMock;\n beforeEach(() => {\n transport = new TransportMock();\n vi.spyOn(transport, \"getIdentifier\").mockReturnValue(\"MOCK\");\n mod = transportModuleFactory({\n stub: true,\n transports: [() => transport],\n });\n container = new Container();\n container.loadSync(mod);\n });\n\n it(\"should create the transport module\", () => {\n expect(mod).toBeDefined();\n });\n });\n});\n"],
5
- "mappings": "AAAA,OAAS,aAAAA,MAAiB,YAG1B,OAAS,iBAAAC,MAAqB,+CAC9B,OAAS,4BAAAC,MAAgC,8CACzC,OAAS,8BAAAC,MAAkC,kDAC3C,OAAS,uBAAAC,MAA2B,6CAEpC,OAAS,oBAAAC,MAAwB,qBACjC,OAAS,0BAAAC,MAA8B,oBAEvC,SAAS,yBAA0B,IAAM,CACvC,SAAS,UAAW,IAAM,CACxB,IAAIC,EACAC,EACJ,WAAW,IAAM,CACfA,EAAMF,EAAuB,EAC7BC,EAAY,IAAIP,EAChBO,EAAU,SAASC,CAAG,CACxB,CAAC,EAED,GAAG,qCAAsC,IAAM,CAC7C,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,EAED,GAAG,gEAAiE,IAAM,CACxE,GAAI,CACFD,EAAU,IAAIF,EAAiB,gBAAgB,CACjD,OAASI,EAAO,CACd,OAAOA,CAAK,EAAE,YAAY,CAC5B,CACF,CAAC,CACH,CAAC,EAED,SAAS,kBAAmB,IAAM,CAChC,IAAIF,EACAC,EACAE,EACJ,WAAW,IAAM,CACfA,EAAY,IAAIT,EAChB,GAAG,MAAMS,EAAW,eAAe,EAAE,gBAAgB,MAAM,EAC3D,MAAMC,EAASP,EAAoB,EAC7BQ,EAAcV,EAAyB,CAAE,KAAM,EAAK,CAAC,EACrDW,EAAgBV,EAA2B,CAAE,KAAM,EAAK,CAAC,EAC/DK,EAAMF,EAAuB,CAC3B,WAAY,CAAC,IAAMI,CAAS,EAC5B,OAAQ,CACN,cAAe,sBACf,QAAS,kBACT,aAAc,0BACd,yBAA0B,MAC5B,CACF,CAAC,EACDH,EAAY,IAAIP,EAChBO,EAAU,SAASI,EAAQC,EAAaC,EAAeL,CAAG,CAC5D,CAAC,EAED,GAAG,mCAAoC,IAAM,CAC3C,OAAOD,EAAU,IAAIF,EAAiB,gBAAgB,CAAC,EAAE,YAAY,CACvE,CAAC,CACH,CAAC,EAED,SAAS,YAAa,IAAM,CAC1B,IAAIE,EACAC,EACAE,EACJ,WAAW,IAAM,CACfA,EAAY,IAAIT,EAChB,GAAG,MAAMS,EAAW,eAAe,EAAE,gBAAgB,MAAM,EAC3DF,EAAMF,EAAuB,CAC3B,KAAM,GACN,WAAY,CAAC,IAAMI,CAAS,CAC9B,CAAC,EACDH,EAAY,IAAIP,EAChBO,EAAU,SAASC,CAAG,CACxB,CAAC,EAED,GAAG,qCAAsC,IAAM,CAC7C,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,CACH,CAAC,CACH,CAAC",
4
+ "sourcesContent": ["import { Container } from \"inversify\";\n\nimport { type DmkConfig } from \"@api/DmkConfig\";\nimport { TransportMock } from \"@api/transport/model/__mocks__/TransportMock\";\nimport { deviceModelModuleFactory } from \"@internal/device-model/di/deviceModelModule\";\nimport { deviceSessionModuleFactory } from \"@internal/device-session/di/deviceSessionModule\";\nimport { loggerModuleFactory } from \"@internal/logger-publisher/di/loggerModule\";\n\nimport { transportDiTypes } from \"./transportDiTypes\";\nimport { transportModuleFactory } from \"./transportModule\";\n\ndescribe(\"transportModuleFactory\", () => {\n describe(\"Default\", () => {\n let container: Container;\n let mod: ReturnType<typeof transportModuleFactory>;\n beforeEach(() => {\n mod = transportModuleFactory();\n container = new Container();\n container.load(mod);\n });\n\n it(\"should create the transport module\", () => {\n expect(mod).toBeDefined();\n });\n\n it(\"should not bind the TransportService when transports is empty\", () => {\n try {\n container.get(transportDiTypes.TransportService);\n } catch (error) {\n expect(error).toBeDefined();\n }\n });\n });\n\n describe(\"With transports\", () => {\n let container: Container;\n let mod: ReturnType<typeof transportModuleFactory>;\n let transport: TransportMock;\n beforeEach(() => {\n transport = new TransportMock();\n vi.spyOn(transport, \"getIdentifier\").mockReturnValue(\"MOCK\");\n const logger = loggerModuleFactory();\n const deviceModel = deviceModelModuleFactory({ stub: true });\n const deviceSession = deviceSessionModuleFactory({ stub: true });\n mod = transportModuleFactory({\n transports: [() => transport],\n config: {\n managerApiUrl: \"http://fake.url/api\",\n mockUrl: \"http://fake.url\",\n webSocketUrl: \"ws://fake.websocket.url\",\n firmwareDistributionSalt: \"salt\",\n } as DmkConfig,\n });\n container = new Container();\n container.load(logger, deviceModel, deviceSession, mod);\n });\n\n it(\"should bind the TransportService\", () => {\n expect(container.get(transportDiTypes.TransportService)).toBeDefined();\n });\n });\n\n describe(\"With stub\", () => {\n let container: Container;\n let mod: ReturnType<typeof transportModuleFactory>;\n let transport: TransportMock;\n beforeEach(() => {\n transport = new TransportMock();\n vi.spyOn(transport, \"getIdentifier\").mockReturnValue(\"MOCK\");\n mod = transportModuleFactory({\n stub: true,\n transports: [() => transport],\n });\n container = new Container();\n container.load(mod);\n });\n\n it(\"should create the transport module\", () => {\n expect(mod).toBeDefined();\n });\n });\n});\n"],
5
+ "mappings": "AAAA,OAAS,aAAAA,MAAiB,YAG1B,OAAS,iBAAAC,MAAqB,+CAC9B,OAAS,4BAAAC,MAAgC,8CACzC,OAAS,8BAAAC,MAAkC,kDAC3C,OAAS,uBAAAC,MAA2B,6CAEpC,OAAS,oBAAAC,MAAwB,qBACjC,OAAS,0BAAAC,MAA8B,oBAEvC,SAAS,yBAA0B,IAAM,CACvC,SAAS,UAAW,IAAM,CACxB,IAAIC,EACAC,EACJ,WAAW,IAAM,CACfA,EAAMF,EAAuB,EAC7BC,EAAY,IAAIP,EAChBO,EAAU,KAAKC,CAAG,CACpB,CAAC,EAED,GAAG,qCAAsC,IAAM,CAC7C,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,EAED,GAAG,gEAAiE,IAAM,CACxE,GAAI,CACFD,EAAU,IAAIF,EAAiB,gBAAgB,CACjD,OAASI,EAAO,CACd,OAAOA,CAAK,EAAE,YAAY,CAC5B,CACF,CAAC,CACH,CAAC,EAED,SAAS,kBAAmB,IAAM,CAChC,IAAIF,EACAC,EACAE,EACJ,WAAW,IAAM,CACfA,EAAY,IAAIT,EAChB,GAAG,MAAMS,EAAW,eAAe,EAAE,gBAAgB,MAAM,EAC3D,MAAMC,EAASP,EAAoB,EAC7BQ,EAAcV,EAAyB,CAAE,KAAM,EAAK,CAAC,EACrDW,EAAgBV,EAA2B,CAAE,KAAM,EAAK,CAAC,EAC/DK,EAAMF,EAAuB,CAC3B,WAAY,CAAC,IAAMI,CAAS,EAC5B,OAAQ,CACN,cAAe,sBACf,QAAS,kBACT,aAAc,0BACd,yBAA0B,MAC5B,CACF,CAAC,EACDH,EAAY,IAAIP,EAChBO,EAAU,KAAKI,EAAQC,EAAaC,EAAeL,CAAG,CACxD,CAAC,EAED,GAAG,mCAAoC,IAAM,CAC3C,OAAOD,EAAU,IAAIF,EAAiB,gBAAgB,CAAC,EAAE,YAAY,CACvE,CAAC,CACH,CAAC,EAED,SAAS,YAAa,IAAM,CAC1B,IAAIE,EACAC,EACAE,EACJ,WAAW,IAAM,CACfA,EAAY,IAAIT,EAChB,GAAG,MAAMS,EAAW,eAAe,EAAE,gBAAgB,MAAM,EAC3DF,EAAMF,EAAuB,CAC3B,KAAM,GACN,WAAY,CAAC,IAAMI,CAAS,CAC9B,CAAC,EACDH,EAAY,IAAIP,EAChBO,EAAU,KAAKC,CAAG,CACpB,CAAC,EAED,GAAG,qCAAsC,IAAM,CAC7C,OAAOA,CAAG,EAAE,YAAY,CAC1B,CAAC,CACH,CAAC,CACH,CAAC",
6
6
  "names": ["Container", "TransportMock", "deviceModelModuleFactory", "deviceSessionModuleFactory", "loggerModuleFactory", "transportDiTypes", "transportModuleFactory", "container", "mod", "error", "transport", "logger", "deviceModel", "deviceSession"]
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ApduBuilder.d.ts","sourceRoot":"","sources":["../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M,GAAG,SAAS,CAAmC;IAE5E;;;OAGG;IACH,gBAAgB,QAAO,MAAM,GAAG,SAAS,CAAmC;IAE5E;;;;OAIG;IACH,oBAAoB,WAAY,MAAM,KAAG,UAAU,GAAG,SAAS,CACpB;IAE3C;;;OAGG;IACH,qBAAqB,QAAO,UAAU,GAAG,SAAS,CACZ;IAEtC;;;OAGG;IACH,sBAAsB,QAAO,WAAW,GAAG,SAAS,CACb;IAEvC;;;;;OAKG;IACH,kBAAkB,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM;IAC9D,kBAAkB,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,IAAI,GAAG,UAAU;IAUjE;;;;OAIG;IACH,cAAc,WAAY,UAAU,KAAG,MAAM,CACT;IAEpC;;;OAGG;IACH,0BAA0B,QAAO,MAAM,CACI;CAC5C"}
@@ -151,34 +151,6 @@ export declare class ByteArrayBuilder {
151
151
  * @returns {ByteArrayBuilder} - Returns the current instance of ByteArrayBuilder
152
152
  */
153
153
  encodeInLVFromAscii: (value: string) => ByteArrayBuilder;
154
- /**
155
- * Add a Tag-Length-Value encoded hexadecimal string to the data field if it has enough remaining space
156
- * Length-Value encoding is a way to encode data in a binary format with the first byte
157
- * being the length of the data and the following bytes being the data itself
158
- * @param tag: number - The tag to add to the data
159
- * @param value: string - The value to add to the data
160
- * @returns {ByteArrayBuilder} - Returns the current instance of ByteArrayBuilder
161
- */
162
- encodeInTLVFromHexa: (tag: number, value: string) => ByteArrayBuilder;
163
- /**
164
- * Add a Tag-Length-Value encoded hexadecimal string to the data field if it has enough remaining space
165
- * Length-Value encoding is a way to encode data in a binary format with the first byte
166
- * being the length of the data and the following bytes being the data itself
167
- * @param tag: number - The tag to add to the data
168
- * @param value: Uint8Array - The buffer to add to the data
169
- * @returns {ByteArrayBuilder} - Returns the current instance of ByteArrayBuilder
170
- */
171
- encodeInTLVFromBuffer: (tag: number, value: Uint8Array) => ByteArrayBuilder;
172
- /**
173
- * Add a Tag-Length-Value encoded uint64 to the data field if it has enough remaining space
174
- * Length-Value encoding is a way to encode data in a binary format with the first byte
175
- * being the length of the data and the following bytes being the data itself
176
- * @param tag: number - The tag to add to the data
177
- * @param value: number | bigint - The number to add
178
- * @param bigEndian: boolean - Endianness used to encode the number
179
- * @returns {ByteArrayBuilder} - Returns the current instance of ByteArrayBuilder
180
- */
181
- encodeInTLVFromUInt64: (tag: number, value: number | bigint, bigEndian?: boolean) => ByteArrayBuilder;
182
154
  /**
183
155
  * Returns the remaining payload length
184
156
  * @returns {number}
@@ -1 +1 @@
1
- {"version":3,"file":"ByteArrayBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/api/apdu/utils/ByteArrayBuilder.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,eAAe,EAIrB,MAAM,mBAAmB,CAAC;AAI3B;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,gBAAgB;IAIf,OAAO,CAAC,cAAc;IAHlC,OAAO,CAAC,IAAI,CAAgC;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;gBAE5B,cAAc,GAAE,MAAwB;IAM5D;;;OAGG;IACH,KAAK,QAAO,UAAU,CAAc;IAEpC;;;;OAIG;IACH,QAAQ,QAAO,UAAU,GAAG,SAAS,CAEnC;IAEF;;;;OAIG;IACH,iBAAiB,GAAI,OAAO,MAAM,GAAG,MAAM,KAAG,gBAAgB,CAE5D;IAEF;;;;;OAKG;IACH,kBAAkB,GAChB,OAAO,MAAM,GAAG,MAAM,EACtB,YAAW,OAAc,KACxB,gBAAgB,CAEjB;IAEF;;;;;OAKG;IACH,kBAAkB,GAChB,OAAO,MAAM,GAAG,MAAM,EACtB,YAAW,OAAc,KACxB,gBAAgB,CAEjB;IAEF;;;;;OAKG;IACH,kBAAkB,GAChB,OAAO,MAAM,GAAG,MAAM,EACtB,YAAW,OAAc,KACxB,gBAAgB,CAEjB;IAEF;;;;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;;;;OAMG;IACH,OAAO,CAAC,qBAAqB;CAuC9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"commandModule.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/di/commandModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAO5C,KAAK,iBAAiB,GAAG,OAAO,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;CACxB,CAAC,CAAC;AAEH,eAAO,MAAM,oBAAoB,GAAI,YAElC,iBAAsB,oBAMrB,CAAC"}
1
+ {"version":3,"file":"commandModule.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/di/commandModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAO5C,KAAK,iBAAiB,GAAG,OAAO,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;CACxB,CAAC,CAAC;AAEH,eAAO,MAAM,oBAAoB,eAE9B,iBAAiB,oBAgBjB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GetOsVersionCommand.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/command/os/__mocks__/GetOsVersionCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,eAAO,MAAM,sCAAsC,GACjD,gBAAe,aAAqC,EACpD,QAAO,OAAO,CAAC,oBAAoB,CAAM,KACxC,oBA8HgB,CAAC"}
1
+ {"version":3,"file":"GetOsVersionCommand.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/command/os/__mocks__/GetOsVersionCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,eAAO,MAAM,sCAAsC,mBAClC,aAAa,UACrB,OAAO,CAAC,oBAAoB,CAAC,KACnC,oBA8HgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommandErrors.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/utils/CommandErrors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,aAAa,CAAC,kBAAkB,SAAS,MAAM,IAAI,MAAM,CACnE,kBAAkB,EAClB,IAAI,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC,GAC1D,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,EAAE,KAAK,CAAC,CAAC,CACpE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAAI,kBAAkB,SAAS,MAAM,EAClE,WAAW,MAAM,EACjB,QAAQ,aAAa,CAAC,kBAAkB,CAAC,KACxC,SAAS,IAAI,kBAA6D,CAAC"}
1
+ {"version":3,"file":"CommandErrors.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/utils/CommandErrors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,aAAa,CAAC,kBAAkB,SAAS,MAAM,IAAI,MAAM,CACnE,kBAAkB,EAClB,IAAI,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC,GAC1D,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,EAAE,KAAK,CAAC,CAAC,CACpE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAAI,kBAAkB,SAAS,MAAM,aACvD,MAAM,UACT,aAAa,CAAC,kBAAkB,CAAC,KACxC,SAAS,IAAI,kBAA6D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"setupTestMachine.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/__test-utils__/setupTestMachine.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAI/F,OAAO,EACL,KAAK,sCAAsC,EAC3C,KAAK,2BAA2B,EACjC,MAAM,iDAAiD,CAAC;AAGzD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,2DAA2D,CAAC;AAE9F,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,KAAK,GAAG,GAAG,OAAO,OAAO,CAAC;AAE1B,eAAO,MAAM,iBAAiB,GAAI,MAAM,GAAG,EAAE,EAAE,eAAa,SA6B3D,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,UAAU,yBAAyB,EACnC,eAAa,SA8Bd,CAAC;AAEF,eAAO,MAAM,4BAA4B,GACvC,QAAQ,2BAA2B,EACnC,mBAAmB,sCAAsC,EACzD,eAAa,SA4Bd,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,QAAO,OAAe,SA4BtD,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,QAAO,OAAe,SA6B5D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,UAAS,aAAa,CACpB;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,iBAAiB,EAAE,MAAM,CAAA;CAAE,GAAG,QAAQ,CAM7D,SAiCF,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,UAAS,KAAK,CAAC;IAAE,aAAa,EAAE,YAAY,EAAE,CAAA;CAAE,GAAG,QAAQ,CAAM,SAkClE,CAAC"}
1
+ {"version":3,"file":"setupTestMachine.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/__test-utils__/setupTestMachine.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAI/F,OAAO,EACL,KAAK,sCAAsC,EAC3C,KAAK,2BAA2B,EACjC,MAAM,iDAAiD,CAAC;AAGzD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,2DAA2D,CAAC;AAE9F,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,KAAK,GAAG,GAAG,OAAO,OAAO,CAAC;AAE1B,eAAO,MAAM,iBAAiB,SAAU,GAAG,EAAE,0BA6B5C,CAAC;AAEF,eAAO,MAAM,0BAA0B,aAC3B,yBAAyB,0BA+BpC,CAAC;AAEF,eAAO,MAAM,4BAA4B,WAC/B,2BAA2B,qBAChB,sCAAsC,0BA6B1D,CAAC;AAEF,eAAO,MAAM,gBAAgB,WAAW,OAAO,SA4B9C,CAAC;AAEF,eAAO,MAAM,sBAAsB,WAAW,OAAO,SA6BpD,CAAC;AAEF,eAAO,MAAM,wBAAwB,aAC1B,aAAa,CACpB;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,iBAAiB,EAAE,MAAM,CAAA;CAAE,GAAG,QAAQ,CAC7D,SAsCF,CAAC;AAEF,eAAO,MAAM,0BAA0B,aAC5B,KAAK,CAAC;IAAE,aAAa,EAAE,YAAY,EAAE,CAAA;CAAE,GAAG,QAAQ,CAAC,SAkC7D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"deviceActionModule.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/di/deviceActionModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAO5C,KAAK,sBAAsB,GAAG,OAAO,CAAC;IACpC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;CACxB,CAAC,CAAC;AAEH,eAAO,MAAM,yBAAyB,GAAI,YAEvC,sBAA2B,oBAQ1B,CAAC"}
1
+ {"version":3,"file":"deviceActionModule.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/di/deviceActionModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAO5C,KAAK,sBAAsB,GAAG,OAAO,CAAC;IACpC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;CACxB,CAAC,CAAC;AAEH,eAAO,MAAM,yBAAyB,eAEnC,sBAAsB,oBAkBtB,CAAC"}
@@ -12,7 +12,6 @@ export declare enum UserInteractionRequired {
12
12
  AllowListApps = "allow-list-apps",
13
13
  VerifyAddress = "verify-address",
14
14
  SignPersonalMessage = "sign-personal-message",
15
- SignDelegationAuthorization = "sign-delegation-authorization",
16
15
  Web3ChecksOptIn = "web3-checks-opt-in"
17
16
  }
18
17
  //# sourceMappingURL=UserInteractionRequired.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserInteractionRequired.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/model/UserInteractionRequired.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,uBAAuB;IACjC,IAAI,SAAS;IACb,YAAY,kBAAkB;IAC9B,qBAAqB,4BAA4B;IACjD,cAAc,qBAAqB;IACnC,eAAe,qBAAqB;IACpC,aAAa,oBAAoB;IACjC,aAAa,oBAAoB;IACjC,aAAa,mBAAmB;IAChC,mBAAmB,0BAA0B;IAC7C,2BAA2B,kCAAkC;IAC7D,eAAe,uBAAuB;CACvC"}
1
+ {"version":3,"file":"UserInteractionRequired.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/model/UserInteractionRequired.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,uBAAuB;IACjC,IAAI,SAAS;IACb,YAAY,kBAAkB;IAC9B,qBAAqB,4BAA4B;IACjD,cAAc,qBAAqB;IACnC,eAAe,qBAAqB;IACpC,aAAa,oBAAoB;IACjC,aAAa,oBAAoB;IACjC,aAAa,mBAAmB;IAChC,mBAAmB,0BAA0B;IAC7C,eAAe,uBAAuB;CACvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultApduReceiverService.stub.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-session/service/DefaultApduReceiverService.stub.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,iDAAiD,CAAC;AACnG,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAGnG,eAAO,MAAM,qCAAqC,GAChD,OAAO,OAAO,CAAC,2BAA2B,CAAC,YAAK,EAChD,eAAe,CAAC,GAAG,EAAE,MAAM,KAAK,sBAAsB,KACrD,mBAOA,CAAC"}
1
+ {"version":3,"file":"DefaultApduReceiverService.stub.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-session/service/DefaultApduReceiverService.stub.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,iDAAiD,CAAC;AACnG,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAGnG,eAAO,MAAM,qCAAqC,UACzC,OAAO,CAAC,2BAA2B,CAAC,6BAC5B,CAAC,GAAG,EAAE,MAAM,KAAK,sBAAsB,KACrD,mBAOA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultApduSenderService.stub.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-session/service/DefaultApduSenderService.stub.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AACtG,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAGnG,eAAO,MAAM,mCAAmC,GAC9C,OAAO,OAAO,CAAC,gCAAgC,CAAC,YAAK,EACrD,eAAe,CAAC,GAAG,EAAE,MAAM,KAAK,sBAAsB,KACrD,iBASA,CAAC"}
1
+ {"version":3,"file":"DefaultApduSenderService.stub.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-session/service/DefaultApduSenderService.stub.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AACtG,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAGnG,eAAO,MAAM,mCAAmC,UACvC,OAAO,CAAC,gCAAgC,CAAC,6BACjC,CAAC,GAAG,EAAE,MAAM,KAAK,sBAAsB,KACrD,iBASA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HexaString.d.ts","sourceRoot":"","sources":["../../../../../src/api/utils/HexaString.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,KAAK,MAAM,EAAE,CAAC;AAEvC,eAAO,MAAM,YAAY,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,UAEtD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,MAAM,KAAG,UAAU,GAAG,IAkB/D,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,UAAU,KAAG,UAItD,CAAC"}
1
+ {"version":3,"file":"HexaString.d.ts","sourceRoot":"","sources":["../../../../../src/api/utils/HexaString.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,KAAK,MAAM,EAAE,CAAC;AAEvC,eAAO,MAAM,YAAY,UAAW,OAAO,KAAG,KAAK,IAAI,UAEtD,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAAW,MAAM,KAAG,UAAU,GAAG,IAkB/D,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAAW,UAAU,KAAG,UAItD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"di.d.ts","sourceRoot":"","sources":["../../../src/di.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAItC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AACtG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAkBvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B,OAAO,EAAE,uBAAuB,EAAE,CAAC;IACnC,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,wCAW3B,OAAO,CAAC,kBAAkB,CAAC,cAmB7B,CAAC"}
1
+ {"version":3,"file":"di.d.ts","sourceRoot":"","sources":["../../../src/di.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAMtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AACtG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAqBvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B,OAAO,EAAE,uBAAuB,EAAE,CAAC;IACnC,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,2CAWvB,OAAO,CAAC,kBAAkB,CAAC,cAsB7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"configModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/config/di/configModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAa5C,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,UAAU,YAAY,oBAgBtD,CAAC"}
1
+ {"version":3,"file":"configModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/config/di/configModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAa5C,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,mBAAmB,aAAc,YAAY,oBAYtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"deviceModelModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/device-model/di/deviceModelModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAM5C,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,UAAU,YAAY,oBAU3D,CAAC"}
1
+ {"version":3,"file":"deviceModelModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/device-model/di/deviceModelModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAM5C,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,wBAAwB,aAAc,YAAY,oBAU3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"deviceSessionModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/device-session/di/deviceSessionModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAgB,MAAM,WAAW,CAAC;AAkB1D,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC;IAC5C,IAAI,EAAE,OAAO,CAAC;CACf,CAAC,CAAC;AAEH,eAAO,MAAM,0BAA0B,GACrC,WAAU,uBAAyC,oBA+CjD,CAAC"}
1
+ {"version":3,"file":"deviceSessionModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/device-session/di/deviceSessionModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAmB,MAAM,WAAW,CAAC;AAkB7D,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC;IAC5C,IAAI,EAAE,OAAO,CAAC;CACf,CAAC,CAAC;AAEH,eAAO,MAAM,0BAA0B,cAC3B,uBAAuB,oBAuDhC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DeviceSession.stub.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/device-session/model/DeviceSession.stub.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAEnG,OAAO,EACL,aAAa,EACb,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC5B,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;AAElG,eAAO,MAAM,wBAAwB,GACnC,OAAO,OAAO,CAAC,sBAAsB,CAAC,YAAK,EAC3C,eAAe,CAAC,GAAG,EAAE,MAAM,KAAK,sBAAsB,EACtD,YAAY,iBAAiB,EAC7B,eAAe,oBAAoB,EACnC,+BAA+B,6BAA6B,kBAY3D,CAAC"}
1
+ {"version":3,"file":"DeviceSession.stub.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/device-session/model/DeviceSession.stub.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAEnG,OAAO,EACL,aAAa,EACb,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC5B,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;AAElG,eAAO,MAAM,wBAAwB,UAC5B,OAAO,CAAC,sBAAsB,CAAC,6BACvB,CAAC,GAAG,EAAE,MAAM,KAAK,sBAAsB,cAC1C,iBAAiB,iBACd,oBAAoB,iCACJ,6BAA6B,kBAY3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"deviceSessionUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/device-session/utils/deviceSessionUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE3D,eAAO,MAAM,0BAA0B,GACrC,UAAU,OAAO,KAChB,QAAQ,IAAI,wBAId,CAAC"}
1
+ {"version":3,"file":"deviceSessionUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/device-session/utils/deviceSessionUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE3D,eAAO,MAAM,0BAA0B,aAC3B,OAAO,KAChB,QAAQ,IAAI,wBAId,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"discoveryModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/discovery/di/discoveryModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAc5C,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,UAAkB,YAAY,oBA+BjE,CAAC"}
1
+ {"version":3,"file":"discoveryModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/discovery/di/discoveryModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAc5C,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,sBAAsB,aAAsB,YAAY,oBA6BjE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"loggerModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/logger-publisher/di/loggerModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAgB,MAAM,WAAW,CAAC;AAG1D,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AAKtG,KAAK,YAAY,GAAG;IAClB,WAAW,EAAE,uBAAuB,EAAE,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,kBAAiB,YAAkC,oBASjD,CAAC"}
1
+ {"version":3,"file":"loggerModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/logger-publisher/di/loggerModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAmB,MAAM,WAAW,CAAC;AAG7D,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AAKtG,KAAK,YAAY,GAAG;IAClB,WAAW,EAAE,uBAAuB,EAAE,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,mBAAmB,qBACb,YAAY,oBAmB5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"managerApiModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/di/managerApiModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,kBAAkB,YAAY,oBAiBlE,CAAC"}
1
+ {"version":3,"file":"managerApiModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/manager-api/di/managerApiModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,uBAAuB,qBAAsB,YAAY,oBAiBlE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"secureChannelModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/secure-channel/di/secureChannelModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAMhD,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,kBAAkB,YAAY,oBAcrE,CAAC"}
1
+ {"version":3,"file":"secureChannelModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/secure-channel/di/secureChannelModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAMhD,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,0BAA0B,qBAAsB,YAAY,oBAcrE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sendModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/send/di/sendModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAO5C,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,UAAkB,YAAY,oBAM5D,CAAC"}
1
+ {"version":3,"file":"sendModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/send/di/sendModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAO5C,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,iBAAiB,aAAsB,YAAY,oBAgB7D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SendApduUseCase.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/send/use-case/SendApduUseCase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;AAGlG;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,qBACa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAuB;IACvD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAyB;gBAI/C,cAAc,EAAE,oBAAoB,EAEpC,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,sBAAsB;IAMlD,OAAO,CAAC,EACZ,SAAS,EACT,IAAI,EACJ,YAAY,EACZ,qBAAqB,GACtB,EAAE,mBAAmB,GAAG,OAAO,CAAC,YAAY,CAAC;CAgC/C"}
1
+ {"version":3,"file":"SendApduUseCase.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/send/use-case/SendApduUseCase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;AAGlG;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,qBACa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAuB;IACvD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAyB;gBAI/C,cAAc,EAAE,oBAAoB,EAEpC,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,sBAAsB;IAMlD,OAAO,CAAC,EACZ,SAAS,EACT,IAAI,EACJ,YAAY,EACZ,qBAAqB,GACtB,EAAE,mBAAmB,GAAG,OAAO,CAAC,YAAY,CAAC;CA6B/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"transportModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/transport/di/transportModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAKvE,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,gCAIpC,OAAO,CAAC,YAAY,CAAM,oBAYzB,CAAC"}
1
+ {"version":3,"file":"transportModule.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/transport/di/transportModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAKvE,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,sBAAsB,mCAIhC,OAAO,CAAC,YAAY,CAAC,oBAYpB,CAAC"}