@ledgerhq/context-module 0.0.0-develop-20260917001250 → 0.0.0-develop-20260919001346

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/lib/cjs/package.json +1 -1
  2. package/lib/cjs/src/DefaultContextModule.js +1 -1
  3. package/lib/cjs/src/DefaultContextModule.js.map +3 -3
  4. package/lib/cjs/src/di.js +1 -1
  5. package/lib/cjs/src/di.js.map +3 -3
  6. package/lib/cjs/src/index.js +1 -1
  7. package/lib/cjs/src/index.js.map +2 -2
  8. package/lib/cjs/src/modules/multichain/reporter/model/BlindSigningEvent.js +1 -1
  9. package/lib/cjs/src/modules/multichain/reporter/model/BlindSigningEvent.js.map +2 -2
  10. package/lib/cjs/src/modules/solana/instruction-info/data/HttpInstructionInfoDataSource.test.js +1 -1
  11. package/lib/cjs/src/modules/solana/instruction-info/data/HttpInstructionInfoDataSource.test.js.map +2 -2
  12. package/lib/cjs/src/modules/solana/instruction-info/data/InstructionInfoDto.js +1 -1
  13. package/lib/cjs/src/modules/solana/instruction-info/data/InstructionInfoDto.js.map +3 -3
  14. package/lib/cjs/src/modules/solana/instruction-info/data/InstructionInfoMapper.js +1 -1
  15. package/lib/cjs/src/modules/solana/instruction-info/data/InstructionInfoMapper.js.map +3 -3
  16. package/lib/cjs/src/modules/solana/instruction-info/data/InstructionInfoMapper.test.js +1 -1
  17. package/lib/cjs/src/modules/solana/instruction-info/data/InstructionInfoMapper.test.js.map +2 -2
  18. package/lib/cjs/src/modules/solana/model/SolanaClearSignContext.js +1 -1
  19. package/lib/cjs/src/modules/solana/model/SolanaClearSignContext.js.map +2 -2
  20. package/lib/cjs/src/modules/solana/model/SolanaPayloads.js +1 -1
  21. package/lib/cjs/src/modules/solana/model/SolanaPayloads.js.map +2 -2
  22. package/lib/cjs/src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.js +1 -1
  23. package/lib/cjs/src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.js.map +3 -3
  24. package/lib/cjs/src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.test.js +1 -1
  25. package/lib/cjs/src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.test.js.map +3 -3
  26. package/lib/cjs/src/modules/tron/model/TronTransactionContext.js +2 -0
  27. package/lib/cjs/src/modules/tron/model/TronTransactionContext.js.map +7 -0
  28. package/lib/cjs/src/modules/tron/token/data/HttpTokenDataSource.js +2 -0
  29. package/lib/cjs/src/modules/tron/token/data/HttpTokenDataSource.js.map +7 -0
  30. package/lib/cjs/src/modules/tron/token/data/HttpTokenDataSource.test.js +2 -0
  31. package/lib/cjs/src/modules/tron/token/data/HttpTokenDataSource.test.js.map +7 -0
  32. package/lib/cjs/src/modules/tron/token/data/TokenDataSource.js +2 -0
  33. package/lib/cjs/src/modules/tron/token/data/TokenDataSource.js.map +7 -0
  34. package/lib/cjs/src/modules/tron/token/di/tokenModuleFactory.js +2 -0
  35. package/lib/cjs/src/modules/tron/token/di/tokenModuleFactory.js.map +7 -0
  36. package/lib/cjs/src/modules/tron/token/di/tokenTypes.js +2 -0
  37. package/lib/cjs/src/modules/tron/token/di/tokenTypes.js.map +7 -0
  38. package/lib/cjs/src/modules/tron/token/domain/TokenContextLoader.js +2 -0
  39. package/lib/cjs/src/modules/tron/token/domain/TokenContextLoader.js.map +7 -0
  40. package/lib/cjs/src/modules/tron/token/domain/TokenContextLoader.test.js +2 -0
  41. package/lib/cjs/src/modules/tron/token/domain/TokenContextLoader.test.js.map +7 -0
  42. package/lib/cjs/src/modules/tron/token/domain/parseTrc10AssetId.js +2 -0
  43. package/lib/cjs/src/modules/tron/token/domain/parseTrc10AssetId.js.map +7 -0
  44. package/lib/cjs/src/modules/tron/token/domain/parseTrc10AssetId.test.js +2 -0
  45. package/lib/cjs/src/modules/tron/token/domain/parseTrc10AssetId.test.js.map +7 -0
  46. package/lib/cjs/src/shared/domain/ContextModuleChainID.js +1 -1
  47. package/lib/cjs/src/shared/domain/ContextModuleChainID.js.map +2 -2
  48. package/lib/cjs/src/shared/model/ClearSignContext.js +1 -1
  49. package/lib/cjs/src/shared/model/ClearSignContext.js.map +2 -2
  50. package/lib/esm/package.json +1 -1
  51. package/lib/esm/src/DefaultContextModule.js +1 -1
  52. package/lib/esm/src/DefaultContextModule.js.map +3 -3
  53. package/lib/esm/src/di.js +1 -1
  54. package/lib/esm/src/di.js.map +3 -3
  55. package/lib/esm/src/index.js +1 -1
  56. package/lib/esm/src/index.js.map +2 -2
  57. package/lib/esm/src/modules/multichain/reporter/model/BlindSigningEvent.js +1 -1
  58. package/lib/esm/src/modules/multichain/reporter/model/BlindSigningEvent.js.map +2 -2
  59. package/lib/esm/src/modules/solana/instruction-info/data/HttpInstructionInfoDataSource.test.js +1 -1
  60. package/lib/esm/src/modules/solana/instruction-info/data/HttpInstructionInfoDataSource.test.js.map +2 -2
  61. package/lib/esm/src/modules/solana/instruction-info/data/InstructionInfoDto.js +1 -1
  62. package/lib/esm/src/modules/solana/instruction-info/data/InstructionInfoDto.js.map +3 -3
  63. package/lib/esm/src/modules/solana/instruction-info/data/InstructionInfoMapper.js +1 -1
  64. package/lib/esm/src/modules/solana/instruction-info/data/InstructionInfoMapper.js.map +3 -3
  65. package/lib/esm/src/modules/solana/instruction-info/data/InstructionInfoMapper.test.js +1 -1
  66. package/lib/esm/src/modules/solana/instruction-info/data/InstructionInfoMapper.test.js.map +3 -3
  67. package/lib/esm/src/modules/solana/model/SolanaClearSignContext.js +1 -1
  68. package/lib/esm/src/modules/solana/model/SolanaClearSignContext.js.map +2 -2
  69. package/lib/esm/src/modules/solana/model/SolanaPayloads.js.map +2 -2
  70. package/lib/esm/src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.js +1 -1
  71. package/lib/esm/src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.js.map +3 -3
  72. package/lib/esm/src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.test.js +1 -1
  73. package/lib/esm/src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.test.js.map +3 -3
  74. package/lib/esm/src/modules/tron/model/TronTransactionContext.js +1 -0
  75. package/lib/esm/src/modules/tron/model/TronTransactionContext.js.map +7 -0
  76. package/lib/esm/src/modules/tron/token/data/HttpTokenDataSource.js +2 -0
  77. package/lib/esm/src/modules/tron/token/data/HttpTokenDataSource.js.map +7 -0
  78. package/lib/esm/src/modules/tron/token/data/HttpTokenDataSource.test.js +2 -0
  79. package/lib/esm/src/modules/tron/token/data/HttpTokenDataSource.test.js.map +7 -0
  80. package/lib/esm/src/modules/tron/token/data/TokenDataSource.js +2 -0
  81. package/lib/esm/src/modules/tron/token/data/TokenDataSource.js.map +7 -0
  82. package/lib/esm/src/modules/tron/token/di/tokenModuleFactory.js +2 -0
  83. package/lib/esm/src/modules/tron/token/di/tokenModuleFactory.js.map +7 -0
  84. package/lib/esm/src/modules/tron/token/di/tokenTypes.js +2 -0
  85. package/lib/esm/src/modules/tron/token/di/tokenTypes.js.map +7 -0
  86. package/lib/esm/src/modules/tron/token/domain/TokenContextLoader.js +2 -0
  87. package/lib/esm/src/modules/tron/token/domain/TokenContextLoader.js.map +7 -0
  88. package/lib/esm/src/modules/tron/token/domain/TokenContextLoader.test.js +2 -0
  89. package/lib/esm/src/modules/tron/token/domain/TokenContextLoader.test.js.map +7 -0
  90. package/lib/esm/src/modules/tron/token/domain/parseTrc10AssetId.js +2 -0
  91. package/lib/esm/src/modules/tron/token/domain/parseTrc10AssetId.js.map +7 -0
  92. package/lib/esm/src/modules/tron/token/domain/parseTrc10AssetId.test.js +2 -0
  93. package/lib/esm/src/modules/tron/token/domain/parseTrc10AssetId.test.js.map +7 -0
  94. package/lib/esm/src/shared/domain/ContextModuleChainID.js +1 -1
  95. package/lib/esm/src/shared/domain/ContextModuleChainID.js.map +2 -2
  96. package/lib/esm/src/shared/model/ClearSignContext.js +1 -1
  97. package/lib/esm/src/shared/model/ClearSignContext.js.map +2 -2
  98. package/lib/types/src/DefaultContextModule.d.ts.map +1 -1
  99. package/lib/types/src/di.d.ts.map +1 -1
  100. package/lib/types/src/index.d.ts +1 -0
  101. package/lib/types/src/index.d.ts.map +1 -1
  102. package/lib/types/src/modules/multichain/reporter/model/BlindSigningEvent.d.ts +1 -0
  103. package/lib/types/src/modules/multichain/reporter/model/BlindSigningEvent.d.ts.map +1 -1
  104. package/lib/types/src/modules/solana/instruction-info/data/InstructionInfoDto.d.ts +27 -0
  105. package/lib/types/src/modules/solana/instruction-info/data/InstructionInfoDto.d.ts.map +1 -1
  106. package/lib/types/src/modules/solana/instruction-info/data/InstructionInfoMapper.d.ts +3 -2
  107. package/lib/types/src/modules/solana/instruction-info/data/InstructionInfoMapper.d.ts.map +1 -1
  108. package/lib/types/src/modules/solana/model/SolanaClearSignContext.d.ts +1 -1
  109. package/lib/types/src/modules/solana/model/SolanaClearSignContext.d.ts.map +1 -1
  110. package/lib/types/src/modules/solana/model/SolanaPayloads.d.ts +15 -0
  111. package/lib/types/src/modules/solana/model/SolanaPayloads.d.ts.map +1 -1
  112. package/lib/types/src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.d.ts +3 -2
  113. package/lib/types/src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.d.ts.map +1 -1
  114. package/lib/types/src/modules/tron/model/TronTransactionContext.d.ts +5 -0
  115. package/lib/types/src/modules/tron/model/TronTransactionContext.d.ts.map +1 -0
  116. package/lib/types/src/modules/tron/token/data/HttpTokenDataSource.d.ts +17 -0
  117. package/lib/types/src/modules/tron/token/data/HttpTokenDataSource.d.ts.map +1 -0
  118. package/lib/types/src/modules/tron/token/data/HttpTokenDataSource.test.d.ts +2 -0
  119. package/lib/types/src/modules/tron/token/data/HttpTokenDataSource.test.d.ts.map +1 -0
  120. package/lib/types/src/modules/tron/token/data/TokenDataSource.d.ts +20 -0
  121. package/lib/types/src/modules/tron/token/data/TokenDataSource.d.ts.map +1 -0
  122. package/lib/types/src/modules/tron/token/di/tokenModuleFactory.d.ts +3 -0
  123. package/lib/types/src/modules/tron/token/di/tokenModuleFactory.d.ts.map +1 -0
  124. package/lib/types/src/modules/tron/token/di/tokenTypes.d.ts +5 -0
  125. package/lib/types/src/modules/tron/token/di/tokenTypes.d.ts.map +1 -0
  126. package/lib/types/src/modules/tron/token/domain/TokenContextLoader.d.ts +16 -0
  127. package/lib/types/src/modules/tron/token/domain/TokenContextLoader.d.ts.map +1 -0
  128. package/lib/types/src/modules/tron/token/domain/TokenContextLoader.test.d.ts +2 -0
  129. package/lib/types/src/modules/tron/token/domain/TokenContextLoader.test.d.ts.map +1 -0
  130. package/lib/types/src/modules/tron/token/domain/parseTrc10AssetId.d.ts +16 -0
  131. package/lib/types/src/modules/tron/token/domain/parseTrc10AssetId.d.ts.map +1 -0
  132. package/lib/types/src/modules/tron/token/domain/parseTrc10AssetId.test.d.ts +2 -0
  133. package/lib/types/src/modules/tron/token/domain/parseTrc10AssetId.test.d.ts.map +1 -0
  134. package/lib/types/src/shared/domain/ContextModuleChainID.d.ts +2 -1
  135. package/lib/types/src/shared/domain/ContextModuleChainID.d.ts.map +1 -1
  136. package/lib/types/src/shared/model/ClearSignContext.d.ts +2 -1
  137. package/lib/types/src/shared/model/ClearSignContext.d.ts.map +1 -1
  138. package/lib/types/tsconfig.prod.tsbuildinfo +1 -1
  139. package/package.json +6 -6
