@cloudflare/workers-auth 0.16.0 → 0.18.0
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/cf/index.d.mts +2 -2
- package/dist/cf/index.mjs +4 -5
- package/dist/{chunk-YWQXTXOY.mjs → chunk-PCKGSFVR.mjs} +61 -21
- package/dist/{chunk-SOBRPAPT.mjs → chunk-Q5KVZMHK.mjs} +17 -9
- package/dist/index.d.mts +6 -1
- package/dist/index.mjs +1 -1
- package/dist/{keyring-preference-DGkctqNO.d.mts → keyring-preference-BUyxOJDK.d.mts} +14 -8
- package/dist/metafile-esm.json +1 -1
- package/dist/wrangler/index.d.mts +1 -1
- package/dist/wrangler/index.mjs +4 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as ConfigStorage, A as AuthConfigStorage, U as UserAuthConfig, g as OAuthFlowContext, h as ProfileStore } from '../authentication-error-DcqALFv6.mjs';
|
|
2
2
|
export { a as AuthenticationError } from '../authentication-error-DcqALFv6.mjs';
|
|
3
|
-
import { C as CliDescriptor, a as CloudflareAuth, A as AuthContext, b as CloudflareLoginProps, U as UserPreferences, K as KeyringPreferenceContext, S as SetKeyringPreferenceResult } from '../keyring-preference-
|
|
3
|
+
import { C as CliDescriptor, a as CloudflareAuth, A as AuthContext, b as CloudflareLoginProps, U as UserPreferences, K as KeyringPreferenceContext, S as SetKeyringPreferenceResult } from '../keyring-preference-BUyxOJDK.mjs';
|
|
4
4
|
import '@cloudflare/workers-utils';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/wrangler/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';
|
|
2
|
-
import { createAuthConfigFileHelpers, createPreferences, createKeyringPreference, createFileStorage, createCloudflareAuth, createCloudflareProfileStore } from '../chunk-
|
|
3
|
-
export { AuthenticationError } from '../chunk-
|
|
2
|
+
import { createAuthConfigFileHelpers, createPreferences, createKeyringPreference, createFileStorage, createCloudflareAuth, createCloudflareProfileStore } from '../chunk-PCKGSFVR.mjs';
|
|
3
|
+
export { AuthenticationError } from '../chunk-Q5KVZMHK.mjs';
|
|
4
4
|
import { __name } from '../chunk-VAZEJK55.mjs';
|
|
5
5
|
import { getEnvironmentVariableFactory, getCloudflareApiEnvironmentFromEnv, getGlobalConfigPath, configFileName } from '@cloudflare/workers-utils';
|
|
6
6
|
import path from 'node:path';
|
|
@@ -111,6 +111,8 @@ var WRANGLER_CLI = {
|
|
|
111
111
|
getConfigPath: getGlobalConfigPath,
|
|
112
112
|
getTemporaryAccountConfigPath: getTemporaryPreviewAccountConfigPath,
|
|
113
113
|
fileFormat: "toml",
|
|
114
|
+
// Preserve Wrangler's cross-invocation account selection.
|
|
115
|
+
persistAccountSelection: true,
|
|
114
116
|
accountCachePrefix: "wrangler-account",
|
|
115
117
|
getConfigFileLabel: /* @__PURE__ */ __name(() => configFileName(void 0), "getConfigFileLabel"),
|
|
116
118
|
// A getter so any reassignment of the live `DefaultScopeKeys` binding is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/workers-auth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Internal OAuth 2.0 + PKCE flow for Cloudflare CLIs. Not intended for external use — APIs may change without notice.",
|
|
5
5
|
"homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/workers-auth#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"undici": "7.30.1",
|
|
40
|
-
"@cloudflare/workers-utils": "0.
|
|
40
|
+
"@cloudflare/workers-utils": "0.53.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "22.15.17",
|