wirejs-deploy-amplify-basic 0.0.160-payments → 0.0.161-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.
|
@@ -48,7 +48,7 @@ function byLength(a, b) {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* @param {string} pattern - string pattern, where
|
|
51
|
+
* @param {string} pattern - string pattern, where `%` matches anything
|
|
52
52
|
* @param {string} text
|
|
53
53
|
* @returns
|
|
54
54
|
*/
|
|
@@ -288,7 +288,7 @@ async function tryEndpointPath(context, res) {
|
|
|
288
288
|
console.log('discovered endpoints', JSON.stringify(endpoints, null, 2));
|
|
289
289
|
|
|
290
290
|
const matchingEndpoints = endpoints
|
|
291
|
-
.filter(e => globMatch(e.path, context.location.pathname));
|
|
291
|
+
.filter(e => globMatch(e.options.path, context.location.pathname));
|
|
292
292
|
if (matchingEndpoints.length === 0) return;
|
|
293
293
|
|
|
294
294
|
proxyRequest(context, res, API_URL);
|
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.161-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.129-payments"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@aws-amplify/backend": "^1.14.0",
|