@ledgerhq/device-signer-kit-aleo 0.0.0-develop-20260315001521 → 0.0.0-develop-20260317001455

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.
@@ -1,2 +1,2 @@
1
- "use strict";var m=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var R=(i,e)=>{for(var p in e)m(i,p,{get:e[p],enumerable:!0})},w=(i,e,p,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of O(e))!h.call(i,t)&&t!==p&&m(i,t,{get:()=>e[t],enumerable:!(o=u(e,t))||o.enumerable});return i};var S=i=>w(m({},"__esModule",{value:!0}),i),I=(i,e,p,o)=>{for(var t=o>1?void 0:o?u(e,p):e,a=i.length-1,d;a>=0;a--)(d=i[a])&&(t=(o?d(e,p,t):d(t))||t);return o&&t&&m(e,p,t),t},c=(i,e)=>(p,o)=>e(p,o,i);var T={};R(T,{AleoAppBinder:()=>s});module.exports=S(T);var n=require("@ledgerhq/device-management-kit"),r=require("inversify"),A=require("../externalTypes"),y=require("./command/GetAddressCommand"),g=require("./command/GetAppConfigCommand"),k=require("./command/GetViewKeyCommand"),D=require("./command/SignFeeIntentCommand"),v=require("./command/SignMessageCommand"),f=require("./command/SignRootIntentCommand");let s=class{constructor(e,p){this.dmk=e;this.sessionId=p}getAppConfig(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new g.GetAppConfigCommand,appName:"Aleo",requiredUserInteraction:n.UserInteractionRequired.None,skipOpenApp:e.skipOpenApp}})})}getAddress(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new y.GetAddressCommand(e),appName:"Aleo",requiredUserInteraction:e.checkOnDevice?n.UserInteractionRequired.VerifyAddress:n.UserInteractionRequired.None,skipOpenApp:e.skipOpenApp}})})}getViewKey(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new k.GetViewKeyCommand(e),appName:"Aleo",requiredUserInteraction:n.UserInteractionRequired.VerifyAddress,skipOpenApp:e.skipOpenApp}})})}signMessage(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new v.SignMessageCommand(e),appName:"Aleo",requiredUserInteraction:n.UserInteractionRequired.SignPersonalMessage,skipOpenApp:e.skipOpenApp}})})}signRootIntent(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new f.SignRootIntentCommand(e),appName:"Aleo",requiredUserInteraction:n.UserInteractionRequired.SignTransaction,skipOpenApp:e.skipOpenApp}})})}signFeeIntent(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new D.SignFeeIntentCommand(e),appName:"Aleo",requiredUserInteraction:n.UserInteractionRequired.SignTransaction,skipOpenApp:e.skipOpenApp}})})}};s=I([(0,r.injectable)(),c(0,(0,r.inject)(A.externalTypes.Dmk)),c(1,(0,r.inject)(A.externalTypes.SessionId))],s);0&&(module.exports={AleoAppBinder});
1
+ "use strict";var a=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var w=(i,e)=>{for(var p in e)a(i,p,{get:e[p],enumerable:!0})},S=(i,e,p,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of h(e))!R.call(i,t)&&t!==p&&a(i,t,{get:()=>e[t],enumerable:!(o=I(e,t))||o.enumerable});return i};var T=i=>S(a({},"__esModule",{value:!0}),i),y=(i,e,p,o)=>{for(var t=o>1?void 0:o?I(e,p):e,d=i.length-1,c;d>=0;d--)(c=i[d])&&(t=(o?c(e,p,t):c(t))||t);return o&&t&&a(e,p,t),t},A=(i,e)=>(p,o)=>e(p,o,i);var C={};w(C,{AleoAppBinder:()=>r});module.exports=T(C);var n=require("@ledgerhq/device-management-kit"),m=require("inversify"),s=require("../app-binder/constants"),u=require("../externalTypes"),g=require("./command/GetAddressCommand"),k=require("./command/GetAppConfigCommand"),D=require("./command/GetViewKeyCommand"),v=require("./command/SignFeeIntentCommand"),f=require("./command/SignMessageCommand"),O=require("./command/SignRootIntentCommand");let r=class{constructor(e,p){this.dmk=e;this.sessionId=p}getAppConfig(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new k.GetAppConfigCommand,appName:s.APP_NAME,requiredUserInteraction:n.UserInteractionRequired.None,skipOpenApp:e.skipOpenApp}})})}getAddress(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new g.GetAddressCommand(e),appName:s.APP_NAME,requiredUserInteraction:e.checkOnDevice?n.UserInteractionRequired.VerifyAddress:n.UserInteractionRequired.None,skipOpenApp:e.skipOpenApp}})})}getViewKey(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new D.GetViewKeyCommand(e),appName:s.APP_NAME,requiredUserInteraction:n.UserInteractionRequired.VerifyAddress,skipOpenApp:e.skipOpenApp}})})}signMessage(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new f.SignMessageCommand(e),appName:s.APP_NAME,requiredUserInteraction:n.UserInteractionRequired.SignPersonalMessage,skipOpenApp:e.skipOpenApp}})})}signRootIntent(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new O.SignRootIntentCommand(e),appName:s.APP_NAME,requiredUserInteraction:n.UserInteractionRequired.SignTransaction,skipOpenApp:e.skipOpenApp}})})}signFeeIntent(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new n.SendCommandInAppDeviceAction({input:{command:new v.SignFeeIntentCommand(e),appName:s.APP_NAME,requiredUserInteraction:n.UserInteractionRequired.SignTransaction,skipOpenApp:e.skipOpenApp}})})}};r=y([(0,m.injectable)(),A(0,(0,m.inject)(u.externalTypes.Dmk)),A(1,(0,m.inject)(u.externalTypes.SessionId))],r);0&&(module.exports={AleoAppBinder});
2
2
  //# sourceMappingURL=AleoAppBinder.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/internal/app-binder/AleoAppBinder.ts"],
