@pooflabs/web 0.0.89-rc3 → 0.0.89-rc4
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/{index-TCh-Tz3A.esm.js → index-Bop7HFA-.esm.js} +2 -2
- package/dist/{index-BosINgjL.esm.js.map → index-Bop7HFA-.esm.js.map} +1 -1
- package/dist/{index-BdtzCA9I.js → index-CEADZ0na.js} +2 -2
- package/dist/{index-BdtzCA9I.js.map → index-CEADZ0na.js.map} +1 -1
- package/dist/{index-2wcE74zV.esm.js → index-DGOP9-5L.esm.js} +11 -6
- package/dist/index-DGOP9-5L.esm.js.map +1 -0
- package/dist/{index-BbyEdrbT.js → index-DHI02_l_.js} +11 -6
- package/dist/index-DHI02_l_.js.map +1 -0
- package/dist/{index-D5KlQpzj.js → index-DS3Ftep_.js} +2 -2
- package/dist/{index-D5KlQpzj.js.map → index-DS3Ftep_.js.map} +1 -1
- package/dist/{index-BosINgjL.esm.js → index-DZhOa-_D.esm.js} +2 -2
- package/dist/{index-TCh-Tz3A.esm.js.map → index-DZhOa-_D.esm.js.map} +1 -1
- package/dist/{index.browser-CkaOa5gJ.esm.js → index.browser-0dewreQm.esm.js} +2 -2
- package/dist/{index.browser-CkaOa5gJ.esm.js.map → index.browser-0dewreQm.esm.js.map} +1 -1
- package/dist/{index.browser-CQxdFuE2.esm.js → index.browser-B-pUCZgP.esm.js} +2 -2
- package/dist/{index.browser-CQxdFuE2.esm.js.map → index.browser-B-pUCZgP.esm.js.map} +1 -1
- package/dist/{index.browser-DxjCzf2n.js → index.browser-C9AVHEa4.js} +2 -2
- package/dist/{index.browser-DxjCzf2n.js.map → index.browser-C9AVHEa4.js.map} +1 -1
- package/dist/{index.browser-dTW8LCID.js → index.browser-rhFUHjM1.js} +2 -2
- package/dist/{index.browser-dTW8LCID.js.map → index.browser-rhFUHjM1.js.map} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{index.native-Ch6gsAP_.esm.js → index.native-CXtxnE1X.esm.js} +11 -6
- package/dist/{index.native-Ch6gsAP_.esm.js.map → index.native-CXtxnE1X.esm.js.map} +1 -1
- package/dist/{index.native-K4hpch3o.js → index.native-DzDWIHgW.js} +11 -6
- package/dist/{index.native-K4hpch3o.js.map → index.native-DzDWIHgW.js.map} +1 -1
- package/dist/index.native.esm.js +1 -1
- package/dist/index.native.js +1 -1
- package/dist/{phantom-wallet-provider-ieVw9iZ_.esm.js → phantom-wallet-provider-SmsVVBCI.esm.js} +3 -3
- package/dist/{phantom-wallet-provider-ieVw9iZ_.esm.js.map → phantom-wallet-provider-SmsVVBCI.esm.js.map} +1 -1
- package/dist/{phantom-wallet-provider-BOz9oPsO.js → phantom-wallet-provider-mA4Yaf-t.js} +3 -3
- package/dist/{phantom-wallet-provider-BOz9oPsO.js.map → phantom-wallet-provider-mA4Yaf-t.js.map} +1 -1
- package/dist/{privy-wallet-provider-CVVhV2RP.esm.js → privy-wallet-provider-BNPm2WEZ.esm.js} +3 -3
- package/dist/{privy-wallet-provider-CVVhV2RP.esm.js.map → privy-wallet-provider-BNPm2WEZ.esm.js.map} +1 -1
- package/dist/{privy-wallet-provider-BlWvz1R6.js → privy-wallet-provider-CHMc_YjB.js} +3 -3
- package/dist/{privy-wallet-provider-BlWvz1R6.js.map → privy-wallet-provider-CHMc_YjB.js.map} +1 -1
- package/dist/{solana-mobile-wallet-provider-CHMZajIq.esm.js → solana-mobile-wallet-provider-BMGBQI3W.esm.js} +3 -3
- package/dist/{solana-mobile-wallet-provider-CHMZajIq.esm.js.map → solana-mobile-wallet-provider-BMGBQI3W.esm.js.map} +1 -1
- package/dist/{solana-mobile-wallet-provider-C8QDeO6I.js → solana-mobile-wallet-provider-DmBKAypM.js} +3 -3
- package/dist/{solana-mobile-wallet-provider-C8QDeO6I.js.map → solana-mobile-wallet-provider-DmBKAypM.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-2wcE74zV.esm.js.map +0 -1
- package/dist/index-BbyEdrbT.js.map +0 -1
|
@@ -16985,8 +16985,11 @@ class MockPoofnetProvider {
|
|
|
16985
16985
|
}
|
|
16986
16986
|
const index = Math.min(meta.activeIndex, meta.count - 1);
|
|
16987
16987
|
this.activeKeypair = await this.deriveKeypair(appId, index);
|
|
16988
|
-
|
|
16988
|
+
// Set the singleton BEFORE mintSession — mintSession calls setCurrentUser,
|
|
16989
|
+
// which fires onAuthStateChanged → usePoofnetWallet.refresh(); that refresh
|
|
16990
|
+
// must see this instance (else isMock is false until a reload).
|
|
16989
16991
|
activeMockPoofnetInstance = this;
|
|
16992
|
+
const user = await this.mintSession(this.activeKeypair);
|
|
16990
16993
|
return user;
|
|
16991
16994
|
}
|
|
16992
16995
|
async restoreSession() {
|
|
@@ -17022,8 +17025,10 @@ class MockPoofnetProvider {
|
|
|
17022
17025
|
// Drop the old session, mint a fresh one for the selected wallet.
|
|
17023
17026
|
WebSessionManager.clearSession();
|
|
17024
17027
|
this.activeKeypair = await this.deriveKeypair(appId, index);
|
|
17025
|
-
|
|
17028
|
+
// Set the singleton before mintSession (see login) so the refresh that
|
|
17029
|
+
// mintSession's setCurrentUser triggers observes the active instance.
|
|
17026
17030
|
activeMockPoofnetInstance = this;
|
|
17031
|
+
const user = await this.mintSession(this.activeKeypair);
|
|
17027
17032
|
return user;
|
|
17028
17033
|
}
|
|
17029
17034
|
/** Generate a brand-new mock wallet (next index) and connect as it. */
|
|
@@ -18451,7 +18456,7 @@ async function loadDependencies() {
|
|
|
18451
18456
|
const [reactModule, reactDomModule, phantomModule] = await Promise.all([
|
|
18452
18457
|
import('react'),
|
|
18453
18458
|
import('react-dom/client'),
|
|
18454
|
-
import('./index-
|
|
18459
|
+
import('./index-Bop7HFA-.esm.js')
|
|
18455
18460
|
]);
|
|
18456
18461
|
// Extract default export from ESM module namespace
|
|
18457
18462
|
// Dynamic import() returns { default: Module, ...exports }, not the module directly
|
|
@@ -24652,7 +24657,7 @@ async function registerMobileWalletAdapter(config) {
|
|
|
24652
24657
|
if (typeof window === 'undefined')
|
|
24653
24658
|
return;
|
|
24654
24659
|
try {
|
|
24655
|
-
const walletStandardMobile = await import('./index.browser-
|
|
24660
|
+
const walletStandardMobile = await import('./index.browser-B-pUCZgP.esm.js');
|
|
24656
24661
|
const registerMwa = walletStandardMobile.registerMwa || ((_a = walletStandardMobile.default) === null || _a === void 0 ? void 0 : _a.registerMwa);
|
|
24657
24662
|
if (!registerMwa) {
|
|
24658
24663
|
console.warn('[SolanaMobileWallet] registerMwa not found in @solana-mobile/wallet-standard-mobile');
|
|
@@ -24791,7 +24796,7 @@ class SolanaMobileWalletProvider {
|
|
|
24791
24796
|
async ensureWallet() {
|
|
24792
24797
|
if (this.wallet)
|
|
24793
24798
|
return this.wallet;
|
|
24794
|
-
const mod = await import('./index.browser-
|
|
24799
|
+
const mod = await import('./index.browser-B-pUCZgP.esm.js');
|
|
24795
24800
|
const chain = mapChainToWalletStandard(this.cluster);
|
|
24796
24801
|
this.wallet = new mod.LocalSolanaMobileWalletAdapterWallet({
|
|
24797
24802
|
appIdentity: this.appIdentity,
|
|
@@ -25984,4 +25989,4 @@ class PrivyExpoProvider {
|
|
|
25984
25989
|
}
|
|
25985
25990
|
|
|
25986
25991
|
export { genSolanaMessage as $, subscribe as A, useAuth as B, usePoofnetWallet as C, deserializeTransaction 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 _, base58 as a, getCachedData as a0, getMany as a1, reconnectWithNewAuth as a2, refreshSession as a3, signSessionCreateMessage as a4, 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 };
|
|
25987
|
-
//# sourceMappingURL=index-
|
|
25992
|
+
//# sourceMappingURL=index-DGOP9-5L.esm.js.map
|