@lowdefy/engine 4.0.0-rc.11 → 4.0.0-rc.13

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/Events.js CHANGED
@@ -31,9 +31,9 @@ let Events = class Events {
31
31
  registerEvent({ name, actions }) {
32
32
  this.events[name] = this.initEvent(actions);
33
33
  }
34
- async triggerEvent({ name, event, progress }) {
34
+ triggerEvent({ name, event, progress }) {
35
35
  const eventDescription = this.events[name];
36
- let result = {
36
+ const result = {
37
37
  blockId: this.block.blockId,
38
38
  event,
39
39
  eventName: name,
@@ -13,8 +13,8 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */ function createRequest({ actions, arrayIndices, blockId, context, event }) {
16
- return async function request(params) {
17
- return await context._internal.Requests.callRequests({
16
+ return function request(params) {
17
+ return context._internal.Requests.callRequests({
18
18
  actions,
19
19
  arrayIndices,
20
20
  blockId,
@@ -52,7 +52,7 @@ function getContext({ config, lowdefy, resetContext = {
52
52
  lowdefy.inputs[id] = {};
53
53
  }
54
54
  const ctx = {
55
- id: id,
55
+ id,
56
56
  pageId: config.pageId,
57
57
  eventLog: [],
58
58
  requests: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/engine",
3
- "version": "4.0.0-rc.11",
3
+ "version": "4.0.0-rc.13",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -36,15 +36,15 @@
36
36
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
37
37
  },
38
38
  "dependencies": {
39
- "@lowdefy/helpers": "4.0.0-rc.11",
40
- "@lowdefy/operators": "4.0.0-rc.11"
39
+ "@lowdefy/helpers": "4.0.0-rc.13",
40
+ "@lowdefy/operators": "4.0.0-rc.13"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@jest/globals": "28.1.3",
44
- "@lowdefy/actions-core": "4.0.0-rc.11",
45
- "@lowdefy/build": "4.0.0-rc.11",
46
- "@lowdefy/operators-js": "4.0.0-rc.11",
47
- "@lowdefy/operators-mql": "4.0.0-rc.11",
44
+ "@lowdefy/actions-core": "4.0.0-rc.13",
45
+ "@lowdefy/build": "4.0.0-rc.13",
46
+ "@lowdefy/operators-js": "4.0.0-rc.13",
47
+ "@lowdefy/operators-mql": "4.0.0-rc.13",
48
48
  "@swc/cli": "0.1.62",
49
49
  "@swc/core": "1.3.92",
50
50
  "@swc/jest": "0.2.29",
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "dbc49d3688a6d2f44de25cc3f4bc071627f7ebfa"
56
+ "gitHead": "e0e9a9b4e4e15c899de64d6736fa6e83cf56f8e4"
57
57
  }