@ledgerhq/device-management-kit 0.0.0-develop-20260401001841 → 0.0.0-develop-20260403001844

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 (46) hide show
  1. package/lib/cjs/package.json +1 -1
  2. package/lib/cjs/src/api/command/os/BackupStorageCommand.js +2 -0
  3. package/lib/cjs/src/api/command/os/BackupStorageCommand.js.map +7 -0
  4. package/lib/cjs/src/api/command/os/BackupStorageCommand.test.js +2 -0
  5. package/lib/cjs/src/api/command/os/BackupStorageCommand.test.js.map +7 -0
  6. package/lib/cjs/src/api/command/os/GetAppStorageInfoCommand.js +2 -0
  7. package/lib/cjs/src/api/command/os/GetAppStorageInfoCommand.js.map +7 -0
  8. package/lib/cjs/src/api/command/os/GetAppStorageInfoCommand.test.js +2 -0
  9. package/lib/cjs/src/api/command/os/GetAppStorageInfoCommand.test.js.map +7 -0
  10. package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.js +2 -0
  11. package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.js.map +7 -0
  12. package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.test.js +2 -0
  13. package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.test.js.map +7 -0
  14. package/lib/cjs/src/api/index.js +1 -1
  15. package/lib/cjs/src/api/index.js.map +3 -3
  16. package/lib/esm/package.json +1 -1
  17. package/lib/esm/src/api/command/os/BackupStorageCommand.js +2 -0
  18. package/lib/esm/src/api/command/os/BackupStorageCommand.js.map +7 -0
  19. package/lib/esm/src/api/command/os/BackupStorageCommand.test.js +2 -0
  20. package/lib/esm/src/api/command/os/BackupStorageCommand.test.js.map +7 -0
  21. package/lib/esm/src/api/command/os/GetAppStorageInfoCommand.js +2 -0
  22. package/lib/esm/src/api/command/os/GetAppStorageInfoCommand.js.map +7 -0
  23. package/lib/esm/src/api/command/os/GetAppStorageInfoCommand.test.js +2 -0
  24. package/lib/esm/src/api/command/os/GetAppStorageInfoCommand.test.js.map +7 -0
  25. package/lib/esm/src/api/device-action/task/BackupAppStorageTask.js +2 -0
  26. package/lib/esm/src/api/device-action/task/BackupAppStorageTask.js.map +7 -0
  27. package/lib/esm/src/api/device-action/task/BackupAppStorageTask.test.js +2 -0
  28. package/lib/esm/src/api/device-action/task/BackupAppStorageTask.test.js.map +7 -0
  29. package/lib/esm/src/api/index.js +1 -1
  30. package/lib/esm/src/api/index.js.map +3 -3
  31. package/lib/types/src/api/command/os/BackupStorageCommand.d.ts +23 -0
  32. package/lib/types/src/api/command/os/BackupStorageCommand.d.ts.map +1 -0
  33. package/lib/types/src/api/command/os/BackupStorageCommand.test.d.ts +2 -0
  34. package/lib/types/src/api/command/os/BackupStorageCommand.test.d.ts.map +1 -0
  35. package/lib/types/src/api/command/os/GetAppStorageInfoCommand.d.ts +31 -0
  36. package/lib/types/src/api/command/os/GetAppStorageInfoCommand.d.ts.map +1 -0
  37. package/lib/types/src/api/command/os/GetAppStorageInfoCommand.test.d.ts +2 -0
  38. package/lib/types/src/api/command/os/GetAppStorageInfoCommand.test.d.ts.map +1 -0
  39. package/lib/types/src/api/device-action/task/BackupAppStorageTask.d.ts +22 -0
  40. package/lib/types/src/api/device-action/task/BackupAppStorageTask.d.ts.map +1 -0
  41. package/lib/types/src/api/device-action/task/BackupAppStorageTask.test.d.ts +2 -0
  42. package/lib/types/src/api/device-action/task/BackupAppStorageTask.test.d.ts.map +1 -0
  43. package/lib/types/src/api/index.d.ts +2 -0
  44. package/lib/types/src/api/index.d.ts.map +1 -1
  45. package/lib/types/tsconfig.prod.tsbuildinfo +1 -1
  46. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- import{Apdu as r}from"./apdu/model/Apdu";import{APDU_MAX_PAYLOAD as p,ApduBuilder as a}from"./apdu/utils/ApduBuilder";import{ApduParser as n}from"./apdu/utils/ApduParser";export*from"./apdu/utils/AppBuilderError";import{ByteArrayBuilder as c}from"./apdu/utils/ByteArrayBuilder";import{ByteArrayParser as d}from"./apdu/utils/ByteArrayParser";import{InvalidGetFirmwareMetadataResponseError as A,InvalidResponseFormatError as D,InvalidStatusWordError as u}from"./command/Errors";import{CommandResultFactory as v,CommandResultStatus as S,isSuccessCommandResult as y}from"./command/model/CommandResult";import{CloseAppCommand as C}from"./command/os/CloseAppCommand";import{GetAppAndVersionCommand as L}from"./command/os/GetAppAndVersionCommand";import{GetBackgroundImageSizeCommand as B,GetBackgroundImageSizeCommandError as R}from"./command/os/GetBackgroundImageSizeCommand";import{BatteryStatusType as T,GetBatteryStatusCommand as b}from"./command/os/GetBatteryStatusCommand";import{GetOsVersionCommand as O}from"./command/os/GetOsVersionCommand";import{ListAppsCommand as U}from"./command/os/ListAppsCommand";import{LoadCertificateCommand as F}from"./command/os/LoadCertificateCommand";import{OpenAppCommand as V}from"./command/os/OpenAppCommand";import{isCommandErrorCode as P}from"./command/utils/CommandErrors";import{CommandUtils as w}from"./command/utils/CommandUtils";import{GLOBAL_ERRORS as K,GlobalCommandError as N,GlobalCommandErrorHandler as q}from"./command/utils/GlobalCommandError";import{DeviceModel as Y,DeviceModelId as j,LEDGER_VENDOR_ID as J}from"./device/DeviceModel";import{DeviceStatus as Z}from"./device/DeviceStatus";import{DeviceActionStatus as ee}from"./device-action/model/DeviceActionState";import{UserInteractionRequired as re}from"./device-action/model/UserInteractionRequired";import{CallTaskInAppDeviceAction as pe}from"./device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction";import{DEFAULT_UNLOCK_TIMEOUT_MS as ie}from"./device-action/os/Const";import{AppAlreadyInstalledDAError as me,DeviceLockedError as se,DeviceNotOnboardedError as ce,OutOfMemoryDAError as fe,RefusedByUserDAError as de,UnknownDAError as xe,UnsupportedFirmwareDAError as Ae}from"./device-action/os/Errors";import{GetDeviceMetadataDeviceAction as ue}from"./device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction";import{GetDeviceStatusDeviceAction as ve}from"./device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction";import{GoToDashboardDeviceAction as ye}from"./device-action/os/GoToDashboard/GoToDashboardDeviceAction";import{InstallOrUpdateAppsDeviceAction as Ce}from"./device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction";import{ListAppsDeviceAction as Le}from"./device-action/os/ListApps/ListAppsDeviceAction";import{ListAppsWithMetadataDeviceAction as Be}from"./device-action/os/ListAppsWithMetadata/ListAppsWithMetadataDeviceAction";import{OpenAppDeviceAction as Ie}from"./device-action/os/OpenAppDeviceAction/OpenAppDeviceAction";import{OpenAppWithDependenciesDeviceAction as be}from"./device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction";import{SendCommandInAppDeviceAction as Oe}from"./device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction";import{XStateDeviceAction as Ue}from"./device-action/xstate-utils/XStateDeviceAction";import{StaticDeviceModelDataSource as Fe}from"./device-model/data/StaticDeviceModelDataSource";import{BleDeviceInfos as Ve}from"./device-model/model/BleDeviceInfos";import{TransportDeviceModel as Pe}from"./device-model/model/DeviceModel";import{ApduResponse as we}from"./device-session/ApduResponse";export*from"./device-session/data/FramerConst";import{DeviceSessionStateType as Ne}from"./device-session/DeviceSessionState";import{GenuineCheckDeviceAction as Xe}from"./secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction";import{InstallAppDeviceAction as je}from"./secure-channel/device-action/InstallApp/InstallAppDeviceAction";import{ListInstalledAppsDeviceAction as Qe}from"./secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction";import{UninstallAppDeviceAction as $e}from"./secure-channel/device-action/UninstallApp/UninstallAppDeviceAction";import{SecureChannelError as oo}from"../internal/secure-channel/model/Errors";import{defaultApduReceiverServiceStubBuilder as to}from"./device-session/service/DefaultApduReceiverService.stub";import{defaultApduSenderServiceStubBuilder as ao}from"./device-session/service/DefaultApduSenderService.stub";import{FramerUtils as no}from"./device-session/utils/FramerUtils";import{DeviceManagementKit as so}from"./DeviceManagementKit";import{DeviceManagementKitBuilder as fo}from"./DeviceManagementKitBuilder";export*from"./Error";import{noopLogger as Do,noopLoggerFactory as uo}from"./logger-publisher/utils/noopLoggerFactory";import{LogLevel as vo}from"./logger-subscriber/model/LogLevel";import{ConsoleLogger as yo}from"./logger-subscriber/service/ConsoleLogger";import{DefaultLogTagFormatter as Co}from"./logger-subscriber/service/DefaultLogTagFormatter";import{WebLogsExporterLogger as Lo}from"./logger-subscriber/service/WebLogsExporterLogger";import{ConnectedDevice as Bo}from"./transport/model/ConnectedDevice";import{DeviceConnectionStateMachine as Io}from"./transport/model/DeviceConnectionStateMachine";export*from"./transport/model/Errors";import{TransportConnectedDevice as ho}from"./transport/model/TransportConnectedDevice";import{connectedDeviceStubBuilder as Mo}from"./transport/model/TransportConnectedDevice.stub";export*from"./types";import{formatApduReceivedLog as Fo,formatApduSentLog as _o}from"./utils/apduLogs";import{ApplicationChecker as zo}from"./utils/ApplicationChecker";import{base64StringToBuffer as Wo,bufferToBase64String as wo,isBase64String as Ho}from"./utils/Base64String";import{bufferToHexaString as No,hexaStringToBuffer as qo,isHexaString as Xo}from"./utils/HexaString";export{p as APDU_MAX_PAYLOAD,r as Apdu,a as ApduBuilder,n as ApduParser,we as ApduResponse,me as AppAlreadyInstalledDAError,zo as ApplicationChecker,T as BatteryStatusType,Ve as BleDeviceInfos,c as ByteArrayBuilder,d as ByteArrayParser,pe as CallTaskInAppDeviceAction,C as CloseAppCommand,v as CommandResultFactory,S as CommandResultStatus,w as CommandUtils,Bo as ConnectedDevice,yo as ConsoleLogger,ie as DEFAULT_UNLOCK_TIMEOUT_MS,Co as DefaultLogTagFormatter,ee as DeviceActionStatus,Io as DeviceConnectionStateMachine,se as DeviceLockedError,so as DeviceManagementKit,fo as DeviceManagementKitBuilder,Y as DeviceModel,j as DeviceModelId,ce as DeviceNotOnboardedError,Ne as DeviceSessionStateType,Z as DeviceStatus,no as FramerUtils,K as GLOBAL_ERRORS,Xe as GenuineCheckDeviceAction,L as GetAppAndVersionCommand,B as GetBackgroundImageSizeCommand,R as GetBackgroundImageSizeCommandError,b as GetBatteryStatusCommand,ue as GetDeviceMetadataDeviceAction,ve as GetDeviceStatusDeviceAction,O as GetOsVersionCommand,N as GlobalCommandError,q as GlobalCommandErrorHandler,ye as GoToDashboardDeviceAction,je as InstallAppDeviceAction,Ce as InstallOrUpdateAppsDeviceAction,A as InvalidGetFirmwareMetadataResponseError,D as InvalidResponseFormatError,u as InvalidStatusWordError,J as LEDGER_VENDOR_ID,U as ListAppsCommand,Le as ListAppsDeviceAction,Be as ListAppsWithMetadataDeviceAction,Qe as ListInstalledAppsDeviceAction,F as LoadCertificateCommand,vo as LogLevel,V as OpenAppCommand,Ie as OpenAppDeviceAction,be as OpenAppWithDependenciesDeviceAction,fe as OutOfMemoryDAError,de as RefusedByUserDAError,oo as SecureChannelError,Oe as SendCommandInAppDeviceAction,Fe as StaticDeviceModelDataSource,ho as TransportConnectedDevice,Pe as TransportDeviceModel,$e as UninstallAppDeviceAction,xe as UnknownDAError,Ae as UnsupportedFirmwareDAError,re as UserInteractionRequired,Lo as WebLogsExporterLogger,Ue as XStateDeviceAction,Wo as base64StringToBuffer,wo as bufferToBase64String,No as bufferToHexaString,Mo as connectedDeviceStubBuilder,to as defaultApduReceiverServiceStubBuilder,ao as defaultApduSenderServiceStubBuilder,Fo as formatApduReceivedLog,_o as formatApduSentLog,qo as hexaStringToBuffer,Ho as isBase64String,P as isCommandErrorCode,Xo as isHexaString,y as isSuccessCommandResult,Do as noopLogger,uo as noopLoggerFactory};
