@hyperframes/aws-lambda 0.9.0 → 0.9.1

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/dist/cdk/index.js CHANGED
@@ -362,7 +362,7 @@ var HyperframesRenderStack = class extends Construct {
362
362
  error: "PLAN_PROTOCOL_UNSUPPORTED",
363
363
  cause: 'PlanProtocol must be "v2" or absent (defaults to v2).'
364
364
  });
365
- return new sfn.Choice(this, "SelectPlanProtocol").when(sfn.Condition.stringEquals("$.PlanProtocol", "v2"), planV2).when(sfn.Condition.isPresent("$.PlanProtocol"), unsupportedPlanProtocol).otherwise(planV2);
365
+ return new sfn.Choice(this, "SelectPlanProtocol").when(sfn.Condition.isNotPresent("$.PlanProtocol"), planV2).when(sfn.Condition.stringEquals("$.PlanProtocol", "v2"), planV2).when(sfn.Condition.isPresent("$.PlanProtocol"), unsupportedPlanProtocol).otherwise(planV2);
366
366
  }
367
367
  };
368
368
  function defaultHandlerZipPath() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/aws-lambda",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "AWS Lambda adapter for HyperFrames distributed rendering — handler, client-side SDK, and CDK construct.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -52,7 +52,7 @@
52
52
  "ffprobe-static": "^3.1.0",
53
53
  "puppeteer-core": "^25.8.0",
54
54
  "tar": "^7.4.3",
55
- "@hyperframes/producer": "^0.9.0"
55
+ "@hyperframes/producer": "^0.9.1"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/aws-lambda": "^8.10.146",
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.9.0",
3
- "url": "https://github.com/heygen-com/hyperframes/releases/download/v0.9.0/hyperframes-lambda-handler.zip",
4
- "sha256": "d32f485d4ca6c0e707f36e3457df24ea29487035167c13aff9ccbeb328bc372d",
2
+ "version": "0.9.1",
3
+ "url": "https://github.com/heygen-com/hyperframes/releases/download/v0.9.1/hyperframes-lambda-handler.zip",
4
+ "sha256": "53dacd375455a5d8d558b3f00c6185af36be9a61b341fa54a89bcad3e8634876",
5
5
  "bytes": 129520617
6
6
  }
@@ -266,6 +266,11 @@ Resources:
266
266
  SelectPlanProtocol:
267
267
  Type: Choice
268
268
  Choices:
269
+ # A comparison on a missing path is a States.Runtime error, not a non-match, so an
270
+ # omitted PlanProtocol has to be caught before any StringEquals rule.
271
+ - Variable: $.PlanProtocol
272
+ IsPresent: false
273
+ Next: !If [HasVideoFunction, WarmRender, PlanV2]
269
274
  # Only a stack with the arm64 video function has a cold x86 function to warm.
270
275
  # Without one the compared value can never match.
271
276
  - Variable: $.PlanProtocol
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.9.0",
3
- "url": "https://github.com/heygen-com/hyperframes/releases/download/v0.9.0/hyperframes-lambda-video-arm64.oci.tar",
4
- "sha256": "430f853e2654cf21c442322812a8d00efb4c8f10dea3d96e7fceb497ccbbee1b",
5
- "bytes": 244900352
2
+ "version": "0.9.1",
3
+ "url": "https://github.com/heygen-com/hyperframes/releases/download/v0.9.1/hyperframes-lambda-video-arm64.oci.tar",
4
+ "sha256": "ebcdf52194aac5d690539f4cd1747355809e3c21762e759b97346e2133424e5e",
5
+ "bytes": 244900864
6
6
  }