@pluv/platform-cloudflare 0.42.0 → 0.44.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@0.42.0 build /home/runner/work/pluv/pluv/packages/platform-cloudflare
2
+ > @pluv/platform-cloudflare@0.44.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
@@ -8,8 +8,8 @@
8
8
  CLI Using tsup config: /home/runner/work/pluv/pluv/packages/platform-cloudflare/tsup.config.ts
9
9
  CLI Target: es6
10
10
  ESM Build start
11
- ESM dist/index.mjs 13.89 KB
12
- ESM ⚡️ Build success in 31ms
11
+ ESM dist/index.mjs 13.91 KB
12
+ ESM ⚡️ Build success in 26ms
13
13
  DTS Build start
14
- DTS ⚡️ Build success in 1067ms
14
+ DTS ⚡️ Build success in 1083ms
15
15
  DTS dist/index.d.mts 7.31 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @pluv/platform-cloudflare
2
2
 
3
+ ## 0.44.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @pluv/io@0.44.0
8
+ - @pluv/persistence-cloudflare-transactional-storage@0.44.0
9
+ - @pluv/types@0.44.0
10
+
11
+ ## 0.43.0
12
+
13
+ ### Patch Changes
14
+
15
+ - 29fe3fc: Update `platformNode` and `platformCloudflare` to be able to configure limits for `PluvIO` (when self-hosted).
16
+ - Updated dependencies [e60a677]
17
+ - Updated dependencies [0063e80]
18
+ - Updated dependencies [244a973]
19
+ - Updated dependencies [4b0fbb3]
20
+ - @pluv/io@0.43.0
21
+ - @pluv/persistence-cloudflare-transactional-storage@0.43.0
22
+ - @pluv/types@0.43.0
23
+
3
24
  ## 0.42.0
4
25
 
5
26
  ### Minor Changes
package/dist/index.mjs CHANGED
@@ -378,12 +378,13 @@ var CloudflarePlatform = class _CloudflarePlatform extends AbstractPlatform {
378
378
 
379
379
  // src/platformCloudflare.ts
380
380
  var platformCloudflare = (config = {}) => {
381
- const { authorize, context, crdt, debug } = config;
381
+ const { authorize, context, crdt, debug, limits } = config;
382
382
  return {
383
383
  authorize,
384
384
  context,
385
385
  crdt,
386
386
  debug,
387
+ limits,
387
388
  platform: new CloudflarePlatform(config)
388
389
  };
389
390
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/platform-cloudflare",
3
- "version": "0.42.0",
3
+ "version": "0.44.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/io": "^0.42.0",
21
- "@pluv/persistence-cloudflare-transactional-storage": "^0.42.0",
22
- "@pluv/types": "^0.42.0"
20
+ "@pluv/persistence-cloudflare-transactional-storage": "^0.44.0",
21
+ "@pluv/types": "^0.44.0",
22
+ "@pluv/io": "^0.44.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@cloudflare/workers-types": "^4.20250427.0",
25
+ "@cloudflare/workers-types": "^4.20250428.0",
26
26
  "eslint": "^9.25.1",
27
27
  "tsup": "^8.4.0",
28
28
  "typescript": "^5.8.3",
29
- "eslint-config-pluv": "^0.42.0",
30
- "@pluv/tsconfig": "^0.42.0"
29
+ "@pluv/tsconfig": "^0.44.0",
30
+ "eslint-config-pluv": "^0.44.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "tsup src/index.ts",
@@ -33,13 +33,14 @@ export const platformCloudflare = <
33
33
  >(
34
34
  config: PlatformCloudflareCreateIOParams<TEnv, TMeta, TContext, TUser> = {},
35
35
  ): CreateIOParams<CloudflarePlatform<IOAuthorize<TUser, TContext>, TEnv, TMeta>, TContext, TUser> => {
36
- const { authorize, context, crdt, debug } = config;
36
+ const { authorize, context, crdt, debug, limits } = config;
37
37
 
38
38
  return {
39
39
  authorize,
40
40
  context,
41
41
  crdt,
42
42
  debug,
43
+ limits,
43
44
  platform: new CloudflarePlatform<IOAuthorize<TUser, TContext>, TEnv, TMeta>(config),
44
45
  };
45
46
  };