@hybridless/hybridless 0.1.41-alpha.3 → 0.1.41-alpha.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybridless/hybridless",
3
- "version": "0.1.41-alpha.3",
3
+ "version": "0.1.41-alpha.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -7,4 +7,4 @@ COPY /usr/src/app/ /usr/src/app/
7
7
  WORKDIR /usr/src/app
8
8
 
9
9
  # Run the specified command within the container.
10
- ENTRYPOINT node -e "try {const resp = await ((await import('$ENTRYPOINT.mjs'))['$ENTRYPOINT_FUNC'](input, context));if (resp) resolve({data: resp});} catch (e) { reject(e); }"
10
+ ENTRYPOINT node -e "(async () => { try {const resp = await ((await import('./$ENTRYPOINT.mjs'))['$ENTRYPOINT_FUNC'](input, context));if (resp) resolve({data: resp});} catch (e) { reject(e); } })()"
@@ -7,4 +7,4 @@ COPY /usr/src/app/ /usr/src/app/
7
7
  WORKDIR /usr/src/app
8
8
 
9
9
  # Run the specified command within the container.
10
- ENTRYPOINT node -e "try {const resp = await ((await import('$ENTRYPOINT.mjs'))['$ENTRYPOINT_FUNC'](input, context));if (resp) resolve({data: resp});} catch (e) { reject(e); }"
10
+ ENTRYPOINT node -e "(async () => { try {const resp = await ((await import('./$ENTRYPOINT.mjs'))['$ENTRYPOINT_FUNC'](input, context));if (resp) resolve({data: resp});} catch (e) { reject(e); } })()"