@keystrokehq/cli 0.0.89 → 0.0.90
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.
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11777,7 +11777,7 @@ function registerCredentialsCommand(program) {
|
|
|
11777
11777
|
/** OAuth device-flow client id for `keystroke auth login`. */
|
|
11778
11778
|
const CLI_CLIENT_ID = "keystroke-cli";
|
|
11779
11779
|
//#endregion
|
|
11780
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
11780
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/version.mjs
|
|
11781
11781
|
const PACKAGE_VERSION = "1.6.11";
|
|
11782
11782
|
//#endregion
|
|
11783
11783
|
//#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.4.3/node_modules/better-call/dist/error.mjs
|
|
@@ -11902,7 +11902,7 @@ var BetterAuthError = class extends Error {
|
|
|
11902
11902
|
}
|
|
11903
11903
|
};
|
|
11904
11904
|
//#endregion
|
|
11905
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
11905
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/plugins/device-authorization/client.mjs
|
|
11906
11906
|
const deviceAuthorizationClient = () => {
|
|
11907
11907
|
return {
|
|
11908
11908
|
id: "device-authorization",
|
|
@@ -12047,7 +12047,7 @@ let onMount = ($store, initialize) => {
|
|
|
12047
12047
|
});
|
|
12048
12048
|
};
|
|
12049
12049
|
//#endregion
|
|
12050
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12050
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/query.mjs
|
|
12051
12051
|
const isServer = () => typeof window === "undefined";
|
|
12052
12052
|
const useAuthQuery = (initializedAtom, path, $fetch, options) => {
|
|
12053
12053
|
const value = /* @__PURE__ */ atom({
|
|
@@ -12141,7 +12141,7 @@ const useAuthQuery = (initializedAtom, path, $fetch, options) => {
|
|
|
12141
12141
|
return value;
|
|
12142
12142
|
};
|
|
12143
12143
|
//#endregion
|
|
12144
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12144
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/broadcast-channel.mjs
|
|
12145
12145
|
const kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
|
|
12146
12146
|
const now$1 = () => Math.floor(Date.now() / 1e3);
|
|
12147
12147
|
var WindowBroadcastChannel = class {
|
|
@@ -12184,7 +12184,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
|
|
|
12184
12184
|
return globalThis[kBroadcastChannel];
|
|
12185
12185
|
}
|
|
12186
12186
|
//#endregion
|
|
12187
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12187
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/focus-manager.mjs
|
|
12188
12188
|
const kFocusManager = Symbol.for("better-auth:focus-manager");
|
|
12189
12189
|
var WindowFocusManager = class {
|
|
12190
12190
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -12213,7 +12213,7 @@ function getGlobalFocusManager() {
|
|
|
12213
12213
|
return globalThis[kFocusManager];
|
|
12214
12214
|
}
|
|
12215
12215
|
//#endregion
|
|
12216
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12216
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/online-manager.mjs
|
|
12217
12217
|
const kOnlineManager = Symbol.for("better-auth:online-manager");
|
|
12218
12218
|
var WindowOnlineManager = class {
|
|
12219
12219
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -12245,7 +12245,7 @@ function getGlobalOnlineManager() {
|
|
|
12245
12245
|
return globalThis[kOnlineManager];
|
|
12246
12246
|
}
|
|
12247
12247
|
//#endregion
|
|
12248
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12248
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/parser.mjs
|
|
12249
12249
|
const PROTO_POLLUTION_PATTERNS = {
|
|
12250
12250
|
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*:/,
|
|
12251
12251
|
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*:/,
|
|
@@ -12315,7 +12315,7 @@ function parseJSON(value, options = { strict: true }) {
|
|
|
12315
12315
|
return betterJSONParse(value, options);
|
|
12316
12316
|
}
|
|
12317
12317
|
//#endregion
|
|
12318
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12318
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/session-refresh.mjs
|
|
12319
12319
|
const now = () => Math.floor(Date.now() / 1e3);
|
|
12320
12320
|
/**
|
|
12321
12321
|
* Normalize $fetch response: `throw: true` returns data directly, otherwise `{ data, error }`.
|
|
@@ -12513,7 +12513,7 @@ Object.freeze({
|
|
|
12513
12513
|
}
|
|
12514
12514
|
});
|
|
12515
12515
|
//#endregion
|
|
12516
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12516
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/utils/url.mjs
|
|
12517
12517
|
function checkHasPath(url) {
|
|
12518
12518
|
try {
|
|
12519
12519
|
return (new URL(url).pathname.replace(/\/+$/, "") || "/") !== "/";
|
|
@@ -12585,7 +12585,7 @@ function getOrigin(url) {
|
|
|
12585
12585
|
}
|
|
12586
12586
|
}
|
|
12587
12587
|
//#endregion
|
|
12588
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12588
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/fetch-plugins.mjs
|
|
12589
12589
|
const redirectPlugin = {
|
|
12590
12590
|
id: "redirect",
|
|
12591
12591
|
name: "Redirect",
|
|
@@ -12600,7 +12600,7 @@ const redirectPlugin = {
|
|
|
12600
12600
|
} }
|
|
12601
12601
|
};
|
|
12602
12602
|
//#endregion
|
|
12603
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12603
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/session-atom.mjs
|
|
12604
12604
|
function getSessionAtom($fetch, options) {
|
|
12605
12605
|
const $signal = /* @__PURE__ */ atom(false);
|
|
12606
12606
|
const session = useAuthQuery($signal, "/get-session", $fetch, { method: "GET" });
|
|
@@ -13087,7 +13087,7 @@ var betterFetch = async (url, options) => {
|
|
|
13087
13087
|
};
|
|
13088
13088
|
};
|
|
13089
13089
|
//#endregion
|
|
13090
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
13090
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/config.mjs
|
|
13091
13091
|
const resolvePublicAuthUrl = (basePath) => {
|
|
13092
13092
|
if (typeof process === "undefined") return void 0;
|
|
13093
13093
|
const path = basePath ?? "/api/auth";
|
|
@@ -13185,12 +13185,12 @@ const getClientConfig = (options, loadEnv) => {
|
|
|
13185
13185
|
};
|
|
13186
13186
|
};
|
|
13187
13187
|
//#endregion
|
|
13188
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
13188
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/utils/is-atom.mjs
|
|
13189
13189
|
function isAtom(value) {
|
|
13190
13190
|
return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
|
|
13191
13191
|
}
|
|
13192
13192
|
//#endregion
|
|
13193
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
13193
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/proxy.mjs
|
|
13194
13194
|
function getMethod(path, knownPathMethods, args) {
|
|
13195
13195
|
const method = knownPathMethods[path];
|
|
13196
13196
|
const { fetchOptions, query: _query, ...body } = args || {};
|
|
@@ -13270,7 +13270,7 @@ function capitalizeFirstLetter(str) {
|
|
|
13270
13270
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
13271
13271
|
}
|
|
13272
13272
|
//#endregion
|
|
13273
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
13273
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.20_crossws@0.4.5_srvx@0.11.15__react-dom_b346619fb1e6b75975d0aa0d3d1e104e/node_modules/better-auth/dist/client/vanilla.mjs
|
|
13274
13274
|
function createAuthClient(options) {
|
|
13275
13275
|
const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
|
|
13276
13276
|
const resolvedHooks = {};
|