@pluv/platform-cloudflare 2.1.0 → 2.2.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
1
 
2
- > @pluv/platform-cloudflare@2.1.0 build /home/runner/work/pluv/pluv/packages/platform-cloudflare
2
+ > @pluv/platform-cloudflare@2.2.0 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 14.01 KB
12
- ESM ⚡️ Build success in 32ms
12
+ ESM ⚡️ Build success in 48ms
13
13
  DTS Build start
14
- DTS ⚡️ Build success in 1200ms
14
+ DTS ⚡️ Build success in 1144ms
15
15
  DTS dist/index.d.mts 7.31 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @pluv/platform-cloudflare
2
2
 
3
+ ## 2.2.0
4
+
5
+ ### Patch Changes
6
+
7
+ - cb660cd: Fixed multiple Cloudflare Worker Durable Objects sharing references to the same I/O methods.
8
+ - Updated dependencies [cb660cd]
9
+ - @pluv/io@2.2.0
10
+ - @pluv/persistence-cloudflare-transactional-storage@2.2.0
11
+ - @pluv/types@2.2.0
12
+
3
13
  ## 2.1.0
4
14
 
5
15
  ### Patch Changes
package/dist/index.mjs CHANGED
@@ -399,7 +399,7 @@ var platformCloudflare = (config = {}) => {
399
399
  crdt,
400
400
  debug,
401
401
  limits,
402
- platform: new CloudflarePlatform(config)
402
+ platform: () => new CloudflarePlatform(config)
403
403
  };
404
404
  };
405
405
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/platform-cloudflare",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
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/persistence-cloudflare-transactional-storage": "^2.1.0",
21
- "@pluv/io": "^2.1.0",
22
- "@pluv/types": "^2.1.0"
20
+ "@pluv/io": "^2.2.0",
21
+ "@pluv/persistence-cloudflare-transactional-storage": "^2.2.0",
22
+ "@pluv/types": "^2.2.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@cloudflare/workers-types": "^4.20250510.0",
25
+ "@cloudflare/workers-types": "^4.20250515.0",
26
26
  "eslint": "^9.26.0",
27
27
  "tsup": "^8.4.0",
28
28
  "typescript": "^5.8.3",
29
- "@pluv/tsconfig": "^2.1.0",
30
- "eslint-config-pluv": "^2.1.0"
29
+ "eslint-config-pluv": "^2.2.0",
30
+ "@pluv/tsconfig": "^2.2.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "tsup src/index.ts",
@@ -52,6 +52,6 @@ export const platformCloudflare = <
52
52
  crdt,
53
53
  debug,
54
54
  limits,
55
- platform: new CloudflarePlatform<IOAuthorize<TUser, TContext>, TEnv, TMeta>(config),
55
+ platform: () => new CloudflarePlatform<IOAuthorize<TUser, TContext>, TEnv, TMeta>(config),
56
56
  };
57
57
  };