sst 2.0.10 → 2.0.11

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/constructs/Job.js CHANGED
@@ -257,7 +257,7 @@ export class Job extends Construct {
257
257
  return fn;
258
258
  }
259
259
  createCodeBuildInvoker() {
260
- return new Function(this, this.node.id, {
260
+ const fn = new Function(this, this.node.id, {
261
261
  handler: path.join(__dirname, "../support/job-invoker/index.main"),
262
262
  runtime: "nodejs16.x",
263
263
  timeout: 10,
@@ -275,7 +275,10 @@ export class Job extends Construct {
275
275
  nodejs: {
276
276
  format: "esm",
277
277
  },
278
+ enableLiveDev: false,
278
279
  });
280
+ fn._disableBind = true;
281
+ return fn;
279
282
  }
280
283
  useForCodeBuild(constructs) {
281
284
  const app = this.node.root;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sst",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "bin": {
5
5
  "sst": "cli/sst.js"
6
6
  },