@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
@@ -1,5 +1,5 @@
1
1
  import globalAxios from 'axios';
2
- import { PublicKey, SystemProgram, TransactionInstruction, ComputeBudgetProgram, Keypair, VersionedTransaction, TransactionMessage, Connection, Transaction } from '@solana/web3.js';
2
+ import { PublicKey, SystemProgram, TransactionInstruction, ComputeBudgetProgram, Keypair, VersionedTransaction, TransactionMessage, Transaction, Connection } from '@solana/web3.js';
3
3
  import * as anchor from '@coral-xyz/anchor';
4
4
  import { Program } from '@coral-xyz/anchor';
5
5
  import * as React$2 from 'react';
@@ -9330,7 +9330,7 @@ function convertRemainingAccounts(remainingAccounts) {
9330
9330
  // ─────────────────────────────────────────────────────────────
9331
9331
  // Updated Transaction Builder: It now accepts a PublicKey for the payer
9332
9332
  // ─────────────────────────────────────────────────────────────
9333
- async function buildSetDocumentsTransaction(connection, idl, anchorProvider, payerPublicKey, args, remainingAccounts, lutKey, preInstructions, simulate) {
9333
+ async function buildSetDocumentsTransaction(connection, idl, anchorProvider, payerPublicKey, args, remainingAccounts, lutKey, preInstructions, simulate, additionalLutAddresses) {
9334
9334
  const computeBudgetIx = ComputeBudgetProgram.setComputeUnitLimit({
9335
9335
  units: 1400000,
9336
9336
  });
@@ -9371,8 +9371,25 @@ async function buildSetDocumentsTransaction(connection, idl, anchorProvider, pay
9371
9371
  tx.feePayer = payerPublicKey;
9372
9372
  const { blockhash, lastValidBlockHeight } = await connection.getLatestBlockhash("confirmed");
9373
9373
  tx.recentBlockhash = blockhash;
9374
- if (lutKey == null) {
9375
- const isSurfnet = anchorProvider.connection.rpcEndpoint == "https://surfpool.fly.dev";
9374
+ // Resolve LUTs: additionalLutAddresses (when present) is the authoritative set.
9375
+ // Falls back to lutKey alone for backwards compatibility.
9376
+ const lookupTables = [];
9377
+ const isSurfnet = anchorProvider.connection.rpcEndpoint == "https://surfpool.fly.dev";
9378
+ if (additionalLutAddresses && additionalLutAddresses.length > 0) {
9379
+ const results = await Promise.all(additionalLutAddresses.map(addr => connection.getAddressLookupTable(new PublicKey(addr)).catch(() => null)));
9380
+ for (const result of results) {
9381
+ if (result === null || result === void 0 ? void 0 : result.value) {
9382
+ lookupTables.push(result.value);
9383
+ }
9384
+ }
9385
+ }
9386
+ else if (lutKey != null) {
9387
+ const { value: table } = await connection.getAddressLookupTable(new PublicKey(lutKey));
9388
+ if (!table)
9389
+ throw new Error('LUT not found after creation/extend');
9390
+ lookupTables.push(table);
9391
+ }
9392
+ if (lookupTables.length === 0) {
9376
9393
  const computeUnits = isSurfnet ? 1400000 : await getSimulationComputeUnits(connection, tx.instructions, payerPublicKey, []);
9377
9394
  const computeBudgetIxOptimized = ComputeBudgetProgram.setComputeUnitLimit({
9378
9395
  units: computeUnits ? computeUnits * 1.2 : 1400000,
@@ -9380,11 +9397,7 @@ async function buildSetDocumentsTransaction(connection, idl, anchorProvider, pay
9380
9397
  tx.instructions[0] = computeBudgetIxOptimized;
9381
9398
  return { tx, blockhash, lastValidBlockHeight };
9382
9399
  }
9383
- const { value: table } = await connection.getAddressLookupTable(new PublicKey(lutKey));
9384
- if (!table)
9385
- throw new Error('LUT not found after creation/extend');
9386
- const isSurfnet = anchorProvider.connection.rpcEndpoint == "https://surfpool.fly.dev";
9387
- const computeUnits = isSurfnet ? 1400000 : await getSimulationComputeUnits(connection, tx.instructions, payerPublicKey, [table]);
9400
+ const computeUnits = isSurfnet ? 1400000 : await getSimulationComputeUnits(connection, tx.instructions, payerPublicKey, lookupTables);
9388
9401
  const computeBudgetIxOptimized = ComputeBudgetProgram.setComputeUnitLimit({
9389
9402
  units: computeUnits ? computeUnits * 1.2 : 1400000,
9390
9403
  }); // 20% buffer
@@ -9393,7 +9406,7 @@ async function buildSetDocumentsTransaction(connection, idl, anchorProvider, pay
9393
9406
  payerKey: payerPublicKey,
9394
9407
  recentBlockhash: blockhash,
9395
9408
  instructions: tx.instructions,
9396
- }).compileToV0Message([table]);
9409
+ }).compileToV0Message(lookupTables);
9397
9410
  const vTx = new anchor.web3.VersionedTransaction(msgV0);
9398
9411
  return { tx: vTx, blockhash, lastValidBlockHeight };
9399
9412
  }
@@ -10277,6 +10290,7 @@ async function setMany(many, options) {
10277
10290
  appId: config.appId,
10278
10291
  txArgs: [solTransactionData],
10279
10292
  lutKey: (_c = tx.lutAddress) !== null && _c !== void 0 ? _c : null,
10293
+ additionalLutAddresses: tx.additionalLutAddresses,
10280
10294
  network: tx.network,
10281
10295
  preInstructions: (_e = (_d = tx.preInstructions) === null || _d === void 0 ? void 0 : _d.map((ix) => {
10282
10296
  var _a;
@@ -11435,6 +11449,50 @@ function setPlatform(adapter) {
11435
11449
  function getPlatform() {
11436
11450
  return _platform;
11437
11451
  }
11452
+ // ---------------------------------------------------------------------------
11453
+ // Mobile / Android detection helpers
11454
+ // ---------------------------------------------------------------------------
11455
+ /**
11456
+ * Detect mobile device even when Chrome "Request Desktop Site" is active.
11457
+ *
11458
+ * Desktop mode on Android strips "Android" and "Mobile" from the UA, leaving
11459
+ * something like "Linux x86_64 …". The fallback detects this by looking for
11460
+ * touch capability + small viewport + a UA that doesn't belong to a known
11461
+ * desktop OS (ChromeOS, Windows, macOS).
11462
+ */
11463
+ function detectMobile() {
11464
+ const ua = _platform.getUserAgent();
11465
+ if (/Android|iPhone|iPad|iPod/i.test(ua))
11466
+ return true;
11467
+ if (typeof navigator !== 'undefined' && typeof window !== 'undefined') {
11468
+ const hasTouch = navigator.maxTouchPoints > 0;
11469
+ // Macs don't have touch screens, so "Macintosh" + touch = iOS desktop mode
11470
+ // (also catches iPadOS 13+ which always reports as Macintosh)
11471
+ if (/Macintosh/i.test(ua) && hasTouch)
11472
+ return true;
11473
+ // Android desktop mode: Linux UA + touch + small viewport, excluding
11474
+ // known desktop OSes (ChromeOS, Windows, macOS)
11475
+ const isSmallViewport = window.innerWidth <= 1024;
11476
+ const isDesktopOS = /CrOS|Windows|Macintosh/i.test(ua);
11477
+ if (hasTouch && isSmallViewport && !isDesktopOS)
11478
+ return true;
11479
+ }
11480
+ return false;
11481
+ }
11482
+ /**
11483
+ * Detect Android, including desktop-mode Chrome and Seeker/Saga in-app browsers.
11484
+ */
11485
+ function detectAndroid() {
11486
+ const ua = _platform.getUserAgent();
11487
+ if (/Android/i.test(ua))
11488
+ return true;
11489
+ if (/SolanaWallet|SeedVault/i.test(ua))
11490
+ return true;
11491
+ // Desktop-mode fallback: detected as mobile + Linux UA + not another OS
11492
+ if (detectMobile() && /Linux/i.test(ua) && !/CrOS|Macintosh|iPhone|iPad/i.test(ua))
11493
+ return true;
11494
+ return false;
11495
+ }
11438
11496
 
11439
11497
  // Default test wallet address (Solana devnet address)
11440
11498
  const DEFAULT_TEST_ADDRESS = 'HKbZbRR7jWWR5VRN8KFjvTCHEzJQgameYxKQxh2gPoof';
@@ -12683,6 +12741,16 @@ function useAuth() {
12683
12741
  };
12684
12742
  }
12685
12743
 
12744
+ async function deserializeTransaction(tx) {
12745
+ const buf = Buffer.isBuffer(tx) ? tx : Buffer.from(tx, 'base64');
12746
+ if ((buf[0] & 0x80) !== 0) {
12747
+ return VersionedTransaction.deserialize(buf);
12748
+ }
12749
+ else {
12750
+ return Transaction.from(buf);
12751
+ }
12752
+ }
12753
+
12686
12754
  // Wrapper for getIdToken - passes isServer=false for client-side usage
12687
12755
  async function getIdToken() {
12688
12756
  return getIdToken$1(false);
@@ -15128,7 +15196,7 @@ async function loadDependencies() {
15128
15196
  const [reactModule, reactDomModule, phantomModule] = await Promise.all([
15129
15197
  import('react'),
15130
15198
  import('react-dom/client'),
15131
- import('./index-ByH7PSr3.esm.js')
15199
+ import('./index-Dsh0H37n.esm.js')
15132
15200
  ]);
15133
15201
  // Extract default export from ESM module namespace
15134
15202
  // Dynamic import() returns { default: Module, ...exports }, not the module directly
@@ -15266,7 +15334,7 @@ class PhantomWalletProvider {
15266
15334
  const [hoveredBtn, setHoveredBtn] = React$1.useState(null);
15267
15335
  // Discover all available wallets via Wallet Standard + EIP-6963
15268
15336
  const { wallets: discoveredWallets } = useDiscoveredWallets();
15269
- const isMobile = /Android|iPhone|iPad|iPod/i.test(getPlatform().getUserAgent());
15337
+ const isMobile = detectMobile();
15270
15338
  const hasPhantomInjected = discoveredWallets.some((w) => w.id === 'phantom');
15271
15339
  const showDeeplink = isMobile && sdkProviders.includes('deeplink') && !hasPhantomInjected;
15272
15340
  // Track previous modal state to detect closes
@@ -15658,7 +15726,7 @@ class PhantomWalletProvider {
15658
15726
  }), 'Open Phantom app'));
15659
15727
  }
15660
15728
  // Mobile Wallet Adapter button — shown on Android when MWA callback is available
15661
- const isAndroid = /Android/i.test(getPlatform().getUserAgent());
15729
+ const isAndroid = detectAndroid();
15662
15730
  if (isAndroid && that.onSwitchToMWA) {
15663
15731
  walletButtons.push(React$1.createElement('button', {
15664
15732
  key: 'mobile-wallet',
@@ -16047,7 +16115,7 @@ class PhantomWalletProvider {
16047
16115
  documents: solTransactionData.txArgs[0].setDocumentData,
16048
16116
  delete_paths: solTransactionData.txArgs[0].deletePaths,
16049
16117
  txData: solTransactionData.txArgs[0].txData
16050
- }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false);
16118
+ }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false, solTransactionData.additionalLutAddresses);
16051
16119
  tx = result.tx;
16052
16120
  }
16053
16121
  if ((options === null || options === void 0 ? void 0 : options.shouldSubmitTx) === false) {
@@ -19584,7 +19652,7 @@ if (typeof window !== 'undefined') {
19584
19652
  privyImports = require('@privy-io/react-auth');
19585
19653
  privySolana = require('@privy-io/react-auth/solana');
19586
19654
  }
19587
- const defaultPrivyConfig = {
19655
+ const getDefaultPrivyConfig = () => ({
19588
19656
  appId: "cm4ve714908o27dk2yurpnfhd",
19589
19657
  config: {
19590
19658
  embeddedWallets: {
@@ -19597,14 +19665,13 @@ const defaultPrivyConfig = {
19597
19665
  },
19598
19666
  externalWallets: { solana: { connectors: privySolana.toSolanaWalletConnectors() } }
19599
19667
  }
19600
- };
19668
+ });
19601
19669
  class PrivyWalletProvider {
19602
19670
  constructor(appName, appLogoUrl, privyConfig, networkUrl = null) {
19603
19671
  this.containerElement = null;
19604
19672
  this.chainId = 'solana:mainnet';
19605
19673
  this.root = null;
19606
19674
  this.privyMethods = null;
19607
- this.privyConfig = defaultPrivyConfig;
19608
19675
  this.pendingLogin = null;
19609
19676
  // This is used to store the pending transaction until the wallet is connected for workaround for the wallet not being connected after login completion
19610
19677
  this.pendingTransaction = null;
@@ -19624,7 +19691,7 @@ class PrivyWalletProvider {
19624
19691
  this.containerElement = null;
19625
19692
  this.root = null;
19626
19693
  this.privyMethods = null;
19627
- this.privyConfig = privyConfig !== null && privyConfig !== void 0 ? privyConfig : defaultPrivyConfig;
19694
+ this.privyConfig = privyConfig !== null && privyConfig !== void 0 ? privyConfig : getDefaultPrivyConfig();
19628
19695
  // Only use the appName and appLogoUrl if no privyConfig is provided
19629
19696
  if (privyConfig == null) {
19630
19697
  if (appName != null && appName != '') {
@@ -19636,7 +19703,7 @@ class PrivyWalletProvider {
19636
19703
  }
19637
19704
  // Ensure externalWallets connectors are always configured — required for
19638
19705
  // useWallets().ready to resolve even when no browser extension is present
19639
- if (!this.privyConfig.config.externalWallets) {
19706
+ if (!this.privyConfig.config.externalWallets && privySolana) {
19640
19707
  this.privyConfig.config.externalWallets = {
19641
19708
  solana: { connectors: privySolana.toSolanaWalletConnectors() }
19642
19709
  };
@@ -19998,7 +20065,7 @@ class PrivyWalletProvider {
19998
20065
  lastValidBlockHeight = latestBlockhash.lastValidBlockHeight;
19999
20066
  }
20000
20067
  else {
20001
- const result = await buildSetDocumentsTransaction(connection, solTransactionData.txArgs[0].idl, anchorProvider, new 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);
20068
+ const result = await buildSetDocumentsTransaction(connection, solTransactionData.txArgs[0].idl, anchorProvider, new 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);
20002
20069
  tx = result.tx;
20003
20070
  blockhash = result.blockhash;
20004
20071
  lastValidBlockHeight = result.lastValidBlockHeight;
@@ -20468,20 +20535,9 @@ var privyWalletProvider = /*#__PURE__*/Object.freeze({
20468
20535
  * or inside a Seeker/Saga in-app browser context.
20469
20536
  */
20470
20537
  function isMobileWalletAvailable() {
20471
- // Use OR — bail early if either window or navigator is missing.
20472
- // This preserves the original guard's conservative behavior on
20473
- // Seeker/Saga in-app browsers where both are always present.
20474
- // RN environments also hit this (neither is defined).
20475
20538
  if (typeof window === 'undefined' || typeof navigator === 'undefined')
20476
20539
  return false;
20477
- const ua = getPlatform().getUserAgent();
20478
- if (!ua)
20479
- return false;
20480
- // Android browser — MWA uses Android intents
20481
- const isAndroid = /Android/i.test(ua);
20482
- // In-app browser inside a wallet app on Seeker/Saga
20483
- const isWalletInAppBrowser = /SolanaWallet/i.test(ua) || /SeedVault/i.test(ua);
20484
- return isAndroid || isWalletInAppBrowser;
20540
+ return detectAndroid();
20485
20541
  }
20486
20542
  const ED25519_SIGNATURE_LENGTH = 64;
20487
20543
  // Dynamically imported MWA protocol module
@@ -20496,7 +20552,7 @@ async function loadMwaProtocol() {
20496
20552
  return mwaProtocolLoadPromise;
20497
20553
  mwaProtocolLoadPromise = (async () => {
20498
20554
  try {
20499
- mwaProtocolModule = await import('./index.browser-DTId19-8.esm.js');
20555
+ mwaProtocolModule = await import('./index.browser--rDwfvXH.esm.js');
20500
20556
  }
20501
20557
  catch (e) {
20502
20558
  console.warn('[SolanaMobileWallet] @solana-mobile/mobile-wallet-adapter-protocol-web3js not installed. Install it to enable Seeker wallet support.');
@@ -20518,7 +20574,7 @@ async function registerMobileWalletAdapter(config) {
20518
20574
  if (typeof window === 'undefined')
20519
20575
  return;
20520
20576
  try {
20521
- const walletStandardMobile = await import('./index.browser-C2K1wE09.esm.js');
20577
+ const walletStandardMobile = await import('./index.browser-CSTWylhG.esm.js');
20522
20578
  const registerMwa = walletStandardMobile.registerMwa || ((_a = walletStandardMobile.default) === null || _a === void 0 ? void 0 : _a.registerMwa);
20523
20579
  if (!registerMwa) {
20524
20580
  console.warn('[SolanaMobileWallet] registerMwa not found in @solana-mobile/wallet-standard-mobile');
@@ -20973,7 +21029,7 @@ class SolanaMobileWalletProvider {
20973
21029
  documents: solTransactionData.txArgs[0].setDocumentData,
20974
21030
  delete_paths: solTransactionData.txArgs[0].deletePaths,
20975
21031
  txData: solTransactionData.txArgs[0].txData
20976
- }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false);
21032
+ }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false, solTransactionData.additionalLutAddresses);
20977
21033
  tx = result.tx;
20978
21034
  }
20979
21035
  if ((options === null || options === void 0 ? void 0 : options.shouldSubmitTx) === false) {
@@ -21230,7 +21286,7 @@ class PrivyExpoProvider {
21230
21286
  documents: solTransactionData.txArgs[0].setDocumentData,
21231
21287
  delete_paths: solTransactionData.txArgs[0].deletePaths,
21232
21288
  txData: solTransactionData.txArgs[0].txData,
21233
- }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false);
21289
+ }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false, solTransactionData.additionalLutAddresses);
21234
21290
  // Set blockhash
21235
21291
  const isLegacyTx = 'recentBlockhash' in tx &&
21236
21292
  !('message' in tx && 'staticAccountKeys' in tx.message);
@@ -21426,5 +21482,5 @@ class PrivyExpoProvider {
21426
21482
  }
21427
21483
  }
21428
21484
 
21429
- export { genSolanaMessage as $, count as A, aggregate as B, subscribe as C, useAuth as D, getIdToken as E, setPlatform as F, getPlatform as G, PrivyWalletProvider as H, DEFAULT_TEST_ADDRESS as I, isMobileWalletAvailable as J, registerMobileWalletAdapter as K, PrivyExpoProvider as L, MockAuthProvider as M, InsufficientBalanceError as N, OffchainAuthProvider as O, PhantomWalletProvider as P, ServerSessionManager as Q, ReactNativeSessionManager as R, SolanaMobileWalletProvider as S, buildSetDocumentsTransaction as T, clearCache as U, closeAllSubscriptions as V, WebSessionManager as W, convertRemainingAccounts as X, createSessionWithPrivy as Y, createSessionWithSignature as Z, genAuthNonce as _, bs58 as a, getCachedData as a0, reconnectWithNewAuth as a1, refreshSession as a2, signSessionCreateMessage as a3, bufferExports as b, commonjsRequire as c, getCurrentUser as d, onAuthLoadingChanged as e, getAuthLoading as f, getDefaultExportFromCjs$1 as g, logout as h, init as i, getConfig as j, getAuthProvider as k, login as l, get as m, setMany as n, onAuthStateChanged as o, setFile as p, getFiles as q, require$$0 as r, set as s, runQuery as t, runQueryMany as u, runExpression as v, runExpressionMany as w, signMessage as x, signTransaction as y, signAndSubmitTransaction as z };
21430
- //# sourceMappingURL=index-tYJgJQDc.esm.js.map
21485
+ export { getCachedData as $, subscribe as A, useAuth as B, deserializeTransaction as C, getIdToken as D, setPlatform as E, getPlatform as F, PrivyWalletProvider as G, DEFAULT_TEST_ADDRESS as H, isMobileWalletAvailable as I, registerMobileWalletAdapter as J, PrivyExpoProvider as K, InsufficientBalanceError as L, MockAuthProvider as M, ServerSessionManager as N, OffchainAuthProvider as O, PhantomWalletProvider as P, buildSetDocumentsTransaction as Q, ReactNativeSessionManager as R, SolanaMobileWalletProvider as S, clearCache as T, closeAllSubscriptions as U, convertRemainingAccounts as V, WebSessionManager as W, createSessionWithPrivy as X, createSessionWithSignature as Y, genAuthNonce as Z, genSolanaMessage as _, bs58 as a, reconnectWithNewAuth as a0, refreshSession as a1, signSessionCreateMessage as a2, bufferExports as b, getCurrentUser as c, onAuthLoadingChanged as d, getAuthLoading as e, logout as f, getDefaultExportFromCjs$1 as g, getConfig as h, init as i, getAuthProvider as j, get as k, login as l, setMany as m, setFile as n, onAuthStateChanged as o, getFiles as p, runQueryMany as q, runQuery as r, set as s, runExpression as t, runExpressionMany as u, signMessage as v, signTransaction as w, signAndSubmitTransaction as x, count as y, aggregate as z };
21486
+ //# sourceMappingURL=index-C5Cnn7Hq.esm.js.map