@bounded-sh/client 0.0.115 → 0.0.117-sync.0
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/{email-auth-provider-CwG04f4u.js → email-auth-provider-3tuw_aDK.js} +2 -2
- package/dist/{email-auth-provider-CwG04f4u.js.map → email-auth-provider-3tuw_aDK.js.map} +1 -1
- package/dist/{email-auth-provider-CPHrcy_b.js → email-auth-provider-BFOw9iI9.js} +2 -2
- package/dist/{email-auth-provider-CPHrcy_b.js.map → email-auth-provider-BFOw9iI9.js.map} +1 -1
- package/dist/{email-auth-provider-CODHCC3h.mjs → email-auth-provider-C5bYKzpN.mjs} +2 -2
- package/dist/{email-auth-provider-ByNBWdfi.mjs.map → email-auth-provider-C5bYKzpN.mjs.map} +1 -1
- package/dist/{email-auth-provider-ByNBWdfi.mjs → email-auth-provider-CmbRj-_I.mjs} +2 -2
- package/dist/{email-auth-provider-CODHCC3h.mjs.map → email-auth-provider-CmbRj-_I.mjs.map} +1 -1
- package/dist/{guest-auth-provider-CGN4k_LG.mjs → guest-auth-provider-Bvoaq-zC.mjs} +2 -2
- package/dist/{guest-auth-provider-PfOp_Yzj.mjs.map → guest-auth-provider-Bvoaq-zC.mjs.map} +1 -1
- package/dist/{guest-auth-provider-PfOp_Yzj.mjs → guest-auth-provider-CsM_SuGH.mjs} +2 -2
- package/dist/{guest-auth-provider-CGN4k_LG.mjs.map → guest-auth-provider-CsM_SuGH.mjs.map} +1 -1
- package/dist/{guest-auth-provider-d6dk97x6.js → guest-auth-provider-DJD3zkBU.js} +2 -2
- package/dist/{guest-auth-provider-d6dk97x6.js.map → guest-auth-provider-DJD3zkBU.js.map} +1 -1
- package/dist/{guest-auth-provider-3rfSwq3f.js → guest-auth-provider-_jdqZKUo.js} +2 -2
- package/dist/{guest-auth-provider-3rfSwq3f.js.map → guest-auth-provider-_jdqZKUo.js.map} +1 -1
- package/dist/{index-C63ceG_z.mjs → index-BmBLsYn2.mjs} +17 -9
- package/dist/index-BmBLsYn2.mjs.map +1 -0
- package/dist/{index-nU0ZSfWs.js → index-C2xAP67N.js} +16 -8
- package/dist/index-C2xAP67N.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{index.native-BBLBnqal.js → index.native-CMNMw3Pe.js} +15 -7
- package/dist/index.native-CMNMw3Pe.js.map +1 -0
- package/dist/{index.native-DLAEWwuZ.mjs → index.native-DfDVa7MG.mjs} +16 -8
- package/dist/index.native-DfDVa7MG.mjs.map +1 -0
- package/dist/index.native.js +1 -1
- package/dist/index.native.mjs +1 -1
- package/dist/{injected-evm-wallet-provider-C4vNOS4P.mjs → injected-evm-wallet-provider-B2xteR2I.mjs} +2 -2
- package/dist/{injected-evm-wallet-provider-C4vNOS4P.mjs.map → injected-evm-wallet-provider-B2xteR2I.mjs.map} +1 -1
- package/dist/{injected-evm-wallet-provider-D1JA3cL4.js → injected-evm-wallet-provider-CL_FBjLe.js} +2 -2
- package/dist/{injected-evm-wallet-provider-D1JA3cL4.js.map → injected-evm-wallet-provider-CL_FBjLe.js.map} +1 -1
- package/dist/{injected-evm-wallet-provider-C6KC7pJ6.js → injected-evm-wallet-provider-CUNTCT-a.js} +2 -2
- package/dist/{injected-evm-wallet-provider-C6KC7pJ6.js.map → injected-evm-wallet-provider-CUNTCT-a.js.map} +1 -1
- package/dist/{injected-evm-wallet-provider-D7rOyYdr.mjs → injected-evm-wallet-provider-E7eCpvLr.mjs} +2 -2
- package/dist/{injected-evm-wallet-provider-D7rOyYdr.mjs.map → injected-evm-wallet-provider-E7eCpvLr.mjs.map} +1 -1
- package/dist/{injected-wallet-provider-BXFicWTx.js → injected-wallet-provider-Bc_xtyRd.js} +2 -2
- package/dist/{injected-wallet-provider-BXFicWTx.js.map → injected-wallet-provider-Bc_xtyRd.js.map} +1 -1
- package/dist/{injected-wallet-provider-DruiX7GK.mjs → injected-wallet-provider-BoRoxrEl.mjs} +2 -2
- package/dist/{injected-wallet-provider-DruiX7GK.mjs.map → injected-wallet-provider-BoRoxrEl.mjs.map} +1 -1
- package/dist/{injected-wallet-provider-BvlKZoVJ.js → injected-wallet-provider-BqYJQDGu.js} +2 -2
- package/dist/{injected-wallet-provider-BvlKZoVJ.js.map → injected-wallet-provider-BqYJQDGu.js.map} +1 -1
- package/dist/{injected-wallet-provider-BLRrB2rb.mjs → injected-wallet-provider-DwozZ926.mjs} +2 -2
- package/dist/{injected-wallet-provider-BLRrB2rb.mjs.map → injected-wallet-provider-DwozZ926.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/index-C63ceG_z.mjs.map +0 -1
- package/dist/index-nU0ZSfWs.js.map +0 -1
- package/dist/index.native-BBLBnqal.js.map +0 -1
- package/dist/index.native-DLAEWwuZ.mjs.map +0 -1
|
@@ -6496,7 +6496,7 @@ async function getAuthProvider(config, fromStorage = false) {
|
|
|
6496
6496
|
// manager as legacy email sessions. Human login should be started
|
|
6497
6497
|
// with loginWithRedirect(); this provider is kept as the restore and
|
|
6498
6498
|
// logout surface for those sessions.
|
|
6499
|
-
currentAuthProvider = new (await Promise.resolve().then(function () { return require('./email-auth-provider-
|
|
6499
|
+
currentAuthProvider = new (await Promise.resolve().then(function () { return require('./email-auth-provider-BFOw9iI9.js'); })).EmailAuthProvider();
|
|
6500
6500
|
break;
|
|
6501
6501
|
case "phantom": {
|
|
6502
6502
|
// First-class Solana WALLET LOGIN (the poof/TaroBase-style "connect
|
|
@@ -6538,7 +6538,7 @@ async function getAuthProvider(config, fromStorage = false) {
|
|
|
6538
6538
|
// (bounded-login-widget.ts), so registration never counts as
|
|
6539
6539
|
// evidence the user has a wallet.
|
|
6540
6540
|
await ensureSolanaMobileWalletRegistered(config, configuredNetwork);
|
|
6541
|
-
const { InjectedWalletProvider } = await Promise.resolve().then(function () { return require('./injected-wallet-provider-
|
|
6541
|
+
const { InjectedWalletProvider } = await Promise.resolve().then(function () { return require('./injected-wallet-provider-Bc_xtyRd.js'); });
|
|
6542
6542
|
currentAuthProvider = new InjectedWalletProvider(resolveInjectedWalletConfig(config), rpcUrl, configuredNetwork);
|
|
6543
6543
|
break;
|
|
6544
6544
|
}
|
|
@@ -6551,7 +6551,7 @@ async function getAuthProvider(config, fromStorage = false) {
|
|
|
6551
6551
|
// Selecting authMethod:'evm-wallet' IS the opt-in — pass evmWalletConfig
|
|
6552
6552
|
// to point at a specific wallet or set chainId/domain.
|
|
6553
6553
|
const evmWalletConfig = ((_a = config.evmWalletConfig) !== null && _a !== void 0 ? _a : {});
|
|
6554
|
-
const { InjectedEvmWalletProvider } = await Promise.resolve().then(function () { return require('./injected-evm-wallet-provider-
|
|
6554
|
+
const { InjectedEvmWalletProvider } = await Promise.resolve().then(function () { return require('./injected-evm-wallet-provider-CL_FBjLe.js'); });
|
|
6555
6555
|
currentAuthProvider = new InjectedEvmWalletProvider(evmWalletConfig);
|
|
6556
6556
|
break;
|
|
6557
6557
|
}
|
|
@@ -6576,7 +6576,7 @@ async function getAuthProvider(config, fromStorage = false) {
|
|
|
6576
6576
|
break;
|
|
6577
6577
|
case "guest":
|
|
6578
6578
|
// Anonymous auth: a device-local ed25519 keypair signs the challenge.
|
|
6579
|
-
currentAuthProvider = new (await Promise.resolve().then(function () { return require('./guest-auth-provider-
|
|
6579
|
+
currentAuthProvider = new (await Promise.resolve().then(function () { return require('./guest-auth-provider-DJD3zkBU.js'); })).GuestAuthProvider();
|
|
6580
6580
|
break;
|
|
6581
6581
|
}
|
|
6582
6582
|
if (!currentAuthProvider) {
|
|
@@ -6638,7 +6638,7 @@ async function signInAnonymously() {
|
|
|
6638
6638
|
// Lazy-load the guest provider so its ed25519/web3 dependencies stay out of
|
|
6639
6639
|
// the main bundle for data-only apps. Specifier is a static string literal
|
|
6640
6640
|
// so bundle-splitting can see it.
|
|
6641
|
-
const provider = new (await Promise.resolve().then(function () { return require('./guest-auth-provider-
|
|
6641
|
+
const provider = new (await Promise.resolve().then(function () { return require('./guest-auth-provider-DJD3zkBU.js'); })).GuestAuthProvider();
|
|
6642
6642
|
setAuthLoading(true); // reflect "signing in…" while the guest keypair session is minted
|
|
6643
6643
|
// adoptSessionProvider awaits only getConfig() (already resolved here) and then
|
|
6644
6644
|
// runs every write - provider/method/config/marker/user - in one synchronous
|
|
@@ -6809,7 +6809,7 @@ function ensureSharedWalletLoginReady() {
|
|
|
6809
6809
|
if (!sharedWalletReady) {
|
|
6810
6810
|
sharedWalletReady = (async () => {
|
|
6811
6811
|
await core.getConfig();
|
|
6812
|
-
await Promise.resolve().then(function () { return require('./injected-wallet-provider-
|
|
6812
|
+
await Promise.resolve().then(function () { return require('./injected-wallet-provider-Bc_xtyRd.js'); });
|
|
6813
6813
|
})().catch((error) => {
|
|
6814
6814
|
sharedWalletReady = null;
|
|
6815
6815
|
throw error;
|
|
@@ -6914,7 +6914,7 @@ async function loginWithWallet(options) {
|
|
|
6914
6914
|
await ensureSharedWalletLoginReady();
|
|
6915
6915
|
else
|
|
6916
6916
|
await ensureWalletLoginReady();
|
|
6917
|
-
const { InjectedWalletProvider } = await Promise.resolve().then(function () { return require('./injected-wallet-provider-
|
|
6917
|
+
const { InjectedWalletProvider } = await Promise.resolve().then(function () { return require('./injected-wallet-provider-Bc_xtyRd.js'); });
|
|
6918
6918
|
// Keep the RAW wallet provider: the offchain wrapper forwards only a fixed
|
|
6919
6919
|
// set of methods, so cleanup below must speak to the provider that actually
|
|
6920
6920
|
// holds the config rather than to whatever is wrapping it.
|
|
@@ -7280,6 +7280,14 @@ function registerStorageBridge() {
|
|
|
7280
7280
|
return;
|
|
7281
7281
|
void syncStoredSession().catch((error) => console.warn('Bounded session synchronization failed:', error));
|
|
7282
7282
|
});
|
|
7283
|
+
// `storage` fires only in other tabs. Another SDK copy in THIS tab (the hosted widget beside
|
|
7284
|
+
// the app, or the app beside the widget) announces its sign-in and sign-out on the session
|
|
7285
|
+
// channel instead; the nudge carries no authority, the record is re-read the same way.
|
|
7286
|
+
core.onSessionChange(() => {
|
|
7287
|
+
if (!initializedConfig)
|
|
7288
|
+
return;
|
|
7289
|
+
void syncStoredSession().catch((error) => console.warn('Bounded session synchronization failed:', error));
|
|
7290
|
+
});
|
|
7283
7291
|
}
|
|
7284
7292
|
function sameSessionIdentity(next, previous) {
|
|
7285
7293
|
if (!next || !previous)
|
|
@@ -12218,4 +12226,4 @@ exports.useAuth = useAuth;
|
|
|
12218
12226
|
exports.useBuildRun = useBuildRun;
|
|
12219
12227
|
exports.useQuery = useQuery;
|
|
12220
12228
|
exports.waitForAuthReady = waitForAuthReady;
|
|
12221
|
-
//# sourceMappingURL=index-
|
|
12229
|
+
//# sourceMappingURL=index-C2xAP67N.js.map
|