1
+ import{Apdu as r}from"./apdu/model/Apdu";import{APDU_MAX_PAYLOAD as p,ApduBuilder as a}from"./apdu/utils/ApduBuilder";import{ApduParser as n}from"./apdu/utils/ApduParser";export*from"./apdu/utils/AppBuilderError";import{ByteArrayBuilder as d}from"./apdu/utils/ByteArrayBuilder";import{ByteArrayParser as c}from"./apdu/utils/ByteArrayParser";import{InvalidGetFirmwareMetadataResponseError as x,InvalidResponseFormatError as D,InvalidStatusWordError as u}from"./command/Errors";import{CommandResultFactory as S,CommandResultStatus as g,isSuccessCommandResult as C}from"./command/model/CommandResult";import{BackupStorageCommand as y}from"./command/os/BackupStorageCommand";import{CloseAppCommand as B}from"./command/os/CloseAppCommand";import{GetAppAndVersionCommand as I}from"./command/os/GetAppAndVersionCommand";import{GetAppStorageInfoCommand as R}from"./command/os/GetAppStorageInfoCommand";import{GetBackgroundImageSizeCommand as b,GetBackgroundImageSizeCommandError as h}from"./command/os/GetBackgroundImageSizeCommand";import{BatteryStatusType as M,GetBatteryStatusCommand as k}from"./command/os/GetBatteryStatusCommand";import{GetOsVersionCommand as F}from"./command/os/GetOsVersionCommand";import{ListAppsCommand as V}from"./command/os/ListAppsCommand";import{LoadCertificateCommand as P}from"./command/os/LoadCertificateCommand";import{OpenAppCommand as w}from"./command/os/OpenAppCommand";import{isCommandErrorCode as K}from"./command/utils/CommandErrors";import{CommandUtils as q}from"./command/utils/CommandUtils";import{GLOBAL_ERRORS as Y,GlobalCommandError as j,GlobalCommandErrorHandler as J}from"./command/utils/GlobalCommandError";import{DeviceModel as Z,DeviceModelId as $,LEDGER_VENDOR_ID as ee}from"./device/DeviceModel";import{DeviceStatus as re}from"./device/DeviceStatus";import{DeviceActionStatus as pe}from"./device-action/model/DeviceActionState";import{UserInteractionRequired as me}from"./device-action/model/UserInteractionRequired";import{CallTaskInAppDeviceAction as ie}from"./device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction";import{DEFAULT_UNLOCK_TIMEOUT_MS as de}from"./device-action/os/Const";import{AppAlreadyInstalledDAError as ce,DeviceLockedError as Ae,DeviceNotOnboardedError as xe,OutOfMemoryDAError as De,RefusedByUserDAError as ue,UnknownDAError as le,UnsupportedFirmwareDAError as Se}from"./device-action/os/Errors";import{GetDeviceMetadataDeviceAction as Ce}from"./device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction";import{GetDeviceStatusDeviceAction as ye}from"./device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction";import{GoToDashboardDeviceAction as Be}from"./device-action/os/GoToDashboard/GoToDashboardDeviceAction";import{InstallOrUpdateAppsDeviceAction as Ie}from"./device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction";import{ListAppsDeviceAction as Re}from"./device-action/os/ListApps/ListAppsDeviceAction";import{ListAppsWithMetadataDeviceAction as be}from"./device-action/os/ListAppsWithMetadata/ListAppsWithMetadataDeviceAction";import{OpenAppDeviceAction as Oe}from"./device-action/os/OpenAppDeviceAction/OpenAppDeviceAction";import{OpenAppWithDependenciesDeviceAction as ke}from"./device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction";import{SendCommandInAppDeviceAction as Fe}from"./device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction";import{XStateDeviceAction as Ve}from"./device-action/xstate-utils/XStateDeviceAction";import{StaticDeviceModelDataSource as Pe}from"./device-model/data/StaticDeviceModelDataSource";import{BleDeviceInfos as we}from"./device-model/model/BleDeviceInfos";import{TransportDeviceModel as Ke}from"./device-model/model/DeviceModel";import{ApduResponse as qe}from"./device-session/ApduResponse";export*from"./device-session/data/FramerConst";import{DeviceSessionStateType as je}from"./device-session/DeviceSessionState";import{GenuineCheckDeviceAction as Qe}from"./secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction";import{InstallAppDeviceAction as $e}from"./secure-channel/device-action/InstallApp/InstallAppDeviceAction";import{ListInstalledAppsDeviceAction as oo}from"./secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction";import{UninstallAppDeviceAction as to}from"./secure-channel/device-action/UninstallApp/UninstallAppDeviceAction";import{SecureChannelError as ao}from"../internal/secure-channel/model/Errors";import{defaultApduReceiverServiceStubBuilder as no}from"./device-session/service/DefaultApduReceiverService.stub";import{defaultApduSenderServiceStubBuilder as so}from"./device-session/service/DefaultApduSenderService.stub";import{FramerUtils as co}from"./device-session/utils/FramerUtils";import{DeviceManagementKit as xo}from"./DeviceManagementKit";import{DeviceManagementKitBuilder as uo}from"./DeviceManagementKitBuilder";export*from"./Error";import{noopLogger as go,noopLoggerFactory as Co}from"./logger-publisher/utils/noopLoggerFactory";import{LogLevel as yo}from"./logger-subscriber/model/LogLevel";import{ConsoleLogger as Bo}from"./logger-subscriber/service/ConsoleLogger";import{DefaultLogTagFormatter as Io}from"./logger-subscriber/service/DefaultLogTagFormatter";import{WebLogsExporterLogger as Ro}from"./logger-subscriber/service/WebLogsExporterLogger";import{ConnectedDevice as bo}from"./transport/model/ConnectedDevice";import{DeviceConnectionStateMachine as Oo}from"./transport/model/DeviceConnectionStateMachine";export*from"./transport/model/Errors";import{TransportConnectedDevice as Uo}from"./transport/model/TransportConnectedDevice";import{connectedDeviceStubBuilder as _o}from"./transport/model/TransportConnectedDevice.stub";export*from"./types";import{formatApduReceivedLog as Po,formatApduSentLog as Wo}from"./utils/apduLogs";import{ApplicationChecker as Ho}from"./utils/ApplicationChecker";import{base64StringToBuffer as No,bufferToBase64String as qo,isBase64String as Xo}from"./utils/Base64String";import{bufferToHexaString as jo,hexaStringToBuffer as Jo,isHexaString as Qo}from"./utils/HexaString";export{p as APDU_MAX_PAYLOAD,r as Apdu,a as ApduBuilder,n as ApduParser,qe as ApduResponse,ce as AppAlreadyInstalledDAError,Ho as ApplicationChecker,y as BackupStorageCommand,M as BatteryStatusType,we as BleDeviceInfos,d as ByteArrayBuilder,c as ByteArrayParser,ie as CallTaskInAppDeviceAction,B as CloseAppCommand,S as CommandResultFactory,g as CommandResultStatus,q as CommandUtils,bo as ConnectedDevice,Bo as ConsoleLogger,de as DEFAULT_UNLOCK_TIMEOUT_MS,Io as DefaultLogTagFormatter,pe as DeviceActionStatus,Oo as DeviceConnectionStateMachine,Ae as DeviceLockedError,xo as DeviceManagementKit,uo as DeviceManagementKitBuilder,Z as DeviceModel,$ as DeviceModelId,xe as DeviceNotOnboardedError,je as DeviceSessionStateType,re as DeviceStatus,co as FramerUtils,Y as GLOBAL_ERRORS,Qe as GenuineCheckDeviceAction,I as GetAppAndVersionCommand,R as GetAppStorageInfoCommand,b as GetBackgroundImageSizeCommand,h as GetBackgroundImageSizeCommandError,k as GetBatteryStatusCommand,Ce as GetDeviceMetadataDeviceAction,ye as GetDeviceStatusDeviceAction,F as GetOsVersionCommand,j as GlobalCommandError,J as GlobalCommandErrorHandler,Be as GoToDashboardDeviceAction,$e as InstallAppDeviceAction,Ie as InstallOrUpdateAppsDeviceAction,x as InvalidGetFirmwareMetadataResponseError,D as InvalidResponseFormatError,u as InvalidStatusWordError,ee as LEDGER_VENDOR_ID,V as ListAppsCommand,Re as ListAppsDeviceAction,be as ListAppsWithMetadataDeviceAction,oo as ListInstalledAppsDeviceAction,P as LoadCertificateCommand,yo as LogLevel,w as OpenAppCommand,Oe as OpenAppDeviceAction,ke as OpenAppWithDependenciesDeviceAction,De as OutOfMemoryDAError,ue as RefusedByUserDAError,ao as SecureChannelError,Fe as SendCommandInAppDeviceAction,Pe as StaticDeviceModelDataSource,Uo as TransportConnectedDevice,Ke as TransportDeviceModel,to as UninstallAppDeviceAction,le as UnknownDAError,Se as UnsupportedFirmwareDAError,me as UserInteractionRequired,Ro as WebLogsExporterLogger,Ve as XStateDeviceAction,No as base64StringToBuffer,qo as bufferToBase64String,jo as bufferToHexaString,_o as connectedDeviceStubBuilder,no as defaultApduReceiverServiceStubBuilder,so as defaultApduSenderServiceStubBuilder,Po as formatApduReceivedLog,Wo as formatApduSentLog,Jo as hexaStringToBuffer,Xo as isBase64String,K as isCommandErrorCode,Qo as isHexaString,C as isSuccessCommandResult,go as noopLogger,Co as noopLoggerFactory};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/api/index.ts"],
4
- "sourcesContent": ["\"use strict\";\n\nexport { Apdu } from \"@api/apdu/model/Apdu\";\nexport { APDU_MAX_PAYLOAD, ApduBuilder } from \"@api/apdu/utils/ApduBuilder\";\nexport { ApduParser } from \"@api/apdu/utils/ApduParser\";\nexport * from \"@api/apdu/utils/AppBuilderError\";\nexport { ByteArrayBuilder } from \"@api/apdu/utils/ByteArrayBuilder\";\nexport { ByteArrayParser } from \"@api/apdu/utils/ByteArrayParser\";\nexport { type Command } from \"@api/command/Command\";\nexport {\n InvalidGetFirmwareMetadataResponseError,\n InvalidResponseFormatError,\n InvalidStatusWordError,\n} from \"@api/command/Errors\";\nexport {\n CommandResultFactory,\n CommandResultStatus,\n isSuccessCommandResult,\n} from \"@api/command/model/CommandResult\";\nexport { CloseAppCommand } from \"@api/command/os/CloseAppCommand\";\nexport {\n GetAppAndVersionCommand,\n type GetAppAndVersionResponse,\n} from \"@api/command/os/GetAppAndVersionCommand\";\nexport {\n GetBackgroundImageSizeCommand,\n GetBackgroundImageSizeCommandError,\n type GetBackgroundImageSizeCommandResult,\n type GetBackgroundImageSizeErrorCodes,\n type GetBackgroundImageSizeResponse,\n} from \"@api/command/os/GetBackgroundImageSizeCommand\";\nexport {\n BatteryStatusType,\n type GetBatteryStatusArgs,\n GetBatteryStatusCommand,\n type GetBatteryStatusResponse,\n} from \"@api/command/os/GetBatteryStatusCommand\";\nexport {\n GetOsVersionCommand,\n type GetOsVersionResponse,\n} from \"@api/command/os/GetOsVersionCommand\";\nexport {\n type ListAppsArgs,\n ListAppsCommand,\n type ListAppsErrorCodes,\n type ListAppsResponse,\n} from \"@api/command/os/ListAppsCommand\";\nexport {\n type LoadCertificateArgs,\n LoadCertificateCommand,\n type LoadCertificateErrorCodes,\n} from \"@api/command/os/LoadCertificateCommand\";\nexport {\n type OpenAppArgs,\n OpenAppCommand,\n} from \"@api/command/os/OpenAppCommand\";\nexport { isCommandErrorCode } from \"@api/command/utils/CommandErrors\";\nexport { CommandUtils } from \"@api/command/utils/CommandUtils\";\nexport {\n GLOBAL_ERRORS,\n GlobalCommandError,\n GlobalCommandErrorHandler,\n} from \"@api/command/utils/GlobalCommandError\";\nexport {\n DeviceModel,\n DeviceModelId,\n LEDGER_VENDOR_ID,\n} from \"@api/device/DeviceModel\";\nexport { DeviceStatus } from \"@api/device/DeviceStatus\";\nexport { type InternalApi } from \"@api/device-action/DeviceAction\";\nexport {\n type DeviceActionState,\n DeviceActionStatus,\n} from \"@api/device-action/model/DeviceActionState\";\nexport { UserInteractionRequired } from \"@api/device-action/model/UserInteractionRequired\";\nexport { CallTaskInAppDeviceAction } from \"@api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction\";\nexport { DEFAULT_UNLOCK_TIMEOUT_MS } from \"@api/device-action/os/Const\";\nexport {\n AppAlreadyInstalledDAError,\n DeviceLockedError,\n DeviceNotOnboardedError,\n OutOfMemoryDAError,\n RefusedByUserDAError,\n UnknownDAError,\n UnsupportedFirmwareDAError,\n} from \"@api/device-action/os/Errors\";\nexport { GetDeviceMetadataDeviceAction } from \"@api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction\";\nexport { GetDeviceStatusDeviceAction } from \"@api/device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction\";\nexport { GoToDashboardDeviceAction } from \"@api/device-action/os/GoToDashboard/GoToDashboardDeviceAction\";\nexport type {\n GoToDashboardDAError,\n GoToDashboardDAInput,\n GoToDashboardDAIntermediateValue,\n GoToDashboardDAOutput,\n GoToDashboardDARequiredInteraction,\n GoToDashboardDAState,\n} from \"@api/device-action/os/GoToDashboard/types\";\nexport { InstallOrUpdateAppsDeviceAction } from \"@api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction\";\nexport { ListAppsDeviceAction } from \"@api/device-action/os/ListApps/ListAppsDeviceAction\";\nexport { ListAppsWithMetadataDeviceAction } from \"@api/device-action/os/ListAppsWithMetadata/ListAppsWithMetadataDeviceAction\";\nexport { OpenAppDeviceAction } from \"@api/device-action/os/OpenAppDeviceAction/OpenAppDeviceAction\";\nexport { OpenAppWithDependenciesDeviceAction } from \"@api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction\";\nexport { SendCommandInAppDeviceAction } from \"@api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction\";\nexport {\n type DeviceActionStateMachine,\n XStateDeviceAction,\n} from \"@api/device-action/xstate-utils/XStateDeviceAction\";\nexport { StaticDeviceModelDataSource } from \"@api/device-model/data/StaticDeviceModelDataSource\";\nexport { BleDeviceInfos } from \"@api/device-model/model/BleDeviceInfos\";\nexport { TransportDeviceModel } from \"@api/device-model/model/DeviceModel\";\nexport { ApduResponse } from \"@api/device-session/ApduResponse\";\nexport * from \"@api/device-session/data/FramerConst\";\nexport {\n type DeviceSessionState,\n DeviceSessionStateType,\n} from \"@api/device-session/DeviceSessionState\";\nexport { GenuineCheckDeviceAction } from \"@api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction\";\nexport { InstallAppDeviceAction } from \"@api/secure-channel/device-action/InstallApp/InstallAppDeviceAction\";\nexport { ListInstalledAppsDeviceAction } from \"@api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction\";\nexport { UninstallAppDeviceAction } from \"@api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction\";\nexport { SecureChannelError } from \"@internal/secure-channel/model/Errors\";\n// TODO: remove from exported\nexport { defaultApduReceiverServiceStubBuilder } from \"@api/device-session/service/DefaultApduReceiverService.stub\";\nexport { defaultApduSenderServiceStubBuilder } from \"@api/device-session/service/DefaultApduSenderService.stub\";\nexport { FramerUtils } from \"@api/device-session/utils/FramerUtils\";\nexport { DeviceManagementKit } from \"@api/DeviceManagementKit\";\nexport { DeviceManagementKitBuilder } from \"@api/DeviceManagementKitBuilder\";\nexport * from \"@api/Error\";\nexport {\n noopLogger,\n noopLoggerFactory,\n} from \"@api/logger-publisher/utils/noopLoggerFactory\";\nexport { LogLevel } from \"@api/logger-subscriber/model/LogLevel\";\nexport { ConsoleLogger } from \"@api/logger-subscriber/service/ConsoleLogger\";\nexport { DefaultLogTagFormatter } from \"@api/logger-subscriber/service/DefaultLogTagFormatter\";\nexport { type LogTagFormatter } from \"@api/logger-subscriber/service/LogTagFormatter\";\nexport { WebLogsExporterLogger } from \"@api/logger-subscriber/service/WebLogsExporterLogger\";\nexport { ConnectedDevice } from \"@api/transport/model/ConnectedDevice\";\nexport {\n DeviceConnectionStateMachine,\n type DeviceConnectionStateMachineParams,\n} from \"@api/transport/model/DeviceConnectionStateMachine\";\nexport * from \"@api/transport/model/Errors\";\nexport { TransportConnectedDevice } from \"@api/transport/model/TransportConnectedDevice\";\nexport { connectedDeviceStubBuilder } from \"@api/transport/model/TransportConnectedDevice.stub\";\nexport * from \"@api/types\";\nexport { formatApduReceivedLog, formatApduSentLog } from \"@api/utils/apduLogs\";\nexport { ApplicationChecker } from \"@api/utils/ApplicationChecker\";\nexport {\n type AppConfig,\n type ApplicationResolver,\n type ResolvedApp,\n} from \"@api/utils/ApplicationResolver\";\nexport {\n base64StringToBuffer,\n bufferToBase64String,\n isBase64String,\n} from \"@api/utils/Base64String\";\nexport {\n bufferToHexaString,\n hexaStringToBuffer,\n isHexaString,\n} from \"@api/utils/HexaString\";\n"],
5
- "mappings": "AAEA,OAAS,QAAAA,MAAY,uBACrB,OAAS,oBAAAC,EAAkB,eAAAC,MAAmB,8BAC9C,OAAS,cAAAC,MAAkB,6BAC3B,WAAc,kCACd,OAAS,oBAAAC,MAAwB,mCACjC,OAAS,mBAAAC,MAAuB,kCAEhC,OACE,2CAAAC,EACA,8BAAAC,EACA,0BAAAC,MACK,sBACP,OACE,wBAAAC,EACA,uBAAAC,EACA,0BAAAC,MACK,mCACP,OAAS,mBAAAC,MAAuB,kCAChC,OACE,2BAAAC,MAEK,0CACP,OACE,iCAAAC,EACA,sCAAAC,MAIK,gDACP,OACE,qBAAAC,EAEA,2BAAAC,MAEK,0CACP,OACE,uBAAAC,MAEK,sCACP,OAEE,mBAAAC,MAGK,kCACP,OAEE,0BAAAC,MAEK,yCACP,OAEE,kBAAAC,MACK,iCACP,OAAS,sBAAAC,MAA0B,mCACnC,OAAS,gBAAAC,MAAoB,kCAC7B,OACE,iBAAAC,EACA,sBAAAC,EACA,6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OAAuB,uCAChC,OACE,gCAAAC,OAEK,oDACP,WAAc,8BACd,OAAS,4BAAAC,OAAgC,gDACzC,OAAS,8BAAAC,OAAkC,qDAC3C,WAAc,aACd,OAAS,yBAAAC,GAAuB,qBAAAC,OAAyB,sBACzD,OAAS,sBAAAC,OAA0B,gCAMnC,OACE,wBAAAC,GACA,wBAAAC,GACA,kBAAAC,OACK,0BACP,OACE,sBAAAC,GACA,sBAAAC,GACA,gBAAAC,OACK",
6
- "names": ["Apdu", "APDU_MAX_PAYLOAD", "ApduBuilder", "ApduParser", "ByteArrayBuilder", "ByteArrayParser", "InvalidGetFirmwareMetadataResponseError", "InvalidResponseFormatError", "InvalidStatusWordError", "CommandResultFactory", "CommandResultStatus", "isSuccessCommandResult", "CloseAppCommand", "GetAppAndVersionCommand", "GetBackgroundImageSizeCommand", "GetBackgroundImageSizeCommandError", "BatteryStatusType", "GetBatteryStatusCommand", "GetOsVersionCommand", "ListAppsCommand", "LoadCertificateCommand", "OpenAppCommand", "isCommandErrorCode", "CommandUtils", "GLOBAL_ERRORS", "GlobalCommandError", "GlobalCommandErrorHandler", "DeviceModel", "DeviceModelId", "LEDGER_VENDOR_ID", "DeviceStatus", "DeviceActionStatus", "UserInteractionRequired", "CallTaskInAppDeviceAction", "DEFAULT_UNLOCK_TIMEOUT_MS", "AppAlreadyInstalledDAError", "DeviceLockedError", "DeviceNotOnboardedError", "OutOfMemoryDAError", "RefusedByUserDAError", "UnknownDAError", "UnsupportedFirmwareDAError", "GetDeviceMetadataDeviceAction", "GetDeviceStatusDeviceAction", "GoToDashboardDeviceAction", "InstallOrUpdateAppsDeviceAction", "ListAppsDeviceAction", "ListAppsWithMetadataDeviceAction", "OpenAppDeviceAction", "OpenAppWithDependenciesDeviceAction", "SendCommandInAppDeviceAction", "XStateDeviceAction", "StaticDeviceModelDataSource", "BleDeviceInfos", "TransportDeviceModel", "ApduResponse", "DeviceSessionStateType", "GenuineCheckDeviceAction", "InstallAppDeviceAction", "ListInstalledAppsDeviceAction", "UninstallAppDeviceAction", "SecureChannelError", "defaultApduReceiverServiceStubBuilder", "defaultApduSenderServiceStubBuilder", "FramerUtils", "DeviceManagementKit", "DeviceManagementKitBuilder", "noopLogger", "noopLoggerFactory", "LogLevel", "ConsoleLogger", "DefaultLogTagFormatter", "WebLogsExporterLogger", "ConnectedDevice", "DeviceConnectionStateMachine", "TransportConnectedDevice", "connectedDeviceStubBuilder", "formatApduReceivedLog", "formatApduSentLog", "ApplicationChecker", "base64StringToBuffer", "bufferToBase64String", "isBase64String", "bufferToHexaString", "hexaStringToBuffer", "isHexaString"]
4
+ "sourcesContent": ["\"use strict\";\n\nexport { Apdu } from \"@api/apdu/model/Apdu\";\nexport { APDU_MAX_PAYLOAD, ApduBuilder } from \"@api/apdu/utils/ApduBuilder\";\nexport { ApduParser } from \"@api/apdu/utils/ApduParser\";\nexport * from \"@api/apdu/utils/AppBuilderError\";\nexport { ByteArrayBuilder } from \"@api/apdu/utils/ByteArrayBuilder\";\nexport { ByteArrayParser } from \"@api/apdu/utils/ByteArrayParser\";\nexport { type Command } from \"@api/command/Command\";\nexport {\n InvalidGetFirmwareMetadataResponseError,\n InvalidResponseFormatError,\n InvalidStatusWordError,\n} from \"@api/command/Errors\";\nexport {\n CommandResultFactory,\n CommandResultStatus,\n isSuccessCommandResult,\n} from \"@api/command/model/CommandResult\";\nexport {\n BackupStorageCommand,\n type BackupStorageCommandErrorCodes,\n type BackupStorageCommandResponse,\n type BackupStorageCommandResult,\n} from \"@api/command/os/BackupStorageCommand\";\nexport { CloseAppCommand } from \"@api/command/os/CloseAppCommand\";\nexport {\n GetAppAndVersionCommand,\n type GetAppAndVersionResponse,\n} from \"@api/command/os/GetAppAndVersionCommand\";\nexport {\n GetAppStorageInfoCommand,\n type GetAppStorageInfoCommandArgs,\n type GetAppStorageInfoCommandErrorCodes,\n type GetAppStorageInfoCommandResponse,\n type GetAppStorageInfoCommandResult,\n} from \"@api/command/os/GetAppStorageInfoCommand\";\nexport {\n GetBackgroundImageSizeCommand,\n GetBackgroundImageSizeCommandError,\n type GetBackgroundImageSizeCommandResult,\n type GetBackgroundImageSizeErrorCodes,\n type GetBackgroundImageSizeResponse,\n} from \"@api/command/os/GetBackgroundImageSizeCommand\";\nexport {\n BatteryStatusType,\n type GetBatteryStatusArgs,\n GetBatteryStatusCommand,\n type GetBatteryStatusResponse,\n} from \"@api/command/os/GetBatteryStatusCommand\";\nexport {\n GetOsVersionCommand,\n type GetOsVersionResponse,\n} from \"@api/command/os/GetOsVersionCommand\";\nexport {\n type ListAppsArgs,\n ListAppsCommand,\n type ListAppsErrorCodes,\n type ListAppsResponse,\n} from \"@api/command/os/ListAppsCommand\";\nexport {\n type LoadCertificateArgs,\n LoadCertificateCommand,\n type LoadCertificateErrorCodes,\n} from \"@api/command/os/LoadCertificateCommand\";\nexport {\n type OpenAppArgs,\n OpenAppCommand,\n} from \"@api/command/os/OpenAppCommand\";\nexport { isCommandErrorCode } from \"@api/command/utils/CommandErrors\";\nexport { CommandUtils } from \"@api/command/utils/CommandUtils\";\nexport {\n GLOBAL_ERRORS,\n GlobalCommandError,\n GlobalCommandErrorHandler,\n} from \"@api/command/utils/GlobalCommandError\";\nexport {\n DeviceModel,\n DeviceModelId,\n LEDGER_VENDOR_ID,\n} from \"@api/device/DeviceModel\";\nexport { DeviceStatus } from \"@api/device/DeviceStatus\";\nexport { type InternalApi } from \"@api/device-action/DeviceAction\";\nexport {\n type DeviceActionState,\n DeviceActionStatus,\n} from \"@api/device-action/model/DeviceActionState\";\nexport { UserInteractionRequired } from \"@api/device-action/model/UserInteractionRequired\";\nexport { CallTaskInAppDeviceAction } from \"@api/device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction\";\nexport { DEFAULT_UNLOCK_TIMEOUT_MS } from \"@api/device-action/os/Const\";\nexport {\n AppAlreadyInstalledDAError,\n DeviceLockedError,\n DeviceNotOnboardedError,\n OutOfMemoryDAError,\n RefusedByUserDAError,\n UnknownDAError,\n UnsupportedFirmwareDAError,\n} from \"@api/device-action/os/Errors\";\nexport { GetDeviceMetadataDeviceAction } from \"@api/device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction\";\nexport { GetDeviceStatusDeviceAction } from \"@api/device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction\";\nexport { GoToDashboardDeviceAction } from \"@api/device-action/os/GoToDashboard/GoToDashboardDeviceAction\";\nexport type {\n GoToDashboardDAError,\n GoToDashboardDAInput,\n GoToDashboardDAIntermediateValue,\n GoToDashboardDAOutput,\n GoToDashboardDARequiredInteraction,\n GoToDashboardDAState,\n} from \"@api/device-action/os/GoToDashboard/types\";\nexport { InstallOrUpdateAppsDeviceAction } from \"@api/device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction\";\nexport { ListAppsDeviceAction } from \"@api/device-action/os/ListApps/ListAppsDeviceAction\";\nexport { ListAppsWithMetadataDeviceAction } from \"@api/device-action/os/ListAppsWithMetadata/ListAppsWithMetadataDeviceAction\";\nexport { OpenAppDeviceAction } from \"@api/device-action/os/OpenAppDeviceAction/OpenAppDeviceAction\";\nexport { OpenAppWithDependenciesDeviceAction } from \"@api/device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction\";\nexport { SendCommandInAppDeviceAction } from \"@api/device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction\";\nexport {\n type DeviceActionStateMachine,\n XStateDeviceAction,\n} from \"@api/device-action/xstate-utils/XStateDeviceAction\";\nexport { StaticDeviceModelDataSource } from \"@api/device-model/data/StaticDeviceModelDataSource\";\nexport { BleDeviceInfos } from \"@api/device-model/model/BleDeviceInfos\";\nexport { TransportDeviceModel } from \"@api/device-model/model/DeviceModel\";\nexport { ApduResponse } from \"@api/device-session/ApduResponse\";\nexport * from \"@api/device-session/data/FramerConst\";\nexport {\n type DeviceSessionState,\n DeviceSessionStateType,\n} from \"@api/device-session/DeviceSessionState\";\nexport { GenuineCheckDeviceAction } from \"@api/secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction\";\nexport { InstallAppDeviceAction } from \"@api/secure-channel/device-action/InstallApp/InstallAppDeviceAction\";\nexport { ListInstalledAppsDeviceAction } from \"@api/secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction\";\nexport { UninstallAppDeviceAction } from \"@api/secure-channel/device-action/UninstallApp/UninstallAppDeviceAction\";\nexport { SecureChannelError } from \"@internal/secure-channel/model/Errors\";\n// TODO: remove from exported\nexport { defaultApduReceiverServiceStubBuilder } from \"@api/device-session/service/DefaultApduReceiverService.stub\";\nexport { defaultApduSenderServiceStubBuilder } from \"@api/device-session/service/DefaultApduSenderService.stub\";\nexport { FramerUtils } from \"@api/device-session/utils/FramerUtils\";\nexport { DeviceManagementKit } from \"@api/DeviceManagementKit\";\nexport { DeviceManagementKitBuilder } from \"@api/DeviceManagementKitBuilder\";\nexport * from \"@api/Error\";\nexport {\n noopLogger,\n noopLoggerFactory,\n} from \"@api/logger-publisher/utils/noopLoggerFactory\";\nexport { LogLevel } from \"@api/logger-subscriber/model/LogLevel\";\nexport { ConsoleLogger } from \"@api/logger-subscriber/service/ConsoleLogger\";\nexport { DefaultLogTagFormatter } from \"@api/logger-subscriber/service/DefaultLogTagFormatter\";\nexport { type LogTagFormatter } from \"@api/logger-subscriber/service/LogTagFormatter\";\nexport { WebLogsExporterLogger } from \"@api/logger-subscriber/service/WebLogsExporterLogger\";\nexport { ConnectedDevice } from \"@api/transport/model/ConnectedDevice\";\nexport {\n DeviceConnectionStateMachine,\n type DeviceConnectionStateMachineParams,\n} from \"@api/transport/model/DeviceConnectionStateMachine\";\nexport * from \"@api/transport/model/Errors\";\nexport { TransportConnectedDevice } from \"@api/transport/model/TransportConnectedDevice\";\nexport { connectedDeviceStubBuilder } from \"@api/transport/model/TransportConnectedDevice.stub\";\nexport * from \"@api/types\";\nexport { formatApduReceivedLog, formatApduSentLog } from \"@api/utils/apduLogs\";\nexport { ApplicationChecker } from \"@api/utils/ApplicationChecker\";\nexport {\n type AppConfig,\n type ApplicationResolver,\n type ResolvedApp,\n} from \"@api/utils/ApplicationResolver\";\nexport {\n base64StringToBuffer,\n bufferToBase64String,\n isBase64String,\n} from \"@api/utils/Base64String\";\nexport {\n bufferToHexaString,\n hexaStringToBuffer,\n isHexaString,\n} from \"@api/utils/HexaString\";\n"],
5
+ "mappings": "AAEA,OAAS,QAAAA,MAAY,uBACrB,OAAS,oBAAAC,EAAkB,eAAAC,MAAmB,8BAC9C,OAAS,cAAAC,MAAkB,6BAC3B,WAAc,kCACd,OAAS,oBAAAC,MAAwB,mCACjC,OAAS,mBAAAC,MAAuB,kCAEhC,OACE,2CAAAC,EACA,8BAAAC,EACA,0BAAAC,MACK,sBACP,OACE,wBAAAC,EACA,uBAAAC,EACA,0BAAAC,MACK,mCACP,OACE,wBAAAC,MAIK,uCACP,OAAS,mBAAAC,MAAuB,kCAChC,OACE,2BAAAC,MAEK,0CACP,OACE,4BAAAC,MAKK,2CACP,OACE,iCAAAC,EACA,sCAAAC,MAIK,gDACP,OACE,qBAAAC,EAEA,2BAAAC,MAEK,0CACP,OACE,uBAAAC,MAEK,sCACP,OAEE,mBAAAC,MAGK,kCACP,OAEE,0BAAAC,MAEK,yCACP,OAEE,kBAAAC,MACK,iCACP,OAAS,sBAAAC,MAA0B,mCACnC,OAAS,gBAAAC,MAAoB,kCAC7B,OACE,iBAAAC,EACA,sBAAAC,EACA,6BAAAC,MACK,wCACP,OACE,eAAAC,EACA,iBAAAC,EACA,oBAAAC,OACK,0BACP,OAAS,gBAAAC,OAAoB,2BAE7B,OAEE,sBAAAC,OACK,6CACP,OAAS,2BAAAC,OAA+B,mDACxC,OAAS,6BAAAC,OAAiC,4EAC1C,OAAS,6BAAAC,OAAiC,8BAC1C,OACE,8BAAAC,GACA,qBAAAC,GACA,2BAAAC,GACA,sBAAAC,GACA,wBAAAC,GACA,kBAAAC,GACA,8BAAAC,OACK,+BACP,OAAS,iCAAAC,OAAqC,wEAC9C,OAAS,+BAAAC,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ilder", "ByteArrayParser", "InvalidGetFirmwareMetadataResponseError", "InvalidResponseFormatError", "InvalidStatusWordError", "CommandResultFactory", "CommandResultStatus", "isSuccessCommandResult", "BackupStorageCommand", "CloseAppCommand", "GetAppAndVersionCommand", "GetAppStorageInfoCommand", "GetBackgroundImageSizeCommand", "GetBackgroundImageSizeCommandError", "BatteryStatusType", "GetBatteryStatusCommand", "GetOsVersionCommand", "ListAppsCommand", "LoadCertificateCommand", "OpenAppCommand", "isCommandErrorCode", "CommandUtils", "GLOBAL_ERRORS", "GlobalCommandError", "GlobalCommandErrorHandler", "DeviceModel", "DeviceModelId", "LEDGER_VENDOR_ID", "DeviceStatus", "DeviceActionStatus", "UserInteractionRequired", "CallTaskInAppDeviceAction", "DEFAULT_UNLOCK_TIMEOUT_MS", "AppAlreadyInstalledDAError", "DeviceLockedError", "DeviceNotOnboardedError", "OutOfMemoryDAError", "RefusedByUserDAError", "UnknownDAError", "UnsupportedFirmwareDAError", "GetDeviceMetadataDeviceAction", "GetDeviceStatusDeviceAction", "GoToDashboardDeviceAction", "InstallOrUpdateAppsDeviceAction", "ListAppsDeviceAction", "ListAppsWithMetadataDeviceAction", "OpenAppDeviceAction", "OpenAppWithDependenciesDeviceAction", "SendCommandInAppDeviceAction", "XStateDeviceAction", "StaticDeviceModelDataSource", "BleDeviceInfos", "TransportDeviceModel", "ApduResponse", "DeviceSessionStateType", "GenuineCheckDeviceAction", "InstallAppDeviceAction", "ListInstalledAppsDeviceAction", "UninstallAppDeviceAction", "SecureChannelError", "defaultApduReceiverServiceStubBuilder", "defaultApduSenderServiceStubBuilder", "FramerUtils", "DeviceManagementKit", "DeviceManagementKitBuilder", "noopLogger", "noopLoggerFactory", "LogLevel", "ConsoleLogger", "DefaultLogTagFormatter", "WebLogsExporterLogger", "ConnectedDevice", "DeviceConnectionStateMachine", "TransportConnectedDevice", "connectedDeviceStubBuilder", "formatApduReceivedLog", "formatApduSentLog", "ApplicationChecker", "base64StringToBuffer", "bufferToBase64String", "isBase64String", "bufferToHexaString", "hexaStringToBuffer", "isHexaString"]
7
7
  }
