@cloudflare/workers-auth 0.9.3 → 0.9.5

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,6 +1,8 @@
1
- import '../chunk-O6YSETKJ.mjs';
1
+ import { createRequire } from 'node:module';
2
+ import '../chunk-VAZEJK55.mjs';
2
3
  import { http, HttpResponse } from 'msw';
3
4
 
5
+ createRequire(import.meta.url || (typeof __filename === "string" ? __filename : "/"));
4
6
  var mswAccessHandlers = [
5
7
  http.get("https://access-protected.com/", () => {
6
8
  return HttpResponse.json(null, {
@@ -1,5 +1,5 @@
1
- import { a as ConfigStorage, A as AuthConfigStorage, U as UserAuthConfig, f as OAuthFlowContext, g as ProfileStore } from '../file-format-Dlt3H3sW.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-B8dU564W.mjs';
1
+ import { a as ConfigStorage, A as AuthConfigStorage, U as UserAuthConfig, f as OAuthFlowContext, g as ProfileStore } from '../file-format-hS8cJZA7.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-dD49DWOI.mjs';
3
3
  import '@cloudflare/workers-utils';
4
4
 
5
5
  /**
@@ -1,9 +1,12 @@
1
- import { createAuthConfigFileHelpers, createPreferences, createKeyringPreference, createFileStorage, createCloudflareAuth, createCloudflareProfileStore } from '../chunk-V6MEAFHI.mjs';
2
- import '../chunk-WMSASLDV.mjs';
3
- import { __name } from '../chunk-O6YSETKJ.mjs';
1
+ import { createRequire } from 'node:module';
2
+ import { createAuthConfigFileHelpers, createPreferences, createKeyringPreference, createFileStorage, createCloudflareAuth, createCloudflareProfileStore } from '../chunk-VVLCNASF.mjs';
3
+ import '../chunk-FT2NMTJB.mjs';
4
+ import { __name } from '../chunk-VAZEJK55.mjs';
4
5
  import { getEnvironmentVariableFactory, getCloudflareApiEnvironmentFromEnv, getGlobalConfigPath, configFileName } from '@cloudflare/workers-utils';
5
6
  import path from 'node:path';
6
7
 
8
+ createRequire(import.meta.url || (typeof __filename === "string" ? __filename : "/"));
9
+
7
10
  // src/core/scopes.ts
8
11
  var DefaultScopes = {
9
12
  "account:read": "See your account info such as account details, analytics, and memberships.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/workers-auth",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
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": {
@@ -36,8 +36,8 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "undici": "7.29.0",
40
- "@cloudflare/workers-utils": "0.43.0"
39
+ "undici": "7.29.1",
40
+ "@cloudflare/workers-utils": "0.44.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "22.15.17",