@pooflabs/web 0.0.74 → 0.0.75

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 (54) hide show
  1. package/dist/{index-BVfqY0fJ.js → index-BHYrnHi6.js} +2 -2406
  2. package/dist/index-BHYrnHi6.js.map +1 -0
  3. package/dist/{index-QqlKSXH4.js → index-BcDe_euX.js} +2 -2406
  4. package/dist/index-BcDe_euX.js.map +1 -0
  5. package/dist/{index-ByH7PSr3.esm.js → index-BqDvUK9s.esm.js} +2 -2406
  6. package/dist/index-BqDvUK9s.esm.js.map +1 -0
  7. package/dist/{index-CVK4iKo4.js → index-CMeewi-G.js} +78 -33
  8. package/dist/index-CMeewi-G.js.map +1 -0
  9. package/dist/{index-tYJgJQDc.esm.js → index-Dho2J3X6.esm.js} +79 -32
  10. package/dist/index-Dho2J3X6.esm.js.map +1 -0
  11. package/dist/{index-ORXorrQK.esm.js → index-_vhjpl1l.esm.js} +2 -2406
  12. package/dist/index-_vhjpl1l.esm.js.map +1 -0
  13. package/dist/{index.browser-C2K1wE09.esm.js → index.browser-Br0p4bjw.esm.js} +2 -2
  14. package/dist/{index.browser-C2K1wE09.esm.js.map → index.browser-Br0p4bjw.esm.js.map} +1 -1
  15. package/dist/{index.browser-DTId19-8.esm.js → index.browser-Btm3sRKb.esm.js} +2 -2
  16. package/dist/{index.browser-DTId19-8.esm.js.map → index.browser-Btm3sRKb.esm.js.map} +1 -1
  17. package/dist/{index.browser-De6JT7NR.js → index.browser-BzHjnrpD.js} +2 -2
  18. package/dist/{index.browser-De6JT7NR.js.map → index.browser-BzHjnrpD.js.map} +1 -1
  19. package/dist/{index.browser-D63nJFKg.esm.js → index.browser-CGfjPfzM.esm.js} +2 -2
  20. package/dist/{index.browser-D63nJFKg.esm.js.map → index.browser-CGfjPfzM.esm.js.map} +1 -1
  21. package/dist/{index.browser-GM5fUBfQ.js → index.browser-Dapjfbl6.js} +2 -2
  22. package/dist/{index.browser-GM5fUBfQ.js.map → index.browser-Dapjfbl6.js.map} +1 -1
  23. package/dist/{index.browser-B8vmX-tI.js → index.browser-JX3F6oPV.js} +2 -2
  24. package/dist/{index.browser-B8vmX-tI.js.map → index.browser-JX3F6oPV.js.map} +1 -1
  25. package/dist/index.esm.js +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/{index.native-CzfZTw_J.esm.js → index.native-BB7er4-z.esm.js} +73 -15
  28. package/dist/index.native-BB7er4-z.esm.js.map +1 -0
  29. package/dist/{index.native-muw49g7i.js → index.native-DcKDTqvq.js} +74 -16
  30. package/dist/index.native-DcKDTqvq.js.map +1 -0
  31. package/dist/index.native.esm.js +1 -1
  32. package/dist/index.native.js +1 -1
  33. package/dist/{phantom-wallet-provider-Di3Z8vOA.esm.js → phantom-wallet-provider-DHok8ui3.esm.js} +6 -6
  34. package/dist/{phantom-wallet-provider-Di3Z8vOA.esm.js.map → phantom-wallet-provider-DHok8ui3.esm.js.map} +1 -1
  35. package/dist/{phantom-wallet-provider-CeNZvRZY.js → phantom-wallet-provider-DMxFAUC4.js} +6 -6
  36. package/dist/{phantom-wallet-provider-CeNZvRZY.js.map → phantom-wallet-provider-DMxFAUC4.js.map} +1 -1
  37. package/dist/platform.d.ts +13 -0
  38. package/dist/{privy-wallet-provider-lbg2fDVg.js → privy-wallet-provider-Bhvw0t1d.js} +4 -4
  39. package/dist/{privy-wallet-provider-lbg2fDVg.js.map → privy-wallet-provider-Bhvw0t1d.js.map} +1 -1
  40. package/dist/{privy-wallet-provider-Cfws3b3x.esm.js → privy-wallet-provider-CFuoQYuv.esm.js} +4 -4
  41. package/dist/{privy-wallet-provider-Cfws3b3x.esm.js.map → privy-wallet-provider-CFuoQYuv.esm.js.map} +1 -1
  42. package/dist/{solana-mobile-wallet-provider-BZMvp9Qy.esm.js → solana-mobile-wallet-provider-BpQghAgC.esm.js} +4 -4
  43. package/dist/{solana-mobile-wallet-provider-BZMvp9Qy.esm.js.map → solana-mobile-wallet-provider-BpQghAgC.esm.js.map} +1 -1
  44. package/dist/{solana-mobile-wallet-provider-DDqwl25J.js → solana-mobile-wallet-provider-D8b5y-By.js} +4 -4
  45. package/dist/{solana-mobile-wallet-provider-DDqwl25J.js.map → solana-mobile-wallet-provider-D8b5y-By.js.map} +1 -1
  46. package/package.json +2 -2
  47. package/dist/index-BVfqY0fJ.js.map +0 -1
  48. package/dist/index-ByH7PSr3.esm.js.map +0 -1
  49. package/dist/index-CVK4iKo4.js.map +0 -1
  50. package/dist/index-ORXorrQK.esm.js.map +0 -1
  51. package/dist/index-QqlKSXH4.js.map +0 -1
  52. package/dist/index-tYJgJQDc.esm.js.map +0 -1
  53. package/dist/index.native-CzfZTw_J.esm.js.map +0 -1
  54. package/dist/index.native-muw49g7i.js.map +0 -1