@@ -64,6 +64,7 @@ export type SolanaInstructionInfoPayload = {
64
64
  accountResets: SolanaCalAccountReset[];
65
65
  displayFields: SolanaCalDisplayField[];
66
66
  hideRules: SolanaCalHideRule[];
67
+ accountSchema?: SolanaCalAccountSchema;
67
68
  };
68
69
  export declare enum SolanaInstructionSubstructureKind {
69
70
  DISPLAY_FIELD = 0,
@@ -137,6 +138,20 @@ export type SolanaCalOwnerAssociation = {
137
138
  export type SolanaCalAccountReset = {
138
139
  account_index: number;
139
140
  require_pre_balance_zero?: boolean;
141
+ value_kind?: string;
142
+ token?: SolanaCalTokenValue;
143
+ require_native_pre_balance_zero?: boolean;
144
+ };
145
+ export type SolanaCalSlotConstraint = {
146
+ signer: "FORBIDDEN" | "EITHER" | "REQUIRED";
147
+ writable: "FORBIDDEN" | "EITHER" | "REQUIRED";
148
+ };
149
+ export type SolanaCalAccountSchema = {
150
+ count_min: number;
151
+ /** 255 = COUNT_UNBOUNDED (no upper limit). */
152
+ count_max: number;
153
+ remaining_policy: SolanaCalSlotConstraint;
154
+ slots: SolanaCalSlotConstraint[];
140
155
  };
141
156
  export type SolanaCalDisplayField = {
142
157
  name?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SolanaPayloads.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/solana/model/SolanaPayloads.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,eAAe,GAAG;IAC5B,qBAAqB,EAAE;QACrB,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,2BAA2B,EAAE,CAAC,CAAC;IAC3D,YAAY,EAAE,yBAAyB,EAAE,CAAC;CAC3C,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAQF,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,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IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,sBAAsB,CAAC;CACpC,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,sBAAsB,CAAC;CACpC,CAAC;AAOF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"SolanaPayloads.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/solana/model/SolanaPayloads.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,eAAe,GAAG;IAC5B,qBAAqB,EAAE;QACrB,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM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AC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,sBAAsB,CAAC;CACpC,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,sBAAsB,CAAC;CACpC,CAAC;AAOF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
@@ -1,11 +1,12 @@
1
- import { DmkNetworkClient } from "@ledgerhq/device-management-kit";
1
+ import { DmkNetworkClient, LoggerPublisherService } from "@ledgerhq/device-management-kit";
2
2
  import { Either } from "purify-ts";
3
3
  import { type ContextModuleServiceConfig } from "../../../../config/model/ContextModuleConfig";
4
4
  import { type GetTokenAccountStateParams, type TokenAccountStateDataSource, type TokenAccountStateResult } from "./TokenAccountStateDataSource";
5
5
  export declare class HttpTokenAccountStateDataSource implements TokenAccountStateDataSource {
6
6
  private readonly config;
7
7
  private readonly http;
8
- constructor(config: ContextModuleServiceConfig, http: DmkNetworkClient);
8
+ private logger;
9
+ constructor(config: ContextModuleServiceConfig, loggerFactory: (tag: string) => LoggerPublisherService, http: DmkNetworkClient);
9
10
  getTokenAccountState({ tokenAccount, challenge, }: GetTokenAccountStateParams): Promise<Either<Error, TokenAccountStateResult>>;
10
11
  }
11
12
  //# sourceMappingURL=HttpTokenAccountStateDataSource.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HttpTokenAccountStateDataSource.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAGhD,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAKrF,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC7B,MAAM,+BAA+B,CAAC;AAcvC,qBACa,+BACX,YAAW,2BAA2B;IAIpC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAEvB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAFJ,MAAM,EAAE,0BAA0B,EAElC,IAAI,EAAE,gBAAgB;IAG5B,oBAAoB,CAAC,EAChC,YAAY,EACZ,SAAS,GACV,EAAE,0BAA0B,GAAG,OAAO,CACrC,MAAM,CAAC,KAAK,EAAE,uBAAuB,CAAC,CACvC;CA+CF"}
1
+ {"version":3,"file":"HttpTokenAccountStateDataSource.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/solana/token-account-state/data/HttpTokenAccountStateDataSource.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAGhD,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAKrF,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC7B,MAAM,+BAA+B,CAAC;AAevC,qBACa,+BACX,YAAW,2BAA2B;IAMpC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAIvB,OAAO,CAAC,QAAQ,CAAC,IAAI;IARvB,OAAO,CAAC,MAAM,CAAyB;gBAIpB,MAAM,EAAE,0BAA0B,EAEnD,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,sBAAsB,EAErC,IAAI,EAAE,gBAAgB;IAK5B,oBAAoB,CAAC,EAChC,YAAY,EACZ,SAAS,GACV,EAAE,0BAA0B,GAAG,OAAO,CACrC,MAAM,CAAC,KAAK,EAAE,uBAAuB,CAAC,CACvC;CA8DF"}
@@ -0,0 +1,5 @@
1
+ export type TronTransactionContext = {
2
+ /** Protobuf-serialized `Transaction.raw` bytes, as given to the signer. */
3
+ rawTransaction: Uint8Array;
4
+ };
5
+ //# sourceMappingURL=TronTransactionContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TronTransactionContext.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/tron/model/TronTransactionContext.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACnC,2EAA2E;IAC3E,cAAc,EAAE,UAAU,CAAC;CAC5B,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { DmkNetworkClient } from "@ledgerhq/device-management-kit";
2
+ import { type Either } from "purify-ts";
3
+ import { type ContextModuleServiceConfig } from "../../../../config/model/ContextModuleConfig";
4
+ import { type GetTokenInfosParams, type TokenDataSource } from "../../../../modules/tron/token/data/TokenDataSource";
5
+ export declare class HttpTokenDataSource implements TokenDataSource {
6
+ private readonly config;
7
+ private readonly http;
8
+ constructor(config: ContextModuleServiceConfig, http: DmkNetworkClient);
9
+ /**
10
+ * Unlike the EVM descriptor, which is assembled from `descriptor.data` plus a
11
+ * signature, the whole TRC10 payload the device expects is the signature
12
+ * field: a protobuf `TokenDetails` the app checks against its built-in key.
13
+ * `descriptor.data` is empty for these entries.
14
+ */
15
+ getTokenInfosPayload({ assetId, }: GetTokenInfosParams): Promise<Either<Error, string>>;
16
+ }
17
+ //# sourceMappingURL=HttpTokenDataSource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpTokenDataSource.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tron/token/data/HttpTokenDataSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAE,KAAK,MAAM,EAAe,MAAM,WAAW,CAAC;AAGrD,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EACL,KAAK,mBAAmB,EAExB,KAAK,eAAe,EACrB,MAAM,2CAA2C,CAAC;AAGnD,qBACa,mBAAoB,YAAW,eAAe;IAGvD,OAAO,CAAC,QAAQ,CAAC,MAAM;IAEvB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAFJ,MAAM,EAAE,0BAA0B,EAElC,IAAI,EAAE,gBAAgB;IAGzC;;;;;OAKG;IACU,oBAAoB,CAAC,EAChC,OAAO,GACR,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;CAoCxD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HttpTokenDataSource.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpTokenDataSource.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tron/token/data/HttpTokenDataSource.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import { Codec, type Either } from "purify-ts";
2
+ export type GetTokenInfosParams = {
3
+ assetId: string;
4
+ };
5
+ /**
6
+ * Only the fields the payload is read from are validated: a CAL change to the
7
+ * ones we ignore must not downgrade a signable descriptor to a blind signature.
8
+ */
9
+ export declare const tokenDataResponsesCodec: Codec<{
10
+ descriptor: {
11
+ signatures: {
12
+ prod: string;
13
+ test: string;
14
+ };
15
+ };
16
+ }[]>;
17
+ export interface TokenDataSource {
18
+ getTokenInfosPayload(params: GetTokenInfosParams): Promise<Either<Error, string>>;
19
+ }
20
+ //# sourceMappingURL=TokenDataSource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenDataSource.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tron/token/data/TokenDataSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,EAAE,KAAK,MAAM,EAAU,MAAM,WAAW,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;IASnC,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,oBAAoB,CAClB,MAAM,EAAE,mBAAmB,GAC1B,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;CACnC"}
@@ -0,0 +1,3 @@
1
+ import { ContainerModule } from "inversify";
2
+ export declare const tokenModuleFactory: () => ContainerModule;
3
+ //# sourceMappingURL=tokenModuleFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokenModuleFactory.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tron/token/di/tokenModuleFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAM5C,eAAO,MAAM,kBAAkB,uBAI3B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const tokenTypes: {
2
+ TokenDataSource: symbol;
3
+ TokenContextLoader: symbol;
4
+ };
5
+ //# sourceMappingURL=tokenTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokenTypes.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tron/token/di/tokenTypes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;CAGtB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { type TronTransactionContext } from "../../../../modules/tron/model/TronTransactionContext";
2
+ import { type TokenDataSource } from "../../../../modules/tron/token/data/TokenDataSource";
3
+ import { type ContextLoader } from "../../../../shared/domain/ContextLoader";
4
+ import { type ClearSignContext, ClearSignContextType } from "../../../../shared/model/ClearSignContext";
5
+ export declare class TokenContextLoader implements ContextLoader<TronTransactionContext> {
6
+ private readonly dataSource;
7
+ constructor(dataSource: TokenDataSource);
8
+ canHandle(input: unknown, expectedTypes: ClearSignContextType[]): input is TronTransactionContext;
9
+ /**
10
+ * A transaction carrying no TRC10 transfer yields no context rather than an
11
+ * error: the device reviews it unchanged, which is the normal outcome for
12
+ * every TRX and TRC20 transfer.
13
+ */
14
+ load({ rawTransaction, }: TronTransactionContext): Promise<ClearSignContext[]>;
15
+ }
16
+ //# sourceMappingURL=TokenContextLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenContextLoader.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tron/token/domain/TokenContextLoader.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAC1F,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAGjF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EACL,KAAK,gBAAgB,EACrB,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAMzC,qBACa,kBACX,YAAW,aAAa,CAAC,sBAAsB,CAAC;IAI9C,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAV,UAAU,EAAE,eAAe;IAG9C,SAAS,CACP,KAAK,EAAE,OAAO,EACd,aAAa,EAAE,oBAAoB,EAAE,GACpC,KAAK,IAAI,sBAAsB;IAWlC;;;;OAIG;IACG,IAAI,CAAC,EACT,cAAc,GACf,EAAE,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;CAexD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TokenContextLoader.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenContextLoader.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tron/token/domain/TokenContextLoader.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Extracts the TRC10 asset id from a serialized Tron `Transaction.raw`.
3
+ *
4
+ * The asset id travels in the transaction itself, so a TRC10 transfer is
5
+ * recognisable without the caller naming the token.
6
+ *
7
+ * Field numbers follow app-tron's `proto/core/Tron.proto` and
8
+ * `proto/core/Contract.proto`.
9
+ */
10
+ /**
11
+ * Returns the TRC10 asset id, or `undefined` when the transaction is not a
12
+ * TRC10 transfer. Native TRX rides on the same contract with an `_` asset
13
+ * name, and is rejected here along with any malformed payload.
14
+ */
15
+ export declare function parseTrc10AssetId(rawTransaction: Uint8Array): string | undefined;
16
+ //# sourceMappingURL=parseTrc10AssetId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseTrc10AssetId.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tron/token/domain/parseTrc10AssetId.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAsHH;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,cAAc,EAAE,UAAU,GACzB,MAAM,GAAG,SAAS,CAuBpB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=parseTrc10AssetId.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseTrc10AssetId.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/tron/token/domain/parseTrc10AssetId.test.ts"],"names":[],"mappings":""}
@@ -1,6 +1,7 @@
1
1
  export declare enum ContextModuleChainID {
2
2
  Ethereum = "ethereum",
3
3
  Solana = "solana",
4
- Concordium = "concordium"
4
+ Concordium = "concordium",
5
+ Tron = "tron"
5
6
  }
6
7
  //# sourceMappingURL=ContextModuleChainID.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextModuleChainID.d.ts","sourceRoot":"","sources":["../../../../../src/shared/domain/ContextModuleChainID.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,UAAU,eAAe;CAC1B"}
1
+ {"version":3,"file":"ContextModuleChainID.d.ts","sourceRoot":"","sources":["../../../../../src/shared/domain/ContextModuleChainID.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,IAAI,SAAS;CACd"}
@@ -28,7 +28,8 @@ export declare enum ClearSignContextType {
28
28
  SOLANA_ENUM_VARIANT = "solanaEnumVariant",
29
29
  SOLANA_TOKEN_INFO = "solanaTokenInfo",
30
30
  SOLANA_TOKEN_ACCOUNT_STATE = "solanaTokenAccountState",
31
- SOLANA_ALT_RESOLUTION = "solanaAltResolution"
31
+ SOLANA_ALT_RESOLUTION = "solanaAltResolution",
32
+ TRON_TOKEN = "tronToken"
32
33
  }
33
34
  export type ClearSignContextSuccessType = Exclude<ClearSignContextType, ClearSignContextType.ERROR>;
34
35
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ClearSignContext.d.ts","sourceRoot":"","sources":["../../../../../src/shared/model/ClearSignContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mDAAmD,CAAC;AAClG,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM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,GAAG,+BAA+B,CAAC,CAAC,CAAC,GAChD,KAAK,CAAC;AAEV,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,oBAAoB,CAAC,KAAK,CAAC;IACjC,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,uBAAuB,GAAG,qBAAqB,CAAC"}
1
+ {"version":3,"file":"ClearSignContext.d.ts","sourceRoot":"","sources":["../../../../../src/shared/model/ClearSignContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mDAAmD,CAAC;AAClG,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAE5F,oBAAY,oBAAoB;IAC9B,KAAK,UAAU;IACf,4BAA4B,+BAA+B;IAC3D,cAAc,kBAAkB;IAChC,YAAY,gBAAgB;IAC5B,qBAAqB,wBAAwB;IAC7C,eAAe,mBAAmB;IAClC,wBAAwB,2BAA2B;IACnD,yBAAyB,4BAA4B;IACrD,mBAAmB,sBAAsB;IACzC,aAAa,iBAAiB;IAC9B,sCAAsC,wCAAwC;IAC9E,0BAA0B,6BAA6B;IACvD,wBAAwB,2BAA2B;IACnD,6BAA6B,+BAA+B;IAC5D,aAAa,iBAAiB;IAC9B,eAAe,mBAAmB;IAClC,sBAAsB,yBAAyB;IAC/C,YAAY,gBAAgB;IAC5B,WAAW,eAAe;IAC1B,mBAAmB,sBAAsB;IACzC,yBAAyB,2BAA2B;IACpD,wBAAwB,2BAA2B;IACnD,uBAAuB,0BAA0B;IACjD,mBAAmB,sBAAsB;IACzC,iBAAiB,oBAAoB;IACrC,0BAA0B,4BAA4B;IACtD,qBAAqB,wBAAwB;IAC7C,UAAU,cAAc;CACzB;AAED,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAC/C,oBAAoB,EACpB,oBAAoB,CAAC,KAAK,CAC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