@ledgerhq/device-management-kit 0.0.0-develop-20260707161641 → 0.0.0-develop-20260709002855

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 (94) hide show
  1. package/lib/cjs/package.json +1 -1
  2. package/lib/cjs/src/api/index.js +1 -1
  3. package/lib/cjs/src/api/index.js.map +3 -3
  4. package/lib/esm/package.json +1 -1
  5. package/lib/esm/src/api/index.js +1 -1
  6. package/lib/esm/src/api/index.js.map +3 -3
  7. package/lib/types/src/api/index.d.ts +0 -7
  8. package/lib/types/src/api/index.d.ts.map +1 -1
  9. package/lib/types/tsconfig.prod.tsbuildinfo +1 -1
  10. package/package.json +4 -4
  11. package/lib/cjs/src/api/command/os/BackupAppStorageCommand.js +0 -2
  12. package/lib/cjs/src/api/command/os/BackupAppStorageCommand.js.map +0 -7
  13. package/lib/cjs/src/api/command/os/BackupAppStorageCommand.test.js +0 -2
  14. package/lib/cjs/src/api/command/os/BackupAppStorageCommand.test.js.map +0 -7
  15. package/lib/cjs/src/api/command/os/CommitRestoreAppStorageCommand.js +0 -2
  16. package/lib/cjs/src/api/command/os/CommitRestoreAppStorageCommand.js.map +0 -7
  17. package/lib/cjs/src/api/command/os/CommitRestoreAppStorageCommand.test.js +0 -2
  18. package/lib/cjs/src/api/command/os/CommitRestoreAppStorageCommand.test.js.map +0 -7
  19. package/lib/cjs/src/api/command/os/GetAppStorageInfoCommand.js +0 -2
  20. package/lib/cjs/src/api/command/os/GetAppStorageInfoCommand.js.map +0 -7
  21. package/lib/cjs/src/api/command/os/GetAppStorageInfoCommand.test.js +0 -2
  22. package/lib/cjs/src/api/command/os/GetAppStorageInfoCommand.test.js.map +0 -7
  23. package/lib/cjs/src/api/command/os/InitRestoreAppStorageCommand.js +0 -2
  24. package/lib/cjs/src/api/command/os/InitRestoreAppStorageCommand.js.map +0 -7
  25. package/lib/cjs/src/api/command/os/InitRestoreAppStorageCommand.test.js +0 -2
  26. package/lib/cjs/src/api/command/os/InitRestoreAppStorageCommand.test.js.map +0 -7
  27. package/lib/cjs/src/api/command/os/RestoreAppStorageCommand.js +0 -2
  28. package/lib/cjs/src/api/command/os/RestoreAppStorageCommand.js.map +0 -7
  29. package/lib/cjs/src/api/command/os/RestoreAppStorageCommand.test.js +0 -2
  30. package/lib/cjs/src/api/command/os/RestoreAppStorageCommand.test.js.map +0 -7
  31. package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.js +0 -2
  32. package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.js.map +0 -7
  33. package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.test.js +0 -2
  34. package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.test.js.map +0 -7
  35. package/lib/cjs/src/api/device-action/task/RestoreAppStorageTask.js +0 -2
  36. package/lib/cjs/src/api/device-action/task/RestoreAppStorageTask.js.map +0 -7
  37. package/lib/cjs/src/api/device-action/task/RestoreAppStorageTask.test.js +0 -2
  38. package/lib/cjs/src/api/device-action/task/RestoreAppStorageTask.test.js.map +0 -7
  39. package/lib/esm/src/api/command/os/BackupAppStorageCommand.js +0 -2
  40. package/lib/esm/src/api/command/os/BackupAppStorageCommand.js.map +0 -7
  41. package/lib/esm/src/api/command/os/BackupAppStorageCommand.test.js +0 -2
  42. package/lib/esm/src/api/command/os/BackupAppStorageCommand.test.js.map +0 -7
  43. package/lib/esm/src/api/command/os/CommitRestoreAppStorageCommand.js +0 -2
  44. package/lib/esm/src/api/command/os/CommitRestoreAppStorageCommand.js.map +0 -7
  45. package/lib/esm/src/api/command/os/CommitRestoreAppStorageCommand.test.js +0 -2
  46. package/lib/esm/src/api/command/os/CommitRestoreAppStorageCommand.test.js.map +0 -7
  47. package/lib/esm/src/api/command/os/GetAppStorageInfoCommand.js +0 -2
  48. package/lib/esm/src/api/command/os/GetAppStorageInfoCommand.js.map +0 -7
  49. package/lib/esm/src/api/command/os/GetAppStorageInfoCommand.test.js +0 -2
  50. package/lib/esm/src/api/command/os/GetAppStorageInfoCommand.test.js.map +0 -7
  51. package/lib/esm/src/api/command/os/InitRestoreAppStorageCommand.js +0 -2
  52. package/lib/esm/src/api/command/os/InitRestoreAppStorageCommand.js.map +0 -7
  53. package/lib/esm/src/api/command/os/InitRestoreAppStorageCommand.test.js +0 -2
  54. package/lib/esm/src/api/command/os/InitRestoreAppStorageCommand.test.js.map +0 -7
  55. package/lib/esm/src/api/command/os/RestoreAppStorageCommand.js +0 -2
  56. package/lib/esm/src/api/command/os/RestoreAppStorageCommand.js.map +0 -7
  57. package/lib/esm/src/api/command/os/RestoreAppStorageCommand.test.js +0 -2
  58. package/lib/esm/src/api/command/os/RestoreAppStorageCommand.test.js.map +0 -7
  59. package/lib/esm/src/api/device-action/task/BackupAppStorageTask.js +0 -2
  60. package/lib/esm/src/api/device-action/task/BackupAppStorageTask.js.map +0 -7
  61. package/lib/esm/src/api/device-action/task/BackupAppStorageTask.test.js +0 -2
  62. package/lib/esm/src/api/device-action/task/BackupAppStorageTask.test.js.map +0 -7
  63. package/lib/esm/src/api/device-action/task/RestoreAppStorageTask.js +0 -2
  64. package/lib/esm/src/api/device-action/task/RestoreAppStorageTask.js.map +0 -7
  65. package/lib/esm/src/api/device-action/task/RestoreAppStorageTask.test.js +0 -2
  66. package/lib/esm/src/api/device-action/task/RestoreAppStorageTask.test.js.map +0 -7
  67. package/lib/types/src/api/command/os/BackupAppStorageCommand.d.ts +0 -23
  68. package/lib/types/src/api/command/os/BackupAppStorageCommand.d.ts.map +0 -1
  69. package/lib/types/src/api/command/os/BackupAppStorageCommand.test.d.ts +0 -2
  70. package/lib/types/src/api/command/os/BackupAppStorageCommand.test.d.ts.map +0 -1
  71. package/lib/types/src/api/command/os/CommitRestoreAppStorageCommand.d.ts +0 -19
  72. package/lib/types/src/api/command/os/CommitRestoreAppStorageCommand.d.ts.map +0 -1
  73. package/lib/types/src/api/command/os/CommitRestoreAppStorageCommand.test.d.ts +0 -2
  74. package/lib/types/src/api/command/os/CommitRestoreAppStorageCommand.test.d.ts.map +0 -1
  75. package/lib/types/src/api/command/os/GetAppStorageInfoCommand.d.ts +0 -31
  76. package/lib/types/src/api/command/os/GetAppStorageInfoCommand.d.ts.map +0 -1
  77. package/lib/types/src/api/command/os/GetAppStorageInfoCommand.test.d.ts +0 -2
  78. package/lib/types/src/api/command/os/GetAppStorageInfoCommand.test.d.ts.map +0 -1
  79. package/lib/types/src/api/command/os/InitRestoreAppStorageCommand.d.ts +0 -25
  80. package/lib/types/src/api/command/os/InitRestoreAppStorageCommand.d.ts.map +0 -1
  81. package/lib/types/src/api/command/os/InitRestoreAppStorageCommand.test.d.ts +0 -2
  82. package/lib/types/src/api/command/os/InitRestoreAppStorageCommand.test.d.ts.map +0 -1
  83. package/lib/types/src/api/command/os/RestoreAppStorageCommand.d.ts +0 -24
  84. package/lib/types/src/api/command/os/RestoreAppStorageCommand.d.ts.map +0 -1
  85. package/lib/types/src/api/command/os/RestoreAppStorageCommand.test.d.ts +0 -2
  86. package/lib/types/src/api/command/os/RestoreAppStorageCommand.test.d.ts.map +0 -1
  87. package/lib/types/src/api/device-action/task/BackupAppStorageTask.d.ts +0 -23
  88. package/lib/types/src/api/device-action/task/BackupAppStorageTask.d.ts.map +0 -1
  89. package/lib/types/src/api/device-action/task/BackupAppStorageTask.test.d.ts +0 -2
  90. package/lib/types/src/api/device-action/task/BackupAppStorageTask.test.d.ts.map +0 -1
  91. package/lib/types/src/api/device-action/task/RestoreAppStorageTask.d.ts +0 -17
  92. package/lib/types/src/api/device-action/task/RestoreAppStorageTask.d.ts.map +0 -1
  93. package/lib/types/src/api/device-action/task/RestoreAppStorageTask.test.d.ts +0 -2
  94. package/lib/types/src/api/device-action/task/RestoreAppStorageTask.test.d.ts.map +0 -1
@@ -62,5 +62,5 @@
62
62
  "watch:builds": "pnpm ldmk-tool watch --entryPoints index.ts,src/**/*.ts --tsconfig tsconfig.prod.json",
63
63
  "watch:types": "concurrently \"tsc --watch -p tsconfig.prod.json\" \"tsc-alias --watch -p tsconfig.prod.json\""
64
64
  },
65
- "version": "0.0.0-develop-20260707161641"
65
+ "version": "0.0.0-develop-20260709002855"
66
66
  }
