@keystrokehq/cli 0.0.94 → 0.0.95
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 +2 -2
package/dist/index.mjs
CHANGED
|
@@ -11781,7 +11781,7 @@ function registerCredentialsCommand(program) {
|
|
|
11781
11781
|
/** OAuth device-flow client id for `keystroke auth login`. */
|
|
11782
11782
|
const CLI_CLIENT_ID = "keystroke-cli";
|
|
11783
11783
|
//#endregion
|
|
11784
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
11784
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/version.mjs
|
|
11785
11785
|
const PACKAGE_VERSION = "1.6.11";
|
|
11786
11786
|
//#endregion
|
|
11787
11787
|
//#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.4.3/node_modules/better-call/dist/error.mjs
|
|
@@ -11906,7 +11906,7 @@ var BetterAuthError = class extends Error {
|
|
|
11906
11906
|
}
|
|
11907
11907
|
};
|
|
11908
11908
|
//#endregion
|
|
11909
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
11909
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/plugins/device-authorization/client.mjs
|
|
11910
11910
|
const deviceAuthorizationClient = () => {
|
|
11911
11911
|
return {
|
|
11912
11912
|
id: "device-authorization",
|
|
@@ -12051,7 +12051,7 @@ let onMount = ($store, initialize) => {
|
|
|
12051
12051
|
});
|
|
12052
12052
|
};
|
|
12053
12053
|
//#endregion
|
|
12054
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12054
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/client/query.mjs
|
|
12055
12055
|
const isServer = () => typeof window === "undefined";
|
|
12056
12056
|
const useAuthQuery = (initializedAtom, path, $fetch, options) => {
|
|
12057
12057
|
const value = /* @__PURE__ */ atom({
|
|
@@ -12145,7 +12145,7 @@ const useAuthQuery = (initializedAtom, path, $fetch, options) => {
|
|
|
12145
12145
|
return value;
|
|
12146
12146
|
};
|
|
12147
12147
|
//#endregion
|
|
12148
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12148
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/client/broadcast-channel.mjs
|
|
12149
12149
|
const kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
|
|
12150
12150
|
const now$1 = () => Math.floor(Date.now() / 1e3);
|
|
12151
12151
|
var WindowBroadcastChannel = class {
|
|
@@ -12188,7 +12188,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
|
|
|
12188
12188
|
return globalThis[kBroadcastChannel];
|
|
12189
12189
|
}
|
|
12190
12190
|
//#endregion
|
|
12191
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12191
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/client/focus-manager.mjs
|
|
12192
12192
|
const kFocusManager = Symbol.for("better-auth:focus-manager");
|
|
12193
12193
|
var WindowFocusManager = class {
|
|
12194
12194
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -12217,7 +12217,7 @@ function getGlobalFocusManager() {
|
|
|
12217
12217
|
return globalThis[kFocusManager];
|
|
12218
12218
|
}
|
|
12219
12219
|
//#endregion
|
|
12220
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12220
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/client/online-manager.mjs
|
|
12221
12221
|
const kOnlineManager = Symbol.for("better-auth:online-manager");
|
|
12222
12222
|
var WindowOnlineManager = class {
|
|
12223
12223
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -12249,7 +12249,7 @@ function getGlobalOnlineManager() {
|
|
|
12249
12249
|
return globalThis[kOnlineManager];
|
|
12250
12250
|
}
|
|
12251
12251
|
//#endregion
|
|
12252
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12252
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/client/parser.mjs
|
|
12253
12253
|
const PROTO_POLLUTION_PATTERNS = {
|
|
12254
12254
|
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*:/,
|
|
12255
12255
|
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*:/,
|
|
@@ -12319,7 +12319,7 @@ function parseJSON(value, options = { strict: true }) {
|
|
|
12319
12319
|
return betterJSONParse(value, options);
|
|
12320
12320
|
}
|
|
12321
12321
|
//#endregion
|
|
12322
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12322
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/client/session-refresh.mjs
|
|
12323
12323
|
const now = () => Math.floor(Date.now() / 1e3);
|
|
12324
12324
|
/**
|
|
12325
12325
|
* Normalize $fetch response: `throw: true` returns data directly, otherwise `{ data, error }`.
|
|
@@ -12517,7 +12517,7 @@ Object.freeze({
|
|
|
12517
12517
|
}
|
|
12518
12518
|
});
|
|
12519
12519
|
//#endregion
|
|
12520
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12520
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/utils/url.mjs
|
|
12521
12521
|
function checkHasPath(url) {
|
|
12522
12522
|
try {
|
|
12523
12523
|
return (new URL(url).pathname.replace(/\/+$/, "") || "/") !== "/";
|
|
@@ -12589,7 +12589,7 @@ function getOrigin(url) {
|
|
|
12589
12589
|
}
|
|
12590
12590
|
}
|
|
12591
12591
|
//#endregion
|
|
12592
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12592
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/client/fetch-plugins.mjs
|
|
12593
12593
|
const redirectPlugin = {
|
|
12594
12594
|
id: "redirect",
|
|
12595
12595
|
name: "Redirect",
|
|
@@ -12604,7 +12604,7 @@ const redirectPlugin = {
|
|
|
12604
12604
|
} }
|
|
12605
12605
|
};
|
|
12606
12606
|
//#endregion
|
|
12607
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
12607
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/client/session-atom.mjs
|
|
12608
12608
|
function getSessionAtom($fetch, options) {
|
|
12609
12609
|
const $signal = /* @__PURE__ */ atom(false);
|
|
12610
12610
|
const session = useAuthQuery($signal, "/get-session", $fetch, { method: "GET" });
|
|
@@ -13091,7 +13091,7 @@ var betterFetch = async (url, options) => {
|
|
|
13091
13091
|
};
|
|
13092
13092
|
};
|
|
13093
13093
|
//#endregion
|
|
13094
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
13094
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/client/config.mjs
|
|
13095
13095
|
const resolvePublicAuthUrl = (basePath) => {
|
|
13096
13096
|
if (typeof process === "undefined") return void 0;
|
|
13097
13097
|
const path = basePath ?? "/api/auth";
|
|
@@ -13189,12 +13189,12 @@ const getClientConfig = (options, loadEnv) => {
|
|
|
13189
13189
|
};
|
|
13190
13190
|
};
|
|
13191
13191
|
//#endregion
|
|
13192
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
13192
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/utils/is-atom.mjs
|
|
13193
13193
|
function isAtom(value) {
|
|
13194
13194
|
return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
|
|
13195
13195
|
}
|
|
13196
13196
|
//#endregion
|
|
13197
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
13197
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/client/proxy.mjs
|
|
13198
13198
|
function getMethod(path, knownPathMethods, args) {
|
|
13199
13199
|
const method = knownPathMethods[path];
|
|
13200
13200
|
const { fetchOptions, query: _query, ...body } = args || {};
|
|
@@ -13274,7 +13274,7 @@ function capitalizeFirstLetter(str) {
|
|
|
13274
13274
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
13275
13275
|
}
|
|
13276
13276
|
//#endregion
|
|
13277
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.
|
|
13277
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.22_crossws@0.4.5_srvx@0.11.15__react-dom_58aa013e967694c3ee75e7bc1076e12b/node_modules/better-auth/dist/client/vanilla.mjs
|
|
13278
13278
|
function createAuthClient(options) {
|
|
13279
13279
|
const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
|
|
13280
13280
|
const resolvedHooks = {};
|