4
- "sourcesContent": ["import {\n type DeviceManagementKit,\n type DeviceSessionId,\n SendCommandInAppDeviceAction,\n UserInteractionRequired,\n} from \"@ledgerhq/device-management-kit\";\nimport { inject, injectable } from \"inversify\";\n\nimport { type GetAddressDAReturnType } from \"@api/app-binder/GetAddressDeviceActionTypes\";\nimport { type GetAppConfigDAReturnType } from \"@api/app-binder/GetAppConfigDeviceActionTypes\";\nimport { type GetViewKeyDAReturnType } from \"@api/app-binder/GetViewKeyDeviceActionTypes\";\nimport { type SignFeeIntentDAReturnType } from \"@api/app-binder/SignFeeIntentDeviceActionTypes\";\nimport { type SignMessageDAReturnType } from \"@api/app-binder/SignMessageDeviceActionTypes\";\nimport { type SignRootIntentDAReturnType } from \"@api/app-binder/SignRootIntentDeviceActionTypes\";\nimport { externalTypes } from \"@internal/externalTypes\";\n\nimport { GetAddressCommand } from \"./command/GetAddressCommand\";\nimport { GetAppConfigCommand } from \"./command/GetAppConfigCommand\";\nimport { GetViewKeyCommand } from \"./command/GetViewKeyCommand\";\nimport { SignFeeIntentCommand } from \"./command/SignFeeIntentCommand\";\nimport { SignMessageCommand } from \"./command/SignMessageCommand\";\nimport { SignRootIntentCommand } from \"./command/SignRootIntentCommand\";\n\n@injectable()\nexport class AleoAppBinder {\n constructor(\n @inject(externalTypes.Dmk) private dmk: DeviceManagementKit,\n @inject(externalTypes.SessionId) private sessionId: DeviceSessionId,\n ) {}\n\n getAppConfig(args: { skipOpenApp: boolean }): GetAppConfigDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetAppConfigCommand(),\n appName: \"Aleo\",\n requiredUserInteraction: UserInteractionRequired.None,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n getAddress(args: {\n derivationPath: string;\n checkOnDevice: boolean;\n skipOpenApp: boolean;\n }): GetAddressDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetAddressCommand(args),\n appName: \"Aleo\",\n requiredUserInteraction: args.checkOnDevice\n ? UserInteractionRequired.VerifyAddress\n : UserInteractionRequired.None,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n getViewKey(args: {\n derivationPath: string;\n skipOpenApp: boolean;\n }): GetViewKeyDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetViewKeyCommand(args),\n appName: \"Aleo\",\n requiredUserInteraction: UserInteractionRequired.VerifyAddress,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signMessage(args: {\n derivationPath: string;\n message: string | Uint8Array;\n skipOpenApp: boolean;\n }): SignMessageDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignMessageCommand(args),\n appName: \"Aleo\",\n requiredUserInteraction: UserInteractionRequired.SignPersonalMessage,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signRootIntent(args: {\n derivationPath: string;\n rootIntent: Uint8Array;\n skipOpenApp: boolean;\n }): SignRootIntentDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignRootIntentCommand(args),\n appName: \"Aleo\",\n requiredUserInteraction: UserInteractionRequired.SignTransaction,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signFeeIntent(args: {\n feeIntent: Uint8Array;\n skipOpenApp: boolean;\n }): SignFeeIntentDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignFeeIntentCommand(args),\n appName: \"Aleo\",\n requiredUserInteraction: UserInteractionRequired.SignTransaction,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n}\n"],
5
- "mappings": "okBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,mBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAKO,2CACPC,EAAmC,qBAQnCC,EAA8B,mCAE9BC,EAAkC,uCAClCC,EAAoC,yCACpCC,EAAkC,uCAClCC,EAAqC,0CACrCC,EAAmC,wCACnCC,EAAsC,2CAG/B,IAAMC,EAAN,KAAoB,CACzB,YACqCC,EACMC,EACzC,CAFmC,SAAAD,EACM,eAAAC,CACxC,CAEH,aAAaC,EAA0D,CACrE,OAAO,KAAK,IAAI,oBAAoB,CAClC,UAAW,KAAK,UAChB,aAAc,IAAI,+BAA6B,CAC7C,MAAO,CACL,QAAS,IAAI,sBACb,QAAS,OACT,wBAAyB,0BAAwB,KACjD,YAAaA,EAAK,WACpB,CACF,CAAC,CACH,CAAC,CACH,CAEA,WAAWA,EAIgB,CACzB,OAAO,KAAK,IAAI,oBAAoB,CAClC,UAAW,KAAK,UAChB,aAAc,IAAI,+BAA6B,CAC7C,MAAO,CACL,QAAS,IAAI,oBAAkBA,CAAI,EACnC,QAAS,OACT,wBAAyBA,EAAK,cAC1B,0BAAwB,cACxB,0BAAwB,KAC5B,YAAaA,EAAK,WACpB,CACF,CAAC,CACH,CAAC,CACH,CAEA,WAAWA,EAGgB,CACzB,OAAO,KAAK,IAAI,oBAAoB,CAClC,UAAW,KAAK,UAChB,aAAc,IAAI,+BAA6B,CAC7C,MAAO,CACL,QAAS,IAAI,oBAAkBA,CAAI,EACnC,QAAS,OACT,wBAAyB,0BAAwB,cACjD,YAAaA,EAAK,WACpB,CACF,CAAC,CACH,CAAC,CACH,CAEA,YAAYA,EAIgB,CAC1B,OAAO,KAAK,IAAI,oBAAoB,CAClC,UAAW,KAAK,UAChB,aAAc,IAAI,+BAA6B,CAC7C,MAAO,CACL,QAAS,IAAI,qBAAmBA,CAAI,EACpC,QAAS,OACT,wBAAyB,0BAAwB,oBACjD,YAAaA,EAAK,WACpB,CACF,CAAC,CACH,CAAC,CACH,CAEA,eAAeA,EAIgB,CAC7B,OAAO,KAAK,IAAI,oBAAoB,CAClC,UAAW,KAAK,UAChB,aAAc,IAAI,+BAA6B,CAC7C,MAAO,CACL,QAAS,IAAI,wBAAsBA,CAAI,EACvC,QAAS,OACT,wBAAyB,0BAAwB,gBACjD,YAAaA,EAAK,WACpB,CACF,CAAC,CACH,CAAC,CACH,CAEA,cAAcA,EAGgB,CAC5B,OAAO,KAAK,IAAI,oBAAoB,CAClC,UAAW,KAAK,UAChB,aAAc,IAAI,+BAA6B,CAC7C,MAAO,CACL,QAAS,IAAI,uBAAqBA,CAAI,EACtC,QAAS,OACT,wBAAyB,0BAAwB,gBACjD,YAAaA,EAAK,WACpB,CACF,CAAC,CACH,CAAC,CACH,CACF,EA7GaH,EAANI,EAAA,IADN,cAAW,EAGPC,EAAA,eAAO,gBAAc,GAAG,GACxBA,EAAA,eAAO,gBAAc,SAAS,IAHtBL",
6
- "names": ["AleoAppBinder_exports", "__export", "AleoAppBinder", "__toCommonJS", "import_device_management_kit", "import_inversify", "import_externalTypes", "import_GetAddressCommand", "import_GetAppConfigCommand", "import_GetViewKeyCommand", "import_SignFeeIntentCommand", "import_SignMessageCommand", "import_SignRootIntentCommand", "AleoAppBinder", "dmk", "sessionId", "args", "__decorateClass", "__decorateParam"]
4
+ "sourcesContent": ["import {\n type DeviceManagementKit,\n type DeviceSessionId,\n SendCommandInAppDeviceAction,\n UserInteractionRequired,\n} from \"@ledgerhq/device-management-kit\";\nimport { inject, injectable } from \"inversify\";\n\nimport { type GetAddressDAReturnType } from \"@api/app-binder/GetAddressDeviceActionTypes\";\nimport { type GetAppConfigDAReturnType } from \"@api/app-binder/GetAppConfigDeviceActionTypes\";\nimport { type GetViewKeyDAReturnType } from \"@api/app-binder/GetViewKeyDeviceActionTypes\";\nimport { type SignFeeIntentDAReturnType } from \"@api/app-binder/SignFeeIntentDeviceActionTypes\";\nimport { type SignMessageDAReturnType } from \"@api/app-binder/SignMessageDeviceActionTypes\";\nimport { type SignRootIntentDAReturnType } from \"@api/app-binder/SignRootIntentDeviceActionTypes\";\nimport { APP_NAME } from \"@internal/app-binder/constants\";\nimport { externalTypes } from \"@internal/externalTypes\";\n\nimport { GetAddressCommand } from \"./command/GetAddressCommand\";\nimport { GetAppConfigCommand } from \"./command/GetAppConfigCommand\";\nimport { GetViewKeyCommand } from \"./command/GetViewKeyCommand\";\nimport { SignFeeIntentCommand } from \"./command/SignFeeIntentCommand\";\nimport { SignMessageCommand } from \"./command/SignMessageCommand\";\nimport { SignRootIntentCommand } from \"./command/SignRootIntentCommand\";\n\n@injectable()\nexport class AleoAppBinder {\n constructor(\n @inject(externalTypes.Dmk) private dmk: DeviceManagementKit,\n @inject(externalTypes.SessionId) private sessionId: DeviceSessionId,\n ) {}\n\n getAppConfig(args: { skipOpenApp: boolean }): GetAppConfigDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetAppConfigCommand(),\n appName: APP_NAME,\n requiredUserInteraction: UserInteractionRequired.None,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n getAddress(args: {\n derivationPath: string;\n checkOnDevice: boolean;\n skipOpenApp: boolean;\n }): GetAddressDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetAddressCommand(args),\n appName: APP_NAME,\n requiredUserInteraction: args.checkOnDevice\n ? UserInteractionRequired.VerifyAddress\n : UserInteractionRequired.None,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n getViewKey(args: {\n derivationPath: string;\n skipOpenApp: boolean;\n }): GetViewKeyDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetViewKeyCommand(args),\n appName: APP_NAME,\n requiredUserInteraction: UserInteractionRequired.VerifyAddress,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signMessage(args: {\n derivationPath: string;\n message: string | Uint8Array;\n skipOpenApp: boolean;\n }): SignMessageDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignMessageCommand(args),\n appName: APP_NAME,\n requiredUserInteraction: UserInteractionRequired.SignPersonalMessage,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signRootIntent(args: {\n derivationPath: string;\n rootIntent: Uint8Array;\n skipOpenApp: boolean;\n }): SignRootIntentDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignRootIntentCommand(args),\n appName: APP_NAME,\n requiredUserInteraction: UserInteractionRequired.SignTransaction,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signFeeIntent(args: {\n feeIntent: Uint8Array;\n skipOpenApp: boolean;\n }): SignFeeIntentDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignFeeIntentCommand(args),\n appName: APP_NAME,\n requiredUserInteraction: UserInteractionRequired.SignTransaction,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n}\n"],
5
+ "mappings": "okBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,mBAAAE,IAAA,eAAA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I,oBAAoB,CAClC,UAAW,KAAK,UAChB,aAAc,IAAI,+BAA6B,CAC7C,MAAO,CACL,QAAS,IAAI,wBAAsBA,CAAI,EACvC,QAAS,WACT,wBAAyB,0BAAwB,gBACjD,YAAaA,EAAK,WACpB,CACF,CAAC,CACH,CAAC,CACH,CAEA,cAAcA,EAGgB,CAC5B,OAAO,KAAK,IAAI,oBAAoB,CAClC,UAAW,KAAK,UAChB,aAAc,IAAI,+BAA6B,CAC7C,MAAO,CACL,QAAS,IAAI,uBAAqBA,CAAI,EACtC,QAAS,WACT,wBAAyB,0BAAwB,gBACjD,YAAaA,EAAK,WACpB,CACF,CAAC,CACH,CAAC,CACH,CACF,EA7GaH,EAANI,EAAA,IADN,cAAW,EAGPC,EAAA,eAAO,gBAAc,GAAG,GACxBA,EAAA,eAAO,gBAAc,SAAS,IAHtBL",
6
+ "names": ["AleoAppBinder_exports", "__export", "AleoAppBinder", "__toCommonJS", "import_device_management_kit", "import_inversify", "import_constants", "import_externalTypes", "import_GetAddressCommand", "import_GetAppConfigCommand", "import_GetViewKeyCommand", "import_SignFeeIntentCommand", "import_SignMessageCommand", "import_SignRootIntentCommand", "AleoAppBinder", "dmk", "sessionId", "args", "__decorateClass", "__decorateParam"]
7
7
  }