@@ -1,2 +1,2 @@
1
- "use strict";var E=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var Fe=Object.getOwnPropertyNames;var Me=Object.prototype.hasOwnProperty;var Ve=(p,t)=>{for(var a in t)E(p,a,{get:t[a],enumerable:!0})},L=(p,t,a,I)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of Fe(t))!Me.call(p,c)&&c!==a&&E(p,c,{get:()=>t[c],enumerable:!(I=Oe(t,c))||I.enumerable});return p},o=(p,t,a)=>(L(p,t,"default"),a&&L(a,t,"default"));var Ue=p=>L(E({},"__esModule",{value:!0}),p);var e={};Ve(e,{APDU_MAX_PAYLOAD:()=>f.APDU_MAX_PAYLOAD,Apdu:()=>G.Apdu,ApduBuilder:()=>f.ApduBuilder,ApduParser:()=>B.ApduParser,ApduResponse:()=>de.ApduResponse,AppAlreadyInstalledDAError:()=>r.AppAlreadyInstalledDAError,ApplicationChecker:()=>be.ApplicationChecker,BackupAppStorageCommand:()=>b.BackupAppStorageCommand,BackupAppStorageTask:()=>pe.BackupAppStorageTask,BatteryStatusType:()=>C.BatteryStatusType,BleDeviceInfos:()=>se.BleDeviceInfos,ByteArrayBuilder:()=>T.ByteArrayBuilder,ByteArrayParser:()=>P.ByteArrayParser,CallTaskInAppDeviceAction:()=>H.CallTaskInAppDeviceAction,CloseAppCommand:()=>h.CloseAppCommand,CommandResultFactory:()=>m.CommandResultFactory,CommandResultStatus:()=>m.CommandResultStatus,CommandUtils:()=>_.CommandUtils,CommitRestoreAppStorageCommand:()=>u.CommitRestoreAppStorageCommand,CommitRestoreAppStorageCommandError:()=>u.CommitRestoreAppStorageCommandError,ConnectedDevice:()=>Ge.ConnectedDevice,ConsoleLogger:()=>ve.ConsoleLogger,DEFAULT_UNLOCK_TIMEOUT_MS:()=>K.DEFAULT_UNLOCK_TIMEOUT_MS,DefaultLogTagFormatter:()=>ke.DefaultLogTagFormatter,DeleteLanguagePackCommand:()=>x.DeleteLanguagePackCommand,DeleteLanguagePackCommandError:()=>x.DeleteLanguagePackCommandError,DeleteLanguagePackDAError:()=>r.DeleteLanguagePackDAError,DeviceActionStatus:()=>z.DeviceActionStatus,DeviceConnectionStateMachine:()=>Be.DeviceConnectionStateMachine,DeviceLockedError:()=>r.DeviceLockedError,DeviceManagementKit:()=>ye.DeviceManagementKit,DeviceManagementKitBuilder:()=>Se.DeviceManagementKitBuilder,DeviceModel:()=>s.DeviceModel,DeviceModelId:()=>s.DeviceModelId,DeviceNotOnboardedError:()=>r.DeviceNotOnboardedError,DeviceSessionStateType:()=>Ae.DeviceSessionStateType,DeviceStatus:()=>w.DeviceStatus,DmkNetworkClient:()=>Ee.DmkNetworkClient,DmkNetworkClientError:()=>Ie.DmkNetworkClientError,DmkResultFactory:()=>i.DmkResultFactory,DmkResultStatus:()=>i.DmkResultStatus,FramerUtils:()=>le.FramerUtils,GLOBAL_ERRORS:()=>n.GLOBAL_ERRORS,GenuineCheckDeviceAction:()=>ce.GenuineCheckDeviceAction,GetAppAndVersionCommand:()=>O.GetAppAndVersionCommand,GetAppStorageInfoCommand:()=>F.GetAppStorageInfoCommand,GetApplicationsMetadataTaskError:()=>R.GetApplicationsMetadataTaskError,GetBackgroundImageSizeCommand:()=>D.GetBackgroundImageSizeCommand,GetBackgroundImageSizeCommandError:()=>D.GetBackgroundImageSizeCommandError,GetBatteryStatusCommand:()=>C.GetBatteryStatusCommand,GetDeviceMetadataDeviceAction:()=>Q.GetDeviceMetadataDeviceAction,GetDeviceStatusDeviceAction:()=>X.GetDeviceStatusDeviceAction,GetOsVersionCommand:()=>M.GetOsVersionCommand,GlobalCommandError:()=>n.GlobalCommandError,GlobalCommandErrorHandler:()=>n.GlobalCommandErrorHandler,GoToDashboardDeviceAction:()=>Y.GoToDashboardDeviceAction,InitRestoreAppStorageCommand:()=>l.InitRestoreAppStorageCommand,InitRestoreAppStorageCommandError:()=>l.InitRestoreAppStorageCommandError,InstallAppDeviceAction:()=>fe.InstallAppDeviceAction,InstallLanguagePackageDeviceAction:()=>j.InstallLanguagePackageDeviceAction,InstallOrUpdateAppsDeviceAction:()=>J.InstallOrUpdateAppsDeviceAction,InvalidGetFirmwareMetadataResponseError:()=>R.InvalidGetFirmwareMetadataResponseError,InvalidResponseFormatError:()=>g.InvalidResponseFormatError,InvalidStatusWordError:()=>g.InvalidStatusWordError,LEDGER_VENDOR_ID:()=>s.LEDGER_VENDOR_ID,ListAppsCommand:()=>V.ListAppsCommand,ListAppsDeviceAction:()=>Z.ListAppsDeviceAction,ListAppsWithMetadataDeviceAction:()=>$.ListAppsWithMetadataDeviceAction,ListInstalledAppsDeviceAction:()=>ge.ListInstalledAppsDeviceAction,ListLanguagePackCommand:()=>y.ListLanguagePackCommand,ListLanguagePackCommandError:()=>y.ListLanguagePackCommandError,LoadCertificateCommand:()=>U.LoadCertificateCommand,LogLevel:()=>Re.LogLevel,OpenAppCommand:()=>W.OpenAppCommand,OpenAppDeviceAction:()=>ee.OpenAppDeviceAction,OpenAppWithDependenciesDeviceAction:()=>oe.OpenAppWithDependenciesDeviceAction,OutOfMemoryDAError:()=>r.OutOfMemoryDAError,RefusedByUserDAError:()=>r.RefusedByUserDAError,RestoreAppStorageCommand:()=>S.RestoreAppStorageCommand,RestoreAppStorageCommandError:()=>S.RestoreAppStorageCommandError,RestoreAppStorageTask:()=>ae.RestoreAppStorageTask,SecureChannelError:()=>xe.SecureChannelError,SendCommandInAppDeviceAction:()=>re.SendCommandInAppDeviceAction,StaticDeviceModelDataSource:()=>ne.StaticDeviceModelDataSource,TransportConnectedDevice:()=>Te.TransportConnectedDevice,TransportDeviceModel:()=>ie.TransportDeviceModel,UninstallAppDeviceAction:()=>ue.UninstallAppDeviceAction,UnknownDAError:()=>r.UnknownDAError,UnsupportedFirmwareDAError:()=>r.UnsupportedFirmwareDAError,UserInteractionRequired:()=>q.UserInteractionRequired,WaitForAppAndVersionDeviceAction:()=>te.WaitForAppAndVersionDeviceAction,WebLogsExporterLogger:()=>Le.WebLogsExporterLogger,XStateDeviceAction:()=>me.XStateDeviceAction,base64StringToBuffer:()=>d.base64StringToBuffer,bufferToBase64String:()=>d.bufferToBase64String,bufferToHexaString:()=>A.bufferToHexaString,connectedDeviceStubBuilder:()=>Pe.connectedDeviceStubBuilder,defaultApduReceiverServiceStubBuilder:()=>De.defaultApduReceiverServiceStubBuilder,defaultApduSenderServiceStubBuilder:()=>Ce.defaultApduSenderServiceStubBuilder,formatApduReceivedLog:()=>k.formatApduReceivedLog,formatApduSentLog:()=>k.formatApduSentLog,hexaStringToBuffer:()=>A.hexaStringToBuffer,isBase64String:()=>d.isBase64String,isCommandErrorCode:()=>N.isCommandErrorCode,isDashboardName:()=>he.isDashboardName,isHexaString:()=>A.isHexaString,isSuccessCommandResult:()=>m.isSuccessCommandResult,isSuccessDmkResult:()=>i.isSuccessDmkResult,noopLogger:()=>v.noopLogger,noopLoggerFactory:()=>v.noopLoggerFactory});module.exports=Ue(e);var G=require("./apdu/model/Apdu"),f=require("./apdu/utils/ApduBuilder"),B=require("./apdu/utils/ApduParser");o(e,require("./apdu/utils/AppBuilderError"),module.exports);var T=require("./apdu/utils/ByteArrayBuilder"),P=require("./apdu/utils/ByteArrayParser"),g=require("./command/Errors"),m=require("./command/model/CommandResult"),b=require("./command/os/BackupAppStorageCommand"),h=require("./command/os/CloseAppCommand"),u=require("./command/os/CommitRestoreAppStorageCommand"),x=require("./command/os/DeleteLanguagePackCommand"),O=require("./command/os/GetAppAndVersionCommand"),F=require("./command/os/GetAppStorageInfoCommand"),D=require("./command/os/GetBackgroundImageSizeCommand"),C=require("./command/os/GetBatteryStatusCommand"),M=require("./command/os/GetOsVersionCommand"),l=require("./command/os/InitRestoreAppStorageCommand"),V=require("./command/os/ListAppsCommand"),y=require("./command/os/ListLanguagePackCommand"),U=require("./command/os/LoadCertificateCommand"),W=require("./command/os/OpenAppCommand"),S=require("./command/os/RestoreAppStorageCommand"),N=require("./command/utils/CommandErrors"),_=require("./command/utils/CommandUtils"),n=require("./command/utils/GlobalCommandError"),s=require("./device/DeviceModel"),w=require("./device/DeviceStatus"),z=require("./device-action/model/DeviceActionState"),q=require("./device-action/model/UserInteractionRequired"),H=require("./device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction"),K=require("./device-action/os/Const"),r=require("./device-action/os/Errors"),Q=require("./device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction"),X=require("./device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction"),Y=require("./device-action/os/GoToDashboard/GoToDashboardDeviceAction"),j=require("./device-action/os/InstallLanguagePackage/InstallLanguagePackageDeviceAction"),J=require("./device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction"),Z=require("./device-action/os/ListApps/ListAppsDeviceAction"),$=require("./device-action/os/ListAppsWithMetadata/ListAppsWithMetadataDeviceAction"),ee=require("./device-action/os/OpenAppDeviceAction/OpenAppDeviceAction"),oe=require("./device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction"),re=require("./device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction"),te=require("./device-action/os/WaitForAppAndVersion/WaitForAppAndVersionDeviceAction"),pe=require("./device-action/task/BackupAppStorageTask"),R=require("./device-action/task/Errors"),ae=require("./device-action/task/RestoreAppStorageTask"),me=require("./device-action/xstate-utils/XStateDeviceAction"),ne=require("./device-model/data/StaticDeviceModelDataSource"),se=require("./device-model/model/BleDeviceInfos"),ie=require("./device-model/model/DeviceModel"),de=require("./device-session/ApduResponse");o(e,require("./device-session/data/FramerConst"),module.exports);var Ae=require("./device-session/DeviceSessionState"),i=require("./model/DmkResult"),ce=require("./secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction"),fe=require("./secure-channel/device-action/InstallApp/InstallAppDeviceAction"),ge=require("./secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction"),ue=require("./secure-channel/device-action/UninstallApp/UninstallAppDeviceAction"),xe=require("../internal/secure-channel/model/Errors"),De=require("./device-session/service/DefaultApduReceiverService.stub"),Ce=require("./device-session/service/DefaultApduSenderService.stub"),le=require("./device-session/utils/FramerUtils"),ye=require("./DeviceManagementKit"),Se=require("./DeviceManagementKitBuilder");o(e,require("./Error"),module.exports);var v=require("./logger-publisher/utils/noopLoggerFactory"),Re=require("./logger-subscriber/model/LogLevel"),ve=require("./logger-subscriber/service/ConsoleLogger"),ke=require("./logger-subscriber/service/DefaultLogTagFormatter"),Le=require("./logger-subscriber/service/WebLogsExporterLogger"),Ee=require("./network/DmkNetworkClient"),Ie=require("./network/DmkNetworkClientError"),Ge=require("./transport/model/ConnectedDevice"),Be=require("./transport/model/DeviceConnectionStateMachine");o(e,require("./transport/model/Errors"),module.exports);var Te=require("./transport/model/TransportConnectedDevice"),Pe=require("./transport/model/TransportConnectedDevice.stub");o(e,require("./types"),module.exports);var k=require("./utils/apduLogs"),be=require("./utils/ApplicationChecker"),he=require("./utils/AppName"),d=require("./utils/Base64String"),A=require("./utils/HexaString");0&&(module.exports={APDU_MAX_PAYLOAD,Apdu,ApduBuilder,ApduParser,ApduResponse,AppAlreadyInstalledDAError,ApplicationChecker,BackupAppStorageCommand,BackupAppStorageTask,BatteryStatusType,BleDeviceInfos,ByteArrayBuilder,ByteArrayParser,CallTaskInAppDeviceAction,CloseAppCommand,CommandResultFactory,CommandResultStatus,CommandUtils,CommitRestoreAppStorageCommand,CommitRestoreAppStorageCommandError,ConnectedDevice,ConsoleLogger,DEFAULT_UNLOCK_TIMEOUT_MS,DefaultLogTagFormatter,DeleteLanguagePackCommand,DeleteLanguagePackCommandError,DeleteLanguagePackDAError,DeviceActionStatus,DeviceConnectionStateMachine,DeviceLockedError,DeviceManagementKit,DeviceManagementKitBuilder,DeviceModel,DeviceModelId,DeviceNotOnboardedError,DeviceSessionStateType,DeviceStatus,DmkNetworkClient,DmkNetworkClientError,DmkResultFactory,DmkResultStatus,FramerUtils,GLOBAL_ERRORS,GenuineCheckDeviceAction,GetAppAndVersionCommand,GetAppStorageInfoCommand,GetApplicationsMetadataTaskError,GetBackgroundImageSizeCommand,GetBackgroundImageSizeCommandError,GetBatteryStatusCommand,GetDeviceMetadataDeviceAction,GetDeviceStatusDeviceAction,GetOsVersionCommand,GlobalCommandError,GlobalCommandErrorHandler,GoToDashboardDeviceAction,InitRestoreAppStorageCommand,InitRestoreAppStorageCommandError,InstallAppDeviceAction,InstallLanguagePackageDeviceAction,InstallOrUpdateAppsDeviceAction,InvalidGetFirmwareMetadataResponseError,InvalidResponseFormatError,InvalidStatusWordError,LEDGER_VENDOR_ID,ListAppsCommand,ListAppsDeviceAction,ListAppsWithMetadataDeviceAction,ListInstalledAppsDeviceAction,ListLanguagePackCommand,ListLanguagePackCommandError,LoadCertificateCommand,LogLevel,OpenAppCommand,OpenAppDeviceAction,OpenAppWithDependenciesDeviceAction,OutOfMemoryDAError,RefusedByUserDAError,RestoreAppStorageCommand,RestoreAppStorageCommandError,RestoreAppStorageTask,SecureChannelError,SendCommandInAppDeviceAction,StaticDeviceModelDataSource,TransportConnectedDevice,TransportDeviceModel,UninstallAppDeviceAction,UnknownDAError,UnsupportedFirmwareDAError,UserInteractionRequired,WaitForAppAndVersionDeviceAction,WebLogsExporterLogger,XStateDeviceAction,base64StringToBuffer,bufferToBase64String,bufferToHexaString,connectedDeviceStubBuilder,defaultApduReceiverServiceStubBuilder,defaultApduSenderServiceStubBuilder,formatApduReceivedLog,formatApduSentLog,hexaStringToBuffer,isBase64String,isCommandErrorCode,isDashboardName,isHexaString,isSuccessCommandResult,isSuccessDmkResult,noopLogger,noopLoggerFactory,...require("./apdu/utils/AppBuilderError"),...require("./device-session/data/FramerConst"),...require("./Error"),...require("./transport/model/Errors"),...require("./types")});
1
+ "use strict";var S=Object.defineProperty;var Ge=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var Be=Object.prototype.hasOwnProperty;var Te=(p,t)=>{for(var a in t)S(p,a,{get:t[a],enumerable:!0})},L=(p,t,a,k)=>{if(t&&typeof t=="object"||typeof t=="function")for(let A of Ie(t))!Be.call(p,A)&&A!==a&&S(p,A,{get:()=>t[A],enumerable:!(k=Ge(t,A))||k.enumerable});return p},o=(p,t,a)=>(L(p,t,"default"),a&&L(a,t,"default"));var Pe=p=>L(S({},"__esModule",{value:!0}),p);var e={};Te(e,{APDU_MAX_PAYLOAD:()=>f.APDU_MAX_PAYLOAD,Apdu:()=>E.Apdu,ApduBuilder:()=>f.ApduBuilder,ApduParser:()=>R.ApduParser,ApduResponse:()=>te.ApduResponse,AppAlreadyInstalledDAError:()=>r.AppAlreadyInstalledDAError,ApplicationChecker:()=>Ee.ApplicationChecker,BatteryStatusType:()=>l.BatteryStatusType,BleDeviceInfos:()=>oe.BleDeviceInfos,ByteArrayBuilder:()=>G.ByteArrayBuilder,ByteArrayParser:()=>I.ByteArrayParser,CallTaskInAppDeviceAction:()=>N.CallTaskInAppDeviceAction,CloseAppCommand:()=>B.CloseAppCommand,CommandResultFactory:()=>n.CommandResultFactory,CommandResultStatus:()=>n.CommandResultStatus,CommandUtils:()=>M.CommandUtils,ConnectedDevice:()=>Ce.ConnectedDevice,ConsoleLogger:()=>ue.ConsoleLogger,DEFAULT_UNLOCK_TIMEOUT_MS:()=>_.DEFAULT_UNLOCK_TIMEOUT_MS,DefaultLogTagFormatter:()=>le.DefaultLogTagFormatter,DeleteLanguagePackCommand:()=>x.DeleteLanguagePackCommand,DeleteLanguagePackCommandError:()=>x.DeleteLanguagePackCommandError,DeleteLanguagePackDAError:()=>r.DeleteLanguagePackDAError,DeviceActionStatus:()=>U.DeviceActionStatus,DeviceConnectionStateMachine:()=>Le.DeviceConnectionStateMachine,DeviceLockedError:()=>r.DeviceLockedError,DeviceManagementKit:()=>fe.DeviceManagementKit,DeviceManagementKitBuilder:()=>De.DeviceManagementKitBuilder,DeviceModel:()=>m.DeviceModel,DeviceModelId:()=>m.DeviceModelId,DeviceNotOnboardedError:()=>r.DeviceNotOnboardedError,DeviceSessionStateType:()=>pe.DeviceSessionStateType,DeviceStatus:()=>V.DeviceStatus,DmkNetworkClient:()=>ye.DmkNetworkClient,DmkNetworkClientError:()=>ve.DmkNetworkClientError,DmkResultFactory:()=>s.DmkResultFactory,DmkResultStatus:()=>s.DmkResultStatus,FramerUtils:()=>Ae.FramerUtils,GLOBAL_ERRORS:()=>i.GLOBAL_ERRORS,GenuineCheckDeviceAction:()=>ae.GenuineCheckDeviceAction,GetAppAndVersionCommand:()=>T.GetAppAndVersionCommand,GetApplicationsMetadataTaskError:()=>y.GetApplicationsMetadataTaskError,GetBackgroundImageSizeCommand:()=>u.GetBackgroundImageSizeCommand,GetBackgroundImageSizeCommandError:()=>u.GetBackgroundImageSizeCommandError,GetBatteryStatusCommand:()=>l.GetBatteryStatusCommand,GetDeviceMetadataDeviceAction:()=>w.GetDeviceMetadataDeviceAction,GetDeviceStatusDeviceAction:()=>z.GetDeviceStatusDeviceAction,GetOsVersionCommand:()=>P.GetOsVersionCommand,GlobalCommandError:()=>i.GlobalCommandError,GlobalCommandErrorHandler:()=>i.GlobalCommandErrorHandler,GoToDashboardDeviceAction:()=>q.GoToDashboardDeviceAction,InstallAppDeviceAction:()=>ne.InstallAppDeviceAction,InstallLanguagePackageDeviceAction:()=>H.InstallLanguagePackageDeviceAction,InstallOrUpdateAppsDeviceAction:()=>K.InstallOrUpdateAppsDeviceAction,InvalidGetFirmwareMetadataResponseError:()=>y.InvalidGetFirmwareMetadataResponseError,InvalidResponseFormatError:()=>D.InvalidResponseFormatError,InvalidStatusWordError:()=>D.InvalidStatusWordError,LEDGER_VENDOR_ID:()=>m.LEDGER_VENDOR_ID,ListAppsCommand:()=>b.ListAppsCommand,ListAppsDeviceAction:()=>Q.ListAppsDeviceAction,ListAppsWithMetadataDeviceAction:()=>X.ListAppsWithMetadataDeviceAction,ListInstalledAppsDeviceAction:()=>ie.ListInstalledAppsDeviceAction,ListLanguagePackCommand:()=>g.ListLanguagePackCommand,ListLanguagePackCommandError:()=>g.ListLanguagePackCommandError,LoadCertificateCommand:()=>h.LoadCertificateCommand,LogLevel:()=>xe.LogLevel,OpenAppCommand:()=>O.OpenAppCommand,OpenAppDeviceAction:()=>Y.OpenAppDeviceAction,OpenAppWithDependenciesDeviceAction:()=>j.OpenAppWithDependenciesDeviceAction,OutOfMemoryDAError:()=>r.OutOfMemoryDAError,RefusedByUserDAError:()=>r.RefusedByUserDAError,SecureChannelError:()=>se.SecureChannelError,SendCommandInAppDeviceAction:()=>J.SendCommandInAppDeviceAction,StaticDeviceModelDataSource:()=>ee.StaticDeviceModelDataSource,TransportConnectedDevice:()=>Se.TransportConnectedDevice,TransportDeviceModel:()=>re.TransportDeviceModel,UninstallAppDeviceAction:()=>me.UninstallAppDeviceAction,UnknownDAError:()=>r.UnknownDAError,UnsupportedFirmwareDAError:()=>r.UnsupportedFirmwareDAError,UserInteractionRequired:()=>W.UserInteractionRequired,WaitForAppAndVersionDeviceAction:()=>Z.WaitForAppAndVersionDeviceAction,WebLogsExporterLogger:()=>ge.WebLogsExporterLogger,XStateDeviceAction:()=>$.XStateDeviceAction,base64StringToBuffer:()=>c.base64StringToBuffer,bufferToBase64String:()=>c.bufferToBase64String,bufferToHexaString:()=>d.bufferToHexaString,connectedDeviceStubBuilder:()=>ke.connectedDeviceStubBuilder,defaultApduReceiverServiceStubBuilder:()=>ce.defaultApduReceiverServiceStubBuilder,defaultApduSenderServiceStubBuilder:()=>de.defaultApduSenderServiceStubBuilder,formatApduReceivedLog:()=>C.formatApduReceivedLog,formatApduSentLog:()=>C.formatApduSentLog,hexaStringToBuffer:()=>d.hexaStringToBuffer,isBase64String:()=>c.isBase64String,isCommandErrorCode:()=>F.isCommandErrorCode,isDashboardName:()=>Re.isDashboardName,isHexaString:()=>d.isHexaString,isSuccessCommandResult:()=>n.isSuccessCommandResult,isSuccessDmkResult:()=>s.isSuccessDmkResult,noopLogger:()=>v.noopLogger,noopLoggerFactory:()=>v.noopLoggerFactory});module.exports=Pe(e);var E=require("./apdu/model/Apdu"),f=require("./apdu/utils/ApduBuilder"),R=require("./apdu/utils/ApduParser");o(e,require("./apdu/utils/AppBuilderError"),module.exports);var G=require("./apdu/utils/ByteArrayBuilder"),I=require("./apdu/utils/ByteArrayParser"),D=require("./command/Errors"),n=require("./command/model/CommandResult"),B=require("./command/os/CloseAppCommand"),x=require("./command/os/DeleteLanguagePackCommand"),T=require("./command/os/GetAppAndVersionCommand"),u=require("./command/os/GetBackgroundImageSizeCommand"),l=require("./command/os/GetBatteryStatusCommand"),P=require("./command/os/GetOsVersionCommand"),b=require("./command/os/ListAppsCommand"),g=require("./command/os/ListLanguagePackCommand"),h=require("./command/os/LoadCertificateCommand"),O=require("./command/os/OpenAppCommand"),F=require("./command/utils/CommandErrors"),M=require("./command/utils/CommandUtils"),i=require("./command/utils/GlobalCommandError"),m=require("./device/DeviceModel"),V=require("./device/DeviceStatus"),U=require("./device-action/model/DeviceActionState"),W=require("./device-action/model/UserInteractionRequired"),N=require("./device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction"),_=require("./device-action/os/Const"),r=require("./device-action/os/Errors"),w=require("./device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction"),z=require("./device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction"),q=require("./device-action/os/GoToDashboard/GoToDashboardDeviceAction"),H=require("./device-action/os/InstallLanguagePackage/InstallLanguagePackageDeviceAction"),K=require("./device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction"),Q=require("./device-action/os/ListApps/ListAppsDeviceAction"),X=require("./device-action/os/ListAppsWithMetadata/ListAppsWithMetadataDeviceAction"),Y=require("./device-action/os/OpenAppDeviceAction/OpenAppDeviceAction"),j=require("./device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction"),J=require("./device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction"),Z=require("./device-action/os/WaitForAppAndVersion/WaitForAppAndVersionDeviceAction"),y=require("./device-action/task/Errors"),$=require("./device-action/xstate-utils/XStateDeviceAction"),ee=require("./device-model/data/StaticDeviceModelDataSource"),oe=require("./device-model/model/BleDeviceInfos"),re=require("./device-model/model/DeviceModel"),te=require("./device-session/ApduResponse");o(e,require("./device-session/data/FramerConst"),module.exports);var pe=require("./device-session/DeviceSessionState"),s=require("./model/DmkResult"),ae=require("./secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction"),ne=require("./secure-channel/device-action/InstallApp/InstallAppDeviceAction"),ie=require("./secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction"),me=require("./secure-channel/device-action/UninstallApp/UninstallAppDeviceAction"),se=require("../internal/secure-channel/model/Errors"),ce=require("./device-session/service/DefaultApduReceiverService.stub"),de=require("./device-session/service/DefaultApduSenderService.stub"),Ae=require("./device-session/utils/FramerUtils"),fe=require("./DeviceManagementKit"),De=require("./DeviceManagementKitBuilder");o(e,require("./Error"),module.exports);var v=require("./logger-publisher/utils/noopLoggerFactory"),xe=require("./logger-subscriber/model/LogLevel"),ue=require("./logger-subscriber/service/ConsoleLogger"),le=require("./logger-subscriber/service/DefaultLogTagFormatter"),ge=require("./logger-subscriber/service/WebLogsExporterLogger"),ye=require("./network/DmkNetworkClient"),ve=require("./network/DmkNetworkClientError"),Ce=require("./transport/model/ConnectedDevice"),Le=require("./transport/model/DeviceConnectionStateMachine");o(e,require("./transport/model/Errors"),module.exports);var Se=require("./transport/model/TransportConnectedDevice"),ke=require("./transport/model/TransportConnectedDevice.stub");o(e,require("./types"),module.exports);var C=require("./utils/apduLogs"),Ee=require("./utils/ApplicationChecker"),Re=require("./utils/AppName"),c=require("./utils/Base64String"),d=require("./utils/HexaString");0&&(module.exports={APDU_MAX_PAYLOAD,Apdu,ApduBuilder,ApduParser,ApduResponse,AppAlreadyInstalledDAError,ApplicationChecker,BatteryStatusType,BleDeviceInfos,ByteArrayBuilder,ByteArrayParser,CallTaskInAppDeviceAction,CloseAppCommand,CommandResultFactory,CommandResultStatus,CommandUtils,ConnectedDevice,ConsoleLogger,DEFAULT_UNLOCK_TIMEOUT_MS,DefaultLogTagFormatter,DeleteLanguagePackCommand,DeleteLanguagePackCommandError,DeleteLanguagePackDAError,DeviceActionStatus,DeviceConnectionStateMachine,DeviceLockedError,DeviceManagementKit,DeviceManagementKitBuilder,DeviceModel,DeviceModelId,DeviceNotOnboardedError,DeviceSessionStateType,DeviceStatus,DmkNetworkClient,DmkNetworkClientError,DmkResultFactory,DmkResultStatus,FramerUtils,GLOBAL_ERRORS,GenuineCheckDeviceAction,GetAppAndVersionCommand,GetApplicationsMetadataTaskError,GetBackgroundImageSizeCommand,GetBackgroundImageSizeCommandError,GetBatteryStatusCommand,GetDeviceMetadataDeviceAction,GetDeviceStatusDeviceAction,GetOsVersionCommand,GlobalCommandError,GlobalCommandErrorHandler,GoToDashboardDeviceAction,InstallAppDeviceAction,InstallLanguagePackageDeviceAction,InstallOrUpdateAppsDeviceAction,InvalidGetFirmwareMetadataResponseError,InvalidResponseFormatError,InvalidStatusWordError,LEDGER_VENDOR_ID,ListAppsCommand,ListAppsDeviceAction,ListAppsWithMetadataDeviceAction,ListInstalledAppsDeviceAction,ListLanguagePackCommand,ListLanguagePackCommandError,LoadCertificateCommand,LogLevel,OpenAppCommand,OpenAppDeviceAction,OpenAppWithDependenciesDeviceAction,OutOfMemoryDAError,RefusedByUserDAError,SecureChannelError,SendCommandInAppDeviceAction,StaticDeviceModelDataSource,TransportConnectedDevice,TransportDeviceModel,UninstallAppDeviceAction,UnknownDAError,UnsupportedFirmwareDAError,UserInteractionRequired,WaitForAppAndVersionDeviceAction,WebLogsExporterLogger,XStateDeviceAction,base64StringToBuffer,bufferToBase64String,bufferToHexaString,connectedDeviceStubBuilder,defaultApduReceiverServiceStubBuilder,defaultApduSenderServiceStubBuilder,formatApduReceivedLog,formatApduSentLog,hexaStringToBuffer,isBase64String,isCommandErrorCode,isDashboardName,isHexaString,isSuccessCommandResult,isSuccessDmkResult,noopLogger,noopLoggerFactory,...require("./apdu/utils/AppBuilderError"),...require("./device-session/data/FramerConst"),...require("./Error"),...require("./transport/model/Errors"),...require("./types")});
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 InvalidResponseFormatError,\n InvalidStatusWordError,\n} from \"@api/command/Errors\";\nexport {\n CommandResultFactory,\n CommandResultStatus,\n isSuccessCommandResult,\n} from \"@api/command/model/CommandResult\";\nexport {\n BackupAppStorageCommand,\n type BackupAppStorageCommandErrorCodes,\n type BackupAppStorageCommandResponse,\n type BackupAppStorageCommandResult,\n} from \"@api/command/os/BackupAppStorageCommand\";\nexport { CloseAppCommand } from \"@api/command/os/CloseAppCommand\";\nexport {\n CommitRestoreAppStorageCommand,\n CommitRestoreAppStorageCommandError,\n type CommitRestoreAppStorageCommandErrorCodes,\n type CommitRestoreAppStorageCommandResult,\n} from \"@api/command/os/CommitRestoreAppStorageCommand\";\nexport {\n DeleteLanguagePackCommand,\n type DeleteLanguagePackCommandArgs,\n DeleteLanguagePackCommandError,\n type DeleteLanguagePackCommandResult,\n type DeleteLanguagePackErrorCodes,\n} from \"@api/command/os/DeleteLanguagePackCommand\";\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 InitRestoreAppStorageCommand,\n type InitRestoreAppStorageCommandArgs,\n InitRestoreAppStorageCommandError,\n type InitRestoreAppStorageCommandErrorCodes,\n type InitRestoreAppStorageCommandResult,\n} from \"@api/command/os/InitRestoreAppStorageCommand\";\nexport {\n type ListAppsArgs,\n ListAppsCommand,\n type ListAppsErrorCodes,\n type ListAppsResponse,\n} from \"@api/command/os/ListAppsCommand\";\nexport {\n ListLanguagePackCommand,\n type ListLanguagePackCommandArgs,\n ListLanguagePackCommandError,\n type ListLanguagePackCommandResult,\n type ListLanguagePackErrorCodes,\n type ListLanguagePackResponse,\n} from \"@api/command/os/ListLanguagePackCommand\";\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 {\n RestoreAppStorageCommand,\n type RestoreAppStorageCommandArgs,\n RestoreAppStorageCommandError,\n type RestoreAppStorageCommandErrorCodes,\n type RestoreAppStorageCommandResult,\n} from \"@api/command/os/RestoreAppStorageCommand\";\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 DeleteLanguagePackDAError,\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 { InstallLanguagePackageDeviceAction } from \"@api/device-action/os/InstallLanguagePackage/InstallLanguagePackageDeviceAction\";\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 type {\n WaitForAppAndVersionDAError,\n WaitForAppAndVersionDAInput,\n WaitForAppAndVersionDAIntermediateValue,\n WaitForAppAndVersionDAOutput,\n WaitForAppAndVersionDARequiredInteraction,\n WaitForAppAndVersionDAState,\n} from \"@api/device-action/os/WaitForAppAndVersion/types\";\nexport { WaitForAppAndVersionDeviceAction } from \"@api/device-action/os/WaitForAppAndVersion/WaitForAppAndVersionDeviceAction\";\nexport { BackupAppStorageTask } from \"@api/device-action/task/BackupAppStorageTask\";\nexport {\n GetApplicationsMetadataTaskError,\n InvalidGetFirmwareMetadataResponseError,\n} from \"@api/device-action/task/Errors\";\nexport {\n RestoreAppStorageTask,\n type RestoreAppStorageTaskArgs,\n type RestoreAppStorageTaskError,\n} from \"@api/device-action/task/RestoreAppStorageTask\";\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 {\n DmkResultFactory,\n DmkResultStatus,\n isSuccessDmkResult,\n} from \"@api/model/DmkResult\";\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 type { InstalledApp } from \"@api/secure-channel/device-action/ListInstalledApps/types\";\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 {\n DmkNetworkClient,\n type DmkNetworkClientOptions,\n type DmkNetworkResponse,\n type DmkQueryParams,\n type DmkQueryParamValue,\n type DmkRequestConfig,\n type DmkResponseType,\n} from \"@api/network/DmkNetworkClient\";\nexport { DmkNetworkClientError } from \"@api/network/DmkNetworkClientError\";\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 { isDashboardName } from \"@api/utils/AppName\";\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": "meAAA,IAAAA,EAAA,GAAAC,GAAAD,EAAA,0/KAAAE,GAAAF,GAEA,IAAAG,EAAqB,gCACrBC,EAA8C,uCAC9CC,EAA2B,sCAC3BC,EAAAN,EAAc,2CALd,gBAMA,IAAAO,EAAiC,4CACjCC,EAAgC,2CAEhCC,EAGO,+BACPC,EAIO,4CACPC,EAKO,mDACPC,EAAgC,2CAChCC,EAKO,0DACPC,EAMO,qDACPC,EAGO,mDACPC,EAMO,oDACPC,EAMO,yDACPC,EAKO,mDACPC,EAGO,+CACPC,EAMO,wDACPC,EAKO,2CACPC,EAOO,mDACPC,EAIO,kDACPC,EAGO,0CACPC,EAMO,oDACPC,EAAmC,4CACnCC,EAA6B,2CAC7BC,EAIO,iDACPC,EAIO,mCACPC,EAA6B,oCAE7BC,EAGO,sDACPC,EAAwC,4DACxCC,EAA0C,qFAC1CC,EAA0C,uCAC1CzB,EASO,wCACP0B,EAA8C,iFAC9CC,EAA4C,6EAC5CC,EAA0C,yEAS1CC,EAAmD,2FACnDC,EAAgD,qFAChDC,EAAqC,+DACrCC,EAAiD,uFACjDC,GAAoC,yEACpCC,GAAoD,6FACpDC,GAA6C,2FAS7CC,GAAiD,uFACjDC,GAAqC,wDACrCrC,EAGO,0CACPsC,GAIO,yDACPC,GAGO,8DACPC,GAA4C,8DAC5CC,GAA+B,kDAC/BrB,GAAqC,+CACrCsB,GAA6B,4CAC7B7C,EAAAN,EAAc,gDAnLd,gBAoLA,IAAAoD,GAGO,kDACPC,EAIO,gCACPC,GAAyC,mFACzCC,GAAuC,+EACvCC,GAA8C,6FAE9CC,GAAyC,mFACzChD,GAAmC,iDAEnCiD,GAAsD,uEACtDC,GAAoD,qEACpDC,GAA4B,iDAC5BC,GAAoC,oCACpCC,GAA2C,2CAC3CxD,EAAAN,EAAc,sBAzMd,gBA0MA,IAAA+D,EAGO,yDACPC,GAAyB,iDACzBC,GAA8B,wDAC9BC,GAAuC,iEAEvCC,GAAsC,gEACtCC,GAQO,yCACPC,GAAsC,8CACtCC,GAAgC,gDAChCC,GAGO,6DACPjE,EAAAN,EAAc,uCAlOd,gBAmOA,IAAAwE,GAAyC,yDACzCA,GAA2C,8DAC3ClE,EAAAN,EAAc,sBArOd,gBAsOA,IAAAyE,EAAyD,+BACzDC,GAAmC,yCAMnCC,GAAgC,8BAChCC,EAIO,mCACPC,EAIO",
6
- "names": ["api_exports", "__export", "__toCommonJS", "import_Apdu", "import_ApduBuilder", "import_ApduParser", "__reExport", "import_ByteArrayBuilder", "import_ByteArrayParser", "import_Errors", "import_CommandResult", "import_BackupAppStorageCommand", "import_CloseAppCommand", "import_CommitRestoreAppStorageCommand", "import_DeleteLanguagePackCommand", "import_GetAppAndVersionCommand", "import_GetAppStorageInfoCommand", "import_GetBackgroundImageSizeCommand", "import_GetBatteryStatusCommand", "import_GetOsVersionCommand", "import_InitRestoreAppStorageCommand", "import_ListAppsCommand", "import_ListLanguagePackCommand", "import_LoadCertificateCommand", "import_OpenAppCommand", "import_RestoreAppStorageCommand", "import_CommandErrors", "import_CommandUtils", "import_GlobalCommandError", "import_DeviceModel", "import_DeviceStatus", "import_DeviceActionState", "import_UserInteractionRequired", "import_CallTaskInAppDeviceAction", "import_Const", "import_GetDeviceMetadataDeviceAction", "import_GetDeviceStatusDeviceAction", "import_GoToDashboardDeviceAction", "import_InstallLanguagePackageDeviceAction", "import_InstallOrUpdateAppsDeviceAction", "import_ListAppsDeviceAction", "import_ListAppsWithMetadataDeviceAction", "import_OpenAppDeviceAction", "import_OpenAppWithDependenciesDeviceAction", "import_SendCommandInAppDeviceAction", "import_WaitForAppAndVersionDeviceAction", "import_BackupAppStorageTask", "import_RestoreAppStorageTask", "import_XStateDeviceAction", "import_StaticDeviceModelDataSource", "import_BleDeviceInfos", "import_ApduResponse", "import_DeviceSessionState", "import_DmkResult", "import_GenuineCheckDeviceAction", "import_InstallAppDeviceAction", "import_ListInstalledAppsDeviceAction", "import_UninstallAppDeviceAction", "import_DefaultApduReceiverService", "import_DefaultApduSenderService", "import_FramerUtils", "import_DeviceManagementKit", "import_DeviceManagementKitBuilder", "import_noopLoggerFactory", "import_LogLevel", "import_ConsoleLogger", "import_DefaultLogTagFormatter", "import_WebLogsExporterLogger", "import_DmkNetworkClient", "import_DmkNetworkClientError", "import_ConnectedDevice", "import_DeviceConnectionStateMachine", "import_TransportConnectedDevice", "import_apduLogs", "import_ApplicationChecker", "import_AppName", "import_Base64String", "import_HexaString"]
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 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 DeleteLanguagePackCommand,\n type DeleteLanguagePackCommandArgs,\n DeleteLanguagePackCommandError,\n type DeleteLanguagePackCommandResult,\n type DeleteLanguagePackErrorCodes,\n} from \"@api/command/os/DeleteLanguagePackCommand\";\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 ListLanguagePackCommand,\n type ListLanguagePackCommandArgs,\n ListLanguagePackCommandError,\n type ListLanguagePackCommandResult,\n type ListLanguagePackErrorCodes,\n type ListLanguagePackResponse,\n} from \"@api/command/os/ListLanguagePackCommand\";\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 DeleteLanguagePackDAError,\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 { InstallLanguagePackageDeviceAction } from \"@api/device-action/os/InstallLanguagePackage/InstallLanguagePackageDeviceAction\";\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 type {\n WaitForAppAndVersionDAError,\n WaitForAppAndVersionDAInput,\n WaitForAppAndVersionDAIntermediateValue,\n WaitForAppAndVersionDAOutput,\n WaitForAppAndVersionDARequiredInteraction,\n WaitForAppAndVersionDAState,\n} from \"@api/device-action/os/WaitForAppAndVersion/types\";\nexport { WaitForAppAndVersionDeviceAction } from \"@api/device-action/os/WaitForAppAndVersion/WaitForAppAndVersionDeviceAction\";\nexport {\n GetApplicationsMetadataTaskError,\n InvalidGetFirmwareMetadataResponseError,\n} from \"@api/device-action/task/Errors\";\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 {\n DmkResultFactory,\n DmkResultStatus,\n isSuccessDmkResult,\n} from \"@api/model/DmkResult\";\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 type { InstalledApp } from \"@api/secure-channel/device-action/ListInstalledApps/types\";\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 {\n DmkNetworkClient,\n type DmkNetworkClientOptions,\n type DmkNetworkResponse,\n type DmkQueryParams,\n type DmkQueryParamValue,\n type DmkRequestConfig,\n type DmkResponseType,\n} from \"@api/network/DmkNetworkClient\";\nexport { DmkNetworkClientError } from \"@api/network/DmkNetworkClientError\";\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 { isDashboardName } from \"@api/utils/AppName\";\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": "meAAA,IAAAA,EAAA,GAAAC,GAAAD,EAAA,64JAAAE,GAAAF,GAEA,IAAAG,EAAqB,gCACrBC,EAA8C,uCAC9CC,EAA2B,sCAC3BC,EAAAN,EAAc,2CALd,gBAMA,IAAAO,EAAiC,4CACjCC,EAAgC,2CAEhCC,EAGO,+BACPC,EAIO,4CACPC,EAAgC,2CAChCC,EAMO,qDACPC,EAGO,mDACPC,EAMO,yDACPC,EAKO,mDACPC,EAGO,+CACPC,EAKO,2CACPC,EAOO,mDACPC,EAIO,kDACPC,EAGO,0CACPC,EAAmC,4CACnCC,EAA6B,2CAC7BC,EAIO,iDACPC,EAIO,mCACPC,EAA6B,oCAE7BC,EAGO,sDACPC,EAAwC,4DACxCC,EAA0C,qFAC1CC,EAA0C,uCAC1CpB,EASO,wCACPqB,EAA8C,iFAC9CC,EAA4C,6EAC5CC,EAA0C,yEAS1CC,EAAmD,2FACnDC,EAAgD,qFAChDC,EAAqC,+DACrCC,EAAiD,uFACjDC,EAAoC,yEACpCC,EAAoD,6FACpDC,EAA6C,2FAS7CC,EAAiD,uFACjD/B,EAGO,0CACPgC,EAGO,8DACPC,GAA4C,8DAC5CC,GAA+B,kDAC/BnB,GAAqC,+CACrCoB,GAA6B,4CAC7BtC,EAAAN,EAAc,gDA5Id,gBA6IA,IAAA6C,GAGO,kDACPC,EAIO,gCACPC,GAAyC,mFACzCC,GAAuC,+EACvCC,GAA8C,6FAE9CC,GAAyC,mFACzCzC,GAAmC,iDAEnC0C,GAAsD,uEACtDC,GAAoD,qEACpDC,GAA4B,iDAC5BC,GAAoC,oCACpCC,GAA2C,2CAC3CjD,EAAAN,EAAc,sBAlKd,gBAmKA,IAAAwD,EAGO,yDACPC,GAAyB,iDACzBC,GAA8B,wDAC9BC,GAAuC,iEAEvCC,GAAsC,gEACtCC,GAQO,yCACPC,GAAsC,8CACtCC,GAAgC,gDAChCC,GAGO,6DACP1D,EAAAN,EAAc,uCA3Ld,gBA4LA,IAAAiE,GAAyC,yDACzCA,GAA2C,8DAC3C3D,EAAAN,EAAc,sBA9Ld,gBA+LA,IAAAkE,EAAyD,+BACzDC,GAAmC,yCAMnCC,GAAgC,8BAChCC,EAIO,mCACPC,EAIO",
6
+ "names": ["api_exports", "__export", "__toCommonJS", "import_Apdu", "import_ApduBuilder", "import_ApduParser", "__reExport", "import_ByteArrayBuilder", "import_ByteArrayParser", "import_Errors", "import_CommandResult", "import_CloseAppCommand", "import_DeleteLanguagePackCommand", "import_GetAppAndVersionCommand", "import_GetBackgroundImageSizeCommand", "import_GetBatteryStatusCommand", "import_GetOsVersionCommand", "import_ListAppsCommand", "import_ListLanguagePackCommand", "import_LoadCertificateCommand", "import_OpenAppCommand", "import_CommandErrors", "import_CommandUtils", "import_GlobalCommandError", "import_DeviceModel", "import_DeviceStatus", "import_DeviceActionState", "import_UserInteractionRequired", "import_CallTaskInAppDeviceAction", "import_Const", "import_GetDeviceMetadataDeviceAction", "import_GetDeviceStatusDeviceAction", "import_GoToDashboardDeviceAction", "import_InstallLanguagePackageDeviceAction", "import_InstallOrUpdateAppsDeviceAction", "import_ListAppsDeviceAction", "import_ListAppsWithMetadataDeviceAction", "import_OpenAppDeviceAction", "import_OpenAppWithDependenciesDeviceAction", "import_SendCommandInAppDeviceAction", "import_WaitForAppAndVersionDeviceAction", "import_XStateDeviceAction", "import_StaticDeviceModelDataSource", "import_BleDeviceInfos", "import_ApduResponse", "import_DeviceSessionState", "import_DmkResult", "import_GenuineCheckDeviceAction", "import_InstallAppDeviceAction", "import_ListInstalledAppsDeviceAction", "import_UninstallAppDeviceAction", "import_DefaultApduReceiverService", "import_DefaultApduSenderService", "import_FramerUtils", "import_DeviceManagementKit", "import_DeviceManagementKitBuilder", "import_noopLoggerFactory", "import_LogLevel", "import_ConsoleLogger", "import_DefaultLogTagFormatter", "import_WebLogsExporterLogger", "import_DmkNetworkClient", "import_DmkNetworkClientError", "import_ConnectedDevice", "import_DeviceConnectionStateMachine", "import_TransportConnectedDevice", "import_apduLogs", "import_ApplicationChecker", "import_AppName", "import_Base64String", "import_HexaString"]
7
7
  }
