@lowdefy/client 4.0.0-rc.5 → 4.0.0-rc.6
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 +3 -1
- package/package.json +7 -7
package/dist/Client.js
CHANGED
|
@@ -13,16 +13,18 @@
|
|
|
13
13
|
See the License for the specific language governing permissions and
|
|
14
14
|
limitations under the License.
|
|
15
15
|
*/ import React from 'react';
|
|
16
|
+
import { serializer } from '@lowdefy/helpers';
|
|
16
17
|
import Block from './block/Block.js';
|
|
17
18
|
import Context from './Context.js';
|
|
18
19
|
import DisplayMessage from './DisplayMessage.js';
|
|
19
20
|
import Head from './Head.js';
|
|
20
21
|
import ProgressBarController from './ProgressBarController.js';
|
|
21
22
|
import initLowdefyContext from './initLowdefyContext.js';
|
|
22
|
-
const Client = ({ auth , Components , config , resetContext ={
|
|
23
|
+
const Client = ({ auth , Components , config: rawConfig , resetContext ={
|
|
23
24
|
reset: false,
|
|
24
25
|
setReset: ()=>undefined
|
|
25
26
|
} , router , stage , types , window })=>{
|
|
27
|
+
const config = serializer.deserialize(rawConfig);
|
|
26
28
|
const lowdefy = initLowdefyContext({
|
|
27
29
|
auth,
|
|
28
30
|
Components,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/client",
|
|
3
|
-
"version": "4.0.0-rc.
|
|
3
|
+
"version": "4.0.0-rc.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Lowdefy Client",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@ant-design/icons": "4.8.0",
|
|
44
|
-
"@lowdefy/block-utils": "4.0.0-rc.
|
|
45
|
-
"@lowdefy/engine": "4.0.0-rc.
|
|
46
|
-
"@lowdefy/helpers": "4.0.0-rc.
|
|
47
|
-
"@lowdefy/layout": "4.0.0-rc.
|
|
44
|
+
"@lowdefy/block-utils": "4.0.0-rc.6",
|
|
45
|
+
"@lowdefy/engine": "4.0.0-rc.6",
|
|
46
|
+
"@lowdefy/helpers": "4.0.0-rc.6",
|
|
47
|
+
"@lowdefy/layout": "4.0.0-rc.6",
|
|
48
48
|
"classnames": "2.3.2",
|
|
49
49
|
"react": "18.2.0",
|
|
50
50
|
"react-dom": "18.2.0"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@emotion/jest": "11.10.5",
|
|
54
54
|
"@jest/globals": "28.1.0",
|
|
55
|
-
"@lowdefy/jest-yaml-transform": "4.0.0-rc.
|
|
55
|
+
"@lowdefy/jest-yaml-transform": "4.0.0-rc.6",
|
|
56
56
|
"@swc/cli": "0.1.59",
|
|
57
57
|
"@swc/core": "1.3.24",
|
|
58
58
|
"@swc/jest": "0.2.24",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "8238145a9eb26c6f3dc48661ab6eca6e3aca4f83"
|
|
71
71
|
}
|