@pooflabs/web 0.0.75 → 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.
- package/dist/auth/providers/sol/sol-utils.d.ts +2 -0
- package/dist/{index-BcDe_euX.js → index-BilNgDSc.js} +2 -2
- package/dist/{index-BcDe_euX.js.map → index-BilNgDSc.js.map} +1 -1
- package/dist/{index-CMeewi-G.js → index-BrlvWT1Q.js} +19 -9
- package/dist/{index-CMeewi-G.js.map → index-BrlvWT1Q.js.map} +1 -1
- package/dist/{index-Dho2J3X6.esm.js → index-C5Cnn7Hq.esm.js} +20 -11
- package/dist/{index-Dho2J3X6.esm.js.map → index-C5Cnn7Hq.esm.js.map} +1 -1
- package/dist/{index-BHYrnHi6.js → index-COMIXUxl.js} +2 -2
- package/dist/{index-BHYrnHi6.js.map → index-COMIXUxl.js.map} +1 -1
- package/dist/{index-_vhjpl1l.esm.js → index-DeVykeX4.esm.js} +2 -2
- package/dist/{index-_vhjpl1l.esm.js.map → index-DeVykeX4.esm.js.map} +1 -1
- package/dist/{index-BqDvUK9s.esm.js → index-Dsh0H37n.esm.js} +2 -2
- package/dist/{index-BqDvUK9s.esm.js.map → index-Dsh0H37n.esm.js.map} +1 -1
- package/dist/{index.browser-Btm3sRKb.esm.js → index.browser--rDwfvXH.esm.js} +2 -2
- package/dist/{index.browser-Btm3sRKb.esm.js.map → index.browser--rDwfvXH.esm.js.map} +1 -1
- package/dist/{index.browser-Dapjfbl6.js → index.browser-CLZv9v_y.js} +2 -2
- package/dist/{index.browser-Dapjfbl6.js.map → index.browser-CLZv9v_y.js.map} +1 -1
- package/dist/{index.browser-BzHjnrpD.js → index.browser-CMO2pjaF.js} +2 -2
- package/dist/{index.browser-BzHjnrpD.js.map → index.browser-CMO2pjaF.js.map} +1 -1
- package/dist/{index.browser-Br0p4bjw.esm.js → index.browser-CSTWylhG.esm.js} +2 -2
- package/dist/{index.browser-Br0p4bjw.esm.js.map → index.browser-CSTWylhG.esm.js.map} +1 -1
- package/dist/{index.browser-CGfjPfzM.esm.js → index.browser-DQKnuR3q.esm.js} +2 -2
- package/dist/{index.browser-CGfjPfzM.esm.js.map → index.browser-DQKnuR3q.esm.js.map} +1 -1
- package/dist/{index.browser-JX3F6oPV.js → index.browser-DqO3G-HJ.js} +2 -2
- package/dist/{index.browser-JX3F6oPV.js.map → index.browser-DqO3G-HJ.js.map} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/{index.native-DcKDTqvq.js → index.native-CkUXrvPQ.js} +15 -4
- package/dist/{index.native-DcKDTqvq.js.map → index.native-CkUXrvPQ.js.map} +1 -1
- package/dist/{index.native-BB7er4-z.esm.js → index.native-H-fEcP_L.esm.js} +16 -6
- package/dist/{index.native-BB7er4-z.esm.js.map → index.native-H-fEcP_L.esm.js.map} +1 -1
- package/dist/index.native.d.ts +1 -0
- package/dist/index.native.esm.js +1 -1
- package/dist/index.native.js +2 -1
- package/dist/index.native.js.map +1 -1
- package/dist/{phantom-wallet-provider-DHok8ui3.esm.js → phantom-wallet-provider-5IQi4ihD.esm.js} +3 -3
- package/dist/{phantom-wallet-provider-DHok8ui3.esm.js.map → phantom-wallet-provider-5IQi4ihD.esm.js.map} +1 -1
- package/dist/{phantom-wallet-provider-DMxFAUC4.js → phantom-wallet-provider-DrNrxSUL.js} +3 -3
- package/dist/{phantom-wallet-provider-DMxFAUC4.js.map → phantom-wallet-provider-DrNrxSUL.js.map} +1 -1
- package/dist/{privy-wallet-provider-CFuoQYuv.esm.js → privy-wallet-provider-BtLH1dpY.esm.js} +7 -8
- package/dist/{privy-wallet-provider-CFuoQYuv.esm.js.map → privy-wallet-provider-BtLH1dpY.esm.js.map} +1 -1
- package/dist/{privy-wallet-provider-Bhvw0t1d.js → privy-wallet-provider-CrRfcONv.js} +7 -8
- package/dist/{privy-wallet-provider-Bhvw0t1d.js.map → privy-wallet-provider-CrRfcONv.js.map} +1 -1
- package/dist/{solana-mobile-wallet-provider-BpQghAgC.esm.js → solana-mobile-wallet-provider-C3l6mxSm.esm.js} +3 -3
- package/dist/{solana-mobile-wallet-provider-BpQghAgC.esm.js.map → solana-mobile-wallet-provider-C3l6mxSm.esm.js.map} +1 -1
- package/dist/{solana-mobile-wallet-provider-D8b5y-By.js → solana-mobile-wallet-provider-QcGazewW.js} +3 -3
- package/dist/{solana-mobile-wallet-provider-D8b5y-By.js.map → solana-mobile-wallet-provider-QcGazewW.js.map} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import { PublicKey, SystemProgram, TransactionInstruction, ComputeBudgetProgram, Keypair, VersionedTransaction, TransactionMessage,
|
|
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 from 'react';
|
|
@@ -12386,15 +12386,15 @@ function clearIncompatibleSession() {
|
|
|
12386
12386
|
// Lazy loaders for web-only providers.
|
|
12387
12387
|
// Using dynamic import() ensures Metro (RN) never resolves these modules.
|
|
12388
12388
|
async function loadPrivyWalletProvider() {
|
|
12389
|
-
const mod = await import('./privy-wallet-provider-
|
|
12389
|
+
const mod = await import('./privy-wallet-provider-BtLH1dpY.esm.js');
|
|
12390
12390
|
return mod.PrivyWalletProvider;
|
|
12391
12391
|
}
|
|
12392
12392
|
async function loadPhantomWalletProvider() {
|
|
12393
|
-
const mod = await import('./phantom-wallet-provider-
|
|
12393
|
+
const mod = await import('./phantom-wallet-provider-5IQi4ihD.esm.js');
|
|
12394
12394
|
return { PhantomWalletProvider: mod.PhantomWalletProvider };
|
|
12395
12395
|
}
|
|
12396
12396
|
async function loadSolanaMobileWalletProvider() {
|
|
12397
|
-
const mod = await import('./solana-mobile-wallet-provider-
|
|
12397
|
+
const mod = await import('./solana-mobile-wallet-provider-C3l6mxSm.esm.js');
|
|
12398
12398
|
return mod.SolanaMobileWalletProvider;
|
|
12399
12399
|
}
|
|
12400
12400
|
async function hotSwapToPrivyProvider(config) {
|
|
@@ -12741,6 +12741,16 @@ function useAuth() {
|
|
|
12741
12741
|
};
|
|
12742
12742
|
}
|
|
12743
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
|
+
|
|
12744
12754
|
// Wrapper for getIdToken - passes isServer=false for client-side usage
|
|
12745
12755
|
async function getIdToken() {
|
|
12746
12756
|
return getIdToken$1(false);
|
|
@@ -13265,5 +13275,5 @@ class PrivyExpoProvider {
|
|
|
13265
13275
|
}
|
|
13266
13276
|
}
|
|
13267
13277
|
|
|
13268
|
-
export {
|
|
13269
|
-
//# sourceMappingURL=index.native-
|
|
13278
|
+
export { clearCache as $, set as A, setMany as B, setFile as C, getFiles as D, runQuery as E, runQueryMany as F, runExpression as G, runExpressionMany as H, signMessage as I, signTransaction as J, signAndSubmitTransaction as K, count as L, aggregate as M, subscribe as N, useAuth as O, deserializeTransaction as P, getIdToken as Q, setPlatform as R, SOLANA_MAINNET_RPC_URL as S, MockAuthProvider as T, DEFAULT_TEST_ADDRESS as U, OffchainAuthProvider as V, WebSessionManager as W, PrivyExpoProvider as X, InsufficientBalanceError as Y, ReactNativeSessionManager as Z, ServerSessionManager as _, SOLANA_DEVNET_RPC_URL as a, closeAllSubscriptions as a0, getCachedData as a1, reconnectWithNewAuth as a2, refreshSession as a3, signSessionCreateMessage as a4, index as a5, buildSetDocumentsTransaction as b, convertRemainingAccounts as c, bs58 as d, confirmAndCheckTransaction as e, createSessionWithPrivy as f, getPlatform as g, SURFNET_RPC_URL$1 as h, detectMobile as i, detectAndroid as j, setAuthLoading as k, genAuthNonce as l, genSolanaMessage as m, createSessionWithSignature as n, getDefaultExportFromCjs$1 as o, init as p, getCurrentUser as q, onAuthStateChanged as r, setCurrentUser as s, onAuthLoadingChanged as t, getAuthLoading as u, login as v, logout as w, getConfig as x, getAuthProvider as y, get as z };
|
|
13279
|
+
//# sourceMappingURL=index.native-H-fEcP_L.esm.js.map
|