@bounded-sh/client 0.0.5 → 0.0.6

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 (41) hide show
  1. package/dist/{index-DXdFMfDw.esm.js → index-BzOrZU4R.esm.js} +2 -2
  2. package/dist/{index-DXdFMfDw.esm.js.map → index-BzOrZU4R.esm.js.map} +1 -1
  3. package/dist/{index-CdqFc68L.js → index-CSUmsmHJ.js} +2 -2
  4. package/dist/{index-CdqFc68L.js.map → index-CSUmsmHJ.js.map} +1 -1
  5. package/dist/{index-CplhW55m.js → index-CtMYXtmh.js} +2 -2
  6. package/dist/{index-CplhW55m.js.map → index-CtMYXtmh.js.map} +1 -1
  7. package/dist/{index-B9DtkVXb.esm.js → index-DAI10qql.esm.js} +2 -2
  8. package/dist/{index-B9DtkVXb.esm.js.map → index-DAI10qql.esm.js.map} +1 -1
  9. package/dist/{index-ZYhdEVCA.js → index-Dj2C_uV6.js} +10 -6
  10. package/dist/index-Dj2C_uV6.js.map +1 -0
  11. package/dist/{index-30RA_Bdf.esm.js → index-Oc5pQUDo.esm.js} +10 -6
  12. package/dist/index-Oc5pQUDo.esm.js.map +1 -0
  13. package/dist/{index.browser-Cictefil.esm.js → index.browser-BxwM4axz.esm.js} +2 -2
  14. package/dist/{index.browser-Cictefil.esm.js.map → index.browser-BxwM4axz.esm.js.map} +1 -1
  15. package/dist/{index.browser-sADlt75X.js → index.browser-Cp6PqsEM.js} +2 -2
  16. package/dist/{index.browser-sADlt75X.js.map → index.browser-Cp6PqsEM.js.map} +1 -1
  17. package/dist/index.esm.js +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/{index.native-DpYQ8GUh.js → index.native-Lrhg8G-G.js} +10 -6
  20. package/dist/index.native-Lrhg8G-G.js.map +1 -0
  21. package/dist/{index.native-C8GJTcIy.esm.js → index.native-Y7aFGpZp.esm.js} +10 -6
  22. package/dist/index.native-Y7aFGpZp.esm.js.map +1 -0
  23. package/dist/index.native.esm.js +1 -1
  24. package/dist/index.native.js +1 -1
  25. package/dist/{phantom-wallet-provider-B8gezRxB.js → phantom-wallet-provider-DQDZjZkl.js} +3 -3
  26. package/dist/{phantom-wallet-provider-B8gezRxB.js.map → phantom-wallet-provider-DQDZjZkl.js.map} +1 -1
  27. package/dist/{phantom-wallet-provider-FOSnYV4t.esm.js → phantom-wallet-provider-K10GQBxk.esm.js} +3 -3
  28. package/dist/{phantom-wallet-provider-FOSnYV4t.esm.js.map → phantom-wallet-provider-K10GQBxk.esm.js.map} +1 -1
  29. package/dist/{privy-wallet-provider-DfR-7xpE.js → privy-wallet-provider-Dh_jHrsq.js} +3 -3
  30. package/dist/{privy-wallet-provider-DfR-7xpE.js.map → privy-wallet-provider-Dh_jHrsq.js.map} +1 -1
  31. package/dist/{privy-wallet-provider-BPOjNW9O.esm.js → privy-wallet-provider-scXNSzjF.esm.js} +3 -3
  32. package/dist/{privy-wallet-provider-BPOjNW9O.esm.js.map → privy-wallet-provider-scXNSzjF.esm.js.map} +1 -1
  33. package/dist/{solana-mobile-wallet-provider-CoS-38SL.esm.js → solana-mobile-wallet-provider-BlwQuB4D.esm.js} +2 -2
  34. package/dist/{solana-mobile-wallet-provider-CoS-38SL.esm.js.map → solana-mobile-wallet-provider-BlwQuB4D.esm.js.map} +1 -1
  35. package/dist/{solana-mobile-wallet-provider-CBAeRxGQ.js → solana-mobile-wallet-provider-DMXR_nmz.js} +2 -2
  36. package/dist/{solana-mobile-wallet-provider-CBAeRxGQ.js.map → solana-mobile-wallet-provider-DMXR_nmz.js.map} +1 -1
  37. package/package.json +2 -2
  38. package/dist/index-30RA_Bdf.esm.js.map +0 -1
  39. package/dist/index-ZYhdEVCA.js.map +0 -1
  40. package/dist/index.native-C8GJTcIy.esm.js.map +0 -1
  41. package/dist/index.native-DpYQ8GUh.js.map +0 -1
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- export { X as DEFAULT_TEST_ADDRESS, a2 as EFFECT_INTENT_ADDRESS, a3 as FunctionInvokeError, a4 as InsufficientBalanceError, a5 as LiveIntentError, W as MockAuthProvider, Y as OffchainAuthProvider, V as PhantomWalletProvider, a1 as PrivyExpoProvider, a0 as PrivyWalletProvider, a6 as ReactNativeSessionManager, a7 as RealtimeStore, a8 as ServerSessionManager, Z as SolanaMobileWalletProvider, a9 as WebSessionManager, N as aggregate, aa as buildSetDocumentsTransaction, ab as clearCache, ac as closeAllSubscriptions, r as completeLoginFromRedirect, u as completeLoginInPopup, ad as convertRemainingAccounts, M as count, ae as createSessionWithSignature, af as defineLiveModule, ag as deriveUserIdentityFromIdToken, R as deserializeTransaction, y as docId, ah as functions, ai as genAuthNonce, aj as genSolanaMessage, w as get, ak as getActiveSessionManager, e as getAuthLoading, j as getAuthProvider, al as getCachedData, h as getConfig, c as getCurrentUser, C as getFiles, S as getIdToken, x as getMany, U as getPlatform, am as getRealtimeStore, an as getWebhookKeysUrl, ao as hasActiveConnection, ap as increment, i as init, aq as invokeFunction, ar as isEffectResult, _ as isMobileWalletAvailable, m as linkEmail, q as linkWithRedirect, as as live, at as liveIntent, au as liveStatus, l as login, t as loginWithPopup, n as loginWithPrivy, p as loginWithRedirect, f as logout, av as now, d as onAuthLoadingChanged, o as onAuthStateChanged, E as queryAggregate, aw as reconnectWithNewAuth, ax as refreshSession, $ as registerMobileWalletAdapter, ay as resetRealtimeStore, az as revokeSession, H as runExpression, I as runExpressionMany, F as runQuery, G as runQueryMany, D as search, k as sendEmailOtp, aA as serverTimestamp, z as set, B as setFile, A as setMany, T as setPlatform, L as signAndSubmitTransaction, s as signInAnonymously, J as signMessage, aB as signSessionCreateMessage, K as signTransaction, O as subscribe, aC as subscribeLiveView, aD as toMillis, aE as toSeconds, P as useAuth, Q as useQuery, v as verifyEmailOtp, aF as withEffects, aG as wsDelete, aH as wsGet, aI as wsGetMany, aJ as wsQuery, aK as wsSet } from './index-30RA_Bdf.esm.js';
1
+ export { X as DEFAULT_TEST_ADDRESS, a2 as EFFECT_INTENT_ADDRESS, a3 as FunctionInvokeError, a4 as InsufficientBalanceError, a5 as LiveIntentError, W as MockAuthProvider, Y as OffchainAuthProvider, V as PhantomWalletProvider, a1 as PrivyExpoProvider, a0 as PrivyWalletProvider, a6 as ReactNativeSessionManager, a7 as RealtimeStore, a8 as ServerSessionManager, Z as SolanaMobileWalletProvider, a9 as WebSessionManager, N as aggregate, aa as buildSetDocumentsTransaction, ab as clearCache, ac as closeAllSubscriptions, r as completeLoginFromRedirect, u as completeLoginInPopup, ad as convertRemainingAccounts, M as count, ae as createSessionWithSignature, af as defineLiveModule, ag as deriveUserIdentityFromIdToken, R as deserializeTransaction, y as docId, ah as functions, ai as genAuthNonce, aj as genSolanaMessage, w as get, ak as getActiveSessionManager, e as getAuthLoading, j as getAuthProvider, al as getCachedData, h as getConfig, c as getCurrentUser, C as getFiles, S as getIdToken, x as getMany, U as getPlatform, am as getRealtimeStore, an as getWebhookKeysUrl, ao as hasActiveConnection, ap as increment, i as init, aq as invokeFunction, ar as isEffectResult, _ as isMobileWalletAvailable, m as linkEmail, q as linkWithRedirect, as as live, at as liveIntent, au as liveStatus, l as login, t as loginWithPopup, n as loginWithPrivy, p as loginWithRedirect, f as logout, av as now, d as onAuthLoadingChanged, o as onAuthStateChanged, E as queryAggregate, aw as reconnectWithNewAuth, ax as refreshSession, $ as registerMobileWalletAdapter, ay as resetRealtimeStore, az as revokeSession, H as runExpression, I as runExpressionMany, F as runQuery, G as runQueryMany, D as search, k as sendEmailOtp, aA as serverTimestamp, z as set, B as setFile, A as setMany, T as setPlatform, L as signAndSubmitTransaction, s as signInAnonymously, J as signMessage, aB as signSessionCreateMessage, K as signTransaction, O as subscribe, aC as subscribeLiveView, aD as toMillis, aE as toSeconds, P as useAuth, Q as useQuery, v as verifyEmailOtp, aF as withEffects, aG as wsDelete, aH as wsGet, aI as wsGetMany, aJ as wsQuery, aK as wsSet } from './index-Oc5pQUDo.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-ZYhdEVCA.js');
3
+ var index = require('./index-Dj2C_uV6.js');
4
4
  require('axios');