@@ -62,5 +62,5 @@
62
62
  "watch:builds": "pnpm ldmk-tool watch --entryPoints index.ts,src/**/*.ts --tsconfig tsconfig.prod.json",
63
63
  "watch:types": "concurrently \"tsc --watch -p tsconfig.prod.json\" \"tsc-alias --watch -p tsconfig.prod.json\""
64
64
  },
65
- "version": "0.0.0-develop-20260707161641"
65
+ "version": "0.0.0-develop-20260709002855"
66
66
  }
@@ -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 d}from"./apdu/utils/ByteArrayBuilder";import{ByteArrayParser as c}from"./apdu/utils/ByteArrayParser";import{InvalidResponseFormatError as g,InvalidStatusWordError as u}from"./command/Errors";import{CommandResultFactory as D,CommandResultStatus as C,isSuccessCommandResult as l}from"./command/model/CommandResult";import{BackupAppStorageCommand as S}from"./command/os/BackupAppStorageCommand";import{CloseAppCommand as v}from"./command/os/CloseAppCommand";import{CommitRestoreAppStorageCommand as L,CommitRestoreAppStorageCommandError as E}from"./command/os/CommitRestoreAppStorageCommand";import{DeleteLanguagePackCommand as G,DeleteLanguagePackCommandError as B}from"./command/os/DeleteLanguagePackCommand";import{GetAppAndVersionCommand as P}from"./command/os/GetAppAndVersionCommand";import{GetAppStorageInfoCommand as h}from"./command/os/GetAppStorageInfoCommand";import{GetBackgroundImageSizeCommand as F,GetBackgroundImageSizeCommandError as M}from"./command/os/GetBackgroundImageSizeCommand";import{BatteryStatusType as U,GetBatteryStatusCommand as W}from"./command/os/GetBatteryStatusCommand";import{GetOsVersionCommand as _}from"./command/os/GetOsVersionCommand";import{InitRestoreAppStorageCommand as z,InitRestoreAppStorageCommandError as q}from"./command/os/InitRestoreAppStorageCommand";import{ListAppsCommand as K}from"./command/os/ListAppsCommand";import{ListLanguagePackCommand as X,ListLanguagePackCommandError as Y}from"./command/os/ListLanguagePackCommand";import{LoadCertificateCommand as J}from"./command/os/LoadCertificateCommand";import{OpenAppCommand as $}from"./command/os/OpenAppCommand";import{RestoreAppStorageCommand as oe,RestoreAppStorageCommandError as re}from"./command/os/RestoreAppStorageCommand";import{isCommandErrorCode as pe}from"./command/utils/CommandErrors";import{CommandUtils as me}from"./command/utils/CommandUtils";import{GLOBAL_ERRORS as se,GlobalCommandError as ie,GlobalCommandErrorHandler as de}from"./command/utils/GlobalCommandError";import{DeviceModel as ce,DeviceModelId as fe,LEDGER_VENDOR_ID as ge}from"./device/DeviceModel";import{DeviceStatus as xe}from"./device/DeviceStatus";import{DeviceActionStatus as Ce}from"./device-action/model/DeviceActionState";import{UserInteractionRequired as ye}from"./device-action/model/UserInteractionRequired";import{CallTaskInAppDeviceAction as Re}from"./device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction";import{DEFAULT_UNLOCK_TIMEOUT_MS as ke}from"./device-action/os/Const";import{AppAlreadyInstalledDAError as Ee,DeleteLanguagePackDAError as Ie,DeviceLockedError as Ge,DeviceNotOnboardedError as Be,OutOfMemoryDAError as Te,RefusedByUserDAError as Pe,UnknownDAError as be,UnsupportedFirmwareDAError as he}from"./device-action/os/Errors";import{GetDeviceMetadataDeviceAction as Fe}from"./device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction";import{GetDeviceStatusDeviceAction as Ve}from"./device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction";import{GoToDashboardDeviceAction as We}from"./device-action/os/GoToDashboard/GoToDashboardDeviceAction";import{InstallLanguagePackageDeviceAction as _e}from"./device-action/os/InstallLanguagePackage/InstallLanguagePackageDeviceAction";import{InstallOrUpdateAppsDeviceAction as ze}from"./device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction";import{ListAppsDeviceAction as He}from"./device-action/os/ListApps/ListAppsDeviceAction";import{ListAppsWithMetadataDeviceAction as Qe}from"./device-action/os/ListAppsWithMetadata/ListAppsWithMetadataDeviceAction";import{OpenAppDeviceAction as Ye}from"./device-action/os/OpenAppDeviceAction/OpenAppDeviceAction";import{OpenAppWithDependenciesDeviceAction as Je}from"./device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction";import{SendCommandInAppDeviceAction as $e}from"./device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction";import{WaitForAppAndVersionDeviceAction as oo}from"./device-action/os/WaitForAppAndVersion/WaitForAppAndVersionDeviceAction";import{BackupAppStorageTask as to}from"./device-action/task/BackupAppStorageTask";import{GetApplicationsMetadataTaskError as ao,InvalidGetFirmwareMetadataResponseError as mo}from"./device-action/task/Errors";import{RestoreAppStorageTask as so}from"./device-action/task/RestoreAppStorageTask";import{XStateDeviceAction as Ao}from"./device-action/xstate-utils/XStateDeviceAction";import{StaticDeviceModelDataSource as fo}from"./device-model/data/StaticDeviceModelDataSource";import{BleDeviceInfos as uo}from"./device-model/model/BleDeviceInfos";import{TransportDeviceModel as Do}from"./device-model/model/DeviceModel";import{ApduResponse as lo}from"./device-session/ApduResponse";export*from"./device-session/data/FramerConst";import{DeviceSessionStateType as Ro}from"./device-session/DeviceSessionState";import{DmkResultFactory as ko,DmkResultStatus as Lo,isSuccessDmkResult as Eo}from"./model/DmkResult";import{GenuineCheckDeviceAction as Go}from"./secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction";import{InstallAppDeviceAction as To}from"./secure-channel/device-action/InstallApp/InstallAppDeviceAction";import{ListInstalledAppsDeviceAction as bo}from"./secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction";import{UninstallAppDeviceAction as Oo}from"./secure-channel/device-action/UninstallApp/UninstallAppDeviceAction";import{SecureChannelError as Mo}from"../internal/secure-channel/model/Errors";import{defaultApduReceiverServiceStubBuilder as Uo}from"./device-session/service/DefaultApduReceiverService.stub";import{defaultApduSenderServiceStubBuilder as No}from"./device-session/service/DefaultApduSenderService.stub";import{FramerUtils as wo}from"./device-session/utils/FramerUtils";import{DeviceManagementKit as qo}from"./DeviceManagementKit";import{DeviceManagementKitBuilder as Ko}from"./DeviceManagementKitBuilder";export*from"./Error";import{noopLogger as Yo,noopLoggerFactory as jo}from"./logger-publisher/utils/noopLoggerFactory";import{LogLevel as Zo}from"./logger-subscriber/model/LogLevel";import{ConsoleLogger as er}from"./logger-subscriber/service/ConsoleLogger";import{DefaultLogTagFormatter as rr}from"./logger-subscriber/service/DefaultLogTagFormatter";import{WebLogsExporterLogger as pr}from"./logger-subscriber/service/WebLogsExporterLogger";import{DmkNetworkClient as mr}from"./network/DmkNetworkClient";import{DmkNetworkClientError as sr}from"./network/DmkNetworkClientError";import{ConnectedDevice as dr}from"./transport/model/ConnectedDevice";import{DeviceConnectionStateMachine as cr}from"./transport/model/DeviceConnectionStateMachine";export*from"./transport/model/Errors";import{TransportConnectedDevice as ur}from"./transport/model/TransportConnectedDevice";import{connectedDeviceStubBuilder as Dr}from"./transport/model/TransportConnectedDevice.stub";export*from"./types";import{formatApduReceivedLog as yr,formatApduSentLog as Sr}from"./utils/apduLogs";import{ApplicationChecker as vr}from"./utils/ApplicationChecker";import{isDashboardName as Lr}from"./utils/AppName";import{base64StringToBuffer as Ir,bufferToBase64String as Gr,isBase64String as Br}from"./utils/Base64String";import{bufferToHexaString as Pr,hexaStringToBuffer as br,isHexaString as hr}from"./utils/HexaString";export{p as APDU_MAX_PAYLOAD,r as Apdu,a as ApduBuilder,n as ApduParser,lo as ApduResponse,Ee as AppAlreadyInstalledDAError,vr as ApplicationChecker,S as BackupAppStorageCommand,to as BackupAppStorageTask,U as BatteryStatusType,uo as BleDeviceInfos,d as ByteArrayBuilder,c as ByteArrayParser,Re as CallTaskInAppDeviceAction,v as CloseAppCommand,D as CommandResultFactory,C as CommandResultStatus,me as CommandUtils,L as CommitRestoreAppStorageCommand,E as CommitRestoreAppStorageCommandError,dr as ConnectedDevice,er as ConsoleLogger,ke as DEFAULT_UNLOCK_TIMEOUT_MS,rr as DefaultLogTagFormatter,G as DeleteLanguagePackCommand,B as DeleteLanguagePackCommandError,Ie as DeleteLanguagePackDAError,Ce as DeviceActionStatus,cr as DeviceConnectionStateMachine,Ge as DeviceLockedError,qo as DeviceManagementKit,Ko as DeviceManagementKitBuilder,ce as DeviceModel,fe as DeviceModelId,Be as DeviceNotOnboardedError,Ro as DeviceSessionStateType,xe as DeviceStatus,mr as DmkNetworkClient,sr as DmkNetworkClientError,ko as DmkResultFactory,Lo as DmkResultStatus,wo as FramerUtils,se as GLOBAL_ERRORS,Go as GenuineCheckDeviceAction,P as GetAppAndVersionCommand,h as GetAppStorageInfoCommand,ao as GetApplicationsMetadataTaskError,F as GetBackgroundImageSizeCommand,M as GetBackgroundImageSizeCommandError,W as GetBatteryStatusCommand,Fe as GetDeviceMetadataDeviceAction,Ve as GetDeviceStatusDeviceAction,_ as GetOsVersionCommand,ie as GlobalCommandError,de as GlobalCommandErrorHandler,We as GoToDashboardDeviceAction,z as InitRestoreAppStorageCommand,q as InitRestoreAppStorageCommandError,To as InstallAppDeviceAction,_e as InstallLanguagePackageDeviceAction,ze as InstallOrUpdateAppsDeviceAction,mo as InvalidGetFirmwareMetadataResponseError,g as InvalidResponseFormatError,u as InvalidStatusWordError,ge as LEDGER_VENDOR_ID,K as ListAppsCommand,He as ListAppsDeviceAction,Qe as ListAppsWithMetadataDeviceAction,bo as ListInstalledAppsDeviceAction,X as ListLanguagePackCommand,Y as ListLanguagePackCommandError,J as LoadCertificateCommand,Zo as LogLevel,$ as OpenAppCommand,Ye as OpenAppDeviceAction,Je as OpenAppWithDependenciesDeviceAction,Te as OutOfMemoryDAError,Pe as RefusedByUserDAError,oe as RestoreAppStorageCommand,re as RestoreAppStorageCommandError,so as RestoreAppStorageTask,Mo as SecureChannelError,$e as SendCommandInAppDeviceAction,fo as StaticDeviceModelDataSource,ur as TransportConnectedDevice,Do as TransportDeviceModel,Oo as UninstallAppDeviceAction,be as UnknownDAError,he as UnsupportedFirmwareDAError,ye as UserInteractionRequired,oo as WaitForAppAndVersionDeviceAction,pr as WebLogsExporterLogger,Ao as XStateDeviceAction,Ir as base64StringToBuffer,Gr as bufferToBase64String,Pr as bufferToHexaString,Dr as connectedDeviceStubBuilder,Uo as defaultApduReceiverServiceStubBuilder,No as defaultApduSenderServiceStubBuilder,yr as formatApduReceivedLog,Sr as formatApduSentLog,br as hexaStringToBuffer,Br as isBase64String,pe as isCommandErrorCode,Lr as isDashboardName,hr as isHexaString,l as isSuccessCommandResult,Eo as isSuccessDmkResult,Yo as noopLogger,jo 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 i}from"./apdu/utils/ApduParser";export*from"./apdu/utils/AppBuilderError";import{ByteArrayBuilder as c}from"./apdu/utils/ByteArrayBuilder";import{ByteArrayParser as A}from"./apdu/utils/ByteArrayParser";import{InvalidResponseFormatError as D,InvalidStatusWordError as x}from"./command/Errors";import{CommandResultFactory as l,CommandResultStatus as g,isSuccessCommandResult as y}from"./command/model/CommandResult";import{CloseAppCommand as C}from"./command/os/CloseAppCommand";import{DeleteLanguagePackCommand as S,DeleteLanguagePackCommandError as k}from"./command/os/DeleteLanguagePackCommand";import{GetAppAndVersionCommand as R}from"./command/os/GetAppAndVersionCommand";import{GetBackgroundImageSizeCommand as I,GetBackgroundImageSizeCommandError as B}from"./command/os/GetBackgroundImageSizeCommand";import{BatteryStatusType as P,GetBatteryStatusCommand as b}from"./command/os/GetBatteryStatusCommand";import{GetOsVersionCommand as O}from"./command/os/GetOsVersionCommand";import{ListAppsCommand as M}from"./command/os/ListAppsCommand";import{ListLanguagePackCommand as U,ListLanguagePackCommandError as W}from"./command/os/ListLanguagePackCommand";import{LoadCertificateCommand as _}from"./command/os/LoadCertificateCommand";import{OpenAppCommand as z}from"./command/os/OpenAppCommand";import{isCommandErrorCode as H}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 $,DeviceModelId as ee,LEDGER_VENDOR_ID as oe}from"./device/DeviceModel";import{DeviceStatus as te}from"./device/DeviceStatus";import{DeviceActionStatus as ae}from"./device-action/model/DeviceActionState";import{UserInteractionRequired as ie}from"./device-action/model/UserInteractionRequired";import{CallTaskInAppDeviceAction as se}from"./device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction";import{DEFAULT_UNLOCK_TIMEOUT_MS as de}from"./device-action/os/Const";import{AppAlreadyInstalledDAError as fe,DeleteLanguagePackDAError as De,DeviceLockedError as xe,DeviceNotOnboardedError as ue,OutOfMemoryDAError as le,RefusedByUserDAError as ge,UnknownDAError as ye,UnsupportedFirmwareDAError as ve}from"./device-action/os/Errors";import{GetDeviceMetadataDeviceAction as Le}from"./device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction";import{GetDeviceStatusDeviceAction as ke}from"./device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction";import{GoToDashboardDeviceAction as Re}from"./device-action/os/GoToDashboard/GoToDashboardDeviceAction";import{InstallLanguagePackageDeviceAction as Ie}from"./device-action/os/InstallLanguagePackage/InstallLanguagePackageDeviceAction";import{InstallOrUpdateAppsDeviceAction as Te}from"./device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction";import{ListAppsDeviceAction as be}from"./device-action/os/ListApps/ListAppsDeviceAction";import{ListAppsWithMetadataDeviceAction as Oe}from"./device-action/os/ListAppsWithMetadata/ListAppsWithMetadataDeviceAction";import{OpenAppDeviceAction as Me}from"./device-action/os/OpenAppDeviceAction/OpenAppDeviceAction";import{OpenAppWithDependenciesDeviceAction as Ue}from"./device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction";import{SendCommandInAppDeviceAction as Ne}from"./device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction";import{WaitForAppAndVersionDeviceAction as we}from"./device-action/os/WaitForAppAndVersion/WaitForAppAndVersionDeviceAction";import{GetApplicationsMetadataTaskError as qe,InvalidGetFirmwareMetadataResponseError as He}from"./device-action/task/Errors";import{XStateDeviceAction as Qe}from"./device-action/xstate-utils/XStateDeviceAction";import{StaticDeviceModelDataSource as Ye}from"./device-model/data/StaticDeviceModelDataSource";import{BleDeviceInfos as Je}from"./device-model/model/BleDeviceInfos";import{TransportDeviceModel as $e}from"./device-model/model/DeviceModel";import{ApduResponse as oo}from"./device-session/ApduResponse";export*from"./device-session/data/FramerConst";import{DeviceSessionStateType as po}from"./device-session/DeviceSessionState";import{DmkResultFactory as no,DmkResultStatus as io,isSuccessDmkResult as mo}from"./model/DmkResult";import{GenuineCheckDeviceAction as co}from"./secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction";import{InstallAppDeviceAction as fo}from"./secure-channel/device-action/InstallApp/InstallAppDeviceAction";import{ListInstalledAppsDeviceAction as xo}from"./secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction";import{UninstallAppDeviceAction as lo}from"./secure-channel/device-action/UninstallApp/UninstallAppDeviceAction";import{SecureChannelError as yo}from"../internal/secure-channel/model/Errors";import{defaultApduReceiverServiceStubBuilder as Co}from"./device-session/service/DefaultApduReceiverService.stub";import{defaultApduSenderServiceStubBuilder as So}from"./device-session/service/DefaultApduSenderService.stub";import{FramerUtils as Eo}from"./device-session/utils/FramerUtils";import{DeviceManagementKit as Go}from"./DeviceManagementKit";import{DeviceManagementKitBuilder as Bo}from"./DeviceManagementKitBuilder";export*from"./Error";import{noopLogger as bo,noopLoggerFactory as ho}from"./logger-publisher/utils/noopLoggerFactory";import{LogLevel as Fo}from"./logger-subscriber/model/LogLevel";import{ConsoleLogger as Vo}from"./logger-subscriber/service/ConsoleLogger";import{DefaultLogTagFormatter as Wo}from"./logger-subscriber/service/DefaultLogTagFormatter";import{WebLogsExporterLogger as _o}from"./logger-subscriber/service/WebLogsExporterLogger";import{DmkNetworkClient as zo}from"./network/DmkNetworkClient";import{DmkNetworkClientError as Ho}from"./network/DmkNetworkClientError";import{ConnectedDevice as Qo}from"./transport/model/ConnectedDevice";import{DeviceConnectionStateMachine as Yo}from"./transport/model/DeviceConnectionStateMachine";export*from"./transport/model/Errors";import{TransportConnectedDevice as Zo}from"./transport/model/TransportConnectedDevice";import{connectedDeviceStubBuilder as er}from"./transport/model/TransportConnectedDevice.stub";export*from"./types";import{formatApduReceivedLog as tr,formatApduSentLog as pr}from"./utils/apduLogs";import{ApplicationChecker as nr}from"./utils/ApplicationChecker";import{isDashboardName as mr}from"./utils/AppName";import{base64StringToBuffer as cr,bufferToBase64String as dr,isBase64String as Ar}from"./utils/Base64String";import{bufferToHexaString as Dr,hexaStringToBuffer as xr,isHexaString as ur}from"./utils/HexaString";export{p as APDU_MAX_PAYLOAD,r as Apdu,a as ApduBuilder,i as ApduParser,oo as ApduResponse,fe as AppAlreadyInstalledDAError,nr as ApplicationChecker,P as BatteryStatusType,Je as BleDeviceInfos,c as ByteArrayBuilder,A as ByteArrayParser,se as CallTaskInAppDeviceAction,C as CloseAppCommand,l as CommandResultFactory,g as CommandResultStatus,Q as CommandUtils,Qo as ConnectedDevice,Vo as ConsoleLogger,de as DEFAULT_UNLOCK_TIMEOUT_MS,Wo as DefaultLogTagFormatter,S as DeleteLanguagePackCommand,k as DeleteLanguagePackCommandError,De as DeleteLanguagePackDAError,ae as DeviceActionStatus,Yo as DeviceConnectionStateMachine,xe as DeviceLockedError,Go as DeviceManagementKit,Bo as DeviceManagementKitBuilder,$ as DeviceModel,ee as DeviceModelId,ue as DeviceNotOnboardedError,po as DeviceSessionStateType,te as DeviceStatus,zo as DmkNetworkClient,Ho as DmkNetworkClientError,no as DmkResultFactory,io as DmkResultStatus,Eo as FramerUtils,Y as GLOBAL_ERRORS,co as GenuineCheckDeviceAction,R as GetAppAndVersionCommand,qe as GetApplicationsMetadataTaskError,I as GetBackgroundImageSizeCommand,B as GetBackgroundImageSizeCommandError,b as GetBatteryStatusCommand,Le as GetDeviceMetadataDeviceAction,ke as GetDeviceStatusDeviceAction,O as GetOsVersionCommand,j as GlobalCommandError,J as GlobalCommandErrorHandler,Re as GoToDashboardDeviceAction,fo as InstallAppDeviceAction,Ie as InstallLanguagePackageDeviceAction,Te as InstallOrUpdateAppsDeviceAction,He as InvalidGetFirmwareMetadataResponseError,D as InvalidResponseFormatError,x as InvalidStatusWordError,oe as LEDGER_VENDOR_ID,M as ListAppsCommand,be as ListAppsDeviceAction,Oe as ListAppsWithMetadataDeviceAction,xo as ListInstalledAppsDeviceAction,U as ListLanguagePackCommand,W as ListLanguagePackCommandError,_ as LoadCertificateCommand,Fo as LogLevel,z as OpenAppCommand,Me as OpenAppDeviceAction,Ue as OpenAppWithDependenciesDeviceAction,le as OutOfMemoryDAError,ge as RefusedByUserDAError,yo as SecureChannelError,Ne as SendCommandInAppDeviceAction,Ye as StaticDeviceModelDataSource,Zo as TransportConnectedDevice,$e as TransportDeviceModel,lo as UninstallAppDeviceAction,ye as UnknownDAError,ve as UnsupportedFirmwareDAError,ie as UserInteractionRequired,we as WaitForAppAndVersionDeviceAction,_o as WebLogsExporterLogger,Qe as XStateDeviceAction,cr as base64StringToBuffer,dr as bufferToBase64String,Dr as bufferToHexaString,er as connectedDeviceStubBuilder,Co as defaultApduReceiverServiceStubBuilder,So as defaultApduSenderServiceStubBuilder,tr as formatApduReceivedLog,pr as formatApduSentLog,xr as hexaStringToBuffer,Ar as isBase64String,H as isCommandErrorCode,mr as isDashboardName,ur as isHexaString,y as isSuccessCommandResult,mo as isSuccessDmkResult,bo as noopLogger,ho 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 InvalidResponseFormatError,\n InvalidStatusWordError,\n} from \"@api/command/Errors\";\nexport {\n CommandResultFactory,\n CommandResultStatus,\n isSuccessCommandResult,\n} from \"@api/command/model/CommandResult\";\nexport {\n BackupAppStorageCommand,\n type BackupAppStorageCommandErrorCodes,\n type BackupAppStorageCommandResponse,\n type BackupAppStorageCommandResult,\n} from \"@api/command/os/BackupAppStorageCommand\";\nexport { CloseAppCommand } from \"@api/command/os/CloseAppCommand\";\nexport {\n CommitRestoreAppStorageCommand,\n CommitRestoreAppStorageCommandError,\n type CommitRestoreAppStorageCommandErrorCodes,\n type CommitRestoreAppStorageCommandResult,\n} from \"@api/command/os/CommitRestoreAppStorageCommand\";\nexport {\n DeleteLanguagePackCommand,\n type DeleteLanguagePackCommandArgs,\n DeleteLanguagePackCommandError,\n type DeleteLanguagePackCommandResult,\n type DeleteLanguagePackErrorCodes,\n} from \"@api/command/os/DeleteLanguagePackCommand\";\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 InitRestoreAppStorageCommand,\n type InitRestoreAppStorageCommandArgs,\n InitRestoreAppStorageCommandError,\n type InitRestoreAppStorageCommandErrorCodes,\n type InitRestoreAppStorageCommandResult,\n} from \"@api/command/os/InitRestoreAppStorageCommand\";\nexport {\n type ListAppsArgs,\n ListAppsCommand,\n type ListAppsErrorCodes,\n type ListAppsResponse,\n} from \"@api/command/os/ListAppsCommand\";\nexport {\n ListLanguagePackCommand,\n type ListLanguagePackCommandArgs,\n ListLanguagePackCommandError,\n type ListLanguagePackCommandResult,\n type ListLanguagePackErrorCodes,\n type ListLanguagePackResponse,\n} from \"@api/command/os/ListLanguagePackCommand\";\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 {\n RestoreAppStorageCommand,\n type RestoreAppStorageCommandArgs,\n RestoreAppStorageCommandError,\n type RestoreAppStorageCommandErrorCodes,\n type RestoreAppStorageCommandResult,\n} from \"@api/command/os/RestoreAppStorageCommand\";\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 DeleteLanguagePackDAError,\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 { InstallLanguagePackageDeviceAction } from \"@api/device-action/os/InstallLanguagePackage/InstallLanguagePackageDeviceAction\";\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 type {\n WaitForAppAndVersionDAError,\n WaitForAppAndVersionDAInput,\n WaitForAppAndVersionDAIntermediateValue,\n WaitForAppAndVersionDAOutput,\n WaitForAppAndVersionDARequiredInteraction,\n WaitForAppAndVersionDAState,\n} from \"@api/device-action/os/WaitForAppAndVersion/types\";\nexport { WaitForAppAndVersionDeviceAction } from \"@api/device-action/os/WaitForAppAndVersion/WaitForAppAndVersionDeviceAction\";\nexport { BackupAppStorageTask } from \"@api/device-action/task/BackupAppStorageTask\";\nexport {\n GetApplicationsMetadataTaskError,\n InvalidGetFirmwareMetadataResponseError,\n} from \"@api/device-action/task/Errors\";\nexport {\n RestoreAppStorageTask,\n type RestoreAppStorageTaskArgs,\n type RestoreAppStorageTaskError,\n} from \"@api/device-action/task/RestoreAppStorageTask\";\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 {\n DmkResultFactory,\n DmkResultStatus,\n isSuccessDmkResult,\n} from \"@api/model/DmkResult\";\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 type { InstalledApp } from \"@api/secure-channel/device-action/ListInstalledApps/types\";\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 {\n DmkNetworkClient,\n type DmkNetworkClientOptions,\n type DmkNetworkResponse,\n type DmkQueryParams,\n type DmkQueryParamValue,\n type DmkRequestConfig,\n type DmkResponseType,\n} from \"@api/network/DmkNetworkClient\";\nexport { DmkNetworkClientError } from \"@api/network/DmkNetworkClientError\";\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 { isDashboardName } from \"@api/utils/AppName\";\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,8BAAAC,EACA,0BAAAC,MACK,sBACP,OACE,wBAAAC,EACA,uBAAAC,EACA,0BAAAC,MACK,mCACP,OACE,2BAAAC,MAIK,0CACP,OAAS,mBAAAC,MAAuB,kCAChC,OACE,kCAAAC,EACA,uCAAAC,MAGK,iDACP,OACE,6BAAAC,EAEA,kCAAAC,MAGK,4CACP,OACE,2BAAAC,MAEK,0CACP,OACE,4BAAAC,MAKK,2CACP,OACE,iCAAAC,EACA,sCAAAC,MAIK,gDACP,OACE,qBAAAC,EAEA,2BAAAC,MAEK,0CACP,OACE,uBAAAC,MAEK,sCACP,OACE,gCAAAC,EAEA,qCAAAC,MAGK,+CACP,OAEE,mBAAAC,MAGK,kCACP,OACE,2BAAAC,EAEA,gCAAAC,MAIK,0CACP,OAEE,0BAAAC,MAEK,yCACP,OAEE,kBAAAC,MACK,iCACP,OACE,4BAAAC,GAEA,iCAAAC,OAGK,2CACP,OAAS,sBAAAC,OAA0B,mCACnC,OAAS,gBAAAC,OAAoB,kCAC7B,OACE,iBAAAC,GACA,sBAAAC,GACA,6BAAAC,OACK,wCACP,OACE,eAAAC,GACA,iBAAAC,GACA,oBAAAC,OACK,0BACP,OAAS,gBAAAC,OAAoB,2BAE7B,OA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B,wCACzB,OAAS,iBAAAC,OAAqB,+CAC9B,OAAS,0BAAAC,OAA8B,wDAEvC,OAAS,yBAAAC,OAA6B,uDACtC,OACE,oBAAAC,OAOK,gCACP,OAAS,yBAAAC,OAA6B,qCACtC,OAAS,mBAAAC,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,OAAS,mBAAAC,OAAuB,qBAChC,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", "InvalidResponseFormatError", "InvalidStatusWordError", "CommandResultFactory", "CommandResultStatus", "isSuccessCommandResult", "BackupAppStorageCommand", "CloseAppCommand", "CommitRestoreAppStorageCommand", "CommitRestoreAppStorageCommandError", "DeleteLanguagePackCommand", "DeleteLanguagePackCommandError", "GetAppAndVersionCommand", "GetAppStorageInfoCommand", "GetBackgroundImageSizeCommand", "GetBackgroundImageSizeCommandError", "BatteryStatusType", "GetBatteryStatusCommand", "GetOsVersionCommand", "InitRestoreAppStorageCommand", "InitRestoreAppStorageCommandError", "ListAppsCommand", "ListLanguagePackCommand", "ListLanguagePackCommandError", "LoadCertificateCommand", "OpenAppCommand", "RestoreAppStorageCommand", "RestoreAppStorageCommandError", "isCommandErrorCode", "CommandUtils", "GLOBAL_ERRORS", "GlobalCommandError", "GlobalCommandErrorHandler", "DeviceModel", "DeviceModelId", "LEDGER_VENDOR_ID", "DeviceStatus", "DeviceActionStatus", "UserInteractionRequired", "CallTaskInAppDeviceAction", "DEFAULT_UNLOCK_TIMEOUT_MS", "AppAlreadyInstalledDAError", "DeleteLanguagePackDAError", "DeviceLockedError", "DeviceNotOnboardedError", "OutOfMemoryDAError", "RefusedByUserDAError", "UnknownDAError", "UnsupportedFirmwareDAError", "GetDeviceMetadataDeviceAction", "GetDeviceStatusDeviceAction", "GoToDashboardDeviceAction", "InstallLanguagePackageDeviceAction", "InstallOrUpdateAppsDeviceAction", "ListAppsDeviceAction", "ListAppsWithMetadataDeviceAction", "OpenAppDeviceAction", "OpenAppWithDependenciesDeviceAction", "SendCommandInAppDeviceAction", "WaitForAppAndVersionDeviceAction", "BackupAppStorageTask", "GetApplicationsMetadataTaskError", "InvalidGetFirmwareMetadataResponseError", "RestoreAppStorageTask", "XStateDeviceAction", "StaticDeviceModelDataSource", "BleDeviceInfos", "TransportDeviceModel", "ApduResponse", "DeviceSessionStateType", "DmkResultFactory", "DmkResultStatus", "isSuccessDmkResult", "GenuineCheckDeviceAction", "InstallAppDeviceAction", "ListInstalledAppsDeviceAction", "UninstallAppDeviceAction", "SecureChannelError", "defaultApduReceiverServiceStubBuilder", "defaultApduSenderServiceStubBuilder", "FramerUtils", "DeviceManagementKit", "DeviceManagementKitBuilder", "noopLogger", "noopLoggerFactory", "LogLevel", "ConsoleLogger", "DefaultLogTagFormatter", "WebLogsExporterLogger", "DmkNetworkClient", "DmkNetworkClientError", "ConnectedDevice", "DeviceConnectionStateMachine", "TransportConnectedDevice", "connectedDeviceStubBuilder", "formatApduReceivedLog", "formatApduSentLog", "ApplicationChecker", "isDashboardName", "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 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 DeleteLanguagePackCommand,\n type DeleteLanguagePackCommandArgs,\n DeleteLanguagePackCommandError,\n type DeleteLanguagePackCommandResult,\n type DeleteLanguagePackErrorCodes,\n} from \"@api/command/os/DeleteLanguagePackCommand\";\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 ListLanguagePackCommand,\n type ListLanguagePackCommandArgs,\n ListLanguagePackCommandError,\n type ListLanguagePackCommandResult,\n type ListLanguagePackErrorCodes,\n type ListLanguagePackResponse,\n} from \"@api/command/os/ListLanguagePackCommand\";\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 DeleteLanguagePackDAError,\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 { InstallLanguagePackageDeviceAction } from \"@api/device-action/os/InstallLanguagePackage/InstallLanguagePackageDeviceAction\";\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 type {\n WaitForAppAndVersionDAError,\n WaitForAppAndVersionDAInput,\n WaitForAppAndVersionDAIntermediateValue,\n WaitForAppAndVersionDAOutput,\n WaitForAppAndVersionDARequiredInteraction,\n WaitForAppAndVersionDAState,\n} from \"@api/device-action/os/WaitForAppAndVersion/types\";\nexport { WaitForAppAndVersionDeviceAction } from \"@api/device-action/os/WaitForAppAndVersion/WaitForAppAndVersionDeviceAction\";\nexport {\n GetApplicationsMetadataTaskError,\n InvalidGetFirmwareMetadataResponseError,\n} from \"@api/device-action/task/Errors\";\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 {\n DmkResultFactory,\n DmkResultStatus,\n isSuccessDmkResult,\n} from \"@api/model/DmkResult\";\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 type { InstalledApp } from \"@api/secure-channel/device-action/ListInstalledApps/types\";\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 {\n DmkNetworkClient,\n type DmkNetworkClientOptions,\n type DmkNetworkResponse,\n type DmkQueryParams,\n type DmkQueryParamValue,\n type DmkRequestConfig,\n type DmkResponseType,\n} from \"@api/network/DmkNetworkClient\";\nexport { DmkNetworkClientError } from \"@api/network/DmkNetworkClientError\";\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 { isDashboardName } from \"@api/utils/AppName\";\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,8BAAAC,EACA,0BAAAC,MACK,sBACP,OACE,wBAAAC,EACA,uBAAAC,EACA,0BAAAC,MACK,mCACP,OAAS,mBAAAC,MAAuB,kCAChC,OACE,6BAAAC,EAEA,kCAAAC,MAGK,4CACP,OACE,2BAAAC,MAEK,0CACP,OACE,iCAAAC,EACA,sCAAAC,MAIK,gDACP,OACE,qBAAAC,EAEA,2BAAAC,MAEK,0CACP,OACE,uBAAAC,MAEK,sCACP,OAEE,mBAAAC,MAGK,kCACP,OACE,2BAAAC,EAEA,gCAAAC,MAIK,0CACP,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,GACA,oBAAAC,OACK,0BACP,OAAS,gBAAAC,OAAoB,2BAE7B,OAEE,sBAAAC,OACK,6CACP,OAAS,2BAAAC,OAA+B,mDACxC,OAAS,6BAAAC,OAAiC,4EAC1C,OAAS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A6B,qCACtC,OAAS,mBAAAC,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,OAAS,mBAAAC,OAAuB,qBAChC,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", "InvalidResponseFormatError", "InvalidStatusWordError", "CommandResultFactory", "CommandResultStatus", "isSuccessCommandResult", "CloseAppCommand", "DeleteLanguagePackCommand", "DeleteLanguagePackCommandError", "GetAppAndVersionCommand", "GetBackgroundImageSizeCommand", "GetBackgroundImageSizeCommandError", "BatteryStatusType", "GetBatteryStatusCommand", "GetOsVersionCommand", "ListAppsCommand", "ListLanguagePackCommand", "ListLanguagePackCommandError", "LoadCertificateCommand", "OpenAppCommand", "isCommandErrorCode", "CommandUtils", "GLOBAL_ERRORS", "GlobalCommandError", "GlobalCommandErrorHandler", "DeviceModel", "DeviceModelId", "LEDGER_VENDOR_ID", "DeviceStatus", "DeviceActionStatus", "UserInteractionRequired", "CallTaskInAppDeviceAction", "DEFAULT_UNLOCK_TIMEOUT_MS", "AppAlreadyInstalledDAError", "DeleteLanguagePackDAError", "DeviceLockedError", "DeviceNotOnboardedError", "OutOfMemoryDAError", "RefusedByUserDAError", "UnknownDAError", "UnsupportedFirmwareDAError", "GetDeviceMetadataDeviceAction", "GetDeviceStatusDeviceAction", "GoToDashboardDeviceAction", "InstallLanguagePackageDeviceAction", "InstallOrUpdateAppsDeviceAction", "ListAppsDeviceAction", "ListAppsWithMetadataDeviceAction", "OpenAppDeviceAction", "OpenAppWithDependenciesDeviceAction", "SendCommandInAppDeviceAction", "WaitForAppAndVersionDeviceAction", "GetApplicationsMetadataTaskError", "InvalidGetFirmwareMetadataResponseError", "XStateDeviceAction", "StaticDeviceModelDataSource", "BleDeviceInfos", "TransportDeviceModel", "ApduResponse", "DeviceSessionStateType", "DmkResultFactory", "DmkResultStatus", "isSuccessDmkResult", "GenuineCheckDeviceAction", "InstallAppDeviceAction", "ListInstalledAppsDeviceAction", "UninstallAppDeviceAction", "SecureChannelError", "defaultApduReceiverServiceStubBuilder", "defaultApduSenderServiceStubBuilder", "FramerUtils", "DeviceManagementKit", "DeviceManagementKitBuilder", "noopLogger", "noopLoggerFactory", "LogLevel", "ConsoleLogger", "DefaultLogTagFormatter", "WebLogsExporterLogger", "DmkNetworkClient", "DmkNetworkClientError", "ConnectedDevice", "DeviceConnectionStateMachine", "TransportConnectedDevice", "connectedDeviceStubBuilder", "formatApduReceivedLog", "formatApduSentLog", "ApplicationChecker", "isDashboardName", "base64StringToBuffer", "bufferToBase64String", "isBase64String", "bufferToHexaString", "hexaStringToBuffer", "isHexaString"]
7
7
  }