@@ -0,0 +1,2 @@
1
+ "use strict";var P=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var r=(A,o)=>{for(var t in o)P(A,t,{get:o[t],enumerable:!0})},s=(A,o,t,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of n(o))!p.call(A,e)&&e!==t&&P(A,e,{get:()=>o[e],enumerable:!(c=l(o,e))||c.enumerable});return A};var x=A=>s(P({},"__esModule",{value:!0}),A);var M={};r(M,{APP_NAME:()=>E});module.exports=x(M);const E="Aleo";0&&(module.exports={APP_NAME});
2
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/internal/app-binder/constants.ts"],
4
+ "sourcesContent": ["export const APP_NAME = \"Aleo\";\n"],
5
+ "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,cAAAE,IAAA,eAAAC,EAAAH,GAAO,MAAME,EAAW",
6
+ "names": ["constants_exports", "__export", "APP_NAME", "__toCommonJS"]
7
+ }
@@ -59,5 +59,5 @@
59
59
  "watch:builds": "pnpm ldmk-tool watch --entryPoints src/index.ts,src/**/*.ts --tsconfig tsconfig.prod.json",
60
60
  "watch:types": "concurrently \"tsc --watch -p tsconfig.prod.json\" \"tsc-alias --watch -p tsconfig.prod.json\""
