@pluv/platform-cloudflare 0.41.0 → 0.41.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @pluv/platform-cloudflare@0.41.0 build /home/runner/work/pluv/pluv/packages/platform-cloudflare
2
+ > @pluv/platform-cloudflare@0.41.1 build /home/runner/work/pluv/pluv/packages/platform-cloudflare
3
3
  > tsup src/index.ts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,7 +9,7 @@
9
9
  CLI Target: es6
10
10
  ESM Build start
11
11
  ESM dist/index.mjs 13.90 KB
12
- ESM ⚡️ Build success in 24ms
12
+ ESM ⚡️ Build success in 52ms
13
13
  DTS Build start
14
- DTS ⚡️ Build success in 1268ms
14
+ DTS ⚡️ Build success in 1140ms
15
15
  DTS dist/index.d.mts 7.18 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @pluv/platform-cloudflare
2
2
 
3
+ ## 0.41.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 9e61e10: Fix inferred context type.
8
+ - @pluv/io@0.41.1
9
+ - @pluv/persistence-cloudflare-transactional-storage@0.41.1
10
+ - @pluv/types@0.41.1
11
+
3
12
  ## 0.41.0
4
13
 
5
14
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -114,7 +114,7 @@ declare const infer: <TEnv extends Record<string, any> = {}, TMeta extends Recor
114
114
 
115
115
  type PlatformCloudflareCreateIOParams<TEnv extends Record<string, any> = {}, TMeta extends Record<string, Json> = {}, TContext extends Record<string, any> = {}, TUser extends BaseUser | null = null> = Id<CloudflarePlatformConfig<TEnv, TMeta> & Omit<CreateIOParams<CloudflarePlatform<IOAuthorize<TUser, TContext>, TEnv, TMeta>, TContext, TUser>, "authorize" | "context" | "platform"> & {
116
116
  authorize?: PluvIOAuthorize<CloudflarePlatform<IOAuthorize<TUser, TContext>, TEnv, TMeta>, TUser, InferInitContextType<CloudflarePlatform<IOAuthorize<TUser, TContext>, TEnv, TMeta>>>;
117
- context?: PluvContext<CloudflarePlatform<IOAuthorize<TUser, TContext>, TEnv, TMeta>, TContext>;
117
+ context?: PluvContext<CloudflarePlatform<IOAuthorize<TUser, any>, TEnv, TMeta>, TContext>;
118
118
  types?: InferCallback<TEnv, TMeta>;
119
119
  }>;
120
120
  declare const platformCloudflare: <TEnv extends Record<string, any> = {}, TMeta extends Record<string, Json> = {}, TContext extends Record<string, any> = {}, TUser extends BaseUser | null = null>(config?: PlatformCloudflareCreateIOParams<TEnv, TMeta, TContext, TUser>) => CreateIOParams<CloudflarePlatform<IOAuthorize<TUser, TContext>, TEnv, TMeta>, TContext, TUser>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/platform-cloudflare",
3
- "version": "0.41.0",
3
+ "version": "0.41.1",
4
4
  "description": "@pluv/io adapter for cloudflare workers",
5
5
  "author": "leedavidcs",
6
6
  "license": "MIT",
@@ -17,17 +17,17 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "path-to-regexp": "^8.2.0",
20
- "@pluv/io": "^0.41.0",
21
- "@pluv/persistence-cloudflare-transactional-storage": "^0.41.0",
22
- "@pluv/types": "^0.41.0"
20
+ "@pluv/io": "^0.41.1",
21
+ "@pluv/persistence-cloudflare-transactional-storage": "^0.41.1",
22
+ "@pluv/types": "^0.41.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@cloudflare/workers-types": "^4.20250418.0",
26
26
  "eslint": "^9.25.0",
27
27
  "tsup": "^8.4.0",
28
28
  "typescript": "^5.8.3",
29
- "@pluv/tsconfig": "^0.41.0",
30
- "eslint-config-pluv": "^0.41.0"
29
+ "@pluv/tsconfig": "^0.41.1",
30
+ "eslint-config-pluv": "^0.41.1"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "tsup src/index.ts",
@@ -20,7 +20,7 @@ export type PlatformCloudflareCreateIOParams<
20
20
  TUser,
21
21
  InferInitContextType<CloudflarePlatform<IOAuthorize<TUser, TContext>, TEnv, TMeta>>
22
22
  >;
23
- context?: PluvContext<CloudflarePlatform<IOAuthorize<TUser, TContext>, TEnv, TMeta>, TContext>;
23
+ context?: PluvContext<CloudflarePlatform<IOAuthorize<TUser, any>, TEnv, TMeta>, TContext>;
24
24
  types?: InferCallback<TEnv, TMeta>;
25
25
  }
26
26
  >;