@@ -1,4 +1,4 @@
1
- export { T as DEFAULT_TEST_ADDRESS, X as InsufficientBalanceError, R as MockAuthProvider, U as OffchainAuthProvider, V as PrivyExpoProvider, Y as ReactNativeSessionManager, Z as ServerSessionManager, W as WebSessionManager, M as aggregate, b as buildSetDocumentsTransaction, _ as clearCache, $ as closeAllSubscriptions, c as convertRemainingAccounts, L as count, f as createSessionWithPrivy, l as createSessionWithSignature, j as genAuthNonce, k as genSolanaMessage, z as get, u as getAuthLoading, y as getAuthProvider, a0 as getCachedData, x as getConfig, p as getCurrentUser, D as getFiles, P as getIdToken, g as getPlatform, o as init, v as login, w as logout, t as onAuthLoadingChanged, q as onAuthStateChanged, a1 as reconnectWithNewAuth, a2 as refreshSession, G as runExpression, H as runExpressionMany, E as runQuery, F as runQueryMany, A as set, C as setFile, B as setMany, Q as setPlatform, K as signAndSubmitTransaction, I as signMessage, a3 as signSessionCreateMessage, J as signTransaction, N as subscribe, O as useAuth } from './index.native-CzfZTw_J.esm.js';
1
+ export { T as DEFAULT_TEST_ADDRESS, X as InsufficientBalanceError, R as MockAuthProvider, U as OffchainAuthProvider, V as PrivyExpoProvider, Y as ReactNativeSessionManager, Z as ServerSessionManager, W as WebSessionManager, M as aggregate, b as buildSetDocumentsTransaction, _ as clearCache, $ as closeAllSubscriptions, c as convertRemainingAccounts, L as count, f as createSessionWithPrivy, n as createSessionWithSignature, l as genAuthNonce, m as genSolanaMessage, z as get, u as getAuthLoading, y as getAuthProvider, a0 as getCachedData, x as getConfig, q as getCurrentUser, D as getFiles, P as getIdToken, g as getPlatform, p as init, v as login, w as logout, t as onAuthLoadingChanged, r as onAuthStateChanged, a1 as reconnectWithNewAuth, a2 as refreshSession, G as runExpression, H as runExpressionMany, E as runQuery, F as runQueryMany, A as set, C as setFile, B as setMany, Q as setPlatform, K as signAndSubmitTransaction, I as signMessage, a3 as signSessionCreateMessage, J as signTransaction, N as subscribe, O as useAuth } from './index.native-BB7er4-z.esm.js';
2
2
  import 'axios';
3
3
  import '@solana/web3.js';
4
4
  import '@coral-xyz/anchor';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index_native = require('./index.native-muw49g7i.js');
3
+ var index_native = require('./index.native-DcKDTqvq.js');
4
4
  require('axios');
5
5
  require('@solana/web3.js');
6
6
  require('@coral-xyz/anchor');
@@ -1,5 +1,5 @@
1
1
  import { b as bufferExports } from './index-CrOVJFX9.esm.js';
2
- import { W as WebSessionManager, c as convertRemainingAccounts, b as buildSetDocumentsTransaction, e as confirmAndCheckTransaction, s as setCurrentUser, a as SOLANA_DEVNET_RPC_URL, S as SOLANA_MAINNET_RPC_URL, h as SURFNET_RPC_URL, g as getPlatform, i as setAuthLoading, j as genAuthNonce, k as genSolanaMessage, l as createSessionWithSignature } from './index.native-CzfZTw_J.esm.js';
2
+ import { W as WebSessionManager, c as convertRemainingAccounts, b as buildSetDocumentsTransaction, e as confirmAndCheckTransaction, s as setCurrentUser, a as SOLANA_DEVNET_RPC_URL, S as SOLANA_MAINNET_RPC_URL, h as SURFNET_RPC_URL, i as detectMobile, j as detectAndroid, k as setAuthLoading, l as genAuthNonce, m as genSolanaMessage, n as createSessionWithSignature, g as getPlatform } from './index.native-BB7er4-z.esm.js';
3
3
  import { Connection, PublicKey, VersionedTransaction } from '@solana/web3.js';
