wirejs-deploy-amplify-basic 0.0.153-payments → 0.0.154-payments

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.
@@ -140,7 +140,7 @@ function byPathLength(a: Endpoint, b: Endpoint) {
140
140
  }
141
141
 
142
142
  export const handler: LambdaFunctionURLHandler = async (event) => {
143
- const calls = JSON.parse(event.body!);
143
+ const calls = event.body ? JSON.parse(event.body) : undefined;
144
144
  const wjsContext = createContext(event);
145
145
  const path = wjsContext?.location.pathname;
146
146
 
@@ -3,6 +3,6 @@
3
3
  "dependencies": {
4
4
  "jsdom": "^25.0.1",
5
5
  "wirejs-dom": "^1.0.42",
6
- "wirejs-resources": "^0.1.121-payments"
6
+ "wirejs-resources": "^0.1.122-payments"
7
7
  }
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wirejs-deploy-amplify-basic",
3
- "version": "0.0.153-payments",
3
+ "version": "0.0.154-payments",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "recursive-copy": "^2.0.14",
43
43
  "rimraf": "^6.0.1",
44
44
  "wirejs-dom": "^1.0.42",
45
- "wirejs-resources": "^0.1.121-payments"
45
+ "wirejs-resources": "^0.1.122-payments"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@aws-amplify/backend": "^1.14.0",