@cloudflare/workers-auth 0.13.1 → 0.14.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.
@@ -1,5 +1,5 @@
1
- import { a as ConfigStorage, A as AuthConfigStorage, U as UserAuthConfig, f as OAuthFlowContext, g as ProfileStore } from '../file-format-DDVG6IGi.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-DCQufwLw.mjs';
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
  /**
@@ -1,6 +1,6 @@
1
1
  import { createRequire } from 'node:module';
2
- import { createAuthConfigFileHelpers, createPreferences, createKeyringPreference, createFileStorage, createCloudflareAuth, createCloudflareProfileStore } from '../chunk-PGZZHNWG.mjs';
3
- import '../chunk-NDZDTP46.mjs';
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.13.1",
3
+ "version": "0.14.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.29.1",
40
- "@cloudflare/workers-utils": "0.47.1"
40
+ "@cloudflare/workers-utils": "0.47.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "22.15.17",