@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
@@ -10694,9 +10694,13 @@ function normalizeReadResult(responseData, pathIsDocument) {
10694
10694
  let doc = responseData;
10695
10695
  // Unwrap the single-doc envelope `{ data, status }` (Bug 2). A real document
10696
10696
  // never has the exact shape `{ data, status }` with nothing else meaningful,
10697
- // so detect the envelope by `data` being present alongside a numeric `status`.
10697
+ // so detect the envelope by `data` + numeric `status` AND the absence of a
10698
+ // top-level `_id` (a real stored doc always carries `_id`/`pathId` from the
10699
+ // worker; the envelope wrapper does not). This avoids unwrapping a genuine
10700
+ // document that merely happens to own `data`/`status` fields.
10698
10701
  if (doc && typeof doc === 'object' && !Array.isArray(doc) &&
10699
- 'data' in doc && 'status' in doc && typeof doc.status === 'number') {
10702
+ 'data' in doc && 'status' in doc && typeof doc.status === 'number' &&
10703
+ !('_id' in doc) && !('pathId' in doc)) {
10700
10704
  doc = doc.data;
10701
10705
  }
10702
10706
  if (doc === undefined || doc === null)
@@ -21990,7 +21994,7 @@ async function loadDependencies() {
21990
21994
  const [reactModule, reactDomModule, phantomModule] = await Promise.all([
21991
21995
  import('react'),
21992
21996
  import('react-dom/client'),
21993
- import('./index-B9DtkVXb.esm.js')
21997
+ import('./index-DAI10qql.esm.js')
21994
21998
  ]);
21995
21999
  // Extract default export from ESM module namespace
21996
22000
  // Dynamic import() returns { default: Module, ...exports }, not the module directly
@@ -23891,7 +23895,7 @@ async function registerMobileWalletAdapter(config) {
23891
23895
  if (typeof window === 'undefined')
23892
23896
  return;
23893
23897
  try {
23894
- const walletStandardMobile = await import('./index.browser-Cictefil.esm.js');
23898
+ const walletStandardMobile = await import('./index.browser-BxwM4axz.esm.js');
23895
23899
  const registerMwa = walletStandardMobile.registerMwa || ((_a = walletStandardMobile.default) === null || _a === void 0 ? void 0 : _a.registerMwa);
23896
23900
  if (!registerMwa) {
23897
23901
  console.warn('[SolanaMobileWallet] registerMwa not found in @solana-mobile/wallet-standard-mobile');
@@ -24030,7 +24034,7 @@ class SolanaMobileWalletProvider {
24030
24034
  async ensureWallet() {
24031
24035
  if (this.wallet)
24032
24036
  return this.wallet;
24033
- const mod = await import('./index.browser-Cictefil.esm.js');
24037
+ const mod = await import('./index.browser-BxwM4axz.esm.js');
24034
24038
  const chain = mapChainToWalletStandard(this.cluster);
24035
24039
  this.wallet = new mod.LocalSolanaMobileWalletAdapterWallet({
24036
24040
  appIdentity: this.appIdentity,
@@ -26164,4 +26168,4 @@ class PrivyExpoProvider {
26164
26168
  }
26165
26169
 
26166
26170
  export { registerMobileWalletAdapter as $, setMany as A, setFile as B, getFiles as C, search as D, queryAggregate as E, runQuery as F, runQueryMany as G, runExpression as H, runExpressionMany as I, signMessage as J, signTransaction as K, signAndSubmitTransaction as L, count as M, aggregate as N, subscribe as O, useAuth as P, useQuery as Q, deserializeTransaction as R, getIdToken as S, setPlatform as T, getPlatform as U, PhantomWalletProvider as V, MockAuthProvider as W, DEFAULT_TEST_ADDRESS as X, OffchainAuthProvider as Y, SolanaMobileWalletProvider as Z, isMobileWalletAvailable as _, bs582 as a, PrivyWalletProvider as a0, PrivyExpoProvider as a1, EFFECT_INTENT_ADDRESS as a2, FunctionInvokeError as a3, InsufficientBalanceError as a4, LiveIntentError as a5, ReactNativeSessionManager as a6, RealtimeStore as a7, ServerSessionManager as a8, WebSessionManager as a9, serverTimestamp as aA, signSessionCreateMessage as aB, subscribeView as aC, toMillis as aD, toSeconds as aE, withEffects as aF, wsDelete as aG, wsGet as aH, wsGetMany as aI, wsQuery as aJ, wsSet as aK, buildSetDocumentsTransaction as aa, clearCache as ab, closeAllSubscriptions as ac, convertRemainingAccounts as ad, createSessionWithSignature as ae, defineLiveModule as af, deriveUserIdentityFromIdToken as ag, functions as ah, genAuthNonce as ai, genSolanaMessage as aj, getActiveSessionManager as ak, getCachedData as al, getRealtimeStore as am, getWebhookKeysUrl as an, hasActiveConnection as ao, increment as ap, invoke as aq, isEffectResult as ar, live as as, intent as at, status as au, now as av, reconnectWithNewAuth as aw, refreshSession as ax, resetRealtimeStore as ay, revokeSession as az, bufferExports as b, getCurrentUser as c, onAuthLoadingChanged as d, getAuthLoading as e, logout as f, getDefaultExportFromCjs$1 as g, getConfig as h, init as i, getAuthProvider as j, sendEmailOtp as k, login as l, linkEmail as m, loginWithPrivy as n, onAuthStateChanged as o, loginWithRedirect as p, linkWithRedirect as q, completeLoginFromRedirect as r, signInAnonymously as s, loginWithPopup as t, completeLoginInPopup as u, verifyEmailOtp as v, get as w, getMany as x, docId as y, set as z };
26167
- //# sourceMappingURL=index-30RA_Bdf.esm.js.map
26171
+ //# sourceMappingURL=index-Oc5pQUDo.esm.js.map