@bounded-sh/client 0.0.3 → 0.0.4
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/hooks/useQuery.d.ts +58 -0
- package/dist/{index-2UpSvA7V.js → index-BBLnBZjY.js} +353 -2627
- package/dist/index-BBLnBZjY.js.map +1 -0
- package/dist/{index-C2JpxGAC.js → index-BMrN-6oK.js} +2 -2
- package/dist/{index-C2JpxGAC.js.map → index-BMrN-6oK.js.map} +1 -1
- package/dist/{index-DJg-Dduo.esm.js → index-D5Ut2JU7.esm.js} +2 -2
- package/dist/{index-DJg-Dduo.esm.js.map → index-D5Ut2JU7.esm.js.map} +1 -1
- package/dist/{index-C2yvle9S.esm.js → index-DkWfblRJ.esm.js} +2 -2
- package/dist/{index-C2yvle9S.esm.js.map → index-DkWfblRJ.esm.js.map} +1 -1
- package/dist/{index-CYVVTWs4.js → index-FYyc3l_y.js} +2 -2
- package/dist/{index-CYVVTWs4.js.map → index-FYyc3l_y.js.map} +1 -1
- package/dist/{index-DyfiK3_X.esm.js → index-n4fG6EZJ.esm.js} +350 -2628
- package/dist/index-n4fG6EZJ.esm.js.map +1 -0
- package/dist/{index.browser-pymH6o1X.esm.js → index.browser-CCWEiCH-.esm.js} +2 -2
- package/dist/{index.browser-pymH6o1X.esm.js.map → index.browser-CCWEiCH-.esm.js.map} +1 -1
- package/dist/{index.browser-BTJZmhY1.js → index.browser-D5evrolK.js} +2 -2
- package/dist/{index.browser-BTJZmhY1.js.map → index.browser-D5evrolK.js.map} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/{index.native-BTjBgNiE.esm.js → index.native-D5q2RUeV.esm.js} +82 -2420
- package/dist/index.native-D5q2RUeV.esm.js.map +1 -0
- package/dist/{index.native-BvsmNFXn.js → index.native-D82ofFXB.js} +84 -2419
- package/dist/index.native-D82ofFXB.js.map +1 -0
- package/dist/index.native.esm.js +1 -1
- package/dist/index.native.js +4 -1
- package/dist/index.native.js.map +1 -1
- package/dist/{phantom-wallet-provider-CTossIFB.esm.js → phantom-wallet-provider-C8DNu92D.esm.js} +3 -3
- package/dist/{phantom-wallet-provider-CTossIFB.esm.js.map → phantom-wallet-provider-C8DNu92D.esm.js.map} +1 -1
- package/dist/{phantom-wallet-provider-BXMvoOrI.js → phantom-wallet-provider-CoL7g8Sr.js} +3 -3
- package/dist/{phantom-wallet-provider-BXMvoOrI.js.map → phantom-wallet-provider-CoL7g8Sr.js.map} +1 -1
- package/dist/{privy-wallet-provider-D64DJ3u4.js → privy-wallet-provider-CV1mU4KR.js} +3 -3
- package/dist/{privy-wallet-provider-D64DJ3u4.js.map → privy-wallet-provider-CV1mU4KR.js.map} +1 -1
- package/dist/{privy-wallet-provider-1qE_f-DF.esm.js → privy-wallet-provider-De3mfJYo.esm.js} +3 -3
- package/dist/{privy-wallet-provider-1qE_f-DF.esm.js.map → privy-wallet-provider-De3mfJYo.esm.js.map} +1 -1
- package/dist/{solana-mobile-wallet-provider-9M8U6AA7.esm.js → solana-mobile-wallet-provider-CLCvi-08.esm.js} +2 -2
- package/dist/{solana-mobile-wallet-provider-9M8U6AA7.esm.js.map → solana-mobile-wallet-provider-CLCvi-08.esm.js.map} +1 -1
- package/dist/{solana-mobile-wallet-provider-C1wQ1DRK.js → solana-mobile-wallet-provider-D9dPbk__.js} +2 -2
- package/dist/{solana-mobile-wallet-provider-C1wQ1DRK.js.map → solana-mobile-wallet-provider-D9dPbk__.js.map} +1 -1
- package/package.json +2 -2
- package/dist/index-2UpSvA7V.js.map +0 -1
- package/dist/index-DyfiK3_X.esm.js.map +0 -1
- package/dist/index.native-BTjBgNiE.esm.js.map +0 -1
- package/dist/index.native-BvsmNFXn.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export type { GetOptions as BoundedGetOptions } from "@bounded-sh/core";
|
|
|
8
8
|
export { subscribe } from "@bounded-sh/core";
|
|
9
9
|
export * from "@bounded-sh/core";
|
|
10
10
|
export { useAuth } from "./auth/hooks/useAuth";
|
|
11
|
+
export { useQuery } from "./hooks/useQuery";
|
|
12
|
+
export type { UseQueryOptions, UseQueryResult } from "./hooks/useQuery";
|
|
11
13
|
export { deserializeTransaction } from "./auth/providers/sol/sol-utils";
|
|
12
14
|
export { getIdToken } from "./utils";
|
|
13
15
|
export { setPlatform, getPlatform } from "./platform";
|
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { V as DEFAULT_TEST_ADDRESS, a0 as EFFECT_INTENT_ADDRESS, a1 as FunctionInvokeError, a2 as InsufficientBalanceError, a3 as LiveIntentError, U as MockAuthProvider, W as OffchainAuthProvider, T as PhantomWalletProvider, $ as PrivyExpoProvider, _ as PrivyWalletProvider, a4 as ReactNativeSessionManager, a5 as RealtimeStore, a6 as ServerSessionManager, X as SolanaMobileWalletProvider, a7 as WebSessionManager, L as aggregate, a8 as buildSetDocumentsTransaction, a9 as clearCache, aa as closeAllSubscriptions, r as completeLoginFromRedirect, u as completeLoginInPopup, ab as convertRemainingAccounts, K as count, ac as createSessionWithSignature, ad as defineLiveModule, ae as deriveUserIdentityFromIdToken, P as deserializeTransaction, af as functions, ag as genAuthNonce, ah as genSolanaMessage, w as get, ai as getActiveSessionManager, e as getAuthLoading, j as getAuthProvider, aj as getCachedData, h as getConfig, c as getCurrentUser, A as getFiles, Q as getIdToken, ak as getMany, S as getPlatform, al as getRealtimeStore, am as getWebhookKeysUrl, an as hasActiveConnection, ao as increment, i as init, ap as invokeFunction, aq as isEffectResult, Y as isMobileWalletAvailable, m as linkEmail, q as linkWithRedirect, ar as live, as as liveIntent, at as liveStatus, l as login, t as loginWithPopup, n as loginWithPrivy, p as loginWithRedirect, f as logout, au as now, d as onAuthLoadingChanged, o as onAuthStateChanged, C as queryAggregate, av as reconnectWithNewAuth, aw as refreshSession, Z as registerMobileWalletAdapter, ax as resetRealtimeStore, ay as revokeSession, F as runExpression, G as runExpressionMany, D as runQuery, E as runQueryMany, B as search, k as sendEmailOtp, az as serverTimestamp, x as set, z as setFile, y as setMany, R as setPlatform, J as signAndSubmitTransaction, s as signInAnonymously, H as signMessage, aA as signSessionCreateMessage, I as signTransaction, M as subscribe, aB as subscribeLiveView, aC as toMillis, aD as toSeconds, N as useAuth, O as useQuery, v as verifyEmailOtp, aE as withEffects, aF as wsDelete, aG as wsGet, aH as wsGetMany, aI as wsQuery, aJ as wsSet } from './index-n4fG6EZJ.esm.js';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
4
|
import '@coral-xyz/anchor';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BBLnBZjY.js');
|
|
4
4
|
require('axios');
|
|
5
5
|
require('@solana/web3.js');
|
|
6
6
|
require('@coral-xyz/anchor');
|
|
@@ -69,6 +69,7 @@ exports.loginWithPopup = index.loginWithPopup;
|
|
|
69
69
|
exports.loginWithPrivy = index.loginWithPrivy;
|
|
70
70
|
exports.loginWithRedirect = index.loginWithRedirect;
|
|
71
71
|
exports.logout = index.logout;
|
|
72
|
+
exports.now = index.now;
|
|
72
73
|
exports.onAuthLoadingChanged = index.onAuthLoadingChanged;
|
|
73
74
|
exports.onAuthStateChanged = index.onAuthStateChanged;
|
|
74
75
|
exports.queryAggregate = index.queryAggregate;
|
|
@@ -95,7 +96,10 @@ exports.signSessionCreateMessage = index.signSessionCreateMessage;
|
|
|
95
96
|
exports.signTransaction = index.signTransaction;
|
|
96
97
|
exports.subscribe = index.subscribe;
|
|
97
98
|
exports.subscribeLiveView = index.subscribeView;
|
|
99
|
+
exports.toMillis = index.toMillis;
|
|
100
|
+
exports.toSeconds = index.toSeconds;
|
|
98
101
|
exports.useAuth = index.useAuth;
|
|
102
|
+
exports.useQuery = index.useQuery;
|
|
99
103
|
exports.verifyEmailOtp = index.verifyEmailOtp;
|
|
100
104
|
exports.withEffects = index.withEffects;
|
|
101
105
|
exports.wsDelete = index.wsDelete;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|