@bounded-sh/client 0.0.7 → 0.0.8

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