@reventlessdev/reventless-aws 3.0.0-alpha.351 → 3.0.0-alpha.353

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.353 (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.352 (2026-09-21)
15
+
16
+ **Note:** Version bump only for package @reventlessdev/reventless-aws
17
+
18
+
19
+
20
+
21
+
6
22
  # 3.0.0-alpha.351 (2026-09-21)
7
23
 
8
24
  * feat(spec)!: typed projection keys ([fc6a018](https://github.com/ReventlessDev/reventless-core/commit/fc6a01811ba788f3289e84a435a09f77fa627e1a))
package/README.md CHANGED
@@ -76,7 +76,7 @@ Then register it as a ReScript dependency in `rescript.json`:
76
76
  }
77
77
  ```
78
78
 
79
- Requires ReScript `^12.3.0` (peer dependency).
79
+ Requires ReScript `^12.3.1` (peer dependency).
80
80
 
81
81
  ## Links
82
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-aws",
3
- "version": "3.0.0-alpha.351",
3
+ "version": "3.0.0-alpha.353",
4
4
  "description": "AWS adapters for Reventless",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
@@ -17,29 +17,29 @@
17
17
  "@aws-sdk/client-location": "3.970.0",
18
18
  "@aws-sdk/client-s3": "3.970.0",
19
19
  "@aws-sdk/s3-request-presigner": "3.970.0",
20
- "sury": "11.0.0-rc.2",
20
+ "sury": "11.0.0",
21
21
  "uuid": "^13.0.0",
22
22
  "yaml": "^2.8.3",
23
- "@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.19",
24
- "@reventlessdev/rescript-effect": "0.1.0-alpha.33",
25
- "@reventlessdev/rescript-jest": "1.0.0-alpha.10",
26
- "@reventlessdev/rescript-node": "2.0.0-alpha.12",
27
- "@reventlessdev/rescript-pulumi-aws": "3.0.0-alpha.14",
28
- "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.21",
29
- "@reventlessdev/rescript-uuid": "2.0.0-alpha.0",
30
- "@reventlessdev/rescript-web": "1.0.0-alpha.4",
31
- "@reventlessdev/reventless-core": "3.0.0-alpha.267",
32
- "@reventlessdev/reventless-infra": "3.0.0-alpha.168",
33
- "@reventlessdev/reventless-interop": "3.0.0-alpha.37",
34
- "@reventlessdev/reventless-postgres": "3.0.0-alpha.131",
35
- "@reventlessdev/reventless-spec": "3.0.0-alpha.140"
23
+ "@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.20",
24
+ "@reventlessdev/rescript-effect": "0.1.0-alpha.34",
25
+ "@reventlessdev/rescript-node": "2.0.0-alpha.13",
26
+ "@reventlessdev/rescript-jest": "1.0.0-alpha.11",
27
+ "@reventlessdev/rescript-pulumi-aws": "3.0.0-alpha.15",
28
+ "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.22",
29
+ "@reventlessdev/rescript-uuid": "2.0.0-alpha.1",
30
+ "@reventlessdev/reventless-infra": "3.0.0-alpha.169",
31
+ "@reventlessdev/rescript-web": "1.0.0-alpha.5",
32
+ "@reventlessdev/reventless-core": "3.0.0-alpha.269",
33
+ "@reventlessdev/reventless-interop": "3.0.0-alpha.38",
34
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.141",
35
+ "@reventlessdev/reventless-postgres": "3.0.0-alpha.133"
36
36
  },
37
37
  "devDependencies": {
38
- "rescript": "12.3.0",
39
- "sury-ppx": "11.0.0-rc.2"
38
+ "rescript": "12.3.1",
39
+ "sury-ppx": "11.0.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "rescript": "12.3.0"
42
+ "rescript": "^12.3.1"
43
43
  },
44
44
  "jest": {
45
45
  "setupFiles": [
@@ -1,6 +1,5 @@
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 Sury from "sury";
5
4
  import * as Yaml from "yaml";
6
5
  import * as Nodefs from "node:fs";
@@ -12,14 +11,14 @@ import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_excep
12
11
  let platformSchema = Sury.$schema(s => ({
13
12
  path: s.m(Sury.string),
14
13
  name: s.m(Sury.$option(Sury.string)),
15
- "stack-defaults": s.m(Sury.$option(Sury.dict(Sury.string)))
14
+ "stack-defaults": s.m(Sury.$option(Sury.record(Sury.string)))
16
15
  }));
17
16
 
18
17
  let pluginSchema = Sury.$schema(s => ({
19
18
  name: s.m(Sury.string),
20
19
  path: s.m(Sury.string),
21
20
  "depends-on": s.m(Sury.$option(Sury.array(Sury.string))),
22
- "stack-defaults": s.m(Sury.$option(Sury.dict(Sury.string)))
21
+ "stack-defaults": s.m(Sury.$option(Sury.record(Sury.string)))
23
22
  }));
24
23
 
25
24
  let schema = Sury.$schema(s => ({
@@ -32,7 +31,7 @@ function parseString(text) {
32
31
  try {
33
32
  return {
34
33
  TAG: "Ok",
35
- _0: S.parseOrThrow(Yaml.parse(text), schema)
34
+ _0: Sury.parseOrThrow(Yaml.parse(text), schema)
36
35
  };
37
36
  } catch (raw_err) {
38
37
  let err = Primitive_exceptions.internalToException(raw_err);
@@ -72,7 +72,7 @@ async function addToCounterTarget(table, param) {
72
72
 
73
73
  let referencesViewSchema = Sury.$schema(s => ({
74
74
  id: s.m(Sury.string),
75
- inc: s.m(Sury.int)
75
+ inc: s.m(Sury.int32)
76
76
  }));
77
77
 
78
78
  function handleStreamEvent(referencesStream, countsStream, counterHandler, streamEvent, param) {
@@ -486,9 +486,9 @@ function mergeSortedEvents(streams) {
486
486
  }));
487
487
  }
488
488
 
489
- function read(table, $staropt$star) {
489
+ function read(table, crossPartitionTagKeysOpt) {
490
+ let crossPartitionTagKeys = crossPartitionTagKeysOpt !== undefined ? crossPartitionTagKeysOpt : [];
490
491
  return async (query, after) => {
491
- let crossPartitionTagKeys = $staropt$star !== undefined ? $staropt$star : [];
492
492
  let queryResults = await Promise.all(query.map(queryItem => executeQueryItem(table, queryItem, after, crossPartitionTagKeys)));
493
493
  let allItems = queryResults.flat();
494
494
  let allEvents = allItems.map(fromItem);
@@ -1024,9 +1024,9 @@ async function appendConditional(table, events, cond, partitionTag, crossPartiti
1024
1024
  return await runTransactWrite(input, basePosition, "DCB append failed");
1025
1025
  }
1026
1026
 
1027
- function append(table, partitionTag, $staropt$star) {
1027
+ function append(table, partitionTag, crossPartitionTagKeysOpt) {
1028
+ let crossPartitionTagKeys = crossPartitionTagKeysOpt !== undefined ? crossPartitionTagKeysOpt : [];
1028
1029
  return async (events, condition) => {
1029
- let crossPartitionTagKeys = $staropt$star !== undefined ? $staropt$star : [];
1030
1030
  if (condition !== undefined) {
1031
1031
  return await appendConditional(table, events, condition, partitionTag, crossPartitionTagKeys);
1032
1032
  } else {
@@ -1158,10 +1158,10 @@ function executeQueryItemStream(table, queryItem, after, strongConsistencyOpt, c
1158
1158
  }
1159
1159
  }
1160
1160
 
1161
- function readStream(table, $staropt$star) {
1162
- return (query, after, $staropt$star$1) => {
1163
- let crossPartitionTagKeys = $staropt$star !== undefined ? $staropt$star : [];
1164
- let strongConsistency = $staropt$star$1 !== undefined ? $staropt$star$1 : false;
1161
+ function readStream(table, crossPartitionTagKeysOpt) {
1162
+ let crossPartitionTagKeys = crossPartitionTagKeysOpt !== undefined ? crossPartitionTagKeysOpt : [];
1163
+ return (query, after, strongConsistencyOpt) => {
1164
+ let strongConsistency = strongConsistencyOpt !== undefined ? strongConsistencyOpt : false;
1165
1165
  let streams = query.map(qi => executeQueryItemStream(table, qi, after, strongConsistency, crossPartitionTagKeys));
1166
1166
  let match = streams.length;
1167
1167
  if (match === 0) {
@@ -13,7 +13,7 @@ import * as PgMigration_Builder$ReventlessAws from "./PgMigration_Builder.res.mj
13
13
 
14
14
  let connectionConfigSchema = Sury.$schema(s => ({
15
15
  host: s.m(Sury.string),
16
- port: s.m(Sury.int),
16
+ port: s.m(Sury.int32),
17
17
  database: s.m(Sury.string),
18
18
  username: s.m(Sury.string),
19
19
  secretArn: s.m(Sury.string)
@@ -32,7 +32,7 @@ function makeCounterOps(config) {
32
32
 
33
33
  let referencesViewSchema = Sury.$schema(s => ({
34
34
  id: s.m(Sury.string),
35
- inc: s.m(Sury.int)
35
+ inc: s.m(Sury.int32)
36
36
  }));
37
37
 
38
38
  function splitRecords(referencesStreamArn, countsStreamArn, records) {
@@ -18,8 +18,8 @@ let geolocationSchema = Sury.union([
18
18
  })),
19
19
  Sury.$schema(s => ({
20
20
  TAG: "Located",
21
- lat: s.m(Sury.float),
22
- lng: s.m(Sury.float)
21
+ lat: s.m(Sury.number),
22
+ lng: s.m(Sury.number)
23
23
  })),
24
24
  Sury.$schema(s => ({
25
25
  TAG: "Unresolvable",
@@ -15,8 +15,8 @@ let geolocationSchema = Sury.union([
15
15
  })),
16
16
  Sury.$schema(s => ({
17
17
  TAG: "Located",
18
- lat: s.m(Sury.float),
19
- lng: s.m(Sury.float)
18
+ lat: s.m(Sury.number),
19
+ lng: s.m(Sury.number)
20
20
  }))
21
21
  ]);
22
22
 
@@ -19,8 +19,8 @@ let geolocationSchema = Sury.union([
19
19
  })),
20
20
  Sury.$schema(s => ({
21
21
  TAG: "Located",
22
- lat: s.m(Sury.float),
23
- lng: s.m(Sury.float)
22
+ lat: s.m(Sury.number),
23
+ lng: s.m(Sury.number)
24
24
  })),
25
25
  Sury.$schema(s => ({
26
26
  TAG: "Unresolvable",
@@ -7,7 +7,7 @@ let consumedEventSchema = Sury.$schema(s => ({
7
7
  TAG: "ItemAddedToCart",
8
8
  cartId: s.m(Sury.string),
9
9
  productId: s.m(Sury.string),
10
- qty: s.m(Sury.int)
10
+ qty: s.m(Sury.int32)
11
11
  }));
12
12
 
13
13
  let fulfilmentSchema = Sury.union([
@@ -26,7 +26,7 @@ let fulfilmentSchema$1 = TaggedUnion$Reventless.named("Fulfilment", fulfilmentSc
26
26
  let stateSchema = Sury.$schema(s => ({
27
27
  cartId: s.m(Sury.string),
28
28
  productId: s.m(Sury.string),
29
- qty: s.m(Sury.int),
29
+ qty: s.m(Sury.int32),
30
30
  fulfilment: s.m(fulfilmentSchema$1)
31
31
  }));
32
32