@1sat/connect 0.0.77 → 0.0.78

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 +21 -21
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -102693,7 +102693,7 @@ var onMount = ($store, initialize) => {
102693
102693
  };
102694
102694
  });
102695
102695
  };
102696
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/client/equality.mjs
102696
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/client/equality.mjs
102697
102697
  function isPlainObject(value) {
102698
102698
  if (typeof value !== "object" || value === null)
102699
102699
  return false;
@@ -102844,7 +102844,7 @@ var InternalAPIError = class extends Error {
102844
102844
  var kAPIErrorHeaderSymbol = Symbol.for("better-call:api-error-headers");
102845
102845
  var APIError = makeErrorForHideStackFrame(InternalAPIError, Error);
102846
102846
 
102847
- // ../../node_modules/.bun/@better-auth+core@1.6.23+ad36ea17f9bad4d0/node_modules/@better-auth/core/dist/error/index.mjs
102847
+ // ../../node_modules/.bun/@better-auth+core@1.6.23+f46b46834471340a/node_modules/@better-auth/core/dist/error/index.mjs
102848
102848
  var BetterAuthError = class extends Error {
102849
102849
  constructor(message, options) {
102850
102850
  super(message, options);
@@ -102854,7 +102854,7 @@ var BetterAuthError = class extends Error {
102854
102854
  }
102855
102855
  };
102856
102856
 
102857
- // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+e53ef2d677afd2f6/node_modules/@sigma-auth/better-auth-plugin/dist/client/local-signer.js
102857
+ // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+ff13bdca046f0cb4/node_modules/@sigma-auth/better-auth-plugin/dist/client/local-signer.js
102858
102858
  class LocalServerSigner {
102859
102859
  baseUrl;
102860
102860
  timeout;
@@ -103082,7 +103082,7 @@ class LocalServerSigner {
103082
103082
  }
103083
103083
  }
103084
103084
 
103085
- // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+e53ef2d677afd2f6/node_modules/@sigma-auth/better-auth-plugin/dist/client/sigma-cwi.js
103085
+ // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+ff13bdca046f0cb4/node_modules/@sigma-auth/better-auth-plugin/dist/client/sigma-cwi.js
103086
103086
  var isRecord3 = (v3) => typeof v3 === "object" && v3 !== null;
103087
103087
  var isResponse3 = (v3) => isRecord3(v3) && v3.type === "CWI" && v3.isInvocation === false && typeof v3.id === "string";
103088
103088
  var isState3 = (v3) => isRecord3(v3) && v3.type === "CWI" && isRecord3(v3.cwiState);
@@ -103323,7 +103323,7 @@ class SigmaCWISigner {
103323
103323
  this.pending.clear();
103324
103324
  }
103325
103325
  }
103326
- // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+e53ef2d677afd2f6/node_modules/@sigma-auth/better-auth-plugin/dist/client/signer.js
103326
+ // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+ff13bdca046f0cb4/node_modules/@sigma-auth/better-auth-plugin/dist/client/signer.js
103327
103327
  class SigmaIframeSigner {
103328
103328
  iframe = null;
103329
103329
  pendingRequests = new Map;
@@ -103721,7 +103721,7 @@ class SigmaIframeSigner {
103721
103721
  this.rejectAllPending(new Error("Signer destroyed"));
103722
103722
  }
103723
103723
  }
103724
- // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+e53ef2d677afd2f6/node_modules/@sigma-auth/better-auth-plugin/dist/client/index.js
103724
+ // ../../node_modules/.bun/@sigma-auth+better-auth-plugin@0.0.92+ff13bdca046f0cb4/node_modules/@sigma-auth/better-auth-plugin/dist/client/index.js
103725
103725
  var signer = null;
103726
103726
  var signerType = null;
103727
103727
  var storedBapId = null;
@@ -104229,7 +104229,7 @@ Backend: ${status} (${endpoint})`;
104229
104229
  };
104230
104230
  };
104231
104231
 
104232
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/client/broadcast-channel.mjs
104232
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/client/broadcast-channel.mjs
104233
104233
  var kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
104234
104234
  var now = () => Math.floor(Date.now() / 1000);
104235
104235
  var WindowBroadcastChannel = class {
@@ -104277,7 +104277,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
104277
104277
  return globalThis[kBroadcastChannel];
104278
104278
  }
104279
104279
 
104280
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/client/focus-manager.mjs
104280
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/client/focus-manager.mjs
104281
104281
  var kFocusManager = Symbol.for("better-auth:focus-manager");
104282
104282
  var WindowFocusManager = class {
104283
104283
  listeners = /* @__PURE__ */ new Set;
@@ -104309,7 +104309,7 @@ function getGlobalFocusManager() {
104309
104309
  return globalThis[kFocusManager];
104310
104310
  }
104311
104311
 
104312
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/client/online-manager.mjs
104312
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/client/online-manager.mjs
104313
104313
  var kOnlineManager = Symbol.for("better-auth:online-manager");
104314
104314
  var WindowOnlineManager = class {
104315
104315
  listeners = /* @__PURE__ */ new Set;
@@ -104343,7 +104343,7 @@ function getGlobalOnlineManager() {
104343
104343
  return globalThis[kOnlineManager];
104344
104344
  }
104345
104345
 
104346
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/client/parser.mjs
104346
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/client/parser.mjs
104347
104347
  var PROTO_POLLUTION_PATTERNS = {
104348
104348
  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*:/,
104349
104349
  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*:/,
@@ -104421,7 +104421,7 @@ function parseJSON(value, options = { strict: true }) {
104421
104421
  return betterJSONParse(value, options);
104422
104422
  }
104423
104423
 
104424
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/client/session-refresh.mjs
104424
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/client/session-refresh.mjs
104425
104425
  var now2 = () => Math.floor(Date.now() / 1000);
104426
104426
  var FOCUS_REFETCH_RATE_LIMIT_SECONDS = 5;
104427
104427
  function createSessionRefreshManager(opts) {
@@ -104553,7 +104553,7 @@ function createSessionRefreshManager(opts) {
104553
104553
  };
104554
104554
  }
104555
104555
 
104556
- // ../../node_modules/.bun/@better-auth+core@1.6.23+ad36ea17f9bad4d0/node_modules/@better-auth/core/dist/env/env-impl.mjs
104556
+ // ../../node_modules/.bun/@better-auth+core@1.6.23+f46b46834471340a/node_modules/@better-auth/core/dist/env/env-impl.mjs
104557
104557
  var _envShim = Object.create(null);
104558
104558
  var _getEnv = (useShim) => globalThis.process?.env || globalThis.Deno?.env.toObject() || globalThis.__env__ || (useShim ? _envShim : globalThis);
104559
104559
  var env = new Proxy(_envShim, {
@@ -104613,7 +104613,7 @@ var ENV = Object.freeze({
104613
104613
  return getEnvVar("BETTER_AUTH_TELEMETRY_ENDPOINT", "");
104614
104614
  }
104615
104615
  });
104616
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/utils/url.mjs
104616
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/utils/url.mjs
104617
104617
  var SLASH_CHAR_CODE = 47;
104618
104618
  function trimTrailingSlashes(value) {
104619
104619
  let end = value.length;
@@ -104704,7 +104704,7 @@ function getOrigin(url) {
104704
104704
  }
104705
104705
  }
104706
104706
 
104707
- // ../../node_modules/.bun/@better-auth+core@1.6.23+ad36ea17f9bad4d0/node_modules/@better-auth/core/dist/utils/url.mjs
104707
+ // ../../node_modules/.bun/@better-auth+core@1.6.23+f46b46834471340a/node_modules/@better-auth/core/dist/utils/url.mjs
104708
104708
  var DANGEROUS_URL_SCHEMES = [
104709
104709
  "javascript:",
104710
104710
  "data:",
@@ -104720,7 +104720,7 @@ function isSafeUrlScheme(value) {
104720
104720
  return !DANGEROUS_URL_SCHEMES.includes(parsed.protocol);
104721
104721
  }
104722
104722
 
104723
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/client/fetch-plugins.mjs
104723
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/client/fetch-plugins.mjs
104724
104724
  var redirectPlugin = {
104725
104725
  id: "redirect",
104726
104726
  name: "Redirect",
@@ -104736,7 +104736,7 @@ var redirectPlugin = {
104736
104736
  } }
104737
104737
  };
104738
104738
 
104739
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/client/session-atom.mjs
104739
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/client/session-atom.mjs
104740
104740
  var isServer = () => typeof window === "undefined";
104741
104741
  function normalizeSessionResponse(res) {
104742
104742
  if (typeof res === "object" && res !== null && "data" in res && "error" in res)
@@ -105577,7 +105577,7 @@ var betterFetch = async (url, options) => {
105577
105577
  };
105578
105578
  };
105579
105579
 
105580
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/client/config.mjs
105580
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/client/config.mjs
105581
105581
  var resolvePublicAuthUrl = (basePath) => {
105582
105582
  if (typeof process === "undefined")
105583
105583
  return;
@@ -105687,12 +105687,12 @@ var getClientConfig = (options, loadEnv) => {
105687
105687
  };
105688
105688
  };
105689
105689
 
105690
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/utils/is-atom.mjs
105690
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/utils/is-atom.mjs
105691
105691
  function isAtom(value) {
105692
105692
  return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
105693
105693
  }
105694
105694
 
105695
- // ../../node_modules/.bun/@better-auth+core@1.6.23+ad36ea17f9bad4d0/node_modules/@better-auth/core/dist/utils/string.mjs
105695
+ // ../../node_modules/.bun/@better-auth+core@1.6.23+f46b46834471340a/node_modules/@better-auth/core/dist/utils/string.mjs
105696
105696
  function capitalizeFirstLetter(str) {
105697
105697
  return str.charAt(0).toUpperCase() + str.slice(1);
105698
105698
  }
@@ -105705,7 +105705,7 @@ function toKebabCase(input) {
105705
105705
  return splitWords(input).map((word) => word.toLowerCase()).join("-");
105706
105706
  }
105707
105707
 
105708
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/client/proxy.mjs
105708
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/client/proxy.mjs
105709
105709
  function getMethod3(path, knownPathMethods, args) {
105710
105710
  const method = knownPathMethods[path];
105711
105711
  const { fetchOptions, query: _query, ...body } = args || {};
@@ -105787,7 +105787,7 @@ function createDynamicPathProxy(routes, client, knownPathMethods, atoms, atomLis
105787
105787
  return createProxy();
105788
105788
  }
105789
105789
 
105790
- // ../../node_modules/.bun/better-auth@1.6.23+c555af6d5140c03d/node_modules/better-auth/dist/client/vanilla.mjs
105790
+ // ../../node_modules/.bun/better-auth@1.6.23+011985462259622c/node_modules/better-auth/dist/client/vanilla.mjs
105791
105791
  function createAuthClient(options) {
105792
105792
  const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
105793
105793
  const resolvedHooks = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1sat/connect",
3
- "version": "0.0.77",
3
+ "version": "0.0.78",
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.93",
31
+ "@1sat/wallet": "0.0.94",
32
32
  "@sigma-auth/better-auth-plugin": "^0.0.92",
33
33
  "better-auth": "^1.6.18",
34
34
  "eventemitter3": "^5.0.1"