@pooflabs/web 0.0.74 → 0.0.76

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 (59) hide show
  1. package/dist/auth/providers/sol/sol-utils.d.ts +2 -0
  2. package/dist/{index-QqlKSXH4.js → index-BilNgDSc.js} +2 -2406
  3. package/dist/index-BilNgDSc.js.map +1 -0
  4. package/dist/{index-CVK4iKo4.js → index-BrlvWT1Q.js} +93 -38
  5. package/dist/index-BrlvWT1Q.js.map +1 -0
  6. package/dist/{index-tYJgJQDc.esm.js → index-C5Cnn7Hq.esm.js} +94 -38
  7. package/dist/index-C5Cnn7Hq.esm.js.map +1 -0
  8. package/dist/{index-BVfqY0fJ.js → index-COMIXUxl.js} +2 -2406
  9. package/dist/index-COMIXUxl.js.map +1 -0
  10. package/dist/{index-ORXorrQK.esm.js → index-DeVykeX4.esm.js} +2 -2406
  11. package/dist/index-DeVykeX4.esm.js.map +1 -0
  12. package/dist/{index-ByH7PSr3.esm.js → index-Dsh0H37n.esm.js} +2 -2406
  13. package/dist/index-Dsh0H37n.esm.js.map +1 -0
  14. package/dist/{index.browser-DTId19-8.esm.js → index.browser--rDwfvXH.esm.js} +2 -2
  15. package/dist/{index.browser-DTId19-8.esm.js.map → index.browser--rDwfvXH.esm.js.map} +1 -1
  16. package/dist/{index.browser-GM5fUBfQ.js → index.browser-CLZv9v_y.js} +2 -2
  17. package/dist/{index.browser-GM5fUBfQ.js.map → index.browser-CLZv9v_y.js.map} +1 -1
  18. package/dist/{index.browser-De6JT7NR.js → index.browser-CMO2pjaF.js} +2 -2
  19. package/dist/{index.browser-De6JT7NR.js.map → index.browser-CMO2pjaF.js.map} +1 -1
  20. package/dist/{index.browser-C2K1wE09.esm.js → index.browser-CSTWylhG.esm.js} +2 -2
  21. package/dist/{index.browser-C2K1wE09.esm.js.map → index.browser-CSTWylhG.esm.js.map} +1 -1
  22. package/dist/{index.browser-D63nJFKg.esm.js → index.browser-DQKnuR3q.esm.js} +2 -2
  23. package/dist/{index.browser-D63nJFKg.esm.js.map → index.browser-DQKnuR3q.esm.js.map} +1 -1
  24. package/dist/{index.browser-B8vmX-tI.js → index.browser-DqO3G-HJ.js} +2 -2
  25. package/dist/{index.browser-B8vmX-tI.js.map → index.browser-DqO3G-HJ.js.map} +1 -1
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.esm.js +1 -1
  28. package/dist/index.js +2 -1
  29. package/dist/index.js.map +1 -1
  30. package/dist/{index.native-muw49g7i.js → index.native-CkUXrvPQ.js} +85 -16
  31. package/dist/index.native-CkUXrvPQ.js.map +1 -0
  32. package/dist/{index.native-CzfZTw_J.esm.js → index.native-H-fEcP_L.esm.js} +84 -16
  33. package/dist/index.native-H-fEcP_L.esm.js.map +1 -0
  34. package/dist/index.native.d.ts +1 -0
  35. package/dist/index.native.esm.js +1 -1
  36. package/dist/index.native.js +2 -1
  37. package/dist/index.native.js.map +1 -1
  38. package/dist/{phantom-wallet-provider-Di3Z8vOA.esm.js → phantom-wallet-provider-5IQi4ihD.esm.js} +6 -6
  39. package/dist/{phantom-wallet-provider-Di3Z8vOA.esm.js.map → phantom-wallet-provider-5IQi4ihD.esm.js.map} +1 -1
  40. package/dist/{phantom-wallet-provider-CeNZvRZY.js → phantom-wallet-provider-DrNrxSUL.js} +6 -6
  41. package/dist/{phantom-wallet-provider-CeNZvRZY.js.map → phantom-wallet-provider-DrNrxSUL.js.map} +1 -1
  42. package/dist/platform.d.ts +13 -0
  43. package/dist/{privy-wallet-provider-Cfws3b3x.esm.js → privy-wallet-provider-BtLH1dpY.esm.js} +8 -9
  44. package/dist/{privy-wallet-provider-Cfws3b3x.esm.js.map → privy-wallet-provider-BtLH1dpY.esm.js.map} +1 -1
  45. package/dist/{privy-wallet-provider-lbg2fDVg.js → privy-wallet-provider-CrRfcONv.js} +8 -9
  46. package/dist/{privy-wallet-provider-lbg2fDVg.js.map → privy-wallet-provider-CrRfcONv.js.map} +1 -1
  47. package/dist/{solana-mobile-wallet-provider-BZMvp9Qy.esm.js → solana-mobile-wallet-provider-C3l6mxSm.esm.js} +4 -4
  48. package/dist/{solana-mobile-wallet-provider-BZMvp9Qy.esm.js.map → solana-mobile-wallet-provider-C3l6mxSm.esm.js.map} +1 -1
  49. package/dist/{solana-mobile-wallet-provider-DDqwl25J.js → solana-mobile-wallet-provider-QcGazewW.js} +4 -4
  50. package/dist/{solana-mobile-wallet-provider-DDqwl25J.js.map → solana-mobile-wallet-provider-QcGazewW.js.map} +1 -1
  51. package/package.json +2 -2
  52. package/dist/index-BVfqY0fJ.js.map +0 -1
  53. package/dist/index-ByH7PSr3.esm.js.map +0 -1
  54. package/dist/index-CVK4iKo4.js.map +0 -1
  55. package/dist/index-ORXorrQK.esm.js.map +0 -1
  56. package/dist/index-QqlKSXH4.js.map +0 -1
  57. package/dist/index-tYJgJQDc.esm.js.map +0 -1
  58. package/dist/index.native-CzfZTw_J.esm.js.map +0 -1
  59. package/dist/index.native-muw49g7i.js.map +0 -1
