wirejs-deploy-amplify-basic 0.0.143-payments → 0.0.144-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.
|
@@ -135,7 +135,9 @@ function byPathLength(a: Endpoint, b: Endpoint) {
|
|
|
135
135
|
return a.path.length - b.path.length;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
export const handler: LambdaFunctionURLHandler = async (event
|
|
138
|
+
export const handler: LambdaFunctionURLHandler = async (event) => {
|
|
139
|
+
console.log('handling', event.rawPath, event.headers, event.body);
|
|
140
|
+
|
|
139
141
|
const calls = JSON.parse(event.body!);
|
|
140
142
|
const wjsContext = createContext(event);
|
|
141
143
|
const path = wjsContext.location.pathname;
|
|
@@ -29,7 +29,7 @@ const logger = {
|
|
|
29
29
|
try {
|
|
30
30
|
const backendConfigModule = await import('./config.js');
|
|
31
31
|
const backendConfig = backendConfigModule.default;
|
|
32
|
-
logger.log("backend config found. backend API_URL: ", backendConfig.
|
|
32
|
+
logger.log("backend config found. backend API_URL: ", backendConfig.apiUrl);
|
|
33
33
|
API_URL = backendConfig.apiUrl;
|
|
34
34
|
GENERATED = backendConfig.generated;
|
|
35
35
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wirejs-deploy-amplify-basic",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.144-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.
|
|
45
|
+
"wirejs-resources": "^0.1.112-payments"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@aws-amplify/backend": "^1.14.0",
|