@@ -7,21 +7,16 @@ export { ByteArrayParser } from "./apdu/utils/ByteArrayParser";
7
7
  export { type Command } from "./command/Command";
8
8
  export { InvalidResponseFormatError, InvalidStatusWordError, } from "./command/Errors";
9
9
  export { CommandResultFactory, CommandResultStatus, isSuccessCommandResult, } from "./command/model/CommandResult";
10
- export { BackupAppStorageCommand, type BackupAppStorageCommandErrorCodes, type BackupAppStorageCommandResponse, type BackupAppStorageCommandResult, } from "./command/os/BackupAppStorageCommand";
11
10
  export { CloseAppCommand } from "./command/os/CloseAppCommand";
12
- export { CommitRestoreAppStorageCommand, CommitRestoreAppStorageCommandError, type CommitRestoreAppStorageCommandErrorCodes, type CommitRestoreAppStorageCommandResult, } from "./command/os/CommitRestoreAppStorageCommand";
13
11
  export { DeleteLanguagePackCommand, type DeleteLanguagePackCommandArgs, DeleteLanguagePackCommandError, type DeleteLanguagePackCommandResult, type DeleteLanguagePackErrorCodes, } from "./command/os/DeleteLanguagePackCommand";
14
12
  export { GetAppAndVersionCommand, type GetAppAndVersionResponse, } from "./command/os/GetAppAndVersionCommand";
