@ledgerhq/device-signer-kit-solana 0.0.0-multisig-20250905101831 → 0.0.0-patch-transactionInspector-20250909141112

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,3 +1,4 @@
1
+ import { type PublicKey } from "@solana/web3.js";
1
2
  export declare enum SolanaTransactionTypes {
2
3
  STANDARD = "Standard",
3
4
  SPL = "SPL"
@@ -13,18 +14,25 @@ export interface TxInspectorResult {
13
14
  };
14
15
  };
15
16
  }
17
+ type LoadedAddresses = {
18
+ writable: PublicKey[];
19
+ readonly: PublicKey[];
20
+ };
16
21
  export declare class TransactionInspector {
17
22
  private readonly rawTransactionBytes;
23
+ private readonly lookedUpAddresses?;
18
24
  /**
19
- * @param rawTransactionBytes - the raw tx bytes (legacy or v0)
25
+ * @param rawTransactionBytes - raw bytes of the transaction to inspect
26
+ * @param lookedUpAddresses - optional hydrated LUT keys
20
27
  */
21
- constructor(rawTransactionBytes: Uint8Array);
28
+ constructor(rawTransactionBytes: Uint8Array, lookedUpAddresses?: LoadedAddresses | undefined);
22
29
  inspectTransactionType(): TxInspectorResult;
23
30
  /**
24
- * normalise any tx (legacy or v0) into { compiledInstructions, allKeys }.
25
- * if LUT accounts are provided, looked-up keys are included in allKeys.
31
+ * normalize legacy or v0 messages into { compiledInstructions, allKeys }.
32
+ * if `lookedUpAddresses` is provided, it will be included; otherwise only static keys are present.
26
33
  */
27
34
  private normaliseMessage;
28
35
  private tryDeserialiseVersioned;
29
36
  }
37
+ export {};
30
38
  //# 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":"AAkBA,oBAAY,sBAAsB;IAChC,QAAQ,aAAa;IACrB,GAAG,QAAQ;CACZ;AAED,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;YACV,OAAO,EAAE,MAAM,CAAC;YAChB,WAAW,EAAE,MAAM,CAAC;SACrB,CAAC;KACH,CAAC;CACH;AAeD,qBAAa,oBAAoB;IAInB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAHhD;;OAEG;gBAC0B,mBAAmB,EAAE,UAAU;IAErD,sBAAsB,IAAI,iBAAiB;IA8GlD;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAyExB,OAAO,CAAC,uBAAuB;CAehC"}
1
+ {"version":3,"file":"TransactionInspector.d.ts","sourceRoot":"","sources":["../../../../../src/internal/app-binder/services/TransactionInspector.ts"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,SAAS,EAKf,MAAM,iBAAiB,CAAC;AAGzB,oBAAY,sBAAsB;IAChC,QAAQ,aAAa;IACrB,GAAG,QAAQ;CACZ;AAED,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;YACV,OAAO,EAAE,MAAM,CAAC;YAChB,WAAW,EAAE,MAAM,CAAC;SACrB,CAAC;KACH,CAAC;CACH;AAaD,KAAK,eAAe,GAAG;IAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAAC,QAAQ,EAAE,SAAS,EAAE,CAAA;CAAE,CAAC;AAExE,qBAAa,oBAAoB;IAM7B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC;IANrC;;;OAGG;gBAEgB,mBAAmB,EAAE,UAAU,EAC/B,iBAAiB,CAAC,EAAE,eAAe,YAAA;IAG/C,sBAAsB,IAAI,iBAAiB;IA4KlD;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IA0ExB,OAAO,CAAC,uBAAuB;CAchC"}