@ledgerhq/device-management-kit 0.0.0-develop-20260707003031 → 0.0.0-develop-20260707161641
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/package.json +1 -1
- package/lib/cjs/src/api/command/os/BackupAppStorageCommand.js +2 -0
- package/lib/cjs/src/api/command/os/BackupAppStorageCommand.js.map +7 -0
- package/lib/cjs/src/api/command/os/BackupAppStorageCommand.test.js +2 -0
- package/lib/cjs/src/api/command/os/BackupAppStorageCommand.test.js.map +7 -0
- package/lib/cjs/src/api/command/os/CommitRestoreAppStorageCommand.js +2 -0
- package/lib/cjs/src/api/command/os/CommitRestoreAppStorageCommand.js.map +7 -0
- package/lib/cjs/src/api/command/os/CommitRestoreAppStorageCommand.test.js +2 -0
- package/lib/cjs/src/api/command/os/CommitRestoreAppStorageCommand.test.js.map +7 -0
- package/lib/cjs/src/api/command/os/InitRestoreAppStorageCommand.js +1 -1
- package/lib/cjs/src/api/command/os/InitRestoreAppStorageCommand.js.map +3 -3
- package/lib/cjs/src/api/command/os/InitRestoreAppStorageCommand.test.js +1 -1
- package/lib/cjs/src/api/command/os/InitRestoreAppStorageCommand.test.js.map +2 -2
- package/lib/cjs/src/api/command/os/RestoreAppStorageCommand.js +2 -0
- package/lib/cjs/src/api/command/os/RestoreAppStorageCommand.js.map +7 -0
- package/lib/cjs/src/api/command/os/RestoreAppStorageCommand.test.js +2 -0
- package/lib/cjs/src/api/command/os/RestoreAppStorageCommand.test.js.map +7 -0
- package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.js +1 -1
- package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.js.map +3 -3
- package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.test.js +1 -1
- package/lib/cjs/src/api/device-action/task/BackupAppStorageTask.test.js.map +3 -3
- package/lib/cjs/src/api/device-action/task/RestoreAppStorageTask.js +2 -0
- package/lib/cjs/src/api/device-action/task/RestoreAppStorageTask.js.map +7 -0
- package/lib/cjs/src/api/device-action/task/RestoreAppStorageTask.test.js +2 -0
- package/lib/cjs/src/api/device-action/task/RestoreAppStorageTask.test.js.map +7 -0
- package/lib/cjs/src/api/index.js +1 -1
- package/lib/cjs/src/api/index.js.map +3 -3
- package/lib/esm/package.json +1 -1
- package/lib/esm/src/api/command/os/BackupAppStorageCommand.js +2 -0
- package/lib/esm/src/api/command/os/BackupAppStorageCommand.js.map +7 -0
- package/lib/esm/src/api/command/os/BackupAppStorageCommand.test.js +2 -0
- package/lib/esm/src/api/command/os/BackupAppStorageCommand.test.js.map +7 -0
- package/lib/esm/src/api/command/os/CommitRestoreAppStorageCommand.js +2 -0
- package/lib/esm/src/api/command/os/CommitRestoreAppStorageCommand.js.map +7 -0
- package/lib/esm/src/api/command/os/CommitRestoreAppStorageCommand.test.js +2 -0
- package/lib/esm/src/api/command/os/CommitRestoreAppStorageCommand.test.js.map +7 -0
- package/lib/esm/src/api/command/os/InitRestoreAppStorageCommand.js +1 -1
- package/lib/esm/src/api/command/os/InitRestoreAppStorageCommand.js.map +3 -3
- package/lib/esm/src/api/command/os/InitRestoreAppStorageCommand.test.js +1 -1
- package/lib/esm/src/api/command/os/InitRestoreAppStorageCommand.test.js.map +2 -2
- package/lib/esm/src/api/command/os/RestoreAppStorageCommand.js +2 -0
- package/lib/esm/src/api/command/os/RestoreAppStorageCommand.js.map +7 -0
- package/lib/esm/src/api/command/os/RestoreAppStorageCommand.test.js +2 -0
- package/lib/esm/src/api/command/os/RestoreAppStorageCommand.test.js.map +7 -0
- package/lib/esm/src/api/device-action/task/BackupAppStorageTask.js +1 -1
- package/lib/esm/src/api/device-action/task/BackupAppStorageTask.js.map +3 -3
- package/lib/esm/src/api/device-action/task/BackupAppStorageTask.test.js +1 -1
- package/lib/esm/src/api/device-action/task/BackupAppStorageTask.test.js.map +3 -3
- package/lib/esm/src/api/device-action/task/RestoreAppStorageTask.js +2 -0
- package/lib/esm/src/api/device-action/task/RestoreAppStorageTask.js.map +7 -0
- package/lib/esm/src/api/device-action/task/RestoreAppStorageTask.test.js +2 -0
- package/lib/esm/src/api/device-action/task/RestoreAppStorageTask.test.js.map +7 -0
- package/lib/esm/src/api/index.js +1 -1
- package/lib/esm/src/api/index.js.map +3 -3
- package/lib/types/src/api/command/os/BackupAppStorageCommand.d.ts +23 -0
- package/lib/types/src/api/command/os/BackupAppStorageCommand.d.ts.map +1 -0
- package/lib/types/src/api/command/os/BackupAppStorageCommand.test.d.ts +2 -0
- package/lib/types/src/api/command/os/BackupAppStorageCommand.test.d.ts.map +1 -0
- package/lib/types/src/api/command/os/CommitRestoreAppStorageCommand.d.ts +19 -0
- package/lib/types/src/api/command/os/CommitRestoreAppStorageCommand.d.ts.map +1 -0
- package/lib/types/src/api/command/os/CommitRestoreAppStorageCommand.test.d.ts +2 -0
- package/lib/types/src/api/command/os/CommitRestoreAppStorageCommand.test.d.ts.map +1 -0
- package/lib/types/src/api/command/os/InitRestoreAppStorageCommand.d.ts +1 -1
- package/lib/types/src/api/command/os/InitRestoreAppStorageCommand.d.ts.map +1 -1
- package/lib/types/src/api/command/os/RestoreAppStorageCommand.d.ts +24 -0
- package/lib/types/src/api/command/os/RestoreAppStorageCommand.d.ts.map +1 -0
- package/lib/types/src/api/command/os/RestoreAppStorageCommand.test.d.ts +2 -0
- package/lib/types/src/api/command/os/RestoreAppStorageCommand.test.d.ts.map +1 -0
- package/lib/types/src/api/device-action/task/BackupAppStorageTask.d.ts +3 -3
- package/lib/types/src/api/device-action/task/BackupAppStorageTask.d.ts.map +1 -1
- package/lib/types/src/api/device-action/task/RestoreAppStorageTask.d.ts +17 -0
- package/lib/types/src/api/device-action/task/RestoreAppStorageTask.d.ts.map +1 -0
- package/lib/types/src/api/device-action/task/RestoreAppStorageTask.test.d.ts +2 -0
- package/lib/types/src/api/device-action/task/RestoreAppStorageTask.test.d.ts.map +1 -0
- package/lib/types/src/api/index.d.ts +4 -1
- package/lib/types/src/api/index.d.ts.map +1 -1
- package/lib/types/tsconfig.prod.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/lib/cjs/src/api/command/os/BackupStorageCommand.js +0 -2
- package/lib/cjs/src/api/command/os/BackupStorageCommand.js.map +0 -7
- package/lib/cjs/src/api/command/os/BackupStorageCommand.test.js +0 -2
- package/lib/cjs/src/api/command/os/BackupStorageCommand.test.js.map +0 -7
- package/lib/esm/src/api/command/os/BackupStorageCommand.js +0 -2
- package/lib/esm/src/api/command/os/BackupStorageCommand.js.map +0 -7
- package/lib/esm/src/api/command/os/BackupStorageCommand.test.js +0 -2
- package/lib/esm/src/api/command/os/BackupStorageCommand.test.js.map +0 -7
- package/lib/types/src/api/command/os/BackupStorageCommand.d.ts +0 -23
- package/lib/types/src/api/command/os/BackupStorageCommand.d.ts.map +0 -1
- package/lib/types/src/api/command/os/BackupStorageCommand.test.d.ts +0 -2
- package/lib/types/src/api/command/os/BackupStorageCommand.test.d.ts.map +0 -1
package/lib/esm/src/api/index.js
CHANGED
|
@@ -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 m}from"./apdu/utils/ApduParser";export*from"./apdu/utils/AppBuilderError";import{ByteArrayBuilder as d}from"./apdu/utils/ByteArrayBuilder";import{ByteArrayParser as A}from"./apdu/utils/ByteArrayParser";import{InvalidResponseFormatError as u,InvalidStatusWordError as x}from"./command/Errors";import{CommandResultFactory as g,CommandResultStatus as l,isSuccessCommandResult as y}from"./command/model/CommandResult";import{BackupStorageCommand as S}from"./command/os/BackupStorageCommand";import{CloseAppCommand as L}from"./command/os/CloseAppCommand";import{DeleteLanguagePackCommand as R,DeleteLanguagePackCommandError as I}from"./command/os/DeleteLanguagePackCommand";import{GetAppAndVersionCommand as G}from"./command/os/GetAppAndVersionCommand";import{GetAppStorageInfoCommand as T}from"./command/os/GetAppStorageInfoCommand";import{GetBackgroundImageSizeCommand as b,GetBackgroundImageSizeCommandError as h}from"./command/os/GetBackgroundImageSizeCommand";import{BatteryStatusType as F,GetBatteryStatusCommand as M}from"./command/os/GetBatteryStatusCommand";import{GetOsVersionCommand as U}from"./command/os/GetOsVersionCommand";import{InitRestoreAppStorageCommand as N,InitRestoreAppStorageCommandError as _}from"./command/os/InitRestoreAppStorageCommand";import{ListAppsCommand as z}from"./command/os/ListAppsCommand";import{ListLanguagePackCommand as H,ListLanguagePackCommandError as K}from"./command/os/ListLanguagePackCommand";import{LoadCertificateCommand as X}from"./command/os/LoadCertificateCommand";import{OpenAppCommand as j}from"./command/os/OpenAppCommand";import{isCommandErrorCode as Z}from"./command/utils/CommandErrors";import{CommandUtils as ee}from"./command/utils/CommandUtils";import{GLOBAL_ERRORS as re,GlobalCommandError as te,GlobalCommandErrorHandler as pe}from"./command/utils/GlobalCommandError";import{DeviceModel as ne,DeviceModelId as me,LEDGER_VENDOR_ID as ie}from"./device/DeviceModel";import{DeviceStatus as de}from"./device/DeviceStatus";import{DeviceActionStatus as Ae}from"./device-action/model/DeviceActionState";import{UserInteractionRequired as ue}from"./device-action/model/UserInteractionRequired";import{CallTaskInAppDeviceAction as De}from"./device-action/os/CallTaskInAppDeviceAction/CallTaskInAppDeviceAction";import{DEFAULT_UNLOCK_TIMEOUT_MS as le}from"./device-action/os/Const";import{AppAlreadyInstalledDAError as Ce,DeleteLanguagePackDAError as Se,DeviceLockedError as ve,DeviceNotOnboardedError as Le,OutOfMemoryDAError as ke,RefusedByUserDAError as Re,UnknownDAError as Ie,UnsupportedFirmwareDAError as Ee}from"./device-action/os/Errors";import{GetDeviceMetadataDeviceAction as Be}from"./device-action/os/GetDeviceMetadata/GetDeviceMetadataDeviceAction";import{GetDeviceStatusDeviceAction as Pe}from"./device-action/os/GetDeviceStatus/GetDeviceStatusDeviceAction";import{GoToDashboardDeviceAction as he}from"./device-action/os/GoToDashboard/GoToDashboardDeviceAction";import{InstallLanguagePackageDeviceAction as Fe}from"./device-action/os/InstallLanguagePackage/InstallLanguagePackageDeviceAction";import{InstallOrUpdateAppsDeviceAction as Ve}from"./device-action/os/InstallOrUpdateApps/InstallOrUpdateAppsDeviceAction";import{ListAppsDeviceAction as We}from"./device-action/os/ListApps/ListAppsDeviceAction";import{ListAppsWithMetadataDeviceAction as _e}from"./device-action/os/ListAppsWithMetadata/ListAppsWithMetadataDeviceAction";import{OpenAppDeviceAction as ze}from"./device-action/os/OpenAppDeviceAction/OpenAppDeviceAction";import{OpenAppWithDependenciesDeviceAction as He}from"./device-action/os/OpenAppWithDependencies/OpenAppWithDependenciesDeviceAction";import{SendCommandInAppDeviceAction as Qe}from"./device-action/os/SendCommandInAppDeviceAction/SendCommandInAppDeviceAction";import{WaitForAppAndVersionDeviceAction as Ye}from"./device-action/os/WaitForAppAndVersion/WaitForAppAndVersionDeviceAction";import{BackupAppStorageTask as Je}from"./device-action/task/BackupAppStorageTask";import{GetApplicationsMetadataTaskError as $e,InvalidGetFirmwareMetadataResponseError as eo}from"./device-action/task/Errors";import{XStateDeviceAction as ro}from"./device-action/xstate-utils/XStateDeviceAction";import{StaticDeviceModelDataSource as po}from"./device-model/data/StaticDeviceModelDataSource";import{BleDeviceInfos as no}from"./device-model/model/BleDeviceInfos";import{TransportDeviceModel as io}from"./device-model/model/DeviceModel";import{ApduResponse as co}from"./device-session/ApduResponse";export*from"./device-session/data/FramerConst";import{DeviceSessionStateType as uo}from"./device-session/DeviceSessionState";import{DmkResultFactory as Do,DmkResultStatus as go,isSuccessDmkResult as lo}from"./model/DmkResult";import{GenuineCheckDeviceAction as Co}from"./secure-channel/device-action/GenuineCheck/GenuineCheckDeviceAction";import{InstallAppDeviceAction as vo}from"./secure-channel/device-action/InstallApp/InstallAppDeviceAction";import{ListInstalledAppsDeviceAction as ko}from"./secure-channel/device-action/ListInstalledApps/ListInstalledAppsDeviceAction";import{UninstallAppDeviceAction as Io}from"./secure-channel/device-action/UninstallApp/UninstallAppDeviceAction";import{SecureChannelError as Go}from"../internal/secure-channel/model/Errors";import{defaultApduReceiverServiceStubBuilder as To}from"./device-session/service/DefaultApduReceiverService.stub";import{defaultApduSenderServiceStubBuilder as bo}from"./device-session/service/DefaultApduSenderService.stub";import{FramerUtils as Oo}from"./device-session/utils/FramerUtils";import{DeviceManagementKit as Mo}from"./DeviceManagementKit";import{DeviceManagementKitBuilder as Uo}from"./DeviceManagementKitBuilder";export*from"./Error";import{noopLogger as _o,noopLoggerFactory as wo}from"./logger-publisher/utils/noopLoggerFactory";import{LogLevel as qo}from"./logger-subscriber/model/LogLevel";import{ConsoleLogger as Ko}from"./logger-subscriber/service/ConsoleLogger";import{DefaultLogTagFormatter as Xo}from"./logger-subscriber/service/DefaultLogTagFormatter";import{WebLogsExporterLogger as jo}from"./logger-subscriber/service/WebLogsExporterLogger";import{DmkNetworkClient as Zo}from"./network/DmkNetworkClient";import{DmkNetworkClientError as er}from"./network/DmkNetworkClientError";import{ConnectedDevice as rr}from"./transport/model/ConnectedDevice";import{DeviceConnectionStateMachine as pr}from"./transport/model/DeviceConnectionStateMachine";export*from"./transport/model/Errors";import{TransportConnectedDevice as mr}from"./transport/model/TransportConnectedDevice";import{connectedDeviceStubBuilder as sr}from"./transport/model/TransportConnectedDevice.stub";export*from"./types";import{formatApduReceivedLog as Ar,formatApduSentLog as fr}from"./utils/apduLogs";import{ApplicationChecker as xr}from"./utils/ApplicationChecker";import{isDashboardName as gr}from"./utils/AppName";import{base64StringToBuffer as yr,bufferToBase64String as Cr,isBase64String as Sr}from"./utils/Base64String";import{bufferToHexaString as Lr,hexaStringToBuffer as kr,isHexaString as Rr}from"./utils/HexaString";export{p as APDU_MAX_PAYLOAD,r as Apdu,a as ApduBuilder,m as ApduParser,co as ApduResponse,Ce as AppAlreadyInstalledDAError,xr as ApplicationChecker,Je as BackupAppStorageTask,S as BackupStorageCommand,F as BatteryStatusType,no as BleDeviceInfos,d as ByteArrayBuilder,A as ByteArrayParser,De as CallTaskInAppDeviceAction,L as CloseAppCommand,g as CommandResultFactory,l as CommandResultStatus,ee as CommandUtils,rr as ConnectedDevice,Ko as ConsoleLogger,le as DEFAULT_UNLOCK_TIMEOUT_MS,Xo as DefaultLogTagFormatter,R as DeleteLanguagePackCommand,I as DeleteLanguagePackCommandError,Se as DeleteLanguagePackDAError,Ae as DeviceActionStatus,pr as DeviceConnectionStateMachine,ve as DeviceLockedError,Mo as DeviceManagementKit,Uo as DeviceManagementKitBuilder,ne as DeviceModel,me as DeviceModelId,Le as DeviceNotOnboardedError,uo as DeviceSessionStateType,de as DeviceStatus,Zo as DmkNetworkClient,er as DmkNetworkClientError,Do as DmkResultFactory,go as DmkResultStatus,Oo as FramerUtils,re as GLOBAL_ERRORS,Co as GenuineCheckDeviceAction,G as GetAppAndVersionCommand,T as GetAppStorageInfoCommand,$e as GetApplicationsMetadataTaskError,b as GetBackgroundImageSizeCommand,h as GetBackgroundImageSizeCommandError,M as GetBatteryStatusCommand,Be as GetDeviceMetadataDeviceAction,Pe as GetDeviceStatusDeviceAction,U as GetOsVersionCommand,te as GlobalCommandError,pe as GlobalCommandErrorHandler,he as GoToDashboardDeviceAction,N as InitRestoreAppStorageCommand,_ as InitRestoreAppStorageCommandError,vo as InstallAppDeviceAction,Fe as InstallLanguagePackageDeviceAction,Ve as InstallOrUpdateAppsDeviceAction,eo as InvalidGetFirmwareMetadataResponseError,u as InvalidResponseFormatError,x as InvalidStatusWordError,ie as LEDGER_VENDOR_ID,z as ListAppsCommand,We as ListAppsDeviceAction,_e as ListAppsWithMetadataDeviceAction,ko as ListInstalledAppsDeviceAction,H as ListLanguagePackCommand,K as ListLanguagePackCommandError,X as LoadCertificateCommand,qo as LogLevel,j as OpenAppCommand,ze as OpenAppDeviceAction,He as OpenAppWithDependenciesDeviceAction,ke as OutOfMemoryDAError,Re as RefusedByUserDAError,Go as SecureChannelError,Qe as SendCommandInAppDeviceAction,po as StaticDeviceModelDataSource,mr as TransportConnectedDevice,io as TransportDeviceModel,Io as UninstallAppDeviceAction,Ie as UnknownDAError,Ee as UnsupportedFirmwareDAError,ue as UserInteractionRequired,Ye as WaitForAppAndVersionDeviceAction,jo as WebLogsExporterLogger,ro as XStateDeviceAction,yr as base64StringToBuffer,Cr as bufferToBase64String,Lr as bufferToHexaString,sr as connectedDeviceStubBuilder,To as defaultApduReceiverServiceStubBuilder,bo as defaultApduSenderServiceStubBuilder,Ar as formatApduReceivedLog,fr as formatApduSentLog,kr as hexaStringToBuffer,Sr as isBase64String,Z as isCommandErrorCode,gr as isDashboardName,Rr as isHexaString,y as isSuccessCommandResult,lo as isSuccessDmkResult,_o as noopLogger,wo as noopLoggerFactory};
|
|
1
|
+
import{Apdu as r}from"./apdu/model/Apdu";import{APDU_MAX_PAYLOAD as p,ApduBuilder as a}from"./apdu/utils/ApduBuilder";import{ApduParser as n}from"./apdu/utils/ApduParser";export*from"./apdu/utils/AppBuilderError";import{ByteArrayBuilder as d}from"./apdu/utils/ByteArrayBuilder";import{ByteArrayParser as c}from"./apdu/utils/ByteArrayParser";import{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};
|
|
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 BackupStorageCommand,\n type BackupStorageCommandErrorCodes,\n type BackupStorageCommandResponse,\n type BackupStorageCommandResult,\n} from \"@api/command/os/BackupStorageCommand\";\nexport { CloseAppCommand } from \"@api/command/os/CloseAppCommand\";\nexport {\n 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 { 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 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,
|
|
6
|
-
"names": ["Apdu", "APDU_MAX_PAYLOAD", "ApduBuilder", "ApduParser", "ByteArrayBuilder", "ByteArrayParser", "InvalidResponseFormatError", "InvalidStatusWordError", "CommandResultFactory", "CommandResultStatus", "isSuccessCommandResult", "
|
|
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,8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,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"]
|
|
7
7
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type Apdu } from "../../apdu/model/Apdu";
|
|
2
|
+
import { type Command } from "../../command/Command";
|
|
3
|
+
import { type CommandResult } from "../../command/model/CommandResult";
|
|
4
|
+
import { type CommandErrors } from "../../command/utils/CommandErrors";
|
|
5
|
+
import { type ApduResponse } from "../../device-session/ApduResponse";
|
|
6
|
+
import { type CommandErrorArgs, DeviceExchangeError } from "../../Error";
|
|
7
|
+
export type BackupAppStorageCommandResponse = {
|
|
8
|
+
chunkData: Uint8Array;
|
|
9
|
+
chunkSize: number;
|
|
10
|
+
};
|
|
11
|
+
export type BackupAppStorageCommandErrorCodes = "5123" | "5419" | "541a" | "541b" | "541c" | "622f" | "6642";
|
|
12
|
+
export declare const BACKUP_APP_STORAGE_ERRORS: CommandErrors<BackupAppStorageCommandErrorCodes>;
|
|
13
|
+
export declare class BackupAppStorageCommandError extends DeviceExchangeError<BackupAppStorageCommandErrorCodes> {
|
|
14
|
+
constructor(args: CommandErrorArgs<BackupAppStorageCommandErrorCodes>);
|
|
15
|
+
}
|
|
16
|
+
export type BackupAppStorageCommandResult = CommandResult<BackupAppStorageCommandResponse, BackupAppStorageCommandErrorCodes>;
|
|
17
|
+
export declare class BackupAppStorageCommand implements Command<BackupAppStorageCommandResponse, void, BackupAppStorageCommandErrorCodes> {
|
|
18
|
+
readonly name = "BackupAppStorage";
|
|
19
|
+
private readonly header;
|
|
20
|
+
getApdu(): Apdu;
|
|
21
|
+
parseResponse(apduResponse: ApduResponse): BackupAppStorageCommandResult;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=BackupAppStorageCommand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackupAppStorageCommand.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/os/BackupAppStorageCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,KAAK,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAExE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,SAAS,EAAE,UAAU,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,iCAAiC,GACzC,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,CAAC;AAEX,eAAO,MAAM,yBAAyB,EAAE,aAAa,CAAC,iCAAiC,CASpF,CAAC;AAEJ,qBAAa,4BAA6B,SAAQ,mBAAmB,CAAC,iCAAiC,CAAC;gBAC1F,IAAI,EAAE,gBAAgB,CAAC,iCAAiC,CAAC;CAGtE;AAED,MAAM,MAAM,6BAA6B,GAAG,aAAa,CACvD,+BAA+B,EAC/B,iCAAiC,CAClC,CAAC;AAEF,qBAAa,uBACX,YACE,OAAO,CACL,+BAA+B,EAC/B,IAAI,EACJ,iCAAiC,CAClC;IAEH,QAAQ,CAAC,IAAI,sBAAsB;IAEnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAKrB;IAEF,OAAO,IAAI,IAAI;IAIf,aAAa,CAAC,YAAY,EAAE,YAAY,GAAG,6BAA6B;CAqCzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackupAppStorageCommand.test.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/os/BackupAppStorageCommand.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Apdu } from "../../apdu/model/Apdu";
|
|
2
|
+
import { type Command } from "../../command/Command";
|
|
3
|
+
import { type CommandResult } from "../../command/model/CommandResult";
|
|
4
|
+
import { type CommandErrors } from "../../command/utils/CommandErrors";
|
|
5
|
+
import { type ApduResponse } from "../../device-session/ApduResponse";
|
|
6
|
+
import { type CommandErrorArgs, DeviceExchangeError } from "../../Error";
|
|
7
|
+
export type CommitRestoreAppStorageCommandErrorCodes = "5123" | "5419" | "541b" | "662f" | "6734";
|
|
8
|
+
export declare const COMMIT_RESTORE_APP_STORAGE_ERRORS: CommandErrors<CommitRestoreAppStorageCommandErrorCodes>;
|
|
9
|
+
export declare class CommitRestoreAppStorageCommandError extends DeviceExchangeError<CommitRestoreAppStorageCommandErrorCodes> {
|
|
10
|
+
constructor(args: CommandErrorArgs<CommitRestoreAppStorageCommandErrorCodes>);
|
|
11
|
+
}
|
|
12
|
+
export type CommitRestoreAppStorageCommandResult = CommandResult<void, CommitRestoreAppStorageCommandErrorCodes>;
|
|
13
|
+
export declare class CommitRestoreAppStorageCommand implements Command<void, void, CommitRestoreAppStorageCommandErrorCodes> {
|
|
14
|
+
readonly name = "CommitRestoreAppStorage";
|
|
15
|
+
private readonly header;
|
|
16
|
+
getApdu(): Apdu;
|
|
17
|
+
parseResponse(apduResponse: ApduResponse): CommitRestoreAppStorageCommandResult;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=CommitRestoreAppStorageCommand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommitRestoreAppStorageCommand.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/os/CommitRestoreAppStorageCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,KAAK,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAExE,MAAM,MAAM,wCAAwC,GAChD,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,CAAC;AAEX,eAAO,MAAM,iCAAiC,EAAE,aAAa,CAAC,wCAAwC,CAOnG,CAAC;AAEJ,qBAAa,mCAAoC,SAAQ,mBAAmB,CAAC,wCAAwC,CAAC;gBAElH,IAAI,EAAE,gBAAgB,CAAC,wCAAwC,CAAC;CAInE;AAED,MAAM,MAAM,oCAAoC,GAAG,aAAa,CAC9D,IAAI,EACJ,wCAAwC,CACzC,CAAC;AAEF,qBAAa,8BACX,YAAW,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,wCAAwC,CAAC;IAExE,QAAQ,CAAC,IAAI,6BAA6B;IAE1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAKrB;IAEF,OAAO,IAAI,IAAI;IAIf,aAAa,CACX,YAAY,EAAE,YAAY,GACzB,oCAAoC;CAqBxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommitRestoreAppStorageCommand.test.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/os/CommitRestoreAppStorageCommand.test.ts"],"names":[],"mappings":""}
|
|
@@ -6,7 +6,7 @@ import { type ApduResponse } from "../../device-session/ApduResponse";
|
|
|
6
6
|
import { type CommandErrorArgs, DeviceExchangeError } from "../../Error";
|
|
7
7
|
export type InitRestoreAppStorageCommandArgs = {
|
|
8
8
|
appName: string;
|
|
9
|
-
|
|
9
|
+
appStorageDataLength: number;
|
|
10
10
|
};
|
|
11
11
|
export type InitRestoreAppStorageCommandErrorCodes = "5123" | "662f" | "5501" | "5502" | "670a" | "6733";
|
|
12
12
|
export declare const INIT_RESTORE_APP_STORAGE_ERRORS: CommandErrors<InitRestoreAppStorageCommandErrorCodes>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InitRestoreAppStorageCommand.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/os/InitRestoreAppStorageCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,KAAK,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAExE,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,
|
|
1
|
+
{"version":3,"file":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 -0,0 +1,24 @@
|
|
|
1
|
+
import { type Apdu } from "../../apdu/model/Apdu";
|
|
2
|
+
import { type Command } from "../../command/Command";
|
|
3
|
+
import { type CommandResult } from "../../command/model/CommandResult";
|
|
4
|
+
import { type CommandErrors } from "../../command/utils/CommandErrors";
|
|
5
|
+
import { type ApduResponse } from "../../device-session/ApduResponse";
|
|
6
|
+
import { type CommandErrorArgs, DeviceExchangeError } from "../../Error";
|
|
7
|
+
export type RestoreAppStorageCommandArgs = {
|
|
8
|
+
chunkData: Uint8Array;
|
|
9
|
+
};
|
|
10
|
+
export type RestoreAppStorageCommandErrorCodes = "5123" | "5419" | "541a" | "662f" | "6643" | "6734" | "684a";
|
|
11
|
+
export declare const RESTORE_APP_STORAGE_ERRORS: CommandErrors<RestoreAppStorageCommandErrorCodes>;
|
|
12
|
+
export declare class RestoreAppStorageCommandError extends DeviceExchangeError<RestoreAppStorageCommandErrorCodes> {
|
|
13
|
+
constructor(args: CommandErrorArgs<RestoreAppStorageCommandErrorCodes>);
|
|
14
|
+
}
|
|
15
|
+
export type RestoreAppStorageCommandResult = CommandResult<void, RestoreAppStorageCommandErrorCodes>;
|
|
16
|
+
export declare class RestoreAppStorageCommand implements Command<void, RestoreAppStorageCommandArgs, RestoreAppStorageCommandErrorCodes> {
|
|
17
|
+
private readonly args;
|
|
18
|
+
readonly name = "RestoreAppStorage";
|
|
19
|
+
private readonly header;
|
|
20
|
+
constructor(args: RestoreAppStorageCommandArgs);
|
|
21
|
+
getApdu(): Apdu;
|
|
22
|
+
parseResponse(apduResponse: ApduResponse): RestoreAppStorageCommandResult;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=RestoreAppStorageCommand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestoreAppStorageCommand.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/os/RestoreAppStorageCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,KAAK,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAExE,MAAM,MAAM,4BAA4B,GAAG;IACzC,SAAS,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAC1C,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,CAAC;AAEX,eAAO,MAAM,0BAA0B,EAAE,aAAa,CAAC,kCAAkC,CAStF,CAAC;AAEJ,qBAAa,6BAA8B,SAAQ,mBAAmB,CAAC,kCAAkC,CAAC;gBAC5F,IAAI,EAAE,gBAAgB,CAAC,kCAAkC,CAAC;CAGvE;AAED,MAAM,MAAM,8BAA8B,GAAG,aAAa,CACxD,IAAI,EACJ,kCAAkC,CACnC,CAAC;AAEF,qBAAa,wBACX,YACE,OAAO,CACL,IAAI,EACJ,4BAA4B,EAC5B,kCAAkC,CACnC;IAWS,OAAO,CAAC,QAAQ,CAAC,IAAI;IATjC,QAAQ,CAAC,IAAI,uBAAuB;IAEpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAKrB;gBAE2B,IAAI,EAAE,4BAA4B;IAE/D,OAAO,IAAI,IAAI;IAKf,aAAa,CAAC,YAAY,EAAE,YAAY,GAAG,8BAA8B;CAqB1E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestoreAppStorageCommand.test.d.ts","sourceRoot":"","sources":["../../../../../../src/api/command/os/RestoreAppStorageCommand.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CommandErrorResult } from "../../command/model/CommandResult";
|
|
2
|
-
import { type
|
|
2
|
+
import { type BackupAppStorageCommandErrorCodes } from "../../command/os/BackupAppStorageCommand";
|
|
3
3
|
import { type GetAppStorageInfoCommandErrorCodes } from "../../command/os/GetAppStorageInfoCommand";
|
|
4
4
|
import { type InternalApi } from "../../device-action/DeviceAction";
|
|
5
5
|
import { type LoggerPublisherService } from "../../logger-publisher/service/LoggerPublisherService";
|
|
@@ -11,8 +11,8 @@ export type BackupAppStorageTaskArgs = {
|
|
|
11
11
|
export type BackupAppStorageTaskResponse = {
|
|
12
12
|
appStorageData: HexaString;
|
|
13
13
|
};
|
|
14
|
-
export type BackupAppStorageTaskErrorCodes = GetAppStorageInfoCommandErrorCodes |
|
|
15
|
-
export type BackupAppStorageTaskError = CommandErrorResult<GetAppStorageInfoCommandErrorCodes>["error"] | CommandErrorResult<
|
|
14
|
+
export type BackupAppStorageTaskErrorCodes = GetAppStorageInfoCommandErrorCodes | BackupAppStorageCommandErrorCodes;
|
|
15
|
+
export type BackupAppStorageTaskError = CommandErrorResult<GetAppStorageInfoCommandErrorCodes>["error"] | CommandErrorResult<BackupAppStorageCommandErrorCodes>["error"];
|
|
16
16
|
export declare class BackupAppStorageTask {
|
|
17
17
|
private readonly args;
|
|
18
18
|
private readonly api;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackupAppStorageTask.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/task/BackupAppStorageTask.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,KAAK,
|
|
1
|
+
{"version":3,"file":"BackupAppStorageTask.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/task/BackupAppStorageTask.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAEL,KAAK,kCAAkC,EACxC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAE5E,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,cAAc,EAAE,UAAU,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,8BAA8B,GACtC,kCAAkC,GAClC,iCAAiC,CAAC;AAEtC,MAAM,MAAM,yBAAyB,GACjC,kBAAkB,CAAC,kCAAkC,CAAC,CAAC,OAAO,CAAC,GAC/D,kBAAkB,CAAC,iCAAiC,CAAC,CAAC,OAAO,CAAC,CAAC;AAEnE,qBAAa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAFN,IAAI,EAAE,wBAAwB,EAC9B,GAAG,EAAE,WAAW,EAChB,MAAM,EAAE,sBAAsB;IAGpC,GAAG,IAAI,OAAO,CACzB,SAAS,CAAC,4BAA4B,EAAE,yBAAyB,CAAC,CACnE;CA8DF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type CommandErrorResult } from "../../command/model/CommandResult";
|
|
2
|
+
import { type RestoreAppStorageCommandErrorCodes } from "../../command/os/RestoreAppStorageCommand";
|
|
3
|
+
import { type InternalApi } from "../../device-action/DeviceAction";
|
|
4
|
+
import { type LoggerPublisherService } from "../../logger-publisher/service/LoggerPublisherService";
|
|
5
|
+
import { type DmkResult } from "../../model/DmkResult";
|
|
6
|
+
export type RestoreAppStorageTaskArgs = {
|
|
7
|
+
appStorageData: Uint8Array;
|
|
8
|
+
};
|
|
9
|
+
export type RestoreAppStorageTaskError = CommandErrorResult<RestoreAppStorageCommandErrorCodes>["error"];
|
|
10
|
+
export declare class RestoreAppStorageTask {
|
|
11
|
+
private readonly args;
|
|
12
|
+
private readonly api;
|
|
13
|
+
private readonly logger;
|
|
14
|
+
constructor(args: RestoreAppStorageTaskArgs, api: InternalApi, logger: LoggerPublisherService);
|
|
15
|
+
run(): Promise<DmkResult<void, RestoreAppStorageTaskError>>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=RestoreAppStorageTask.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestoreAppStorageTask.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/task/RestoreAppStorageTask.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,KAAK,kCAAkC,EACxC,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,sBAAsB,CAAC;AAExE,MAAM,MAAM,yBAAyB,GAAG;IACtC,cAAc,EAAE,UAAU,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GACpC,kBAAkB,CAAC,kCAAkC,CAAC,CAAC,OAAO,CAAC,CAAC;AAElE,qBAAa,qBAAqB;IAE9B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAFN,IAAI,EAAE,yBAAyB,EAC/B,GAAG,EAAE,WAAW,EAChB,MAAM,EAAE,sBAAsB;IAGpC,GAAG,IAAI,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,0BAA0B,CAAC,CAAC;CAuCzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestoreAppStorageTask.test.d.ts","sourceRoot":"","sources":["../../../../../../src/api/device-action/task/RestoreAppStorageTask.test.ts"],"names":[],"mappings":""}
|
|
@@ -7,8 +7,9 @@ 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 {
|
|
10
|
+
export { BackupAppStorageCommand, type BackupAppStorageCommandErrorCodes, type BackupAppStorageCommandResponse, type BackupAppStorageCommandResult, } from "./command/os/BackupAppStorageCommand";
|
|
11
11
|
export { CloseAppCommand } from "./command/os/CloseAppCommand";
|
|
12
|
+
export { CommitRestoreAppStorageCommand, CommitRestoreAppStorageCommandError, type CommitRestoreAppStorageCommandErrorCodes, type CommitRestoreAppStorageCommandResult, } from "./command/os/CommitRestoreAppStorageCommand";
|
|
12
13
|
export { DeleteLanguagePackCommand, type DeleteLanguagePackCommandArgs, DeleteLanguagePackCommandError, type DeleteLanguagePackCommandResult, type DeleteLanguagePackErrorCodes, } from "./command/os/DeleteLanguagePackCommand";
|
|
13
14
|
export { GetAppAndVersionCommand, type GetAppAndVersionResponse, } from "./command/os/GetAppAndVersionCommand";
|
|
14
15
|
export { GetAppStorageInfoCommand, type GetAppStorageInfoCommandArgs, type GetAppStorageInfoCommandErrorCodes, type GetAppStorageInfoCommandResponse, type GetAppStorageInfoCommandResult, } from "./command/os/GetAppStorageInfoCommand";
|
|
@@ -20,6 +21,7 @@ export { type ListAppsArgs, ListAppsCommand, type ListAppsErrorCodes, type ListA
|
|
|
20
21
|
export { ListLanguagePackCommand, type ListLanguagePackCommandArgs, ListLanguagePackCommandError, type ListLanguagePackCommandResult, type ListLanguagePackErrorCodes, type ListLanguagePackResponse, } from "./command/os/ListLanguagePackCommand";
|
|
21
22
|
export { type LoadCertificateArgs, LoadCertificateCommand, type LoadCertificateErrorCodes, } from "./command/os/LoadCertificateCommand";
|
|
22
23
|
export { type OpenAppArgs, OpenAppCommand, } from "./command/os/OpenAppCommand";
|
|
24
|
+
export { RestoreAppStorageCommand, type RestoreAppStorageCommandArgs, RestoreAppStorageCommandError, type RestoreAppStorageCommandErrorCodes, type RestoreAppStorageCommandResult, } from "./command/os/RestoreAppStorageCommand";
|
|
23
25
|
export { isCommandErrorCode } from "./command/utils/CommandErrors";
|
|
24
26
|
export { CommandUtils } from "./command/utils/CommandUtils";
|
|
25
27
|
export { GLOBAL_ERRORS, GlobalCommandError, GlobalCommandErrorHandler, } from "./command/utils/GlobalCommandError";
|
|
@@ -46,6 +48,7 @@ export type { WaitForAppAndVersionDAError, WaitForAppAndVersionDAInput, WaitForA
|
|
|
46
48
|
export { WaitForAppAndVersionDeviceAction } from "./device-action/os/WaitForAppAndVersion/WaitForAppAndVersionDeviceAction";
|
|
47
49
|
export { BackupAppStorageTask } from "./device-action/task/BackupAppStorageTask";
|
|
48
50
|
export { GetApplicationsMetadataTaskError, InvalidGetFirmwareMetadataResponseError, } from "./device-action/task/Errors";
|
|
51
|
+
export { RestoreAppStorageTask, type RestoreAppStorageTaskArgs, type RestoreAppStorageTaskError, } from "./device-action/task/RestoreAppStorageTask";
|
|
49
52
|
export { type DeviceActionStateMachine, XStateDeviceAction, } from "./device-action/xstate-utils/XStateDeviceAction";
|
|
50
53
|
export { StaticDeviceModelDataSource } from "./device-model/data/StaticDeviceModelDataSource";
|
|
51
54
|
export { BleDeviceInfos } from "./device-model/model/BleDeviceInfos";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/index.ts"],"names":[],"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