4
4
  import * as anchor from '@coral-xyz/anchor';
5
5
  import 'axios';
@@ -26,7 +26,7 @@ async function loadDependencies() {
26
26
  const [reactModule, reactDomModule, phantomModule] = await Promise.all([
27
27
  import('react'),
28
28
  import('react-dom/client'),
29
- import('./index-ORXorrQK.esm.js')
29
+ import('./index-_vhjpl1l.esm.js')
30
30
  ]);
31
31
  // Extract default export from ESM module namespace
32
32
  // Dynamic import() returns { default: Module, ...exports }, not the module directly
@@ -164,7 +164,7 @@ class PhantomWalletProvider {
164
164
  const [hoveredBtn, setHoveredBtn] = React.useState(null);
165
165
  // Discover all available wallets via Wallet Standard + EIP-6963
166
166
  const { wallets: discoveredWallets } = useDiscoveredWallets();
167
- const isMobile = /Android|iPhone|iPad|iPod/i.test(getPlatform().getUserAgent());
167
+ const isMobile = detectMobile();
168
168
  const hasPhantomInjected = discoveredWallets.some((w) => w.id === 'phantom');
169
169
  const showDeeplink = isMobile && sdkProviders.includes('deeplink') && !hasPhantomInjected;
170
170
  // Track previous modal state to detect closes
@@ -556,7 +556,7 @@ class PhantomWalletProvider {
556
556
  }), 'Open Phantom app'));
557
557
  }
558
558
  // Mobile Wallet Adapter button — shown on Android when MWA callback is available
559
- const isAndroid = /Android/i.test(getPlatform().getUserAgent());
559
+ const isAndroid = detectAndroid();
560
560
  if (isAndroid && that.onSwitchToMWA) {
561
561
  walletButtons.push(React.createElement('button', {
562
562
  key: 'mobile-wallet',
@@ -945,7 +945,7 @@ class PhantomWalletProvider {
945
945
  documents: solTransactionData.txArgs[0].setDocumentData,
946
946
  delete_paths: solTransactionData.txArgs[0].deletePaths,
947
947
  txData: solTransactionData.txArgs[0].txData
948
- }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false);
948
+ }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false, solTransactionData.additionalLutAddresses);
949
949
  tx = result.tx;
950
950
  }
951
951
  if ((options === null || options === void 0 ? void 0 : options.shouldSubmitTx) === false) {
@@ -1304,4 +1304,4 @@ class PhantomWalletProvider {
1304
1304
  PhantomWalletProvider.instance = null;
1305
1305
 
1306
1306
  export { PhantomWalletProvider };
1307
- //# sourceMappingURL=phantom-wallet-provider-Di3Z8vOA.esm.js.map
1307
+ //# sourceMappingURL=phantom-wallet-provider-DHok8ui3.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"phantom-wallet-provider-Di3Z8vOA.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-Bdcc5821.js');
4
- var index_native = require('./index.native-muw49g7i.js');
4
+ var index_native = require('./index.native-DcKDTqvq.js');
5
5
  var web3_js = require('@solana/web3.js');
6
6
  var anchor = require('@coral-xyz/anchor');
7
7
  require('axios');
@@ -47,7 +47,7 @@ async function loadDependencies() {
47
47
  const [reactModule, reactDomModule, phantomModule] = await Promise.all([
48
48
  import('react'),
49
49
  import('react-dom/client'),
50
- Promise.resolve().then(function () { return require('./index-QqlKSXH4.js'); })
50
+ Promise.resolve().then(function () { return require('./index-BcDe_euX.js'); })
51
51
  ]);
52
52
  // Extract default export from ESM module namespace
53
53
  // Dynamic import() returns { default: Module, ...exports }, not the module directly
@@ -185,7 +185,7 @@ class PhantomWalletProvider {
185
185
  const [hoveredBtn, setHoveredBtn] = React.useState(null);
186
186
  // Discover all available wallets via Wallet Standard + EIP-6963
187
187
  const { wallets: discoveredWallets } = useDiscoveredWallets();
188
- const isMobile = /Android|iPhone|iPad|iPod/i.test(index_native.getPlatform().getUserAgent());
188
+ const isMobile = index_native.detectMobile();
189
189
  const hasPhantomInjected = discoveredWallets.some((w) => w.id === 'phantom');
190
190
  const showDeeplink = isMobile && sdkProviders.includes('deeplink') && !hasPhantomInjected;
191
191
  // Track previous modal state to detect closes
@@ -577,7 +577,7 @@ class PhantomWalletProvider {
577
577
  }), 'Open Phantom app'));
578
578
  }
