@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
@@ -10692,9 +10692,13 @@ function normalizeReadResult(responseData, pathIsDocument) {
10692
10692
  let doc = responseData;
10693
10693
  // Unwrap the single-doc envelope `{ data, status }` (Bug 2). A real document
10694
10694
  // never has the exact shape `{ data, status }` with nothing else meaningful,
10695
- // so detect the envelope by `data` being present alongside a numeric `status`.
10695
+ // so detect the envelope by `data` + numeric `status` AND the absence of a
10696
+ // top-level `_id` (a real stored doc always carries `_id`/`pathId` from the
10697
+ // worker; the envelope wrapper does not). This avoids unwrapping a genuine
10698
+ // document that merely happens to own `data`/`status` fields.
10696
10699
  if (doc && typeof doc === 'object' && !Array.isArray(doc) &&
10697
- 'data' in doc && 'status' in doc && typeof doc.status === 'number') {
10700
+ 'data' in doc && 'status' in doc && typeof doc.status === 'number' &&
10701
+ !('_id' in doc) && !('pathId' in doc)) {
10698
10702
  doc = doc.data;
10699
10703
  }
10700
10704
  if (doc === undefined || doc === null)
@@ -21223,17 +21227,17 @@ function clearIncompatibleSession() {
21223
21227
  // Lazy loaders for web-only providers.
21224
21228
  // Using dynamic import() ensures Metro (RN) never resolves these modules.
21225
21229
  async function loadPhantomWalletProvider() {
21226
- const mod = await import('./phantom-wallet-provider-FOSnYV4t.esm.js');
21230
+ const mod = await import('./phantom-wallet-provider-K10GQBxk.esm.js');
21227
21231
  return { PhantomWalletProvider: mod.PhantomWalletProvider };
21228
21232
  }
21229
21233
  // Web Privy provider (depends on react-dom + @privy-io/react-auth). Lazy so Metro
21230
21234
  // never bundles it into the RN build — RN uses the @privy-io/expo provider instead.
21231
21235
  async function loadPrivyWalletProvider() {
21232
- const mod = await import('./privy-wallet-provider-BPOjNW9O.esm.js');
21236
+ const mod = await import('./privy-wallet-provider-scXNSzjF.esm.js');
21233
21237
  return mod.PrivyWalletProvider;
21234
21238
  }
21235
21239
  async function loadSolanaMobileWalletProvider() {
21236
- const mod = await import('./solana-mobile-wallet-provider-CoS-38SL.esm.js');
21240
+ const mod = await import('./solana-mobile-wallet-provider-BlwQuB4D.esm.js');
21237
21241
  return mod.SolanaMobileWalletProvider;
21238
21242
  }
21239
21243
  async function hotSwapToMWAProvider(config) {
@@ -22213,4 +22217,4 @@ class PrivyExpoProvider {
22213
22217
  }
22214
22218
 
22215
22219
  export { signAndSubmitTransaction as $, signInAnonymously as A, sendEmailOtp as B, verifyEmailOtp as C, linkEmail as D, loginWithPrivy as E, loginWithRedirect as F, linkWithRedirect as G, completeLoginFromRedirect as H, loginWithPopup as I, completeLoginInPopup as J, get as K, getMany as L, docId as M, set as N, setMany as O, setFile as P, getFiles as Q, search as R, SOLANA_DEVNET_RPC_URL as S, queryAggregate as T, runQuery as U, runQueryMany as V, WebSessionManager as W, runExpression as X, runExpressionMany as Y, signMessage as Z, signTransaction as _, buildSetDocumentsTransaction as a, count as a0, aggregate as a1, subscribe as a2, useAuth as a3, deserializeTransaction as a4, getIdToken as a5, setPlatform as a6, MockAuthProvider as a7, DEFAULT_TEST_ADDRESS as a8, OffchainAuthProvider as a9, resetRealtimeStore as aA, revokeSession as aB, serverTimestamp as aC, signSessionCreateMessage as aD, subscribeView as aE, toMillis as aF, toSeconds as aG, withEffects as aH, wsDelete as aI, wsGet as aJ, wsGetMany as aK, wsQuery as aL, wsSet as aM, index as aN, PrivyExpoProvider as aa, EFFECT_INTENT_ADDRESS as ab, FunctionInvokeError as ac, InsufficientBalanceError as ad, LiveIntentError as ae, ReactNativeSessionManager as af, RealtimeStore as ag, ServerSessionManager as ah, clearCache as ai, closeAllSubscriptions as aj, defineLiveModule as ak, deriveUserIdentityFromIdToken as al, functions as am, getCachedData as an, getRealtimeStore as ao, getWebhookKeysUrl as ap, hasActiveConnection as aq, increment as ar, invoke as as, isEffectResult as at, live as au, intent as av, status as aw, now as ax, reconnectWithNewAuth as ay, refreshSession as az, bufferExports as b, convertRemainingAccounts as c, confirmAndCheckTransaction as d, SOLANA_MAINNET_RPC_URL as e, SURFNET_RPC_URL$1 as f, detectMobile as g, detectAndroid as h, getPlatform as i, setAuthLoading as j, genAuthNonce as k, genSolanaMessage as l, createSessionWithSignature as m, getActiveSessionManager as n, bs582 as o, getDefaultExportFromCjs$1 as p, init as q, getCurrentUser as r, setCurrentUser as s, onAuthStateChanged as t, onAuthLoadingChanged as u, getAuthLoading as v, login as w, logout as x, getConfig as y, getAuthProvider as z };
22216
- //# sourceMappingURL=index.native-C8GJTcIy.esm.js.map
22220
+ //# sourceMappingURL=index.native-Y7aFGpZp.esm.js.map