@@ -9351,7 +9351,7 @@ function convertRemainingAccounts(remainingAccounts) {
9351
9351
  // ─────────────────────────────────────────────────────────────
9352
9352
  // Updated Transaction Builder: It now accepts a PublicKey for the payer
9353
9353
  // ─────────────────────────────────────────────────────────────
9354
- async function buildSetDocumentsTransaction(connection, idl, anchorProvider, payerPublicKey, args, remainingAccounts, lutKey, preInstructions, simulate) {
9354
+ async function buildSetDocumentsTransaction(connection, idl, anchorProvider, payerPublicKey, args, remainingAccounts, lutKey, preInstructions, simulate, additionalLutAddresses) {
9355
9355
  const computeBudgetIx = web3_js.ComputeBudgetProgram.setComputeUnitLimit({
9356
9356
  units: 1400000,
9357
9357
  });
@@ -9392,8 +9392,25 @@ async function buildSetDocumentsTransaction(connection, idl, anchorProvider, pay
9392
9392
  tx.feePayer = payerPublicKey;
9393
9393
  const { blockhash, lastValidBlockHeight } = await connection.getLatestBlockhash("confirmed");
9394
9394
  tx.recentBlockhash = blockhash;
9395
- if (lutKey == null) {
9396
- const isSurfnet = anchorProvider.connection.rpcEndpoint == "https://surfpool.fly.dev";
9395
+ // Resolve LUTs: additionalLutAddresses (when present) is the authoritative set.
9396
+ // Falls back to lutKey alone for backwards compatibility.
9397
+ const lookupTables = [];
9398
+ const isSurfnet = anchorProvider.connection.rpcEndpoint == "https://surfpool.fly.dev";
9399
+ if (additionalLutAddresses && additionalLutAddresses.length > 0) {
9400
+ const results = await Promise.all(additionalLutAddresses.map(addr => connection.getAddressLookupTable(new web3_js.PublicKey(addr)).catch(() => null)));
9401
+ for (const result of results) {
9402
+ if (result === null || result === void 0 ? void 0 : result.value) {
9403
+ lookupTables.push(result.value);
9404
+ }
9405
+ }
9406
+ }
9407
+ else if (lutKey != null) {
9408
+ const { value: table } = await connection.getAddressLookupTable(new web3_js.PublicKey(lutKey));
9409
+ if (!table)
9410
+ throw new Error('LUT not found after creation/extend');
9411
+ lookupTables.push(table);
9412
+ }
9413
+ if (lookupTables.length === 0) {
9397
9414
  const computeUnits = isSurfnet ? 1400000 : await getSimulationComputeUnits(connection, tx.instructions, payerPublicKey, []);
9398
9415
  const computeBudgetIxOptimized = web3_js.ComputeBudgetProgram.setComputeUnitLimit({
9399
9416
  units: computeUnits ? computeUnits * 1.2 : 1400000,
@@ -9401,11 +9418,7 @@ async function buildSetDocumentsTransaction(connection, idl, anchorProvider, pay
9401
9418
  tx.instructions[0] = computeBudgetIxOptimized;
9402
9419
  return { tx, blockhash, lastValidBlockHeight };
9403
9420
  }
9404
- const { value: table } = await connection.getAddressLookupTable(new web3_js.PublicKey(lutKey));
9405
- if (!table)
9406
- throw new Error('LUT not found after creation/extend');
9407
- const isSurfnet = anchorProvider.connection.rpcEndpoint == "https://surfpool.fly.dev";
9408
- const computeUnits = isSurfnet ? 1400000 : await getSimulationComputeUnits(connection, tx.instructions, payerPublicKey, [table]);
9421
+ const computeUnits = isSurfnet ? 1400000 : await getSimulationComputeUnits(connection, tx.instructions, payerPublicKey, lookupTables);
9409
9422
  const computeBudgetIxOptimized = web3_js.ComputeBudgetProgram.setComputeUnitLimit({
9410
9423
  units: computeUnits ? computeUnits * 1.2 : 1400000,
9411
9424
  }); // 20% buffer
@@ -9414,7 +9427,7 @@ async function buildSetDocumentsTransaction(connection, idl, anchorProvider, pay
9414
9427
  payerKey: payerPublicKey,
9415
9428
  recentBlockhash: blockhash,
9416
9429
  instructions: tx.instructions,
9417
- }).compileToV0Message([table]);
9430
+ }).compileToV0Message(lookupTables);
9418
9431
  const vTx = new anchor__namespace.web3.VersionedTransaction(msgV0);
9419
9432
  return { tx: vTx, blockhash, lastValidBlockHeight };
9420
9433
  }
@@ -10298,6 +10311,7 @@ async function setMany(many, options) {
10298
10311
  appId: config.appId,
10299
10312
  txArgs: [solTransactionData],
10300
10313
  lutKey: (_c = tx.lutAddress) !== null && _c !== void 0 ? _c : null,
10314
+ additionalLutAddresses: tx.additionalLutAddresses,
10301
10315
  network: tx.network,
10302
10316
  preInstructions: (_e = (_d = tx.preInstructions) === null || _d === void 0 ? void 0 : _d.map((ix) => {
10303
10317
  var _a;
@@ -11456,6 +11470,50 @@ function setPlatform(adapter) {
11456
11470
  function getPlatform() {
11457
11471
  return _platform;
11458
11472
  }
11473
+ // ---------------------------------------------------------------------------
11474
+ // Mobile / Android detection helpers
11475
+ // ---------------------------------------------------------------------------
11476
+ /**
11477
+ * Detect mobile device even when Chrome "Request Desktop Site" is active.
11478
+ *
11479
+ * Desktop mode on Android strips "Android" and "Mobile" from the UA, leaving
11480
+ * something like "Linux x86_64 …". The fallback detects this by looking for
11481
+ * touch capability + small viewport + a UA that doesn't belong to a known
11482
+ * desktop OS (ChromeOS, Windows, macOS).
11483
+ */
11484
+ function detectMobile() {
11485
+ const ua = _platform.getUserAgent();
11486
+ if (/Android|iPhone|iPad|iPod/i.test(ua))
11487
+ return true;
11488
+ if (typeof navigator !== 'undefined' && typeof window !== 'undefined') {
11489
+ const hasTouch = navigator.maxTouchPoints > 0;
11490
+ // Macs don't have touch screens, so "Macintosh" + touch = iOS desktop mode
11491
+ // (also catches iPadOS 13+ which always reports as Macintosh)
11492
+ if (/Macintosh/i.test(ua) && hasTouch)
11493
+ return true;
11494
+ // Android desktop mode: Linux UA + touch + small viewport, excluding
11495
+ // known desktop OSes (ChromeOS, Windows, macOS)
11496
+ const isSmallViewport = window.innerWidth <= 1024;
11497
+ const isDesktopOS = /CrOS|Windows|Macintosh/i.test(ua);
11498
+ if (hasTouch && isSmallViewport && !isDesktopOS)
11499
+ return true;
11500
+ }
11501
+ return false;
11502
+ }
11503
+ /**
11504
+ * Detect Android, including desktop-mode Chrome and Seeker/Saga in-app browsers.
11505
+ */
11506
+ function detectAndroid() {
11507
+ const ua = _platform.getUserAgent();
11508
+ if (/Android/i.test(ua))
11509
+ return true;
11510
+ if (/SolanaWallet|SeedVault/i.test(ua))
11511
+ return true;
11512
+ // Desktop-mode fallback: detected as mobile + Linux UA + not another OS
11513
+ if (detectMobile() && /Linux/i.test(ua) && !/CrOS|Macintosh|iPhone|iPad/i.test(ua))
11514
+ return true;
11515
+ return false;
11516
+ }
11459
11517
 
11460
11518
  // Default test wallet address (Solana devnet address)
11461
11519
  const DEFAULT_TEST_ADDRESS = 'HKbZbRR7jWWR5VRN8KFjvTCHEzJQgameYxKQxh2gPoof';
@@ -12704,6 +12762,16 @@ function useAuth() {
12704
12762
  };
12705
12763
  }
12706
12764
 
12765
+ async function deserializeTransaction(tx) {
12766
+ const buf = Buffer.isBuffer(tx) ? tx : Buffer.from(tx, 'base64');
12767
+ if ((buf[0] & 0x80) !== 0) {
12768
+ return web3_js.VersionedTransaction.deserialize(buf);
12769
+ }
12770
+ else {
12771
+ return web3_js.Transaction.from(buf);
12772
+ }
12773
+ }
12774
+
12707
12775
  // Wrapper for getIdToken - passes isServer=false for client-side usage
12708
12776
  async function getIdToken() {
12709
12777
  return getIdToken$1(false);
@@ -15149,7 +15217,7 @@ async function loadDependencies() {
15149
15217
  const [reactModule, reactDomModule, phantomModule] = await Promise.all([
15150
15218
  import('react'),
15151
15219
  import('react-dom/client'),
15152
- Promise.resolve().then(function () { return require('./index-BVfqY0fJ.js'); })
15220
+ Promise.resolve().then(function () { return require('./index-COMIXUxl.js'); })
15153
15221
  ]);
15154
15222
  // Extract default export from ESM module namespace
15155
15223
  // Dynamic import() returns { default: Module, ...exports }, not the module directly
@@ -15287,7 +15355,7 @@ class PhantomWalletProvider {
15287
15355
  const [hoveredBtn, setHoveredBtn] = React$1.useState(null);
15288
15356
  // Discover all available wallets via Wallet Standard + EIP-6963
15289
15357
  const { wallets: discoveredWallets } = useDiscoveredWallets();
15290
- const isMobile = /Android|iPhone|iPad|iPod/i.test(getPlatform().getUserAgent());
15358
+ const isMobile = detectMobile();
15291
15359
  const hasPhantomInjected = discoveredWallets.some((w) => w.id === 'phantom');
15292
15360
  const showDeeplink = isMobile && sdkProviders.includes('deeplink') && !hasPhantomInjected;
15293
15361
  // Track previous modal state to detect closes
@@ -15679,7 +15747,7 @@ class PhantomWalletProvider {
15679
15747
  }), 'Open Phantom app'));
15680
15748
  }
15681
15749
  // Mobile Wallet Adapter button — shown on Android when MWA callback is available
15682
- const isAndroid = /Android/i.test(getPlatform().getUserAgent());
15750
+ const isAndroid = detectAndroid();
15683
15751
  if (isAndroid && that.onSwitchToMWA) {
15684
15752
  walletButtons.push(React$1.createElement('button', {
15685
15753
  key: 'mobile-wallet',
@@ -16068,7 +16136,7 @@ class PhantomWalletProvider {
16068
16136
  documents: solTransactionData.txArgs[0].setDocumentData,
16069
16137
  delete_paths: solTransactionData.txArgs[0].deletePaths,
16070
16138
  txData: solTransactionData.txArgs[0].txData
16071
- }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false);
16139
+ }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false, solTransactionData.additionalLutAddresses);
16072
16140
  tx = result.tx;
16073
16141
  }
16074
16142
  if ((options === null || options === void 0 ? void 0 : options.shouldSubmitTx) === false) {
@@ -19605,7 +19673,7 @@ if (typeof window !== 'undefined') {
19605
19673
  privyImports = require('@privy-io/react-auth');
19606
19674
  privySolana = require('@privy-io/react-auth/solana');
19607
19675
  }
19608
- const defaultPrivyConfig = {
19676
+ const getDefaultPrivyConfig = () => ({
19609
19677
  appId: "cm4ve714908o27dk2yurpnfhd",
19610
19678
  config: {
19611
19679
  embeddedWallets: {
@@ -19618,14 +19686,13 @@ const defaultPrivyConfig = {
19618
19686
  },
19619
19687
  externalWallets: { solana: { connectors: privySolana.toSolanaWalletConnectors() } }
19620
19688
  }
19621
- };
19689
+ });
19622
19690
  class PrivyWalletProvider {
19623
19691
  constructor(appName, appLogoUrl, privyConfig, networkUrl = null) {
19624
19692
  this.containerElement = null;
19625
19693
  this.chainId = 'solana:mainnet';
19626
19694
  this.root = null;
19627
19695
  this.privyMethods = null;
19628
- this.privyConfig = defaultPrivyConfig;
19629
19696
  this.pendingLogin = null;
19630
19697
  // This is used to store the pending transaction until the wallet is connected for workaround for the wallet not being connected after login completion
19631
19698
  this.pendingTransaction = null;
@@ -19645,7 +19712,7 @@ class PrivyWalletProvider {
19645
19712
  this.containerElement = null;
19646
19713
  this.root = null;
19647
19714
  this.privyMethods = null;
19648
- this.privyConfig = privyConfig !== null && privyConfig !== void 0 ? privyConfig : defaultPrivyConfig;
19715
+ this.privyConfig = privyConfig !== null && privyConfig !== void 0 ? privyConfig : getDefaultPrivyConfig();
19649
19716
  // Only use the appName and appLogoUrl if no privyConfig is provided
19650
19717
  if (privyConfig == null) {
19651
19718
  if (appName != null && appName != '') {
@@ -19657,7 +19724,7 @@ class PrivyWalletProvider {
19657
19724
  }
19658
19725
  // Ensure externalWallets connectors are always configured — required for
19659
19726
  // useWallets().ready to resolve even when no browser extension is present
19660
- if (!this.privyConfig.config.externalWallets) {
19727
+ if (!this.privyConfig.config.externalWallets && privySolana) {
19661
19728
  this.privyConfig.config.externalWallets = {
19662
19729
  solana: { connectors: privySolana.toSolanaWalletConnectors() }
19663
19730
  };
@@ -20019,7 +20086,7 @@ class PrivyWalletProvider {
20019
20086
  lastValidBlockHeight = latestBlockhash.lastValidBlockHeight;
20020
20087
  }
20021
20088
  else {
20022
- const result = await buildSetDocumentsTransaction(connection, solTransactionData.txArgs[0].idl, anchorProvider, new web3_js.PublicKey(wallet.address), { app_id, documents: solTransactionData.txArgs[0].setDocumentData, delete_paths: solTransactionData.txArgs[0].deletePaths, txData: solTransactionData.txArgs[0].txData }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false);
20089
+ const result = await buildSetDocumentsTransaction(connection, solTransactionData.txArgs[0].idl, anchorProvider, new web3_js.PublicKey(wallet.address), { app_id, documents: solTransactionData.txArgs[0].setDocumentData, delete_paths: solTransactionData.txArgs[0].deletePaths, txData: solTransactionData.txArgs[0].txData }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false, solTransactionData.additionalLutAddresses);
20023
20090
  tx = result.tx;
20024
20091
  blockhash = result.blockhash;
20025
20092
  lastValidBlockHeight = result.lastValidBlockHeight;
@@ -20489,20 +20556,9 @@ var privyWalletProvider = /*#__PURE__*/Object.freeze({
20489
20556
  * or inside a Seeker/Saga in-app browser context.
20490
20557
  */
20491
20558
  function isMobileWalletAvailable() {
20492
- // Use OR — bail early if either window or navigator is missing.
20493
- // This preserves the original guard's conservative behavior on
20494
- // Seeker/Saga in-app browsers where both are always present.
20495
- // RN environments also hit this (neither is defined).
20496
20559
  if (typeof window === 'undefined' || typeof navigator === 'undefined')
20497
20560
  return false;
20498
- const ua = getPlatform().getUserAgent();
20499
- if (!ua)
20500
- return false;
20501
- // Android browser — MWA uses Android intents
20502
- const isAndroid = /Android/i.test(ua);
20503
- // In-app browser inside a wallet app on Seeker/Saga
20504
- const isWalletInAppBrowser = /SolanaWallet/i.test(ua) || /SeedVault/i.test(ua);
20505
- return isAndroid || isWalletInAppBrowser;
20561
+ return detectAndroid();
20506
20562
  }
20507
20563
  const ED25519_SIGNATURE_LENGTH = 64;
20508
20564
  // Dynamically imported MWA protocol module
@@ -20517,7 +20573,7 @@ async function loadMwaProtocol() {
20517
20573
  return mwaProtocolLoadPromise;
20518
20574
  mwaProtocolLoadPromise = (async () => {
20519
20575
  try {
20520
- mwaProtocolModule = await Promise.resolve().then(function () { return require('./index.browser-GM5fUBfQ.js'); });
20576
+ mwaProtocolModule = await Promise.resolve().then(function () { return require('./index.browser-CLZv9v_y.js'); });
20521
20577
  }
20522
20578
  catch (e) {
20523
20579
  console.warn('[SolanaMobileWallet] @solana-mobile/mobile-wallet-adapter-protocol-web3js not installed. Install it to enable Seeker wallet support.');
@@ -20539,7 +20595,7 @@ async function registerMobileWalletAdapter(config) {
20539
20595
  if (typeof window === 'undefined')
20540
20596
  return;
20541
20597
  try {
20542
- const walletStandardMobile = await Promise.resolve().then(function () { return require('./index.browser-De6JT7NR.js'); });
20598
+ const walletStandardMobile = await Promise.resolve().then(function () { return require('./index.browser-CMO2pjaF.js'); });
20543
20599
  const registerMwa = walletStandardMobile.registerMwa || ((_a = walletStandardMobile.default) === null || _a === void 0 ? void 0 : _a.registerMwa);
20544
20600
  if (!registerMwa) {
20545
20601
  console.warn('[SolanaMobileWallet] registerMwa not found in @solana-mobile/wallet-standard-mobile');
@@ -20994,7 +21050,7 @@ class SolanaMobileWalletProvider {
20994
21050
  documents: solTransactionData.txArgs[0].setDocumentData,
20995
21051
  delete_paths: solTransactionData.txArgs[0].deletePaths,
20996
21052
  txData: solTransactionData.txArgs[0].txData
20997
- }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false);
21053
+ }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false, solTransactionData.additionalLutAddresses);
20998
21054
  tx = result.tx;
20999
21055
  }
21000
21056
  if ((options === null || options === void 0 ? void 0 : options.shouldSubmitTx) === false) {
@@ -21251,7 +21307,7 @@ class PrivyExpoProvider {
21251
21307
  documents: solTransactionData.txArgs[0].setDocumentData,
21252
21308
  delete_paths: solTransactionData.txArgs[0].deletePaths,
21253
21309
  txData: solTransactionData.txArgs[0].txData,
21254
- }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false);
21310
+ }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false, solTransactionData.additionalLutAddresses);
21255
21311
  // Set blockhash
21256
21312
  const isLegacyTx = 'recentBlockhash' in tx &&
21257
21313
  !('message' in tx && 'staticAccountKeys' in tx.message);
@@ -21464,11 +21520,11 @@ exports.bufferExports = bufferExports;
21464
21520
  exports.buildSetDocumentsTransaction = buildSetDocumentsTransaction;
21465
21521
  exports.clearCache = clearCache;
21466
21522
  exports.closeAllSubscriptions = closeAllSubscriptions;
21467
- exports.commonjsRequire = commonjsRequire;
21468
21523
  exports.convertRemainingAccounts = convertRemainingAccounts;
21469
21524
  exports.count = count;
21470
21525
  exports.createSessionWithPrivy = createSessionWithPrivy;
21471
21526
  exports.createSessionWithSignature = createSessionWithSignature;
21527
+ exports.deserializeTransaction = deserializeTransaction;
21472
21528
  exports.genAuthNonce = genAuthNonce;
21473
21529
  exports.genSolanaMessage = genSolanaMessage;
21474
21530
  exports.get = get;
@@ -21490,7 +21546,6 @@ exports.onAuthStateChanged = onAuthStateChanged;
21490
21546
  exports.reconnectWithNewAuth = reconnectWithNewAuth;
21491
21547
  exports.refreshSession = refreshSession;
21492
21548
  exports.registerMobileWalletAdapter = registerMobileWalletAdapter;
21493
- exports.require$$0 = require$$0;
21494
21549
  exports.runExpression = runExpression;
21495
21550
  exports.runExpressionMany = runExpressionMany;
21496
21551
  exports.runQuery = runQuery;
@@ -21505,4 +21560,4 @@ exports.signSessionCreateMessage = signSessionCreateMessage;
21505
21560
  exports.signTransaction = signTransaction;
21506
21561
  exports.subscribe = subscribe;
21507
21562
  exports.useAuth = useAuth;
21508
- //# sourceMappingURL=index-CVK4iKo4.js.map
21563
+ //# sourceMappingURL=index-BrlvWT1Q.js.map