@ledgerhq/device-signer-kit-solana 0.0.0-transactionInspector-resolutionObj-20250916113438 → 0.0.0-v0-transaction-unfunded-20250918091119

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 (83) hide show
  1. package/README.md +132 -25
  2. package/lib/cjs/api/SignerSolana.js +1 -1
  3. package/lib/cjs/api/SignerSolana.js.map +1 -1
  4. package/lib/cjs/api/SolanaTools.js +1 -1
  5. package/lib/cjs/api/SolanaTools.js.map +1 -1
  6. package/lib/cjs/api/app-binder/SignTransactionDeviceActionTypes.js.map +1 -1
  7. package/lib/cjs/api/index.js +1 -1
  8. package/lib/cjs/api/index.js.map +2 -2
  9. package/lib/cjs/api/model/TransactionOptions.js +1 -1
  10. package/lib/cjs/api/model/TransactionOptions.js.map +1 -1
  11. package/lib/cjs/internal/DefaultSignerSolana.js +1 -1
  12. package/lib/cjs/internal/DefaultSignerSolana.js.map +3 -3
  13. package/lib/cjs/internal/app-binder/SolanaAppBinder.js +1 -1
  14. package/lib/cjs/internal/app-binder/SolanaAppBinder.js.map +2 -2
  15. package/lib/cjs/internal/app-binder/SolanaAppBinder.test.js +1 -1
  16. package/lib/cjs/internal/app-binder/SolanaAppBinder.test.js.map +2 -2
  17. package/lib/cjs/internal/app-binder/device-action/SignTransactionDeviceAction.js +1 -1
  18. package/lib/cjs/internal/app-binder/device-action/SignTransactionDeviceAction.js.map +2 -2
  19. package/lib/cjs/internal/app-binder/device-action/SignTransactionDeviceAction.test.js +1 -1
  20. package/lib/cjs/internal/app-binder/device-action/SignTransactionDeviceAction.test.js.map +2 -2
  21. package/lib/cjs/internal/app-binder/services/TransactionInspector.js +1 -1
  22. package/lib/cjs/internal/app-binder/services/TransactionInspector.js.map +3 -3
  23. package/lib/cjs/internal/app-binder/services/TransactionInspector.test.js +2 -0
  24. package/lib/cjs/internal/app-binder/services/TransactionInspector.test.js.map +7 -0
  25. package/lib/cjs/internal/app-binder/services/utils/transactionDecoders.js +1 -1
  26. package/lib/cjs/internal/app-binder/services/utils/transactionDecoders.js.map +3 -3
  27. package/lib/cjs/internal/app-binder/task/BuildTransactionContextTask.js +1 -1
  28. package/lib/cjs/internal/app-binder/task/BuildTransactionContextTask.js.map +1 -1
  29. package/lib/cjs/internal/use-cases/transaction/SignTransactionUseCase.js +1 -1
  30. package/lib/cjs/internal/use-cases/transaction/SignTransactionUseCase.js.map +3 -3
  31. package/lib/cjs/internal/use-cases/transaction/SignTransactionUseCase.test.js +1 -1
  32. package/lib/cjs/internal/use-cases/transaction/SignTransactionUseCase.test.js.map +2 -2
  33. package/lib/esm/api/index.js +1 -1
  34. package/lib/esm/api/index.js.map +2 -2
  35. package/lib/esm/internal/DefaultSignerSolana.js.map +3 -3
  36. package/lib/esm/internal/app-binder/SolanaAppBinder.js +1 -1
  37. package/lib/esm/internal/app-binder/SolanaAppBinder.js.map +2 -2
  38. package/lib/esm/internal/app-binder/SolanaAppBinder.test.js +1 -1
  39. package/lib/esm/internal/app-binder/SolanaAppBinder.test.js.map +2 -2
  40. package/lib/esm/internal/app-binder/device-action/SignTransactionDeviceAction.js +1 -1
  41. package/lib/esm/internal/app-binder/device-action/SignTransactionDeviceAction.js.map +2 -2
  42. package/lib/esm/internal/app-binder/device-action/SignTransactionDeviceAction.test.js +1 -1
  43. package/lib/esm/internal/app-binder/device-action/SignTransactionDeviceAction.test.js.map +2 -2
  44. package/lib/esm/internal/app-binder/services/TransactionInspector.js +1 -1
  45. package/lib/esm/internal/app-binder/services/TransactionInspector.js.map +3 -3
  46. package/lib/esm/internal/app-binder/services/TransactionInspector.test.js +2 -0
  47. package/lib/esm/internal/app-binder/services/TransactionInspector.test.js.map +7 -0
  48. package/lib/esm/internal/app-binder/services/utils/transactionDecoders.js +1 -1
  49. package/lib/esm/internal/app-binder/services/utils/transactionDecoders.js.map +3 -3
  50. package/lib/esm/internal/app-binder/task/BuildTransactionContextTask.js +1 -1
  51. package/lib/esm/internal/app-binder/task/BuildTransactionContextTask.js.map +1 -1
  52. package/lib/esm/internal/use-cases/transaction/SignTransactionUseCase.js +1 -1
  53. package/lib/esm/internal/use-cases/transaction/SignTransactionUseCase.js.map +3 -3
  54. package/lib/esm/internal/use-cases/transaction/SignTransactionUseCase.test.js +1 -1
  55. package/lib/esm/internal/use-cases/transaction/SignTransactionUseCase.test.js.map +2 -2
  56. package/lib/types/api/SignerSolana.d.ts +2 -3
  57. package/lib/types/api/SignerSolana.d.ts.map +1 -1
  58. package/lib/types/api/SolanaTools.d.ts +1 -2
  59. package/lib/types/api/SolanaTools.d.ts.map +1 -1
  60. package/lib/types/api/app-binder/SignTransactionDeviceActionTypes.d.ts +3 -4
  61. package/lib/types/api/app-binder/SignTransactionDeviceActionTypes.d.ts.map +1 -1
  62. package/lib/types/api/index.d.ts +0 -1
  63. package/lib/types/api/index.d.ts.map +1 -1
  64. package/lib/types/api/model/TransactionOptions.d.ts +5 -6
  65. package/lib/types/api/model/TransactionOptions.d.ts.map +1 -1
  66. package/lib/types/internal/DefaultSignerSolana.d.ts +337 -2
  67. package/lib/types/internal/DefaultSignerSolana.d.ts.map +1 -1
  68. package/lib/types/internal/app-binder/SolanaAppBinder.d.ts +2 -3
  69. package/lib/types/internal/app-binder/SolanaAppBinder.d.ts.map +1 -1
  70. package/lib/types/internal/app-binder/device-action/SignTransactionDeviceAction.d.ts +2 -1
  71. package/lib/types/internal/app-binder/device-action/SignTransactionDeviceAction.d.ts.map +1 -1
  72. package/lib/types/internal/app-binder/services/TransactionInspector.d.ts +18 -4
  73. package/lib/types/internal/app-binder/services/TransactionInspector.d.ts.map +1 -1
  74. package/lib/types/internal/app-binder/services/TransactionInspector.test.d.ts +2 -0
  75. package/lib/types/internal/app-binder/services/TransactionInspector.test.d.ts.map +1 -0
  76. package/lib/types/internal/app-binder/services/utils/transactionDecoders.d.ts +10 -12
  77. package/lib/types/internal/app-binder/services/utils/transactionDecoders.d.ts.map +1 -1
  78. package/lib/types/internal/app-binder/task/BuildTransactionContextTask.d.ts +2 -2
  79. package/lib/types/internal/app-binder/task/BuildTransactionContextTask.d.ts.map +1 -1
  80. package/lib/types/internal/use-cases/transaction/SignTransactionUseCase.d.ts +2 -4
  81. package/lib/types/internal/use-cases/transaction/SignTransactionUseCase.d.ts.map +1 -1
  82. package/lib/types/tsconfig.prod.tsbuildinfo +1 -1
  83. package/package.json +8 -8