61
61
  },
62
- "version": "0.0.0-develop-20260315001521"
62
+ "version": "0.0.0-develop-20260317001455"
63
63
  }
@@ -1,2 +1,2 @@
1
- var I=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var c=(s,e,t,p)=>{for(var n=p>1?void 0:p?y(e,t):e,m=s.length-1,a;m>=0;m--)(a=s[m])&&(n=(p?a(e,t,n):a(n))||n);return p&&n&&I(e,t,n),n},d=(s,e)=>(t,p)=>e(t,p,s);import{SendCommandInAppDeviceAction as o,UserInteractionRequired as i}from"@ledgerhq/device-management-kit";import{inject as A,injectable as g}from"inversify";import{externalTypes as u}from"../externalTypes";import{GetAddressCommand as k}from"./command/GetAddressCommand";import{GetAppConfigCommand as D}from"./command/GetAppConfigCommand";import{GetViewKeyCommand as v}from"./command/GetViewKeyCommand";import{SignFeeIntentCommand as f}from"./command/SignFeeIntentCommand";import{SignMessageCommand as O}from"./command/SignMessageCommand";import{SignRootIntentCommand as h}from"./command/SignRootIntentCommand";let r=class{constructor(e,t){this.dmk=e;this.sessionId=t}getAppConfig(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new D,appName:"Aleo",requiredUserInteraction:i.None,skipOpenApp:e.skipOpenApp}})})}getAddress(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new k(e),appName:"Aleo",requiredUserInteraction:e.checkOnDevice?i.VerifyAddress:i.None,skipOpenApp:e.skipOpenApp}})})}getViewKey(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new v(e),appName:"Aleo",requiredUserInteraction:i.VerifyAddress,skipOpenApp:e.skipOpenApp}})})}signMessage(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new O(e),appName:"Aleo",requiredUserInteraction:i.SignPersonalMessage,skipOpenApp:e.skipOpenApp}})})}signRootIntent(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new h(e),appName:"Aleo",requiredUserInteraction:i.SignTransaction,skipOpenApp:e.skipOpenApp}})})}signFeeIntent(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new f(e),appName:"Aleo",requiredUserInteraction:i.SignTransaction,skipOpenApp:e.skipOpenApp}})})}};r=c([g(),d(0,A(u.Dmk)),d(1,A(u.SessionId))],r);export{r as AleoAppBinder};
1
+ var y=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var A=(r,e,t,p)=>{for(var n=p>1?void 0:p?g(e,t):e,a=r.length-1,d;a>=0;a--)(d=r[a])&&(n=(p?d(e,t,n):d(n))||n);return p&&n&&y(e,t,n),n},c=(r,e)=>(t,p)=>e(t,p,r);import{SendCommandInAppDeviceAction as o,UserInteractionRequired as i}from"@ledgerhq/device-management-kit";import{inject as u,injectable as k}from"inversify";import{APP_NAME as s}from"../app-binder/constants";import{externalTypes as I}from"../externalTypes";import{GetAddressCommand as D}from"./command/GetAddressCommand";import{GetAppConfigCommand as v}from"./command/GetAppConfigCommand";import{GetViewKeyCommand as f}from"./command/GetViewKeyCommand";import{SignFeeIntentCommand as O}from"./command/SignFeeIntentCommand";import{SignMessageCommand as h}from"./command/SignMessageCommand";import{SignRootIntentCommand as R}from"./command/SignRootIntentCommand";let m=class{constructor(e,t){this.dmk=e;this.sessionId=t}getAppConfig(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new v,appName:s,requiredUserInteraction:i.None,skipOpenApp:e.skipOpenApp}})})}getAddress(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new D(e),appName:s,requiredUserInteraction:e.checkOnDevice?i.VerifyAddress:i.None,skipOpenApp:e.skipOpenApp}})})}getViewKey(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new f(e),appName:s,requiredUserInteraction:i.VerifyAddress,skipOpenApp:e.skipOpenApp}})})}signMessage(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new h(e),appName:s,requiredUserInteraction:i.SignPersonalMessage,skipOpenApp:e.skipOpenApp}})})}signRootIntent(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new R(e),appName:s,requiredUserInteraction:i.SignTransaction,skipOpenApp:e.skipOpenApp}})})}signFeeIntent(e){return this.dmk.executeDeviceAction({sessionId:this.sessionId,deviceAction:new o({input:{command:new O(e),appName:s,requiredUserInteraction:i.SignTransaction,skipOpenApp:e.skipOpenApp}})})}};m=A([k(),c(0,u(I.Dmk)),c(1,u(I.SessionId))],m);export{m as AleoAppBinder};
2
2
  //# sourceMappingURL=AleoAppBinder.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/internal/app-binder/AleoAppBinder.ts"],
