@cloudflare/workers-auth 0.13.1 → 0.14.1
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 +4 -4
- package/dist/cf/index.mjs +13 -3
- package/dist/{chunk-NDZDTP46.mjs → chunk-2K52M2W5.mjs} +99 -62
- package/dist/{chunk-PGZZHNWG.mjs → chunk-F2REEYJC.mjs} +4 -2
- package/dist/{file-format-DDVG6IGi.d.mts → file-format-DLf_MRuS.d.mts} +5 -1
- package/dist/index.d.mts +6 -7
- package/dist/index.mjs +1 -1
- package/dist/{keyring-preference-DCQufwLw.d.mts → keyring-preference-DIwv0hwY.d.mts} +3 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/wrangler/index.d.mts +2 -2
- package/dist/wrangler/index.mjs +3 -2
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ConfigStorage, A as AuthConfigStorage, U as UserAuthConfig, f as OAuthFlowContext, g as ProfileStore } from '../file-format-
|
|
2
|
-
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-
|
|
1
|
+
import { a as ConfigStorage, A as AuthConfigStorage, U as UserAuthConfig, f as OAuthFlowContext, g as ProfileStore } from '../file-format-DLf_MRuS.mjs';
|
|
2
|
+
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-DIwv0hwY.mjs';
|
|
3
3
|
import '@cloudflare/workers-utils';
|
|
4
4
|
|
|
5
5
|
/**
|
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
|
-
import '../chunk-
|
|
2
|
+
import { createAuthConfigFileHelpers, createPreferences, createKeyringPreference, createFileStorage, createCloudflareAuth, createCloudflareProfileStore } from '../chunk-F2REEYJC.mjs';
|
|
3
|
+
import '../chunk-2K52M2W5.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';
|
|
@@ -97,6 +97,7 @@ var WRANGLER_CLI = {
|
|
|
97
97
|
displayName: WRANGLER_DISPLAY_NAME,
|
|
98
98
|
commands: {
|
|
99
99
|
login: "wrangler login",
|
|
100
|
+
logout: "wrangler logout",
|
|
100
101
|
whoami: "wrangler whoami",
|
|
101
102
|
createProfile: "wrangler auth create",
|
|
102
103
|
deviceLogin: "wrangler login --device"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/workers-auth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.1",
|
|
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,11 +37,11 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"undici": "7.29.1",
|
|
40
|
-
"@cloudflare/workers-utils": "0.47.
|
|
40
|
+
"@cloudflare/workers-utils": "0.47.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "22.15.17",
|
|
44
|
-
"@vitest/ui": "
|
|
44
|
+
"@vitest/ui": "5.0.4",
|
|
45
45
|
"concurrently": "^8.2.2",
|
|
46
46
|
"date-fns": "^4.1.0",
|
|
47
47
|
"msw": "2.14.6",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"ts-dedent": "^2.2.0",
|
|
50
50
|
"tsup": "8.3.0",
|
|
51
51
|
"typescript": "5.8.3",
|
|
52
|
-
"vitest": "
|
|
52
|
+
"vitest": "5.0.4",
|
|
53
53
|
"@cloudflare/workers-tsconfig": "0.0.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"msw": "2.14.6",
|
|
57
|
-
"vitest": "^4.1.0"
|
|
57
|
+
"vitest": "^4.1.0 || ^5.0.0"
|
|
58
58
|
},
|
|
59
59
|
"peerDependenciesMeta": {
|
|
60
60
|
"msw": {
|