@bounded-sh/client 0.0.11 → 0.0.13
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/phantom-wallet-provider.d.ts +0 -5
- package/dist/auth/providers/solana-mobile-wallet-provider.d.ts +0 -5
- package/dist/index.js +4 -19
- package/dist/index.js.map +1 -1
- package/dist/{index.esm.js → index.mjs} +5 -20
- package/dist/index.mjs.map +1 -0
- package/dist/{index.native-DYxf9g9r.esm.js → index.native-BYEVhmbt.mjs} +5 -8
- package/dist/index.native-BYEVhmbt.mjs.map +1 -0
- package/dist/{index.native-BIm0gZmJ.js → index.native-CcBTbnBg.js} +5 -8
- package/dist/{index.native-BIm0gZmJ.js.map → index.native-CcBTbnBg.js.map} +1 -1
- package/dist/index.native.js +1 -1
- package/dist/{index.native.esm.js → index.native.mjs} +2 -2
- package/dist/index.native.mjs.map +1 -0
- package/dist/{phantom-wallet-provider-CFFRpATv.js → phantom-wallet-provider-Cn6MzUUo.js} +3 -6
- package/dist/phantom-wallet-provider-Cn6MzUUo.js.map +1 -0
- package/dist/{phantom-wallet-provider-LZRhTqLr.esm.js → phantom-wallet-provider-D_AzfLq0.mjs} +3 -6
- package/dist/phantom-wallet-provider-D_AzfLq0.mjs.map +1 -0
- package/dist/{privy-wallet-provider-Tuh_afc9.esm.js → privy-wallet-provider-AC4xL6bN.mjs} +4 -10
- package/dist/privy-wallet-provider-AC4xL6bN.mjs.map +1 -0
- package/dist/{privy-wallet-provider-CuClH2mS.js → privy-wallet-provider-DtWAtbUl.js} +4 -10
- package/dist/privy-wallet-provider-DtWAtbUl.js.map +1 -0
- package/dist/{solana-mobile-wallet-provider-DHxdYO4I.js → solana-mobile-wallet-provider-Cos9gu7k.js} +3 -6
- package/dist/{solana-mobile-wallet-provider-DHxdYO4I.js.map → solana-mobile-wallet-provider-Cos9gu7k.js.map} +1 -1
- package/dist/{solana-mobile-wallet-provider-CsbnYUp-.esm.js → solana-mobile-wallet-provider-X6BM07gm.mjs} +3 -6
- package/dist/solana-mobile-wallet-provider-X6BM07gm.mjs.map +1 -0
- package/package.json +7 -5
- package/dist/index.esm.js.map +0 -1
- package/dist/index.native-DYxf9g9r.esm.js.map +0 -1
- package/dist/index.native.esm.js.map +0 -1
- package/dist/phantom-wallet-provider-CFFRpATv.js.map +0 -1
- package/dist/phantom-wallet-provider-LZRhTqLr.esm.js.map +0 -1
- package/dist/privy-wallet-provider-CuClH2mS.js.map +0 -1
- package/dist/privy-wallet-provider-Tuh_afc9.esm.js.map +0 -1
- package/dist/solana-mobile-wallet-provider-CsbnYUp-.esm.js.map +0 -1
|
@@ -20809,10 +20809,7 @@ class PhantomWalletProvider {
|
|
|
20809
20809
|
const isSurfnet = rpcUrl === SURFNET_RPC_URL$2;
|
|
20810
20810
|
try {
|
|
20811
20811
|
const remainingAccounts = convertRemainingAccounts(solTransactionData.txArgs[0].remainingAccounts);
|
|
20812
|
-
|
|
20813
|
-
if (typeof window !== 'undefined' && window.CUSTOM_BOUNDED_APP_ID_HEADER) {
|
|
20814
|
-
app_id = window.CUSTOM_BOUNDED_APP_ID_HEADER;
|
|
20815
|
-
}
|
|
20812
|
+
const app_id = solTransactionData.appId;
|
|
20816
20813
|
if (!app_id) {
|
|
20817
20814
|
throw new Error("App ID is required");
|
|
20818
20815
|
}
|
|
@@ -22540,10 +22537,7 @@ class SolanaMobileWalletProvider {
|
|
|
22540
22537
|
const isSurfnet = rpcUrl === SURFNET_RPC_URL$2;
|
|
22541
22538
|
try {
|
|
22542
22539
|
const remainingAccounts = convertRemainingAccounts(solTransactionData.txArgs[0].remainingAccounts);
|
|
22543
|
-
|
|
22544
|
-
if (typeof window !== 'undefined' && window.CUSTOM_BOUNDED_APP_ID_HEADER) {
|
|
22545
|
-
app_id = window.CUSTOM_BOUNDED_APP_ID_HEADER;
|
|
22546
|
-
}
|
|
22540
|
+
const app_id = solTransactionData.appId;
|
|
22547
22541
|
if (!app_id) {
|
|
22548
22542
|
throw new Error('App ID is required');
|
|
22549
22543
|
}
|
|
@@ -23169,13 +23163,7 @@ class PrivyWalletProvider {
|
|
|
23169
23163
|
const rpcUrl = this.getRpcUrl(solTransactionData.network);
|
|
23170
23164
|
const connection = new Connection(rpcUrl, "confirmed");
|
|
23171
23165
|
const remainingAccounts = convertRemainingAccounts(solTransactionData.txArgs[0].remainingAccounts);
|
|
23172
|
-
|
|
23173
|
-
if (typeof window !== 'undefined' && window.CUSTOM_BOUNDED_APP_ID_HEADER) {
|
|
23174
|
-
const customAppId = window.CUSTOM_BOUNDED_APP_ID_HEADER;
|
|
23175
|
-
if (customAppId) {
|
|
23176
|
-
app_id = customAppId;
|
|
23177
|
-
}
|
|
23178
|
-
}
|
|
23166
|
+
const app_id = solTransactionData.appId;
|
|
23179
23167
|
if (!app_id) {
|
|
23180
23168
|
throw new Error("App ID is required");
|
|
23181
23169
|
}
|
|
@@ -23801,10 +23789,7 @@ class PrivyExpoProvider {
|
|
|
23801
23789
|
const rpcUrl = this.getRpcUrl(solTransactionData.network);
|
|
23802
23790
|
const connection = new Connection(rpcUrl, 'confirmed');
|
|
23803
23791
|
const remainingAccounts = convertRemainingAccounts(solTransactionData.txArgs[0].remainingAccounts);
|
|
23804
|
-
|
|
23805
|
-
if (typeof globalThis !== 'undefined' && globalThis.CUSTOM_BOUNDED_APP_ID_HEADER) {
|
|
23806
|
-
app_id = globalThis.CUSTOM_BOUNDED_APP_ID_HEADER;
|
|
23807
|
-
}
|
|
23792
|
+
const app_id = solTransactionData.appId;
|
|
23808
23793
|
if (!app_id) {
|
|
23809
23794
|
throw new Error('App ID is required');
|
|
23810
23795
|
}
|
|
@@ -24042,4 +24027,4 @@ class PrivyExpoProvider {
|
|
|
24042
24027
|
}
|
|
24043
24028
|
|
|
24044
24029
|
export { DEFAULT_TEST_ADDRESS, EFFECT_INTENT_ADDRESS, FunctionInvokeError, InsufficientBalanceError, LiveIntentError, MockAuthProvider, OffchainAuthProvider, PhantomWalletProvider, PrivyExpoProvider, PrivyWalletProvider, ReactNativeSessionManager, RealtimeStore, ServerSessionManager, SolanaMobileWalletProvider, WebSessionManager, aggregate, buildSetDocumentsTransaction, clearCache, closeAllSubscriptions, completeLoginFromRedirect, completeLoginInPopup, convertRemainingAccounts, count, createSessionWithSignature, defineLiveModule, deriveUserIdentityFromIdToken, deserializeTransaction, docId, functions, genAuthNonce, genSolanaMessage, get, getActiveSessionManager, getAuthLoading, getAuthProvider, getCachedData, getConfig, getCurrentUser, getFiles, getIdToken, getMany, getPlatform, getRealtimeStore, getWebhookKeysUrl, hasActiveConnection, increment, init, invoke as invokeFunction, isEffectResult, isMobileWalletAvailable, linkEmail, linkWithRedirect, live, intent as liveIntent, status as liveStatus, login, loginWithPopup, loginWithPrivy, loginWithRedirect, logout, now, onAuthLoadingChanged, onAuthStateChanged, queryAggregate, reconnectWithNewAuth, refreshSession, registerMobileWalletAdapter, resetRealtimeStore, revokeSession, runExpression, runExpressionMany, runQuery, runQueryMany, search, sendEmailOtp, sendTextOtp, serverTimestamp, set, setFile, setMany, setPlatform, signAndSubmitTransaction, signInAnonymously, signMessage, signSessionCreateMessage, signTransaction, subscribe, subscribeView as subscribeLiveView, toMillis, toSeconds, useAuth, useQuery, verifyEmailOtp, verifyTextOtp, withEffects, wsDelete, wsGet, wsGetMany, wsQuery, wsSet };
|
|
24045
|
-
//# sourceMappingURL=index.
|
|
24030
|
+
//# sourceMappingURL=index.mjs.map
|