4
- "sourcesContent": ["import {\n type DeviceManagementKit,\n type DeviceSessionId,\n SendCommandInAppDeviceAction,\n UserInteractionRequired,\n} from \"@ledgerhq/device-management-kit\";\nimport { inject, injectable } from \"inversify\";\n\nimport { type GetAddressDAReturnType } from \"@api/app-binder/GetAddressDeviceActionTypes\";\nimport { type GetAppConfigDAReturnType } from \"@api/app-binder/GetAppConfigDeviceActionTypes\";\nimport { type GetViewKeyDAReturnType } from \"@api/app-binder/GetViewKeyDeviceActionTypes\";\nimport { type SignFeeIntentDAReturnType } from \"@api/app-binder/SignFeeIntentDeviceActionTypes\";\nimport { type SignMessageDAReturnType } from \"@api/app-binder/SignMessageDeviceActionTypes\";\nimport { type SignRootIntentDAReturnType } from \"@api/app-binder/SignRootIntentDeviceActionTypes\";\nimport { externalTypes } from \"@internal/externalTypes\";\n\nimport { GetAddressCommand } from \"./command/GetAddressCommand\";\nimport { GetAppConfigCommand } from \"./command/GetAppConfigCommand\";\nimport { GetViewKeyCommand } from \"./command/GetViewKeyCommand\";\nimport { SignFeeIntentCommand } from \"./command/SignFeeIntentCommand\";\nimport { SignMessageCommand } from \"./command/SignMessageCommand\";\nimport { SignRootIntentCommand } from \"./command/SignRootIntentCommand\";\n\n@injectable()\nexport class AleoAppBinder {\n constructor(\n @inject(externalTypes.Dmk) private dmk: DeviceManagementKit,\n @inject(externalTypes.SessionId) private sessionId: DeviceSessionId,\n ) {}\n\n getAppConfig(args: { skipOpenApp: boolean }): GetAppConfigDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetAppConfigCommand(),\n appName: \"Aleo\",\n requiredUserInteraction: UserInteractionRequired.None,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n getAddress(args: {\n derivationPath: string;\n checkOnDevice: boolean;\n skipOpenApp: boolean;\n }): GetAddressDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetAddressCommand(args),\n appName: \"Aleo\",\n requiredUserInteraction: args.checkOnDevice\n ? UserInteractionRequired.VerifyAddress\n : UserInteractionRequired.None,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n getViewKey(args: {\n derivationPath: string;\n skipOpenApp: boolean;\n }): GetViewKeyDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetViewKeyCommand(args),\n appName: \"Aleo\",\n requiredUserInteraction: UserInteractionRequired.VerifyAddress,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signMessage(args: {\n derivationPath: string;\n message: string | Uint8Array;\n skipOpenApp: boolean;\n }): SignMessageDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignMessageCommand(args),\n appName: \"Aleo\",\n requiredUserInteraction: UserInteractionRequired.SignPersonalMessage,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signRootIntent(args: {\n derivationPath: string;\n rootIntent: Uint8Array;\n skipOpenApp: boolean;\n }): SignRootIntentDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignRootIntentCommand(args),\n appName: \"Aleo\",\n requiredUserInteraction: UserInteractionRequired.SignTransaction,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signFeeIntent(args: {\n feeIntent: Uint8Array;\n skipOpenApp: boolean;\n }): SignFeeIntentDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignFeeIntentCommand(args),\n appName: \"Aleo\",\n requiredUserInteraction: UserInteractionRequired.SignTransaction,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n}\n"],
5
- "mappings": "iOAAA,OAGE,gCAAAA,EACA,2BAAAC,MACK,kCACP,OAAS,UAAAC,EAAQ,cAAAC,MAAkB,YAQnC,OAAS,iBAAAC,MAAqB,0BAE9B,OAAS,qBAAAC,MAAyB,8BAClC,OAAS,uBAAAC,MAA2B,gCACpC,OAAS,qBAAAC,MAAyB,8BAClC,OAAS,wBAAAC,MAA4B,iCACrC,OAAS,sBAAAC,MAA0B,+BACnC,OAAS,yBAAAC,MAA6B,kCAG/B,IAAMC,EAAN,KAAoB,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,EAGgB,CAC5B,OAAO,KAAK,IAAI,oBAAoB,CAClC,UAAW,KAAK,UAChB,aAAc,IAAIC,EAA6B,CAC7C,MAAO,CACL,QAAS,IAAIO,EAAqBR,CAAI,EACtC,QAAS,OACT,wBAAyBG,EAAwB,gBACjD,YAAaH,EAAK,WACpB,CACF,CAAC,CACH,CAAC,CACH,CACF,EA7GaH,EAANY,EAAA,CADNC,EAAW,EAGPC,EAAA,EAAAC,EAAOC,EAAc,GAAG,GACxBF,EAAA,EAAAC,EAAOC,EAAc,SAAS,IAHtBhB",
6
- "names": ["SendCommandInAppDeviceAction", "UserInteractionRequired", "inject", "injectable", "externalTypes", "GetAddressCommand", "GetAppConfigCommand", "GetViewKeyCommand", "SignFeeIntentCommand", "SignMessageCommand", "SignRootIntentCommand", "AleoAppBinder", "dmk", "sessionId", "args", "SendCommandInAppDeviceAction", "GetAppConfigCommand", "UserInteractionRequired", "GetAddressCommand", "GetViewKeyCommand", "SignMessageCommand", "SignRootIntentCommand", "SignFeeIntentCommand", "__decorateClass", "injectable", "__decorateParam", "inject", "externalTypes"]
4
+ "sourcesContent": ["import {\n type DeviceManagementKit,\n type DeviceSessionId,\n SendCommandInAppDeviceAction,\n UserInteractionRequired,\n} from \"@ledgerhq/device-management-kit\";\nimport { inject, injectable } from \"inversify\";\n\nimport { type GetAddressDAReturnType } from \"@api/app-binder/GetAddressDeviceActionTypes\";\nimport { type GetAppConfigDAReturnType } from \"@api/app-binder/GetAppConfigDeviceActionTypes\";\nimport { type GetViewKeyDAReturnType } from \"@api/app-binder/GetViewKeyDeviceActionTypes\";\nimport { type SignFeeIntentDAReturnType } from \"@api/app-binder/SignFeeIntentDeviceActionTypes\";\nimport { type SignMessageDAReturnType } from \"@api/app-binder/SignMessageDeviceActionTypes\";\nimport { type SignRootIntentDAReturnType } from \"@api/app-binder/SignRootIntentDeviceActionTypes\";\nimport { APP_NAME } from \"@internal/app-binder/constants\";\nimport { externalTypes } from \"@internal/externalTypes\";\n\nimport { GetAddressCommand } from \"./command/GetAddressCommand\";\nimport { GetAppConfigCommand } from \"./command/GetAppConfigCommand\";\nimport { GetViewKeyCommand } from \"./command/GetViewKeyCommand\";\nimport { SignFeeIntentCommand } from \"./command/SignFeeIntentCommand\";\nimport { SignMessageCommand } from \"./command/SignMessageCommand\";\nimport { SignRootIntentCommand } from \"./command/SignRootIntentCommand\";\n\n@injectable()\nexport class AleoAppBinder {\n constructor(\n @inject(externalTypes.Dmk) private dmk: DeviceManagementKit,\n @inject(externalTypes.SessionId) private sessionId: DeviceSessionId,\n ) {}\n\n getAppConfig(args: { skipOpenApp: boolean }): GetAppConfigDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetAppConfigCommand(),\n appName: APP_NAME,\n requiredUserInteraction: UserInteractionRequired.None,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n getAddress(args: {\n derivationPath: string;\n checkOnDevice: boolean;\n skipOpenApp: boolean;\n }): GetAddressDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetAddressCommand(args),\n appName: APP_NAME,\n requiredUserInteraction: args.checkOnDevice\n ? UserInteractionRequired.VerifyAddress\n : UserInteractionRequired.None,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n getViewKey(args: {\n derivationPath: string;\n skipOpenApp: boolean;\n }): GetViewKeyDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new GetViewKeyCommand(args),\n appName: APP_NAME,\n requiredUserInteraction: UserInteractionRequired.VerifyAddress,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signMessage(args: {\n derivationPath: string;\n message: string | Uint8Array;\n skipOpenApp: boolean;\n }): SignMessageDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignMessageCommand(args),\n appName: APP_NAME,\n requiredUserInteraction: UserInteractionRequired.SignPersonalMessage,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signRootIntent(args: {\n derivationPath: string;\n rootIntent: Uint8Array;\n skipOpenApp: boolean;\n }): SignRootIntentDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignRootIntentCommand(args),\n appName: APP_NAME,\n requiredUserInteraction: UserInteractionRequired.SignTransaction,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n\n signFeeIntent(args: {\n feeIntent: Uint8Array;\n skipOpenApp: boolean;\n }): SignFeeIntentDAReturnType {\n return this.dmk.executeDeviceAction({\n sessionId: this.sessionId,\n deviceAction: new SendCommandInAppDeviceAction({\n input: {\n command: new SignFeeIntentCommand(args),\n appName: APP_NAME,\n requiredUserInteraction: UserInteractionRequired.SignTransaction,\n skipOpenApp: args.skipOpenApp,\n },\n }),\n });\n }\n}\n"],
5
+ "mappings": "iOAAA,OAGE,gCAAAA,EACA,2BAAAC,MACK,kCACP,OAAS,UAAAC,EAAQ,cAAAC,MAAkB,YAQnC,OAAS,YAAAC,MAAgB,iCACzB,OAAS,iBAAAC,MAAqB,0BAE9B,OAAS,qBAAAC,MAAyB,8BAClC,OAAS,uBAAAC,MAA2B,gCACpC,OAAS,qBAAAC,MAAyB,8BAClC,OAAS,wBAAAC,MAA4B,iCACrC,OAAS,sBAAAC,MAA0B,+BACnC,OAAS,yBAAAC,MAA6B,kCAG/B,IAAMC,EAAN,KAAoB,CACzB,YACqCC,EACMC,EACzC,CAFmC,SAAAD,EACM,eAAAC,CACxC,CAEH,aAAaC,EAA0D,CACrE,OAAO,KAAK,IAAI,oBAAoB,CAClC,UAAW,KAAK,UAChB,aAAc,IAAIC,EAA6B,CAC7C,MAAO,CACL,QAAS,IAAIC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,EAAK,WACpB,CACF,CAAC,CACH,CAAC,CACH,CACF,EA7GaH,EAANa,EAAA,CADNC,EAAW,EAGPC,EAAA,EAAAC,EAAOC,EAAc,GAAG,GACxBF,EAAA,EAAAC,EAAOC,EAAc,SAAS,IAHtBjB",
6
+ "names": ["SendCommandInAppDeviceAction", "UserInteractionRequired", "inject", "injectable", "APP_NAME", "externalTypes", "GetAddressCommand", "GetAppConfigCommand", "GetViewKeyCommand", "SignFeeIntentCommand", "SignMessageCommand", "SignRootIntentCommand", "AleoAppBinder", "dmk", "sessionId", "args", "SendCommandInAppDeviceAction", "GetAppConfigCommand", "APP_NAME", "UserInteractionRequired", "GetAddressCommand", "GetViewKeyCommand", "SignMessageCommand", "SignRootIntentCommand", "SignFeeIntentCommand", "__decorateClass", "injectable", "__decorateParam", "inject", "externalTypes"]
7
7
  }
