@lowdefy/client 4.0.2 → 4.1.0

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/Client.js CHANGED
@@ -21,7 +21,7 @@ import DisplayMessage from './DisplayMessage.js';
21
21
  import Head from './Head.js';
22
22
  import ProgressBarController from './ProgressBarController.js';
23
23
  import initLowdefyContext from './initLowdefyContext.js';
24
- const Client = ({ auth, Components, config: rawConfig, lowdefy, resetContext = {
24
+ const Client = ({ auth, Components, config: rawConfig, jsMap, lowdefy, resetContext = {
25
25
  reset: false,
26
26
  setReset: ()=>undefined
27
27
  }, router, stage, types, window })=>{
@@ -53,6 +53,7 @@ const Client = ({ auth, Components, config: rawConfig, lowdefy, resetContext = {
53
53
  }), /*#__PURE__*/ React.createElement(Context, {
54
54
  key: config.pageConfig.id,
55
55
  config: config.pageConfig,
56
+ jsMap: jsMap,
56
57
  lowdefy: lowdefy,
57
58
  resetContext: resetContext
58
59
  }, (context)=>{
package/dist/Context.js CHANGED
@@ -15,9 +15,10 @@
15
15
  */ import React from 'react';
16
16
  import getContext from '@lowdefy/engine';
17
17
  import MountEvents from './MountEvents.js';
18
- const Context = ({ children, config, lowdefy, resetContext })=>{
18
+ const Context = ({ children, config, jsMap, lowdefy, resetContext })=>{
19
19
  const context = getContext({
20
20
  config,
21
+ jsMap,
21
22
  lowdefy,
22
23
  resetContext
23
24
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/client",
3
- "version": "4.0.2",
3
+ "version": "4.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Lowdefy Client",
6
6
  "homepage": "https://lowdefy.com",
@@ -34,10 +34,10 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@ant-design/icons": "4.8.0",
37
- "@lowdefy/block-utils": "4.0.2",
38
- "@lowdefy/engine": "4.0.2",
39
- "@lowdefy/helpers": "4.0.2",
40
- "@lowdefy/layout": "4.0.2",
37
+ "@lowdefy/block-utils": "4.1.0",
38
+ "@lowdefy/engine": "4.1.0",
39
+ "@lowdefy/helpers": "4.1.0",
40
+ "@lowdefy/layout": "4.1.0",
41
41
  "classnames": "2.3.2",
42
42
  "react": "18.2.0",
43
43
  "react-dom": "18.2.0"
@@ -45,7 +45,7 @@
45
45
  "devDependencies": {
46
46
  "@emotion/jest": "11.10.5",
47
47
  "@jest/globals": "28.1.3",
48
- "@lowdefy/jest-yaml-transform": "4.0.2",
48
+ "@lowdefy/jest-yaml-transform": "4.1.0",
49
49
  "@swc/cli": "0.1.63",
50
50
  "@swc/core": "1.3.99",
51
51
  "@swc/jest": "0.2.29",