@@ -1,5 +1,4 @@
1
1
  import { type PublicKey } from "@solana/web3.js";
2
- import { type TxInspectorResult } from "../../app-binder/services/utils/transactionDecoders";
3
2
  export declare enum SolanaTransactionTypes {
4
3
  STANDARD = "Standard",
5
4
  SPL = "SPL"
@@ -13,20 +12,35 @@ export type NormalizedMessage = {
13
12
  compiledInstructions: NormalizedCompiledIx[];
14
13
  allKeys: PublicKey[];
15
14
  };
15
+ export interface TxInspectorResult {
16
+ transactionType: SolanaTransactionTypes;
17
+ data: {
18
+ tokenAddress?: string;
19
+ createATA?: {
20
+ address: string;
21
+ mintAddress: string;
22
+ };
23
+ };
24
+ }
16
25
  export declare class TransactionInspector {
17
26
  private readonly rawTransactionBytes;
18
27
  private readonly tokenAddress?;
19
28
  private readonly createATA?;
20
- constructor(rawTransactionBytes: Uint8Array, tokenAddress?: string | null | undefined, createATA?: {
29
+ private readonly injectedRPCURL?;
30
+ constructor(rawTransactionBytes: Uint8Array, tokenAddress?: string | undefined, createATA?: {
21
31
  address: string;
22
32
  mintAddress: string;
23
- } | null | undefined);
33
+ } | undefined, injectedRPCURL?: string | undefined);
24
34
  inspectTransactionType(): Promise<TxInspectorResult>;
25
35
  /**
26
36
  * Normalise any tx (legacy or v0) into { compiledInstructions, allKeys }.
27
- * For v0, we auto-fetch looked-up addresses from ALT(s) via the baked-in connection.
37
+ * For v0, auto-fetch looked-up addresses from ALT(s) via the connection.
28
38
  */
29
39
  private normaliseMessage;
30
40
  private tryDeserialiseVersioned;
41
+ /**
42
+ * For v0, fetch looked-up addresses from ALT(s) via the connection
43
+ */
44
+ private resolveLookedUpAddressesFromMessage;
31
45
  }
32
46
  //# sourceMappingURL=TransactionInspector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionInspector.d.ts","sourceRoot":"","sources":["../../../../../src/internal/app-binder/services/TransactionInspector.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,SAAS,EAKf,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,yDAAyD,CAAC;AAEjE,oBAAY,sBAAsB;IAChC,QAAQ,aAAa;IACrB,GAAG,QAAQ;CACZ;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,oBAAoB,EAAE,oBAAoB,EAAE,CAAC;IAC7C,OAAO,EAAE,SAAS,EAAE,CAAC;CACtB,CAAC;AAcF,qBAAa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC;IAC9B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC;gBAFV,mBAAmB,EAAE,UAAU,EAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,YAAA,EAC5B,SAAS,CAAC,EAAE;QAC3B,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;KACrB,GAAG,IAAI,YAAA;IAGG,sBAAsB,IAAI,OAAO,CAAC,iBAAiB,CAAC;IAuEjE;;;OAGG;YACW,gBAAgB;IA0F9B,OAAO,CAAC,uBAAuB;CAehC"}
1
+ {"version":3,"file":"TransactionInspector.d.ts","sourceRoot":"","sources":["../../../../../src/internal/app-binder/services/TransactionInspector.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,SAAS,EAKf,MAAM,iBAAiB,CAAC;AAQzB,oBAAY,sBAAsB;IAChC,QAAQ,aAAa;IACrB,GAAG,QAAQ;CACZ;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,oBAAoB,EAAE,oBAAoB,EAAE,CAAC;IAC7C,OAAO,EAAE,SAAS,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,sBAAsB,CAAC;IACxC,IAAI,EAAE;QACJ,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,SAAS,CAAC,EAAE;YAAE,OAAO,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAC;KACtD,CAAC;CACH;AAeD,qBAAa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC;IAC9B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC;IAM3B,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC;gBARf,mBAAmB,EAAE,UAAU,EAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,EACjC,SAAS,CAAC,EACvB;QACE,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;KACrB,GACD,SAAS,EACI,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS;IAGzC,sBAAsB,IAAI,OAAO,CAAC,iBAAiB,CAAC;IA8EjE;;;OAGG;YACW,gBAAgB;IA2F9B,OAAO,CAAC,uBAAuB;IAe/B;;OAEG;YACW,mCAAmC;CA6BlD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TransactionInspector.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionInspector.test.d.ts","sourceRoot":"","sources":["../../../../../src/internal/app-binder/services/TransactionInspector.test.ts"],"names":[],"mappings":""}
@@ -1,16 +1,5 @@
1
1
  import { type PublicKey, type TransactionInstruction } from "@solana/web3.js";
2
- import { type NormalizedCompiledIx, type NormalizedMessage, type SolanaTransactionTypes } from "../../../app-binder/services/TransactionInspector";
3
- export interface TxInspectorResult {
4
- transactionType: SolanaTransactionTypes;
5
- data: {
6
- tokenAddress?: string;
7
- mintAddress?: string;
8
- createATA?: {
9
- address: string;
10
- mintAddress: string;
11
- };
12
- };
13
- }
2
+ import { type NormalizedCompiledIx, type NormalizedMessage, type TxInspectorResult } from "../../../app-binder/services/TransactionInspector";
14
3
  export type IxContext = {
15
4
  programId: PublicKey;
16
5
  ixMeta: NormalizedCompiledIx;
@@ -21,5 +10,14 @@ export type Decoder = {
21
10
  when: (ctx: IxContext) => boolean;
22
11
  decode: (ctx: IxContext) => TxInspectorResult["data"] | null;
23
12
  };
13
+ export type CreateAtaExplanation = {
14
+ ataFromIx: string;
15
+ ownerFound?: string;
16
+ mint: string;
17
+ tokenProgramUsed: "token" | "token2022";
18
+ derivedClassic?: string;
19
+ derived2022?: string;
20
+ matches: "classic" | "token2022" | "neither";
21
+ };
24
22
  export declare const DECODERS: Decoder[];
25
23
  //# sourceMappingURL=transactionDecoders.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transactionDecoders.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/app-binder/services/utils/transactionDecoders.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAE9E,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC5B,MAAM,oDAAoD,CAAC;AAE5D,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,sBAAsB,CAAC;IACxC,IAAI,EAAE;QACJ,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE;YAAE,OAAO,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAC;KACtD,CAAC;CACH;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,oBAAoB,CAAC;IAC7B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,WAAW,EAAE,sBAAsB,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,CAAC;IAClC,MAAM,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,iBAAiB,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC9D,CAAC;AAaF,eAAO,MAAM,QAAQ,EAAE,OAAO,EAuQ7B,CAAC"}
1
+ {"version":3,"file":"transactionDecoders.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/app-binder/services/utils/transactionDecoders.ts"],"names":[],"mappings":"AAmBA,OAAO,EACL,KAAK,SAAS,EAGd,KAAK,sBAAsB,EAC5B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACvB,MAAM,oDAAoD,CAAC;AAE5D,MAAM,MAAM,SAAS,GAAG;IACtB,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,oBAAoB,CAAC;IAC7B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,WAAW,EAAE,sBAAsB,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,CAAC;IAClC,MAAM,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,iBAAiB,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC9D,CAAC;AAaF,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,GAAG,WAAW,CAAC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,OAAO,EAsQ7B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { type ContextModule, type PkiCertificate } from "@ledgerhq/context-module";
2
2
  import { type InternalApi } from "@ledgerhq/device-management-kit";
3
- import { type TransactionOptions } from "../../../api/model/TransactionOptions";
3
+ import { type TransactionResolutionContext } from "../../../api/model/TransactionResolutionContext";
4
4
  export type SolanaBuildContextResult = {
5
5
  challenge: string | undefined;
6
6
  addressResult: {
@@ -13,7 +13,7 @@ export type SolanaBuildContextResult = {
13
13
  };
14
14
  export type BuildTransactionContextTaskArgs = {
15
15
  readonly contextModule: ContextModule;
16
- readonly options: TransactionOptions;
16
+ readonly options: TransactionResolutionContext;
17
17
  };
18
18
  export declare class BuildTransactionContextTask {
19
19
  private readonly api;
@@ -1 +1 @@
1
- {"version":3,"file":"BuildTransactionContextTask.d.ts","sourceRoot":"","sources":["../../../../../src/internal/app-binder/task/BuildTransactionContextTask.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,cAAc,EACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAGxE,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,aAAa,EAAE;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;CACtC,CAAC;AAEF,qBAAa,2BAA2B;IAEpC,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBADJ,GAAG,EAAE,WAAW,EAChB,IAAI,EAAE,+BAA+B;IAGlD,GAAG,IAAI,OAAO,CAAC,wBAAwB,CAAC;CAqC/C"}
1
+ {"version":3,"file":"BuildTransactionContextTask.d.ts","sourceRoot":"","sources":["../../../../../src/internal/app-binder/task/BuildTransactionContextTask.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,cAAc,EACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAG5F,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,aAAa,EAAE;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,4BAA4B,CAAC;CAChD,CAAC;AAEF,qBAAa,2BAA2B;IAEpC,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBADJ,GAAG,EAAE,WAAW,EAChB,IAAI,EAAE,+BAA+B;IAGlD,GAAG,IAAI,OAAO,CAAC,wBAAwB,CAAC;CAqC/C"}
@@ -1,12 +1,10 @@
1
1
  import { SignTransactionDAReturnType } from "../../../api/app-binder/SignTransactionDeviceActionTypes";
2
2
  import { Transaction } from "../../../api/model/Transaction";
3
- import { TransactionResolutionContext } from "../../../api/model/TransactionResolutionContext";
3
+ import { SolanaTransactionOptions } from "../../../api/model/TransactionOptions";
4
4
  import { SolanaAppBinder } from "../../app-binder/SolanaAppBinder";
5
5
  export declare class SignTransactionUseCase {
6
6
  private appBinder;
7
7
  constructor(appBinder: SolanaAppBinder);
8
- execute(derivationPath: string, transaction: Transaction, resolutionContext?: TransactionResolutionContext, options?: {
9
- skipOpenApp?: boolean;
10
- }): SignTransactionDAReturnType;
8
+ execute(derivationPath: string, transaction: Transaction, solanaTransactionOptions?: SolanaTransactionOptions): SignTransactionDAReturnType;
11
9
  }
12
10
  //# sourceMappingURL=SignTransactionUseCase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignTransactionUseCase.d.ts","sourceRoot":"","sources":["../../../../../src/internal/use-cases/transaction/SignTransactionUseCase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAEvF,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,qBACa,sBAAsB;IAEG,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,eAAe;IAGtE,OAAO,CACL,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,WAAW,EACxB,iBAAiB,CAAC,EAAE,4BAA4B,EAChD,OAAO,CAAC,EAAE;QACR,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,GACA,2BAA2B;CAQ/B"}
1
+ {"version":3,"file":"SignTransactionUseCase.d.ts","sourceRoot":"","sources":["../../../../../src/internal/use-cases/transaction/SignTransactionUseCase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,qBACa,sBAAsB;IAEG,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,eAAe;IAGtE,OAAO,CACL,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,WAAW,EACxB,wBAAwB,CAAC,EAAE,wBAAwB,GAClD,2BAA2B;CAO/B"}