@bounded-sh/client 0.0.7 → 0.0.9
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/index.d.ts +15 -0
- package/dist/auth/oidc-auth.d.ts +25 -11
- package/dist/auth/providers/email-auth-provider.d.ts +10 -0
- package/dist/auth/providers/mock-auth-provider.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +483 -2615
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +484 -2614
- package/dist/index.js.map +1 -1
- package/dist/{index.native-CCc03Zxr.js → index.native-C-duG1XV.js} +488 -2618
- package/dist/index.native-C-duG1XV.js.map +1 -0
- package/dist/{index.native-BxNuEqgy.esm.js → index.native-DnVLH-7o.esm.js} +487 -2619
- package/dist/index.native-DnVLH-7o.esm.js.map +1 -0
- package/dist/index.native.d.ts +2 -1
- package/dist/index.native.esm.js +1 -1
- package/dist/index.native.js +3 -1
- package/dist/index.native.js.map +1 -1
- package/dist/{phantom-wallet-provider-yMlFdfKn.js → phantom-wallet-provider-DKScS8m6.js} +2 -2
- package/dist/{phantom-wallet-provider-yMlFdfKn.js.map → phantom-wallet-provider-DKScS8m6.js.map} +1 -1
- package/dist/{phantom-wallet-provider-CxnVOBTM.esm.js → phantom-wallet-provider-DfTqdjx7.esm.js} +2 -2
- package/dist/{phantom-wallet-provider-CxnVOBTM.esm.js.map → phantom-wallet-provider-DfTqdjx7.esm.js.map} +1 -1
- package/dist/{privy-wallet-provider-BbjUoSdY.esm.js → privy-wallet-provider-BpPAZyUD.esm.js} +3 -3
- package/dist/{privy-wallet-provider-BbjUoSdY.esm.js.map → privy-wallet-provider-BpPAZyUD.esm.js.map} +1 -1
- package/dist/{privy-wallet-provider-BcbjdOfk.js → privy-wallet-provider-wCTdqpRq.js} +3 -3
- package/dist/{privy-wallet-provider-BcbjdOfk.js.map → privy-wallet-provider-wCTdqpRq.js.map} +1 -1
- package/dist/{solana-mobile-wallet-provider-BCoTvY5g.js → solana-mobile-wallet-provider-DZx3xVit.js} +2 -2
- package/dist/{solana-mobile-wallet-provider-BCoTvY5g.js.map → solana-mobile-wallet-provider-DZx3xVit.js.map} +1 -1
- package/dist/{solana-mobile-wallet-provider-wl_xDwIC.esm.js → solana-mobile-wallet-provider-xmASWrPf.esm.js} +2 -2
- package/dist/{solana-mobile-wallet-provider-wl_xDwIC.esm.js.map → solana-mobile-wallet-provider-xmASWrPf.esm.js.map} +1 -1
- package/package.json +2 -5
- package/dist/index.native-BxNuEqgy.esm.js.map +0 -1
- package/dist/index.native-CCc03Zxr.js.map +0 -1
package/dist/index.native.d.ts
CHANGED
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export { init, getCurrentUser, onAuthStateChanged, onAuthLoadingChanged, getAuthLoading, login, logout, } from "./global";
|
|
11
11
|
export { getConfig } from "@bounded-sh/core";
|
|
12
|
-
export { getAuthProvider, signInAnonymously, sendEmailOtp, verifyEmailOtp, linkEmail, loginWithPrivy } from "./auth";
|
|
12
|
+
export { getAuthProvider, signInAnonymously, sendEmailOtp, sendTextOtp, verifyEmailOtp, verifyTextOtp, linkEmail, loginWithPrivy } from "./auth";
|
|
13
13
|
export { loginWithRedirect, linkWithRedirect, completeLoginFromRedirect, loginWithPopup, completeLoginInPopup } from "./auth";
|
|
14
|
+
export type { HostedAuthMethod, OidcLoginOptions, PopupLoginOptions } from "./auth";
|
|
14
15
|
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
16
|
export type { GetOptions as BoundedGetOptions } from "@bounded-sh/core";
|
|
16
17
|
export { subscribe } from "@bounded-sh/core";
|
package/dist/index.native.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { a9 as DEFAULT_TEST_ADDRESS, ac as EFFECT_INTENT_ADDRESS, ad as FunctionInvokeError, ae as InsufficientBalanceError, af as LiveIntentError, a8 as MockAuthProvider, aa as OffchainAuthProvider, ab as PrivyExpoProvider, ag as ReactNativeSessionManager, ah as RealtimeStore, ai as ServerSessionManager, W as WebSessionManager, a2 as aggregate, a as buildSetDocumentsTransaction, aj as clearCache, ak as closeAllSubscriptions, I as completeLoginFromRedirect, K as completeLoginInPopup, c as convertRemainingAccounts, a1 as count, m as createSessionWithSignature, al as defineLiveModule, am as deriveUserIdentityFromIdToken, a5 as deserializeTransaction, N as docId, an as functions, k as genAuthNonce, l as genSolanaMessage, L as get, n as getActiveSessionManager, u as getAuthLoading, y as getAuthProvider, ao as getCachedData, x as getConfig, q as getCurrentUser, R as getFiles, a6 as getIdToken, M as getMany, i as getPlatform, ap as getRealtimeStore, aq as getWebhookKeysUrl, ar as hasActiveConnection, as as increment, p as init, at as invokeFunction, au as isEffectResult, E as linkEmail, H as linkWithRedirect, av as live, aw as liveIntent, ax as liveStatus, v as login, J as loginWithPopup, F as loginWithPrivy, G as loginWithRedirect, w as logout, ay as now, t as onAuthLoadingChanged, r as onAuthStateChanged, U as queryAggregate, az as reconnectWithNewAuth, aA as refreshSession, aB as resetRealtimeStore, aC as revokeSession, Y as runExpression, Z as runExpressionMany, V as runQuery, X as runQueryMany, T as search, A as sendEmailOtp, B as sendTextOtp, aD as serverTimestamp, O as set, Q as setFile, P as setMany, a7 as setPlatform, a0 as signAndSubmitTransaction, z as signInAnonymously, _ as signMessage, aE as signSessionCreateMessage, $ as signTransaction, a3 as subscribe, aF as subscribeLiveView, aG as toMillis, aH as toSeconds, a4 as useAuth, C as verifyEmailOtp, D as verifyTextOtp, aI as withEffects, aJ as wsDelete, aK as wsGet, aL as wsGetMany, aM as wsQuery, aN as wsSet } from './index.native-DnVLH-7o.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-C-duG1XV.js');
|
|
4
4
|
require('axios');
|
|
5
5
|
require('@solana/web3.js');
|
|
6
6
|
require('@coral-xyz/anchor');
|
|
@@ -78,6 +78,7 @@ exports.runQuery = index_native.runQuery;
|
|
|
78
78
|
exports.runQueryMany = index_native.runQueryMany;
|
|
79
79
|
exports.search = index_native.search;
|
|
80
80
|
exports.sendEmailOtp = index_native.sendEmailOtp;
|
|
81
|
+
exports.sendTextOtp = index_native.sendTextOtp;
|
|
81
82
|
exports.serverTimestamp = index_native.serverTimestamp;
|
|
82
83
|
exports.set = index_native.set;
|
|
83
84
|
exports.setFile = index_native.setFile;
|
|
@@ -94,6 +95,7 @@ exports.toMillis = index_native.toMillis;
|
|
|
94
95
|
exports.toSeconds = index_native.toSeconds;
|
|
95
96
|
exports.useAuth = index_native.useAuth;
|
|
96
97
|
exports.verifyEmailOtp = index_native.verifyEmailOtp;
|
|
98
|
+
exports.verifyTextOtp = index_native.verifyTextOtp;
|
|
97
99
|
exports.withEffects = index_native.withEffects;
|
|
98
100
|
exports.wsDelete = index_native.wsDelete;
|
|
99
101
|
exports.wsGet = index_native.wsGet;
|
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-C-duG1XV.js');
|
|
4
4
|
var web3_js = require('@solana/web3.js');
|
|
5
5
|
var anchor = require('@coral-xyz/anchor');
|
|
6
6
|
require('axios');
|
|
@@ -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-DKScS8m6.js.map
|