@bounded-sh/client 0.0.3 → 0.0.5
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-DyfiK3_X.esm.js → index-30RA_Bdf.esm.js} +268 -18
- package/dist/index-30RA_Bdf.esm.js.map +1 -0
- package/dist/{index-DJg-Dduo.esm.js → index-B9DtkVXb.esm.js} +2 -2
- package/dist/{index-DJg-Dduo.esm.js.map → index-B9DtkVXb.esm.js.map} +1 -1
- package/dist/{index-CYVVTWs4.js → index-CdqFc68L.js} +2 -2
- package/dist/{index-CYVVTWs4.js.map → index-CdqFc68L.js.map} +1 -1
- package/dist/{index-C2JpxGAC.js → index-CplhW55m.js} +2 -2
- package/dist/{index-C2JpxGAC.js.map → index-CplhW55m.js.map} +1 -1
- package/dist/{index-C2yvle9S.esm.js → index-DXdFMfDw.esm.js} +2 -2
- package/dist/{index-C2yvle9S.esm.js.map → index-DXdFMfDw.esm.js.map} +1 -1
- package/dist/{index-2UpSvA7V.js → index-ZYhdEVCA.js} +272 -17
- package/dist/index-ZYhdEVCA.js.map +1 -0
- package/dist/{index.browser-pymH6o1X.esm.js → index.browser-Cictefil.esm.js} +2 -2
- package/dist/{index.browser-pymH6o1X.esm.js.map → index.browser-Cictefil.esm.js.map} +1 -1
- package/dist/{index.browser-BTJZmhY1.js → index.browser-sADlt75X.js} +2 -2
- package/dist/{index.browser-BTJZmhY1.js.map → index.browser-sADlt75X.js.map} +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/{index.native-BTjBgNiE.esm.js → index.native-C8GJTcIy.esm.js} +204 -14
- package/dist/index.native-C8GJTcIy.esm.js.map +1 -0
- package/dist/{index.native-BvsmNFXn.js → index.native-DpYQ8GUh.js} +207 -13
- package/dist/index.native-DpYQ8GUh.js.map +1 -0
- package/dist/index.native.d.ts +1 -1
- package/dist/index.native.esm.js +1 -1
- package/dist/index.native.js +5 -1
- package/dist/index.native.js.map +1 -1
- package/dist/{phantom-wallet-provider-BXMvoOrI.js → phantom-wallet-provider-B8gezRxB.js} +3 -3
- package/dist/{phantom-wallet-provider-BXMvoOrI.js.map → phantom-wallet-provider-B8gezRxB.js.map} +1 -1
- package/dist/{phantom-wallet-provider-CTossIFB.esm.js → phantom-wallet-provider-FOSnYV4t.esm.js} +3 -3
- package/dist/{phantom-wallet-provider-CTossIFB.esm.js.map → phantom-wallet-provider-FOSnYV4t.esm.js.map} +1 -1
- package/dist/{privy-wallet-provider-1qE_f-DF.esm.js → privy-wallet-provider-BPOjNW9O.esm.js} +3 -3
- package/dist/{privy-wallet-provider-1qE_f-DF.esm.js.map → privy-wallet-provider-BPOjNW9O.esm.js.map} +1 -1
- package/dist/{privy-wallet-provider-D64DJ3u4.js → privy-wallet-provider-DfR-7xpE.js} +3 -3
- package/dist/{privy-wallet-provider-D64DJ3u4.js.map → privy-wallet-provider-DfR-7xpE.js.map} +1 -1
- package/dist/{solana-mobile-wallet-provider-C1wQ1DRK.js → solana-mobile-wallet-provider-CBAeRxGQ.js} +2 -2
- package/dist/{solana-mobile-wallet-provider-C1wQ1DRK.js.map → solana-mobile-wallet-provider-CBAeRxGQ.js.map} +1 -1
- package/dist/{solana-mobile-wallet-provider-9M8U6AA7.esm.js → solana-mobile-wallet-provider-CoS-38SL.esm.js} +2 -2
- package/dist/{solana-mobile-wallet-provider-9M8U6AA7.esm.js.map → solana-mobile-wallet-provider-CoS-38SL.esm.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.native.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { init, getCurrentUser, onAuthStateChanged, onAuthLoadingChanged, getAuth
|
|
|
11
11
|
export { getConfig } from "@bounded-sh/core";
|
|
12
12
|
export { getAuthProvider, signInAnonymously, sendEmailOtp, verifyEmailOtp, linkEmail, loginWithPrivy } from "./auth";
|
|
13
13
|
export { loginWithRedirect, linkWithRedirect, completeLoginFromRedirect, loginWithPopup, completeLoginInPopup } from "./auth";
|
|
14
|
-
export { get, set, setMany, setFile, getFiles, search, queryAggregate, runQuery, runQueryMany, runExpression, runExpressionMany, signMessage, signTransaction, signAndSubmitTransaction, count, aggregate, GetOptions, SearchOptions, SetOptions, CountOptions, AggregateOptions, AggregateOperation, AggregateResult, AggregateSpec, AggregateRow, QueryAggregateOptions, } from "@bounded-sh/core";
|
|
14
|
+
export { get, getMany, docId, set, setMany, setFile, getFiles, search, queryAggregate, runQuery, runQueryMany, runExpression, runExpressionMany, signMessage, signTransaction, signAndSubmitTransaction, count, aggregate, GetOptions, SearchOptions, SetOptions, CountOptions, AggregateOptions, AggregateOperation, AggregateResult, AggregateSpec, AggregateRow, QueryAggregateOptions, } from "@bounded-sh/core";
|
|
15
15
|
export type { GetOptions as BoundedGetOptions } from "@bounded-sh/core";
|
|
16
16
|
export { subscribe } from "@bounded-sh/core";
|
|
17
17
|
export * from "@bounded-sh/core";
|
package/dist/index.native.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { a8 as DEFAULT_TEST_ADDRESS, ab as EFFECT_INTENT_ADDRESS, ac as FunctionInvokeError, ad as InsufficientBalanceError, ae as LiveIntentError, a7 as MockAuthProvider, a9 as OffchainAuthProvider, aa as PrivyExpoProvider, af as ReactNativeSessionManager, ag as RealtimeStore, ah as ServerSessionManager, W as WebSessionManager, a1 as aggregate, a as buildSetDocumentsTransaction, ai as clearCache, aj as closeAllSubscriptions, H as completeLoginFromRedirect, J as completeLoginInPopup, c as convertRemainingAccounts, a0 as count, m as createSessionWithSignature, ak as defineLiveModule, al as deriveUserIdentityFromIdToken, a4 as deserializeTransaction, M as docId, am as functions, k as genAuthNonce, l as genSolanaMessage, K as get, n as getActiveSessionManager, v as getAuthLoading, z as getAuthProvider, an as getCachedData, y as getConfig, r as getCurrentUser, Q as getFiles, a5 as getIdToken, L as getMany, i as getPlatform, ao as getRealtimeStore, ap as getWebhookKeysUrl, aq as hasActiveConnection, ar as increment, q as init, as as invokeFunction, at as isEffectResult, D as linkEmail, G as linkWithRedirect, au as live, av as liveIntent, aw as liveStatus, w as login, I as loginWithPopup, E as loginWithPrivy, F as loginWithRedirect, x as logout, ax as now, u as onAuthLoadingChanged, t as onAuthStateChanged, T as queryAggregate, ay as reconnectWithNewAuth, az as refreshSession, aA as resetRealtimeStore, aB as revokeSession, X as runExpression, Y as runExpressionMany, U as runQuery, V as runQueryMany, R as search, B as sendEmailOtp, aC as serverTimestamp, N as set, P as setFile, O as setMany, a6 as setPlatform, $ as signAndSubmitTransaction, A as signInAnonymously, Z as signMessage, aD as signSessionCreateMessage, _ as signTransaction, a2 as subscribe, aE as subscribeLiveView, aF as toMillis, aG as toSeconds, a3 as useAuth, C as verifyEmailOtp, aH as withEffects, aI as wsDelete, aJ as wsGet, aK as wsGetMany, aL as wsQuery, aM as wsSet } from './index.native-C8GJTcIy.esm.js';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
4
|
import '@coral-xyz/anchor';
|
package/dist/index.native.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index_native = require('./index.native-
|
|
3
|
+
var index_native = require('./index.native-DpYQ8GUh.js');
|
|
4
4
|
require('axios');
|
|
5
5
|
require('@solana/web3.js');
|
|
6
6
|
require('@coral-xyz/anchor');
|
|
@@ -32,6 +32,7 @@ exports.createSessionWithSignature = index_native.createSessionWithSignature;
|
|
|
32
32
|
exports.defineLiveModule = index_native.defineLiveModule;
|
|
33
33
|
exports.deriveUserIdentityFromIdToken = index_native.deriveUserIdentityFromIdToken;
|
|
34
34
|
exports.deserializeTransaction = index_native.deserializeTransaction;
|
|
35
|
+
exports.docId = index_native.docId;
|
|
35
36
|
exports.functions = index_native.functions;
|
|
36
37
|
exports.genAuthNonce = index_native.genAuthNonce;
|
|
37
38
|
exports.genSolanaMessage = index_native.genSolanaMessage;
|
|
@@ -63,6 +64,7 @@ exports.loginWithPopup = index_native.loginWithPopup;
|
|
|
63
64
|
exports.loginWithPrivy = index_native.loginWithPrivy;
|
|
64
65
|
exports.loginWithRedirect = index_native.loginWithRedirect;
|
|
65
66
|
exports.logout = index_native.logout;
|
|
67
|
+
exports.now = index_native.now;
|
|
66
68
|
exports.onAuthLoadingChanged = index_native.onAuthLoadingChanged;
|
|
67
69
|
exports.onAuthStateChanged = index_native.onAuthStateChanged;
|
|
68
70
|
exports.queryAggregate = index_native.queryAggregate;
|
|
@@ -88,6 +90,8 @@ exports.signSessionCreateMessage = index_native.signSessionCreateMessage;
|
|
|
88
90
|
exports.signTransaction = index_native.signTransaction;
|
|
89
91
|
exports.subscribe = index_native.subscribe;
|
|
90
92
|
exports.subscribeLiveView = index_native.subscribeView;
|
|
93
|
+
exports.toMillis = index_native.toMillis;
|
|
94
|
+
exports.toSeconds = index_native.toSeconds;
|
|
91
95
|
exports.useAuth = index_native.useAuth;
|
|
92
96
|
exports.verifyEmailOtp = index_native.verifyEmailOtp;
|
|
93
97
|
exports.withEffects = index_native.withEffects;
|
package/dist/index.native.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.native.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index_native = require('./index.native-
|
|
3
|
+
var index_native = require('./index.native-DpYQ8GUh.js');
|
|
4
4
|
var web3_js = require('@solana/web3.js');
|
|
5
5
|
var anchor = require('@coral-xyz/anchor');
|
|
6
6
|
require('axios');
|
|
@@ -93,7 +93,7 @@ async function loadDependencies() {
|
|
|
93
93
|
const [reactModule, reactDomModule, phantomModule] = await Promise.all([
|
|
94
94
|
import('react'),
|
|
95
95
|
import('react-dom/client'),
|
|
96
|
-
Promise.resolve().then(function () { return require('./index-
|
|
96
|
+
Promise.resolve().then(function () { return require('./index-CplhW55m.js'); })
|
|
97
97
|
]);
|
|
98
98
|
// Extract default export from ESM module namespace
|
|
99
99
|
// Dynamic import() returns { default: Module, ...exports }, not the module directly
|
|
@@ -1463,4 +1463,4 @@ class PhantomWalletProvider {
|
|
|
1463
1463
|
PhantomWalletProvider.instance = null;
|
|
1464
1464
|
|
|
1465
1465
|
exports.PhantomWalletProvider = PhantomWalletProvider;
|
|
1466
|
-
//# sourceMappingURL=phantom-wallet-provider-
|
|
1466
|
+
//# sourceMappingURL=phantom-wallet-provider-B8gezRxB.js.map
|