sst 2.34.2 → 2.34.3

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.
@@ -4,9 +4,9 @@ export function postPayload(endpoint, body) {
4
4
  try {
5
5
  const req = https
6
6
  .request(endpoint, {
7
- method: 'POST',
8
- headers: { 'content-type': 'application/json' },
9
- timeout: 5000
7
+ method: "POST",
8
+ headers: { "content-type": "application/json" },
9
+ timeout: 5000,
10
10
  }, (resp) => {
11
11
  if (resp.statusCode !== 200) {
12
12
  reject(new Error(`Unexpected status code: ${resp.statusCode}`));
@@ -14,7 +14,7 @@ export function postPayload(endpoint, body) {
14
14
  }
15
15
  resolve();
16
16
  })
17
- .on('error', () => {
17
+ .on("error", () => {
18
18
  // catches connect ECONNREFUSED while the below catch does not work as expected
19
19
  });
20
20
  req.write(JSON.stringify(body));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sideEffects": false,
3
3
  "name": "sst",
4
- "version": "2.34.2",
4
+ "version": "2.34.3",
5
5
  "bin": {
6
6
  "sst": "cli/sst.js"
7
7
  },
@@ -120,11 +120,11 @@
120
120
  "@types/ws": "^8.5.3",
121
121
  "@types/yargs": "^17.0.13",
122
122
  "archiver": "^5.3.1",
123
+ "astro-sst": "2.34.3",
123
124
  "async": "^3.2.4",
124
125
  "tsx": "^3.12.1",
125
126
  "typescript": "^5.2.2",
126
- "vitest": "^0.33.0",
127
- "astro-sst": "2.34.2"
127
+ "vitest": "^0.33.0"
128
128
  },
129
129
  "peerDependencies": {
130
130
  "@sls-next/lambda-at-edge": "^3.7.0"
@@ -37,7 +37,7 @@ export function bundle(options) {
37
37
  buildArgs: {
38
38
  IMAGE: runtime.bundlingImage.image +
39
39
  // the default x86_64 doesn't need to be set explicitly
40
- (architecture == "arm_64" ? ":latest-arm64" : "")
40
+ (architecture == "arm_64" ? ":latest-arm64" : ""),
41
41
  },
42
42
  file: dockerfile,
43
43
  });