15
- export { GetAppStorageInfoCommand, type GetAppStorageInfoCommandArgs, type GetAppStorageInfoCommandErrorCodes, type GetAppStorageInfoCommandResponse, type GetAppStorageInfoCommandResult, } from "./command/os/GetAppStorageInfoCommand";
16
13
  export { GetBackgroundImageSizeCommand, GetBackgroundImageSizeCommandError, type GetBackgroundImageSizeCommandResult, type GetBackgroundImageSizeErrorCodes, type GetBackgroundImageSizeResponse, } from "./command/os/GetBackgroundImageSizeCommand";
17
14
  export { BatteryStatusType, type GetBatteryStatusArgs, GetBatteryStatusCommand, type GetBatteryStatusResponse, } from "./command/os/GetBatteryStatusCommand";
18
15
  export { GetOsVersionCommand, type GetOsVersionResponse, } from "./command/os/GetOsVersionCommand";
19
- export { InitRestoreAppStorageCommand, type InitRestoreAppStorageCommandArgs, InitRestoreAppStorageCommandError, type InitRestoreAppStorageCommandErrorCodes, type InitRestoreAppStorageCommandResult, } from "./command/os/InitRestoreAppStorageCommand";
20
16
  export { type ListAppsArgs, ListAppsCommand, type ListAppsErrorCodes, type ListAppsResponse, } from "./command/os/ListAppsCommand";
