@reventlessdev/reventless-local 3.0.0-alpha.257 → 3.0.0-alpha.259

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 3.0.0-alpha.259 (2026-09-21)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **deps:** update rescript to 12.3.1 ([ea1ce37](https://github.com/ReventlessDev/reventless-core/commit/ea1ce377297640f6d0d360e6c84c778d59ecbcc5))
11
+ * **deps:** update sury to 11.0.0 ([8715b22](https://github.com/ReventlessDev/reventless-core/commit/8715b22b33856c46ba57518aad151065c123a995))
12
+
13
+
14
+ # 3.0.0-alpha.258 (2026-09-21)
15
+
16
+ **Note:** Version bump only for package @reventlessdev/reventless-local
17
+
18
+
19
+
20
+
21
+
6
22
  # 3.0.0-alpha.257 (2026-09-21)
7
23
 
8
24
  ### Bug Fixes
package/README.md CHANGED
@@ -64,7 +64,7 @@ Then register it as a ReScript dependency in `rescript.json`:
64
64
  }
65
65
  ```
66
66
 
67
- Requires ReScript `^12.3.0` (peer dependency).
67
+ Requires ReScript `^12.3.1` (peer dependency).
68
68
 
69
69
  ## Links
70
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-local",
3
- "version": "3.0.0-alpha.257",
3
+ "version": "3.0.0-alpha.259",
4
4
  "description": "Local platform for Reventless (in-memory or SQLite backend, for development and testing without AWS)",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
@@ -32,29 +32,29 @@
32
32
  "graphql": "^16.13.2",
33
33
  "graphql-ws": "^5.16.0",
34
34
  "graphql-yoga": "^5.21.0",
35
- "sury": "11.0.0-rc.2",
35
+ "sury": "11.0.0",
36
36
  "ws": "^8.18.0",
37
- "@reventlessdev/rescript-effect": "0.1.0-alpha.33",
38
- "@reventlessdev/rescript-graphql-yoga": "1.0.0-alpha.28",
39
- "@reventlessdev/rescript-jest": "1.0.0-alpha.10",
40
- "@reventlessdev/rescript-mcp-sdk": "1.0.0-alpha.22",
41
- "@reventlessdev/rescript-node": "2.0.0-alpha.12",
42
- "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.21",
43
- "@reventlessdev/reventless-core": "3.0.0-alpha.267",
44
- "@reventlessdev/reventless-graphql-server": "1.0.0-alpha.115",
45
- "@reventlessdev/reventless-gwt": "1.0.0-alpha.214",
46
- "@reventlessdev/reventless-seed": "1.0.0-alpha.23",
47
- "@reventlessdev/reventless-infra": "3.0.0-alpha.168",
48
- "@reventlessdev/reventless-postgres": "3.0.0-alpha.131",
49
- "@reventlessdev/reventless-spec": "3.0.0-alpha.140"
37
+ "@reventlessdev/rescript-graphql-yoga": "1.0.0-alpha.29",
38
+ "@reventlessdev/rescript-jest": "1.0.0-alpha.11",
39
+ "@reventlessdev/rescript-mcp-sdk": "1.0.0-alpha.23",
40
+ "@reventlessdev/rescript-effect": "0.1.0-alpha.34",
41
+ "@reventlessdev/rescript-node": "2.0.0-alpha.13",
42
+ "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.22",
43
+ "@reventlessdev/reventless-core": "3.0.0-alpha.269",
44
+ "@reventlessdev/reventless-graphql-server": "1.0.0-alpha.117",
45
+ "@reventlessdev/reventless-gwt": "1.0.0-alpha.216",
46
+ "@reventlessdev/reventless-infra": "3.0.0-alpha.169",
47
+ "@reventlessdev/reventless-seed": "1.0.0-alpha.24",
48
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.141",
49
+ "@reventlessdev/reventless-postgres": "3.0.0-alpha.133"
50
50
  },
51
51
  "devDependencies": {
52
- "rescript": "12.3.0",
53
- "sury-ppx": "11.0.0-rc.2",
52
+ "rescript": "12.3.1",
53
+ "sury-ppx": "11.0.0",
54
54
  "@reventlessdev/reventless-ppx": "1.0.0-alpha.81"
55
55
  },
56
56
  "peerDependencies": {
57
- "rescript": "12.3.0"
57
+ "rescript": "^12.3.1"
58
58
  },
59
59
  "publishConfig": {
60
60
  "registry": "https://registry.npmjs.org"
@@ -16,13 +16,13 @@ let storeSchema = Sury.$schema(s => ({
16
16
 
17
17
  let entrySchema = Sury.$schema(s => ({
18
18
  app: s.m(Sury.string),
19
- port: s.m(Sury.int),
20
- pid: s.m(Sury.int),
19
+ port: s.m(Sury.int32),
20
+ pid: s.m(Sury.int32),
21
21
  endpoint: s.m(Sury.string),
22
22
  loginEndpoint: s.m(Sury.string),
23
23
  store: s.m(storeSchema),
24
24
  startedAt: s.m(Sury.string),
25
- tapPort: s.m(Sury.$option(Sury.int))
25
+ tapPort: s.m(Sury.$option(Sury.int32))
26
26
  }));
27
27
 
28
28
  function runningDir(cwdOpt, param) {
@@ -1,6 +1,6 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
- import * as S from "sury/src/S.res.mjs";
3
+ import * as Sury from "sury";
4
4
  import * as Stream from "@reventlessdev/rescript-effect/src/Stream.res.mjs";
5
5
  import * as NodeCrypto from "@reventlessdev/rescript-node/src/NodeCrypto.res.mjs";
6
6
  import * as Stdlib_Int from "@rescript/runtime/lib/es6/Stdlib_Int.js";
@@ -1478,7 +1478,7 @@ function MakeWithConfig(Config) {
1478
1478
  items.forEach(item => {
1479
1479
  let state;
1480
1480
  try {
1481
- state = S.parseOrThrow(item, UiFragments$ReventlessCore.stateSchema);
1481
+ state = Sury.parseOrThrow(item, UiFragments$ReventlessCore.stateSchema);
1482
1482
  } catch (exn) {
1483
1483
  return;
1484
1484
  }
@@ -1797,7 +1797,7 @@ function MakeWithConfig(Config) {
1797
1797
  return Stdlib_Array.filterMap(items, item => {
1798
1798
  let state;
1799
1799
  try {
1800
- state = S.parseOrThrow(item, UiFragments$ReventlessCore.stateSchema);
1800
+ state = Sury.parseOrThrow(item, UiFragments$ReventlessCore.stateSchema);
1801
1801
  } catch (exn) {
1802
1802
  return;
1803
1803
  }
@@ -3226,7 +3226,7 @@ function Make($star) {
3226
3226
  items.forEach(item => {
3227
3227
  let state;
3228
3228
  try {
3229
- state = S.parseOrThrow(item, UiFragments$ReventlessCore.stateSchema);
3229
+ state = Sury.parseOrThrow(item, UiFragments$ReventlessCore.stateSchema);
3230
3230
  } catch (exn) {
3231
3231
  return;
3232
3232
  }
@@ -3536,7 +3536,7 @@ function Make($star) {
3536
3536
  return Stdlib_Array.filterMap(items, item => {
3537
3537
  let state;
3538
3538
  try {
3539
- state = S.parseOrThrow(item, UiFragments$ReventlessCore.stateSchema);
3539
+ state = Sury.parseOrThrow(item, UiFragments$ReventlessCore.stateSchema);
3540
3540
  } catch (exn) {
3541
3541
  return;
3542
3542
  }
@@ -1,6 +1,6 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
- import * as S from "sury/src/S.res.mjs";
3
+ import * as Sury from "sury";
4
4
  import * as Nodefs from "node:fs";
5
5
  import * as Nodepath from "node:path";
6
6
  import * as Nodecrypto from "node:crypto";
@@ -240,7 +240,7 @@ function verifyAndDecode(token) {
240
240
  if (match !== undefined && match$1 !== undefined && _sign(match) === match$1) {
241
241
  return Stdlib_Option.flatMap(_b64urlDecode(match), json => {
242
242
  try {
243
- return S.parseOrThrow(JSON.parse(json), Identity$Reventless.schema);
243
+ return Sury.parseOrThrow(JSON.parse(json), Identity$Reventless.schema);
244
244
  } catch (exn) {
245
245
  return;
246
246
  }
@@ -1,7 +1,7 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
- import * as S from "sury/src/S.res.mjs";
4
3
  import * as Http from "http";
4
+ import * as Sury from "sury";
5
5
  import * as Stdlib_JsExn from "@rescript/runtime/lib/es6/Stdlib_JsExn.js";
6
6
  import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js";
7
7
  import * as McpSdk_Helpers from "@reventlessdev/rescript-mcp-sdk/src/McpSdk_Helpers.res.mjs";
@@ -110,7 +110,7 @@ function extractIdentity(req) {
110
110
  let headers = req.headers;
111
111
  let json = headers["x-identity"];
112
112
  if (json !== undefined) {
113
- return S.parseOrThrow(JSON.parse(json), Identity$Reventless.schema);
113
+ return Sury.parseOrThrow(JSON.parse(json), Identity$Reventless.schema);
114
114
  } else {
115
115
  return Identity$Reventless.anonymous;
116
116
  }
@@ -1,7 +1,7 @@
1
1
  // Generated by ReScript, PLEASE EDIT WITH CARE
2
2
 
3
- import * as S from "sury/src/S.res.mjs";
4
3
  import * as Http from "http";
4
+ import * as Sury from "sury";
5
5
  import * as Stdlib_JsExn from "@rescript/runtime/lib/es6/Stdlib_JsExn.js";
6
6
  import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js";
7
7
  import * as McpSdk_Helpers from "@reventlessdev/rescript-mcp-sdk/src/McpSdk_Helpers.res.mjs";
@@ -102,7 +102,7 @@ function make(labelOpt) {
102
102
  let headers = req.headers;
103
103
  let json = headers["x-identity"];
104
104
  if (json !== undefined) {
105
- return S.parseOrThrow(JSON.parse(json), Identity$Reventless.schema);
105
+ return Sury.parseOrThrow(JSON.parse(json), Identity$Reventless.schema);
106
106
  } else {
107
107
  return Identity$Reventless.anonymous;
108
108
  }
@@ -18,21 +18,21 @@ TestRunner$ReventlessLocal.setup();
18
18
 
19
19
  let stringSchema = Sury.string;
20
20
 
21
- let numberSchema = Sury.float;
21
+ let numberSchema = Sury.number;
22
22
 
23
- let boolSchema = Sury.bool;
23
+ let boolSchema = Sury.boolean;
24
24
 
25
25
  let testStateSchema = Sury.$schema(s => ({
26
26
  id: s.m(DcbTag$Reventless.string),
27
27
  name: s.m(Sury.string),
28
- price: s.m(Sury.float),
29
- active: s.m(Sury.bool)
28
+ price: s.m(Sury.number),
29
+ active: s.m(Sury.boolean)
30
30
  }));
31
31
 
32
32
  let svStateSchema = Sury.$schema(s => ({
33
33
  productId: s.m(DcbTag$Reventless.string),
34
34
  name: s.m(Sury.string),
35
- price: s.m(Sury.float)
35
+ price: s.m(Sury.number)
36
36
  }));
37
37
 
38
38
  let sourceKindSchema = Sury.union([
@@ -76,12 +76,12 @@ let dcbMultiCommandSchema = Sury.union([
76
76
  TAG: "SyncNewProduct",
77
77
  productId: s.m(DcbTag$Reventless.string),
78
78
  name: s.m(Sury.string),
79
- price: s.m(Sury.float)
79
+ price: s.m(Sury.number)
80
80
  })),
81
81
  Sury.$schema(s => ({
82
82
  TAG: "ChangeSyncedPrice",
83
83
  productId: s.m(DcbTag$Reventless.string),
84
- price: s.m(Sury.float)
84
+ price: s.m(Sury.number)
85
85
  }))
86
86
  ]);
87
87
 
@@ -34,8 +34,8 @@ let geolocationSchema = Sury.union([
34
34
  })),
35
35
  Sury.$schema(s => ({
36
36
  TAG: "Located",
37
- lat: s.m(Sury.float),
38
- lng: s.m(Sury.float)
37
+ lat: s.m(Sury.number),
38
+ lng: s.m(Sury.number)
39
39
  }))
40
40
  ]);
41
41
 
@@ -25,7 +25,7 @@ TestRunner$ReventlessLocal.setup();
25
25
  let productRowSchema = Sury.$schema(s => ({
26
26
  productId: s.m(Sury.string),
27
27
  name: s.m(Sury.string),
28
- archived: s.m(Sury.bool)
28
+ archived: s.m(Sury.boolean)
29
29
  }));
30
30
 
31
31
  let orderRowSchema = Sury.$schema(s => ({
@@ -26,8 +26,8 @@ let geolocationSchema = Sury.union([
26
26
  })),
27
27
  Sury.$schema(s => ({
28
28
  TAG: "Located",
29
- lat: s.m(Sury.float),
30
- lng: s.m(Sury.float)
29
+ lat: s.m(Sury.number),
30
+ lng: s.m(Sury.number)
31
31
  })),
32
32
  Sury.$schema(s => ({
33
33
  TAG: "Unresolvable",
@@ -55,7 +55,7 @@ let moduleUrl = import.meta.url;
55
55
  let todoItemSchema = Sury.$schema(s => ({
56
56
  orderId: s.m(Sury.string),
57
57
  productId: s.m(Sury.string),
58
- fromAggregate: s.m(Sury.bool)
58
+ fromAggregate: s.m(Sury.boolean)
59
59
  }));
60
60
 
61
61
  let commandSchema = Sury.$schema(s => ({
@@ -14,7 +14,7 @@ let eventSchema = Sury.union([
14
14
  Sury.$schema(s => ({
15
15
  TAG: "PaymentReceived",
16
16
  orderId: s.m(DcbTag$Reventless.string),
17
- amount: s.m(Sury.float)
17
+ amount: s.m(Sury.number)
18
18
  }))
19
19
  ]);
20
20
 
@@ -89,12 +89,12 @@ let moduleUrl$2 = import.meta.url;
89
89
  let consumedEventSchema$1 = Sury.$schema(s => ({
90
90
  TAG: "PaymentReceived",
91
91
  orderId: s.m(Sury.string),
92
- amount: s.m(Sury.float)
92
+ amount: s.m(Sury.number)
93
93
  }));
94
94
 
95
95
  let outboundItemSchema$1 = Sury.$schema(s => ({
96
96
  orderId: s.m(Sury.string),
97
- amount: s.m(Sury.float)
97
+ amount: s.m(Sury.number)
98
98
  }));
99
99
 
100
100
  let inboundCommandSchema$1 = Sury.$schema(s => ({
@@ -15,7 +15,7 @@ let moduleUrl = import.meta.url;
15
15
 
16
16
  let stateSchema = Sury.$schema(s => ({
17
17
  name: s.m(Sury.string),
18
- count: s.m(Sury.int)
18
+ count: s.m(Sury.int32)
19
19
  }));
20
20
 
21
21
  let config = ReadModel$Reventless.config(undefined, undefined, undefined);
@@ -17,7 +17,7 @@ let stateSchema = Sury.$schema(s => ({
17
17
  userId: s.m(Sury.string),
18
18
  region: s.m(Sury.string),
19
19
  date: s.m(Sury.string),
20
- value: s.m(Sury.float)
20
+ value: s.m(Sury.number)
21
21
  }));
22
22
 
23
23
  let config = ReadModel$Reventless.config(undefined, undefined, undefined);
@@ -20,7 +20,7 @@ let eventSchema = Sury.union([
20
20
  id: s.m(DcbTag$Reventless.string),
21
21
  category: s.m(Sury.string),
22
22
  date: s.m(Sury.string),
23
- score: s.m(Sury.int)
23
+ score: s.m(Sury.int32)
24
24
  })),
25
25
  Sury.$schema(s => ({
26
26
  TAG: "ScoreRemoved",
@@ -44,7 +44,7 @@ let consumedEventSchema = Sury.union([
44
44
  id: s.m(Sury.string),
45
45
  category: s.m(Sury.string),
46
46
  date: s.m(Sury.string),
47
- score: s.m(Sury.int)
47
+ score: s.m(Sury.int32)
48
48
  })),
49
49
  Sury.$schema(s => ({
50
50
  TAG: "ScoreRemoved",
@@ -58,7 +58,7 @@ let stateSchema = Sury.$schema(s => ({
58
58
  id: s.m(Sury.string),
59
59
  category: s.m(Sury.string),
60
60
  date: s.m(Sury.string),
61
- score: s.m(Sury.int)
61
+ score: s.m(Sury.int32)
62
62
  }));
63
63
 
64
64
  let config = ReadModel$Reventless.config(undefined, undefined, undefined);