@1sat/connect 0.0.85 → 0.0.86

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 (2) hide show
  1. package/dist/index.js +17 -17
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -129178,7 +129178,7 @@ var onMount = ($store, initialize) => {
129178
129178
  };
129179
129179
  });
129180
129180
  };
129181
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/client/equality.mjs
129181
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/client/equality.mjs
129182
129182
  function isPlainObject(value) {
129183
129183
  if (typeof value !== "object" || value === null)
129184
129184
  return false;
@@ -129339,7 +129339,7 @@ var BetterAuthError = class extends Error {
129339
129339
  }
129340
129340
  };
129341
129341
 
129342
- // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+eed15e04171d9f72/node_modules/@sigma-auth/better-auth-plugin/dist/client/local-signer.js
129342
+ // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+c6a1da40323d58dc/node_modules/@sigma-auth/better-auth-plugin/dist/client/local-signer.js
129343
129343
  class LocalServerSigner {
129344
129344
  baseUrl;
129345
129345
  timeout;
@@ -129567,7 +129567,7 @@ class LocalServerSigner {
129567
129567
  }
129568
129568
  }
129569
129569
 
129570
- // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+eed15e04171d9f72/node_modules/@sigma-auth/better-auth-plugin/dist/client/sigma-cwi.js
129570
+ // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+c6a1da40323d58dc/node_modules/@sigma-auth/better-auth-plugin/dist/client/sigma-cwi.js
129571
129571
  var isRecord3 = (v3) => typeof v3 === "object" && v3 !== null;
129572
129572
  var isResponse3 = (v3) => isRecord3(v3) && v3.type === "CWI" && v3.isInvocation === false && typeof v3.id === "string";
129573
129573
  var isState3 = (v3) => isRecord3(v3) && v3.type === "CWI" && isRecord3(v3.cwiState);
@@ -129808,7 +129808,7 @@ class SigmaCWISigner {
129808
129808
  this.pending.clear();
129809
129809
  }
129810
129810
  }
129811
- // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+eed15e04171d9f72/node_modules/@sigma-auth/better-auth-plugin/dist/client/signer.js
129811
+ // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+c6a1da40323d58dc/node_modules/@sigma-auth/better-auth-plugin/dist/client/signer.js
129812
129812
  class SigmaIframeSigner {
129813
129813
  iframe = null;
129814
129814
  pendingRequests = new Map;
@@ -130206,7 +130206,7 @@ class SigmaIframeSigner {
130206
130206
  this.rejectAllPending(new Error("Signer destroyed"));
130207
130207
  }
130208
130208
  }
130209
- // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+eed15e04171d9f72/node_modules/@sigma-auth/better-auth-plugin/dist/client/index.js
130209
+ // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+c6a1da40323d58dc/node_modules/@sigma-auth/better-auth-plugin/dist/client/index.js
130210
130210
  var signer = null;
130211
130211
  var signerType = null;
130212
130212
  var storedBapId = null;