21
17
  export { ListLanguagePackCommand, type ListLanguagePackCommandArgs, ListLanguagePackCommandError, type ListLanguagePackCommandResult, type ListLanguagePackErrorCodes, type ListLanguagePackResponse, } from "./command/os/ListLanguagePackCommand";
22
18
  export { type LoadCertificateArgs, LoadCertificateCommand, type LoadCertificateErrorCodes, } from "./command/os/LoadCertificateCommand";
23
19
  export { type OpenAppArgs, OpenAppCommand, } from "./command/os/OpenAppCommand";
24
- export { RestoreAppStorageCommand, type RestoreAppStorageCommandArgs, RestoreAppStorageCommandError, type RestoreAppStorageCommandErrorCodes, type RestoreAppStorageCommandResult, } from "./command/os/RestoreAppStorageCommand";
25
20
  export { isCommandErrorCode } from "./command/utils/CommandErrors";
26
21
  export { CommandUtils } from "./command/utils/CommandUtils";
27
22
  export { GLOBAL_ERRORS, GlobalCommandError, GlobalCommandErrorHandler, } from "./command/utils/GlobalCommandError";
@@ -46,9 +41,7 @@ export { OpenAppWithDependenciesDeviceAction } from "./device-action/os/OpenAppW
46
41
  export { SendCommandInAppDeviceAction } from "./device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction";
