@cloudflare/workers-auth 0.9.5 → 0.10.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.
@@ -15,6 +15,8 @@ declare const readAuthConfigFile: (profile?: string) => UserAuthConfig | undefin
15
15
  declare const writeAuthConfigFile: (config: UserAuthConfig, profile?: string) => void;
16
16
 
17
17
  declare const DefaultScopes: {
18
+ readonly "k2.read": "See K2 stream configurations and bind existing streams to Workers.";
19
+ readonly "k2.write": "Create and manage K2 stream configurations.";
18
20
  readonly "account:read": "See your account info such as account details, analytics, and memberships.";
19
21
  readonly "user:read": "See your user info such as name, email address, and account memberships.";
20
22
  readonly "workers:write": "See and change Cloudflare Workers data such as zones, KV storage, namespaces, scripts, and routes.";
@@ -9,6 +9,8 @@ createRequire(import.meta.url || (typeof __filename === "string" ? __filename :
9
9
 
10
10
  // src/core/scopes.ts
11
11
  var DefaultScopes = {
12
+ "k2.read": "See K2 stream configurations and bind existing streams to Workers.",
13
+ "k2.write": "Create and manage K2 stream configurations.",
12
14
  "account:read": "See your account info such as account details, analytics, and memberships.",
13
15
  "user:read": "See your user info such as name, email address, and account memberships.",
14
16
  "workers:write": "See and change Cloudflare Workers data such as zones, KV storage, namespaces, scripts, and routes.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/workers-auth",
3
- "version": "0.9.5",
3
+ "version": "0.10.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.44.0"
40
+ "@cloudflare/workers-utils": "0.45.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "22.15.17",