@@ -0,0 +1,2 @@
1
+ const o="Aleo";export{o as APP_NAME};
2
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/internal/app-binder/constants.ts"],
4
+ "sourcesContent": ["export const APP_NAME = \"Aleo\";\n"],
5
+ "mappings": "AAAO,MAAMA,EAAW",
6
+ "names": ["APP_NAME"]
7
+ }
@@ -59,5 +59,5 @@
59
59
  "watch:builds": "pnpm ldmk-tool watch --entryPoints src/index.ts,src/**/*.ts --tsconfig tsconfig.prod.json",
60
60
  "watch:types": "concurrently \"tsc --watch -p tsconfig.prod.json\" \"tsc-alias --watch -p tsconfig.prod.json\""
61
61
  },
62
- "version": "0.0.0-develop-20260315001521"
62
+ "version": "0.0.0-develop-20260317001455"
63
63
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AleoAppBinder.d.ts","sourceRoot":"","sources":["../../../../src/internal/app-binder/AleoAppBinder.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,eAAe,EAGrB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EA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AAC;KACtB,GAAG,0BAA0B;IAc9B,aAAa,CAAC,IAAI,EAAE;QAClB,SAAS,EAAE,UAAU,CAAC;QACtB,WAAW,EAAE,OAAO,CAAC;KACtB,GAAG,yBAAyB;CAa9B"}
@@ -0,0 +1,2 @@
1
+ export declare const APP_NAME = "Aleo";
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/internal/app-binder/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,SAAS,CAAC"}