@reventlessdev/rescript-aws-sdk 3.0.0-alpha.16 → 3.0.0-alpha.17
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 +8 -0
- package/package.json +2 -2
- package/src/DynamoDb_DocumentClient.res +0 -2
- package/src/DynamoDb_Util.res +0 -1
- package/src/DynamoDb_Util_Helpers.res +4 -2
- package/src/Lambda.res +1 -1
- package/src/SNS.res +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.17 (2026-09-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @reventlessdev/rescript-aws-sdk
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# 3.0.0-alpha.16 (2026-09-08)
|
|
7
15
|
|
|
8
16
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/rescript-aws-sdk",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.17",
|
|
4
4
|
"description": "ReScript bindings for aws-sdk",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@aws-sdk/lib-dynamodb": "^3.1033.0",
|
|
21
21
|
"@aws-sdk/lib-storage": "^3.1033.0",
|
|
22
22
|
"@smithy/node-http-handler": "^4.5.3",
|
|
23
|
-
"@reventlessdev/rescript-node": "2.0.0-alpha.
|
|
23
|
+
"@reventlessdev/rescript-node": "2.0.0-alpha.11"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"rescript": "12.3.0"
|
|
@@ -832,7 +832,6 @@ module GetCommand = {
|
|
|
832
832
|
let send: t => promise<output> = command => Raw.send(client(), command)
|
|
833
833
|
}
|
|
834
834
|
|
|
835
|
-
|
|
836
835
|
module ScanCommand = {
|
|
837
836
|
/*** see: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-lib-dynamodb/Class/ScanCommand/ */
|
|
838
837
|
|
|
@@ -902,4 +901,3 @@ module ScanCommand = {
|
|
|
902
901
|
|
|
903
902
|
let send: t => promise<output> = command => Raw.send(client(), command)
|
|
904
903
|
}
|
|
905
|
-
|
package/src/DynamoDb_Util.res
CHANGED
|
@@ -3,5 +3,7 @@ let unmarshallDict: (~wrapNumbers: bool=?, dict<DynamoDb_Util.attributeValue>) =
|
|
|
3
3
|
data,
|
|
4
4
|
) => DynamoDb_Util.Raw.unmarshall(data, ~options={?wrapNumbers, convertWithoutMapWrapper: false})
|
|
5
5
|
|
|
6
|
-
let unmarshall: (~wrapNumbers: bool=?, DynamoDb_Util.attributeValue) => 'output = (
|
|
7
|
-
|
|
6
|
+
let unmarshall: (~wrapNumbers: bool=?, DynamoDb_Util.attributeValue) => 'output = (
|
|
7
|
+
~wrapNumbers=?,
|
|
8
|
+
data,
|
|
9
|
+
) => DynamoDb_Util.Raw.unmarshall(data, ~options={?wrapNumbers, convertWithoutMapWrapper: true})
|
package/src/Lambda.res
CHANGED
|
@@ -40,7 +40,7 @@ module Raw = {
|
|
|
40
40
|
when the service throttles it, rather than retrying into the same wall, which
|
|
41
41
|
is what the control plane wants. */
|
|
42
42
|
let client = (~region: option<string>=?, ()): client =>
|
|
43
|
-
Raw.client(~options={
|
|
43
|
+
Raw.client(~options={?region, maxAttempts: 10, retryMode: "adaptive"}, ())
|
|
44
44
|
|
|
45
45
|
/** A function's environment variables, in the shape both the get and the update
|
|
46
46
|
use. `variables` absent and `variables` empty are different: sending an empty
|
package/src/SNS.res
CHANGED