sst 4.10.2 → 4.11.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.
|
@@ -5,6 +5,9 @@ export function fromCloudflareEnv(input) {
|
|
|
5
5
|
loadFromCloudflareEnv(input);
|
|
6
6
|
}
|
|
7
7
|
export function wrapCloudflareHandler(handler) {
|
|
8
|
+
if (handler == null) {
|
|
9
|
+
return undefined;
|
|
10
|
+
}
|
|
8
11
|
if (typeof handler === "function" && handler.hasOwnProperty("prototype")) {
|
|
9
12
|
return class extends handler {
|
|
10
13
|
constructor(ctx, env) {
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"./dist/resource/node.js",
|
|
7
7
|
"./dist/resource/cloudflare.js"
|
|
8
8
|
],
|
|
9
|
-
"version": "4.
|
|
9
|
+
"version": "4.11.0",
|
|
10
10
|
"main": "./dist/index.js",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"sst": "./bin/sst.mjs"
|
|
59
59
|
},
|
|
60
60
|
"optionalDependencies": {
|
|
61
|
-
"sst-linux-x64": "4.
|
|
62
|
-
"sst-linux-x86": "4.
|
|
63
|
-
"sst-
|
|
64
|
-
"sst-
|
|
65
|
-
"sst-darwin-arm64": "4.
|
|
66
|
-
"sst-win32-
|
|
67
|
-
"sst-win32-
|
|
68
|
-
"sst-win32-arm64": "4.
|
|
61
|
+
"sst-linux-x64": "4.11.0",
|
|
62
|
+
"sst-linux-x86": "4.11.0",
|
|
63
|
+
"sst-darwin-x64": "4.11.0",
|
|
64
|
+
"sst-linux-arm64": "4.11.0",
|
|
65
|
+
"sst-darwin-arm64": "4.11.0",
|
|
66
|
+
"sst-win32-x64": "4.11.0",
|
|
67
|
+
"sst-win32-x86": "4.11.0",
|
|
68
|
+
"sst-win32-arm64": "4.11.0"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@aws/durable-execution-sdk-js": "1.0.2",
|