@@ -0,0 +1,23 @@
1
+ import { type Apdu } from "../../apdu/model/Apdu";
2
+ import { type Command } from "../../command/Command";
3
+ import { type CommandResult } from "../../command/model/CommandResult";
4
+ import { type CommandErrors } from "../../command/utils/CommandErrors";
5
+ import { type ApduResponse } from "../../device-session/ApduResponse";
6
+ import { type CommandErrorArgs, DeviceExchangeError } from "../../Error";
7
+ export type BackupStorageCommandResponse = {
8
+ chunkData: Uint8Array;
9
+ chunkSize: number;
10
+ };
11
+ export type BackupStorageCommandErrorCodes = "5123" | "5419" | "541a" | "541b" | "541c" | "622f" | "6642";
12
+ export declare const BACKUP_STORAGE_ERRORS: CommandErrors<BackupStorageCommandErrorCodes>;
13
+ export declare class BackupStorageCommandError extends DeviceExchangeError<BackupStorageCommandErrorCodes> {
14
+ constructor(args: CommandErrorArgs<BackupStorageCommandErrorCodes>);
15
+ }
16
+ export type BackupStorageCommandResult = CommandResult<BackupStorageCommandResponse, BackupStorageCommandErrorCodes>;
17
+ export declare class BackupStorageCommand implements Command<BackupStorageCommandResponse, void, BackupStorageCommandErrorCodes> {
18
+ readonly name = "BackupStorage";
19
+ private readonly header;
20
+ getApdu(): Apdu;
21
+ parseResponse(apduResponse: ApduResponse): BackupStorageCommandResult;
22
+ }
23
+ //# sourceMappingURL=BackupStorageCommand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackupStorageCommand.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/os/BackupStorageCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,KAAK,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAExE,MAAM,MAAM,4BAA4B,GAAG;IACzC,SAAS,EAAE,UAAU,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GACtC,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,CAAC;AAEX,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,8BAA8B,CAS7E,CAAC;AAEJ,qBAAa,yBAA0B,SAAQ,mBAAmB,CAAC,8BAA8B,CAAC;gBACpF,IAAI,EAAE,gBAAgB,CAAC,8BAA8B,CAAC;CAGnE;AAED,MAAM,MAAM,0BAA0B,GAAG,aAAa,CACpD,4BAA4B,EAC5B,8BAA8B,CAC/B,CAAC;AAEF,qBAAa,oBACX,YACE,OAAO,CAAC,4BAA4B,EAAE,IAAI,EAAE,8BAA8B,CAAC;IAE7E,QAAQ,CAAC,IAAI,mBAAmB;IAEhC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAKrB;IAEF,OAAO,IAAI,IAAI;IAIf,aAAa,CAAC,YAAY,EAAE,YAAY,GAAG,0BAA0B;CAqCtE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BackupStorageCommand.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackupStorageCommand.test.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/os/BackupStorageCommand.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ import { type Apdu } from "../../apdu/model/Apdu";
2
+ import { type Command } from "../../command/Command";
3
+ import { type CommandResult } from "../../command/model/CommandResult";
4
+ import { type CommandErrors } from "../../command/utils/CommandErrors";
5
+ import { type ApduResponse } from "../../device-session/ApduResponse";
6
+ import { type CommandErrorArgs, DeviceExchangeError } from "../../Error";
7
+ export type GetAppStorageInfoCommandArgs = {
8
+ appName: string;
9
+ };
10
+ export type GetAppStorageInfoCommandResponse = {
11
+ storageSize: number;
12
+ storageVersion: string;
13
+ hasSettings: boolean;
14
+ hasData: boolean;
15
+ storageHash: string;
16
+ };
17
+ export type GetAppStorageInfoCommandErrorCodes = "5123" | "662f" | "670a";
18
+ export declare const GET_APP_STORAGE_INFO_ERRORS: CommandErrors<GetAppStorageInfoCommandErrorCodes>;
19
+ export declare class GetAppStorageInfoCommandError extends DeviceExchangeError<GetAppStorageInfoCommandErrorCodes> {
20
+ constructor(args: CommandErrorArgs<GetAppStorageInfoCommandErrorCodes>);
21
+ }
22
+ export type GetAppStorageInfoCommandResult = CommandResult<GetAppStorageInfoCommandResponse, GetAppStorageInfoCommandErrorCodes>;
23
+ export declare class GetAppStorageInfoCommand implements Command<GetAppStorageInfoCommandResponse, GetAppStorageInfoCommandArgs, GetAppStorageInfoCommandErrorCodes> {
24
+ private readonly args;
25
+ readonly name = "GetAppStorageInfo";
26
+ private readonly header;
27
+ constructor(args: GetAppStorageInfoCommandArgs);
28
+ getApdu(): Apdu;
29
+ parseResponse(apduResponse: ApduResponse): GetAppStorageInfoCommandResult;
30
+ }
31
+ //# sourceMappingURL=GetAppStorageInfoCommand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetAppStorageInfoCommand.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/os/GetAppStorageInfoCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAGtE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,KAAK,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAExE,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAE1E,eAAO,MAAM,2BAA2B,EAAE,aAAa,CAAC,kCAAkC,CAKvF,CAAC;AAEJ,qBAAa,6BAA8B,SAAQ,mBAAmB,CAAC,kCAAkC,CAAC;gBAC5F,IAAI,EAAE,gBAAgB,CAAC,kCAAkC,CAAC;CAGvE;AAED,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD,gCAAgC,EAChC,kCAAkC,CACnC,CAAC;AAEF,qBAAa,wBACX,YACE,OAAO,CACL,gCAAgC,EAChC,4BAA4B,EAC5B,kCAAkC,CACnC;IAWS,OAAO,CAAC,QAAQ,CAAC,IAAI;IATjC,QAAQ,CAAC,IAAI,uBAAuB;IAEpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAKrB;gBAE2B,IAAI,EAAE,4BAA4B;IAE/D,OAAO,IAAI,IAAI;IAKf,aAAa,CAAC,YAAY,EAAE,YAAY,GAAG,8BAA8B;CAoE1E"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GetAppStorageInfoCommand.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetAppStorageInfoCommand.test.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/os/GetAppStorageInfoCommand.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ import { type CommandResult } from "../../command/model/CommandResult";
2
+ import { type BackupStorageCommandErrorCodes } from "../../command/os/BackupStorageCommand";
3
+ import { type GetAppStorageInfoCommandErrorCodes } from "../../command/os/GetAppStorageInfoCommand";
4
+ import { type InternalApi } from "../../device-action/DeviceAction";
5
+ import { type LoggerPublisherService } from "../../logger-publisher/service/LoggerPublisherService";
6
+ import { type HexaString } from "../../utils/HexaString";
7
+ type BackupAppStorageTaskArgs = {
8
+ appName: string;
9
+ };
10
+ export type BackupAppStorageTaskResponse = {
11
+ appStorageData: HexaString;
12
+ };
13
+ export type BackupAppStorageTaskErrorCodes = GetAppStorageInfoCommandErrorCodes | BackupStorageCommandErrorCodes;
14
+ export declare class BackupAppStorageTask {
15
+ private readonly args;
16
+ private readonly api;
17
+ private readonly logger;
18
+ constructor(args: BackupAppStorageTaskArgs, api: InternalApi, logger: LoggerPublisherService);
19
+ run(): Promise<CommandResult<BackupAppStorageTaskResponse, BackupAppStorageTaskErrorCodes>>;
20
+ }
21
+ export {};
22
+ //# sourceMappingURL=BackupAppStorageTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackupAppStorageTask.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/task/BackupAppStorageTask.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAGnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAEL,KAAK,kCAAkC,EACxC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAE5E,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,cAAc,EAAE,UAAU,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,8BAA8B,GACtC,kCAAkC,GAClC,8BAA8B,CAAC;AAEnC,qBAAa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAFN,IAAI,EAAE,wBAAwB,EAC9B,GAAG,EAAE,WAAW,EAChB,MAAM,EAAE,sBAAsB;IAGpC,GAAG,IAAI,OAAO,CACzB,aAAa,CAAC,4BAA4B,EAAE,8BAA8B,CAAC,CAC5E;CA0DF"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BackupAppStorageTask.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackupAppStorageTask.test.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/task/BackupAppStorageTask.test.ts"],"names":[],"mappings":""}
@@ -7,8 +7,10 @@ export { ByteArrayParser } from "./apdu/utils/ByteArrayParser";
7
7
  export { type Command } from "./command/Command";