579
579
  // Mobile Wallet Adapter button — shown on Android when MWA callback is available
580
- const isAndroid = /Android/i.test(index_native.getPlatform().getUserAgent());
580
+ const isAndroid = index_native.detectAndroid();
581
581
  if (isAndroid && that.onSwitchToMWA) {
582
582
  walletButtons.push(React.createElement('button', {
583
583
  key: 'mobile-wallet',
@@ -966,7 +966,7 @@ class PhantomWalletProvider {
966
966
  documents: solTransactionData.txArgs[0].setDocumentData,
967
967
  delete_paths: solTransactionData.txArgs[0].deletePaths,
968
968
  txData: solTransactionData.txArgs[0].txData
969
- }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false);
969
+ }, finalDeduped, solTransactionData.lutKey, solTransactionData.preInstructions, false, solTransactionData.additionalLutAddresses);
970
970
  tx = result.tx;
971
971
  }
972
972
  if ((options === null || options === void 0 ? void 0 : options.shouldSubmitTx) === false) {
@@ -1325,4 +1325,4 @@ class PhantomWalletProvider {
1325
1325
  PhantomWalletProvider.instance = null;
1326
1326
 
1327
1327
  exports.PhantomWalletProvider = PhantomWalletProvider;
1328
- //# sourceMappingURL=phantom-wallet-provider-CeNZvRZY.js.map
1328
+ //# sourceMappingURL=phantom-wallet-provider-DMxFAUC4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"phantom-wallet-provider-CeNZvRZY.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ter>): void;
61
61
  /** Get the current platform adapter. */
62
62
  export declare function getPlatform(): PlatformAdapter;
63
+ /**
64
+ * Detect mobile device even when Chrome "Request Desktop Site" is active.
65
+ *
66
+ * Desktop mode on Android strips "Android" and "Mobile" from the UA, leaving
67
+ * something like "Linux x86_64 …". The fallback detects this by looking for
68
+ * touch capability + small viewport + a UA that doesn't belong to a known
69
+ * desktop OS (ChromeOS, Windows, macOS).
70
+ */
71
+ export declare function detectMobile(): boolean;
72
+ /**
73
+ * Detect Android, including desktop-mode Chrome and Seeker/Saga in-app browsers.
74
+ */
75
+ export declare function detectAndroid(): boolean;
63
76
  /**
64
77
  * Reset the platform to web defaults and clear the configured flag.
65
78
  * **For testing only** — not exported from the public API.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index_native = require('./index.native-muw49g7i.js');
3
+ var index_native = require('./index.native-DcKDTqvq.js');
4
4
  var web3_js = require('@solana/web3.js');
5
5
  var anchor = require('@coral-xyz/anchor');
6
6
  require('axios');
@@ -3481,7 +3481,7 @@ class PrivyWalletProvider {
3481
3481
  lastValidBlockHeight = latestBlockhash.lastValidBlockHeight;
3482
3482
  }
3483
3483
  else {
3484
- const result = await index_native.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);
3484
+ const result = await index_native.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);
3485
3485
  tx = result.tx;
3486
3486
  blockhash = result.blockhash;
3487
3487
  lastValidBlockHeight = result.lastValidBlockHeight;
@@ -3870,7 +3870,7 @@ class PrivyWalletProvider {
3870
3870
  }));
3871
3871
  // The signature is returned as a Uint8Array, encode it as base58 (standard Solana format)
3872
3872
  const signatureBytes = (result === null || result === void 0 ? void 0 : result.signature) || result;
3873
- const bs58 = await Promise.resolve().then(function () { return require('./index.native-muw49g7i.js'); }).then(function (n) { return n.index; });
3873
+ const bs58 = await Promise.resolve().then(function () { return require('./index.native-DcKDTqvq.js'); }).then(function (n) { return n.index; });
3874
3874
  return bs58.default.encode(signatureBytes);
3875
3875
  }
3876
3876
  async restoreSession() {
@@ -3939,4 +3939,4 @@ class PrivyWalletProvider {
3939
3939
  PrivyWalletProvider.instance = null;
3940
3940
 
3941
3941
  exports.PrivyWalletProvider = PrivyWalletProvider;
3942
- //# sourceMappingURL=privy-wallet-provider-lbg2fDVg.js.map
3942
+ //# sourceMappingURL=privy-wallet-provider-Bhvw0t1d.js.map