@lowdefy/engine 4.0.0-rc.11 → 4.0.0-rc.12
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 +2 -2
- package/dist/actions/createRequest.js +2 -2
- package/dist/getContext.js +1 -1
- package/package.json +8 -8
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
|
-
|
|
34
|
+
triggerEvent({ name, event, progress }) {
|
|
35
35
|
const eventDescription = this.events[name];
|
|
36
|
-
|
|
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
|
|
17
|
-
return
|
|
16
|
+
return function request(params) {
|
|
17
|
+
return context._internal.Requests.callRequests({
|
|
18
18
|
actions,
|
|
19
19
|
arrayIndices,
|
|
20
20
|
blockId,
|
package/dist/getContext.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/engine",
|
|
3
|
-
"version": "4.0.0-rc.
|
|
3
|
+
"version": "4.0.0-rc.12",
|
|
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.
|
|
40
|
-
"@lowdefy/operators": "4.0.0-rc.
|
|
39
|
+
"@lowdefy/helpers": "4.0.0-rc.12",
|
|
40
|
+
"@lowdefy/operators": "4.0.0-rc.12"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@jest/globals": "28.1.3",
|
|
44
|
-
"@lowdefy/actions-core": "4.0.0-rc.
|
|
45
|
-
"@lowdefy/build": "4.0.0-rc.
|
|
46
|
-
"@lowdefy/operators-js": "4.0.0-rc.
|
|
47
|
-
"@lowdefy/operators-mql": "4.0.0-rc.
|
|
44
|
+
"@lowdefy/actions-core": "4.0.0-rc.12",
|
|
45
|
+
"@lowdefy/build": "4.0.0-rc.12",
|
|
46
|
+
"@lowdefy/operators-js": "4.0.0-rc.12",
|
|
47
|
+
"@lowdefy/operators-mql": "4.0.0-rc.12",
|
|
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": "
|
|
56
|
+
"gitHead": "7f3059b6778b1cb8900b1d4456681b977521d45d"
|
|
57
57
|
}
|