47
42
  export type { WaitForAppAndVersionDAError, WaitForAppAndVersionDAInput, WaitForAppAndVersionDAIntermediateValue, WaitForAppAndVersionDAOutput, WaitForAppAndVersionDARequiredInteraction, WaitForAppAndVersionDAState, } from "./device-action/os/WaitForAppAndVersion/types";
48
43
  export { WaitForAppAndVersionDeviceAction } from "./device-action/os/WaitForAppAndVersion/WaitForAppAndVersionDeviceAction";
49
- export { BackupAppStorageTask } from "./device-action/task/BackupAppStorageTask";
50
44
  export { GetApplicationsMetadataTaskError, InvalidGetFirmwareMetadataResponseError, } from "./device-action/task/Errors";
51
- export { RestoreAppStorageTask, type RestoreAppStorageTaskArgs, type RestoreAppStorageTaskError, } from "./device-action/task/RestoreAppStorageTask";
52
45
  export { type DeviceActionStateMachine, XStateDeviceAction, } from "./device-action/xstate-utils/XStateDeviceAction";
53
46
  export { StaticDeviceModelDataSource } from "./device-model/data/StaticDeviceModelDataSource";
54
47
  export { BleDeviceInfos } from "./device-model/model/BleDeviceInfos";
@@ -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,KA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