@@ -130714,7 +130714,7 @@ Backend: ${status} (${endpoint})`;
130714
130714
  };
130715
130715
  };
130716
130716
 
130717
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/client/broadcast-channel.mjs
130717
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/client/broadcast-channel.mjs
130718
130718
  var kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
130719
130719
  var now = () => Math.floor(Date.now() / 1000);
130720
130720
  var WindowBroadcastChannel = class {
@@ -130762,7 +130762,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
130762
130762
  return globalThis[kBroadcastChannel];
130763
130763
  }
130764
130764
 
130765
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/client/focus-manager.mjs
130765
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/client/focus-manager.mjs
130766
130766
  var kFocusManager = Symbol.for("better-auth:focus-manager");
130767
130767
  var WindowFocusManager = class {
130768
130768
  listeners = /* @__PURE__ */ new Set;
@@ -130794,7 +130794,7 @@ function getGlobalFocusManager() {
130794
130794
  return globalThis[kFocusManager];
130795
130795
  }
130796
130796
 
130797
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/client/online-manager.mjs
130797
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/client/online-manager.mjs
130798
130798
  var kOnlineManager = Symbol.for("better-auth:online-manager");
130799
130799
  var WindowOnlineManager = class {
130800
130800
  listeners = /* @__PURE__ */ new Set;
@@ -130828,7 +130828,7 @@ function getGlobalOnlineManager() {
130828
130828
  return globalThis[kOnlineManager];
130829
130829
  }
130830
130830
 
130831
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/client/parser.mjs
130831
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/client/parser.mjs
130832
130832
  var PROTO_POLLUTION_PATTERNS = {
130833
130833
  proto: /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,
130834
130834
  constructor: /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,
@@ -130906,7 +130906,7 @@ function parseJSON(value, options = { strict: true }) {
130906
130906
  return betterJSONParse(value, options);
130907
130907
  }
130908
130908
 
130909
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/client/session-refresh.mjs
130909
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/client/session-refresh.mjs
130910
130910
  var now2 = () => Math.floor(Date.now() / 1000);
130911
130911
  var FOCUS_REFETCH_RATE_LIMIT_SECONDS = 5;
130912
130912
  function createSessionRefreshManager(opts) {
@@ -131098,7 +131098,7 @@ var ENV = Object.freeze({
131098
131098
  return getEnvVar("BETTER_AUTH_TELEMETRY_ENDPOINT", "");
131099
131099
  }
131100
131100
  });
131101
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/utils/url.mjs
131101
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/utils/url.mjs
131102
131102
  var SLASH_CHAR_CODE = 47;
131103
131103
  function trimTrailingSlashes(value) {
131104
131104
  let end = value.length;
@@ -131205,7 +131205,7 @@ function isSafeUrlScheme(value) {
131205
131205
  return !DANGEROUS_URL_SCHEMES.includes(parsed.protocol);
131206
131206
  }
131207
131207
 
131208
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/client/fetch-plugins.mjs
131208
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/client/fetch-plugins.mjs
131209
131209
  var redirectPlugin = {
131210
131210
  id: "redirect",
131211
131211
  name: "Redirect",
@@ -131221,7 +131221,7 @@ var redirectPlugin = {
131221
131221
  } }
131222
131222
  };
131223
131223
 
131224
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/client/session-atom.mjs
131224
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/client/session-atom.mjs
131225
131225
  var isServer = () => typeof window === "undefined";
131226
131226
  function normalizeSessionResponse(res) {
131227
131227
  if (typeof res === "object" && res !== null && "data" in res && "error" in res)
@@ -132062,7 +132062,7 @@ var betterFetch = async (url, options) => {
132062
132062
  };
132063
132063
  };
132064
132064
 
132065
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/client/config.mjs
132065
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/client/config.mjs
132066
132066
  var resolvePublicAuthUrl = (basePath) => {
132067
132067
  if (typeof process === "undefined")
132068
132068
  return;
@@ -132172,7 +132172,7 @@ var getClientConfig = (options, loadEnv) => {
132172
132172
  };
132173
132173
  };
132174
132174
 
132175
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/utils/is-atom.mjs
132175
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/utils/is-atom.mjs
132176
132176
  function isAtom(value) {
132177
132177
  return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
132178
132178
  }
@@ -132190,7 +132190,7 @@ function toKebabCase(input) {
132190
132190
  return splitWords(input).map((word) => word.toLowerCase()).join("-");
132191
132191
  }
132192
132192
 
132193
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/client/proxy.mjs
132193
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/client/proxy.mjs
132194
132194
  function getMethod3(path, knownPathMethods, args) {
132195
132195
  const method = knownPathMethods[path];
132196
132196
  const { fetchOptions, query: _query, ...body } = args || {};
@@ -132272,7 +132272,7 @@ function createDynamicPathProxy(routes, client, knownPathMethods, atoms, atomLis
132272
132272
  return createProxy();
132273
132273
  }
132274
132274
 
132275
- // ../../node_modules/.bun/better-auth@1.6.25+8ddc87490baacd42/node_modules/better-auth/dist/client/vanilla.mjs
132275
+ // ../../node_modules/.bun/better-auth@1.6.25+efa5d59177f1e097/node_modules/better-auth/dist/client/vanilla.mjs
132276
132276
  function createAuthClient(options) {
132277
132277
  const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
132278
132278
  const resolvedHooks = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1sat/connect",
3
- "version": "0.0.85",
3
+ "version": "0.0.86",
4
4
  "description": "Connection layer for 1Sat wallet - popup flow, events, session management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "license": "MIT",
30
30
  "dependencies": {
31
- "@1sat/wallet": "0.0.100",
31
+ "@1sat/wallet": "0.0.101",
32
32
  "@sigma-auth/better-auth-plugin": "^0.0.92",
33
33
  "better-auth": "^1.6.18",
34
34
  "eventemitter3": "^5.0.1"