5
5
  require('@solana/web3.js');
6
6
  require('@coral-xyz/anchor');
@@ -10713,9 +10713,13 @@ function normalizeReadResult(responseData, pathIsDocument) {
10713
10713
  let doc = responseData;
10714
10714
  // Unwrap the single-doc envelope `{ data, status }` (Bug 2). A real document
10715
10715
  // never has the exact shape `{ data, status }` with nothing else meaningful,
10716
- // so detect the envelope by `data` being present alongside a numeric `status`.
10716
+ // so detect the envelope by `data` + numeric `status` AND the absence of a
10717
+ // top-level `_id` (a real stored doc always carries `_id`/`pathId` from the
10718
+ // worker; the envelope wrapper does not). This avoids unwrapping a genuine
10719
+ // document that merely happens to own `data`/`status` fields.
10717
10720
  if (doc && typeof doc === 'object' && !Array.isArray(doc) &&
10718
- 'data' in doc && 'status' in doc && typeof doc.status === 'number') {
10721
+ 'data' in doc && 'status' in doc && typeof doc.status === 'number' &&
10722
+ !('_id' in doc) && !('pathId' in doc)) {
10719
10723
  doc = doc.data;
10720
10724
  }
10721
10725
  if (doc === undefined || doc === null)
@@ -21244,17 +21248,17 @@ function clearIncompatibleSession() {
21244
21248
  // Lazy loaders for web-only providers.
21245
21249
  // Using dynamic import() ensures Metro (RN) never resolves these modules.
21246
21250
  async function loadPhantomWalletProvider() {
21247
- const mod = await Promise.resolve().then(function () { return require('./phantom-wallet-provider-B8gezRxB.js'); });
21251
+ const mod = await Promise.resolve().then(function () { return require('./phantom-wallet-provider-DQDZjZkl.js'); });
21248
21252
  return { PhantomWalletProvider: mod.PhantomWalletProvider };
21249
21253
  }
21250
21254
  // Web Privy provider (depends on react-dom + @privy-io/react-auth). Lazy so Metro
21251
21255
  // never bundles it into the RN build — RN uses the @privy-io/expo provider instead.
21252
21256
  async function loadPrivyWalletProvider() {
21253
- const mod = await Promise.resolve().then(function () { return require('./privy-wallet-provider-DfR-7xpE.js'); });
21257
+ const mod = await Promise.resolve().then(function () { return require('./privy-wallet-provider-Dh_jHrsq.js'); });
21254
21258
  return mod.PrivyWalletProvider;
21255
21259
  }
21256
21260
  async function loadSolanaMobileWalletProvider() {
21257
- const mod = await Promise.resolve().then(function () { return require('./solana-mobile-wallet-provider-CBAeRxGQ.js'); });
21261
+ const mod = await Promise.resolve().then(function () { return require('./solana-mobile-wallet-provider-DMXR_nmz.js'); });
21258
21262
  return mod.SolanaMobileWalletProvider;
21259
21263
  }
21260
21264
  async function hotSwapToMWAProvider(config) {
@@ -22337,4 +22341,4 @@ exports.wsGet = wsGet;
22337
22341
  exports.wsGetMany = wsGetMany;
22338
22342
  exports.wsQuery = wsQuery;
22339
22343
  exports.wsSet = wsSet;
22340
- //# sourceMappingURL=index.native-DpYQ8GUh.js.map
22344
+ //# sourceMappingURL=index.native-Lrhg8G-G.js.map