@keystrokehq/cli 0.0.177 → 0.0.179
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 +18 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1700,7 +1700,7 @@ function createJwtTokenCache(mint) {
|
|
|
1700
1700
|
};
|
|
1701
1701
|
}
|
|
1702
1702
|
//#endregion
|
|
1703
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
1703
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/version.mjs
|
|
1704
1704
|
const PACKAGE_VERSION = "1.6.11";
|
|
1705
1705
|
//#endregion
|
|
1706
1706
|
//#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.4.3/node_modules/better-call/dist/error.mjs
|
|
@@ -1815,7 +1815,7 @@ var InternalAPIError = class extends Error {
|
|
|
1815
1815
|
};
|
|
1816
1816
|
makeErrorForHideStackFrame(InternalAPIError, Error);
|
|
1817
1817
|
//#endregion
|
|
1818
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.6.11_@better-auth+utils@0.4.0_@better-fetch+fetch@1.1.
|
|
1818
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.6.11_@better-auth+utils@0.4.0_@better-fetch+fetch@1.1.21_@opentelem_3f357e8652888625f393bee0c48e5205/node_modules/@better-auth/core/dist/error/index.mjs
|
|
1819
1819
|
var BetterAuthError = class extends Error {
|
|
1820
1820
|
constructor(message, options) {
|
|
1821
1821
|
super(message, options);
|
|
@@ -1825,7 +1825,7 @@ var BetterAuthError = class extends Error {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
};
|
|
1827
1827
|
//#endregion
|
|
1828
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
1828
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/plugins/device-authorization/client.mjs
|
|
1829
1829
|
const deviceAuthorizationClient = () => {
|
|
1830
1830
|
return {
|
|
1831
1831
|
id: "device-authorization",
|
|
@@ -1970,7 +1970,7 @@ let onMount = ($store, initialize) => {
|
|
|
1970
1970
|
});
|
|
1971
1971
|
};
|
|
1972
1972
|
//#endregion
|
|
1973
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
1973
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/client/query.mjs
|
|
1974
1974
|
const isServer = () => typeof window === "undefined";
|
|
1975
1975
|
const useAuthQuery = (initializedAtom, path, $fetch, options) => {
|
|
1976
1976
|
const value = /* @__PURE__ */ atom({
|
|
@@ -2064,7 +2064,7 @@ const useAuthQuery = (initializedAtom, path, $fetch, options) => {
|
|
|
2064
2064
|
return value;
|
|
2065
2065
|
};
|
|
2066
2066
|
//#endregion
|
|
2067
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
2067
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/client/broadcast-channel.mjs
|
|
2068
2068
|
const kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
|
|
2069
2069
|
const now$1 = () => Math.floor(Date.now() / 1e3);
|
|
2070
2070
|
var WindowBroadcastChannel = class {
|
|
@@ -2107,7 +2107,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
|
|
|
2107
2107
|
return globalThis[kBroadcastChannel];
|
|
2108
2108
|
}
|
|
2109
2109
|
//#endregion
|
|
2110
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
2110
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/client/focus-manager.mjs
|
|
2111
2111
|
const kFocusManager = Symbol.for("better-auth:focus-manager");
|
|
2112
2112
|
var WindowFocusManager = class {
|
|
2113
2113
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -2136,7 +2136,7 @@ function getGlobalFocusManager() {
|
|
|
2136
2136
|
return globalThis[kFocusManager];
|
|
2137
2137
|
}
|
|
2138
2138
|
//#endregion
|
|
2139
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
2139
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/client/online-manager.mjs
|
|
2140
2140
|
const kOnlineManager = Symbol.for("better-auth:online-manager");
|
|
2141
2141
|
var WindowOnlineManager = class {
|
|
2142
2142
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -2168,7 +2168,7 @@ function getGlobalOnlineManager() {
|
|
|
2168
2168
|
return globalThis[kOnlineManager];
|
|
2169
2169
|
}
|
|
2170
2170
|
//#endregion
|
|
2171
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
2171
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/client/parser.mjs
|
|
2172
2172
|
const PROTO_POLLUTION_PATTERNS = {
|
|
2173
2173
|
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*:/,
|
|
2174
2174
|
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*:/,
|
|
@@ -2238,7 +2238,7 @@ function parseJSON(value, options = { strict: true }) {
|
|
|
2238
2238
|
return betterJSONParse(value, options);
|
|
2239
2239
|
}
|
|
2240
2240
|
//#endregion
|
|
2241
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
2241
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/client/session-refresh.mjs
|
|
2242
2242
|
const now = () => Math.floor(Date.now() / 1e3);
|
|
2243
2243
|
/**
|
|
2244
2244
|
* Normalize $fetch response: `throw: true` returns data directly, otherwise `{ data, error }`.
|
|
@@ -2376,7 +2376,7 @@ function createSessionRefreshManager(opts) {
|
|
|
2376
2376
|
};
|
|
2377
2377
|
}
|
|
2378
2378
|
//#endregion
|
|
2379
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.6.11_@better-auth+utils@0.4.0_@better-fetch+fetch@1.1.
|
|
2379
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.6.11_@better-auth+utils@0.4.0_@better-fetch+fetch@1.1.21_@opentelem_3f357e8652888625f393bee0c48e5205/node_modules/@better-auth/core/dist/env/env-impl.mjs
|
|
2380
2380
|
const _envShim = Object.create(null);
|
|
2381
2381
|
const _getEnv = (useShim) => globalThis.process?.env || globalThis.Deno?.env.toObject() || globalThis.__env__ || (useShim ? _envShim : globalThis);
|
|
2382
2382
|
const env = new Proxy(_envShim, {
|
|
@@ -2436,7 +2436,7 @@ Object.freeze({
|
|
|
2436
2436
|
}
|
|
2437
2437
|
});
|
|
2438
2438
|
//#endregion
|
|
2439
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
2439
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/utils/url.mjs
|
|
2440
2440
|
function checkHasPath(url) {
|
|
2441
2441
|
try {
|
|
2442
2442
|
return (new URL(url).pathname.replace(/\/+$/, "") || "/") !== "/";
|
|
@@ -2508,7 +2508,7 @@ function getOrigin(url) {
|
|
|
2508
2508
|
}
|
|
2509
2509
|
}
|
|
2510
2510
|
//#endregion
|
|
2511
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
2511
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/client/fetch-plugins.mjs
|
|
2512
2512
|
const redirectPlugin = {
|
|
2513
2513
|
id: "redirect",
|
|
2514
2514
|
name: "Redirect",
|
|
@@ -2523,7 +2523,7 @@ const redirectPlugin = {
|
|
|
2523
2523
|
} }
|
|
2524
2524
|
};
|
|
2525
2525
|
//#endregion
|
|
2526
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
2526
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/client/session-atom.mjs
|
|
2527
2527
|
function getSessionAtom($fetch, options) {
|
|
2528
2528
|
const $signal = /* @__PURE__ */ atom(false);
|
|
2529
2529
|
const session = useAuthQuery($signal, "/get-session", $fetch, { method: "GET" });
|
|
@@ -3010,7 +3010,7 @@ var betterFetch = async (url, options) => {
|
|
|
3010
3010
|
};
|
|
3011
3011
|
};
|
|
3012
3012
|
//#endregion
|
|
3013
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
3013
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/client/config.mjs
|
|
3014
3014
|
const resolvePublicAuthUrl = (basePath) => {
|
|
3015
3015
|
if (typeof process === "undefined") return void 0;
|
|
3016
3016
|
const path = basePath ?? "/api/auth";
|
|
@@ -3108,12 +3108,12 @@ const getClientConfig = (options, loadEnv) => {
|
|
|
3108
3108
|
};
|
|
3109
3109
|
};
|
|
3110
3110
|
//#endregion
|
|
3111
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
3111
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/utils/is-atom.mjs
|
|
3112
3112
|
function isAtom(value) {
|
|
3113
3113
|
return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
|
|
3114
3114
|
}
|
|
3115
3115
|
//#endregion
|
|
3116
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
3116
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/client/proxy.mjs
|
|
3117
3117
|
function getMethod(path, knownPathMethods, args) {
|
|
3118
3118
|
const method = knownPathMethods[path];
|
|
3119
3119
|
const { fetchOptions, query: _query, ...body } = args || {};
|
|
@@ -3188,12 +3188,12 @@ function createDynamicPathProxy(routes, client, knownPathMethods, atoms, atomLis
|
|
|
3188
3188
|
return createProxy();
|
|
3189
3189
|
}
|
|
3190
3190
|
//#endregion
|
|
3191
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.6.11_@better-auth+utils@0.4.0_@better-fetch+fetch@1.1.
|
|
3191
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.6.11_@better-auth+utils@0.4.0_@better-fetch+fetch@1.1.21_@opentelem_3f357e8652888625f393bee0c48e5205/node_modules/@better-auth/core/dist/utils/string.mjs
|
|
3192
3192
|
function capitalizeFirstLetter(str) {
|
|
3193
3193
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
3194
3194
|
}
|
|
3195
3195
|
//#endregion
|
|
3196
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@tanstack+react-start@1.168.25_crossws@0.4.
|
|
3196
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.25_crossws@0.4._0c1072578fd2732837c26a655dd07a9b/node_modules/better-auth/dist/client/vanilla.mjs
|
|
3197
3197
|
function createAuthClient(options) {
|
|
3198
3198
|
const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
|
|
3199
3199
|
const resolvedHooks = {};
|