8
8
  export { InvalidGetFirmwareMetadataResponseError, InvalidResponseFormatError, InvalidStatusWordError, } from "./command/Errors";
9
9
  export { CommandResultFactory, CommandResultStatus, isSuccessCommandResult, } from "./command/model/CommandResult";
10
+ export { BackupStorageCommand, type BackupStorageCommandErrorCodes, type BackupStorageCommandResponse, type BackupStorageCommandResult, } from "./command/os/BackupStorageCommand";
10
11
  export { CloseAppCommand } from "./command/os/CloseAppCommand";
11
12
  export { GetAppAndVersionCommand, type GetAppAndVersionResponse, } from "./command/os/GetAppAndVersionCommand";
13
+ export { GetAppStorageInfoCommand, type GetAppStorageInfoCommandArgs, type GetAppStorageInfoCommandErrorCodes, type GetAppStorageInfoCommandResponse, type GetAppStorageInfoCommandResult, } from "./command/os/GetAppStorageInfoCommand";
12
14
  export { GetBackgroundImageSizeCommand, GetBackgroundImageSizeCommandError, type GetBackgroundImageSizeCommandResult, type GetBackgroundImageSizeErrorCodes, type GetBackgroundImageSizeResponse, } from "./command/os/GetBackgroundImageSizeCommand";
13
15
  export { BatteryStatusType, type GetBatteryStatusArgs, GetBatteryStatusCommand, type GetBatteryStatusResponse, } from "./command/os/GetBatteryStatusCommand";
14
16
  export { GetOsVersionCommand, type GetOsVersionResponse, } from "./command/os/GetOsVersionCommand";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EACL,uCAAuC,EACvC,0BAA0B,EAC1B,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,KAAK,wBAAwB,GAC9B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,6BAA6B,EAC7B,kCAAkC,EAClC,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,GACpC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,iBAAiB,EACjB,KAAK,oBAAoB,EACzB,uBAAuB,EACvB,KAAK,wBAAwB,GAC9B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,mBAAmB,EACnB,KAAK,oBAAoB,GAC1B,MAAM,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