@abtnode/ux 1.16.21 → 1.16.22-beta-f47f2cf7

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.
@@ -109,7 +109,10 @@ export default function ComponentEnvironment({
109
109
  return;
110
110
  }
111
111
  }
112
- const configs = [newData];
112
+ const configs = [{
113
+ ...newData,
114
+ value: newData.secure && newData.value === '__encrypted__' ? '' : newData.value
115
+ }];
113
116
  if (newData.key !== oldData.key) {
114
117
  if (!isCustom(newData, blocklet, ancestors)) {
115
118
  Toast.error('Only key of custom env can be changed');
@@ -122,7 +122,9 @@ function ComponentEnvironment(_ref) {
122
122
  return;
123
123
  }
124
124
  }
125
- const configs = [newData];
125
+ const configs = [_objectSpread(_objectSpread({}, newData), {}, {
126
+ value: newData.secure && newData.value === '__encrypted__' ? '' : newData.value
127
+ })];
126
128
  if (newData.key !== oldData.key) {
127
129
  if (!isCustom(newData, blocklet, ancestors)) {
128
130
  _Toast.default.error('Only key of custom env can be changed');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/ux",
3
- "version": "1.16.21",
3
+ "version": "1.16.22-beta-f47f2cf7",
4
4
  "description": "UX components shared across abtnode packages",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -27,9 +27,9 @@
27
27
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@abtnode/auth": "1.16.21",
31
- "@abtnode/constant": "1.16.21",
32
- "@abtnode/util": "1.16.21",
30
+ "@abtnode/auth": "1.16.22-beta-f47f2cf7",
31
+ "@abtnode/constant": "1.16.22-beta-f47f2cf7",
32
+ "@abtnode/util": "1.16.22-beta-f47f2cf7",
33
33
  "@ahooksjs/use-url-state": "^3.5.1",
34
34
  "@arcblock/did": "^1.18.108",
35
35
  "@arcblock/did-connect": "^2.9.5",
@@ -39,10 +39,10 @@
39
39
  "@arcblock/react-hooks": "^2.9.5",
40
40
  "@arcblock/terminal": "^2.9.5",
41
41
  "@arcblock/ux": "^2.9.5",
42
- "@blocklet/constant": "1.16.21",
42
+ "@blocklet/constant": "1.16.22-beta-f47f2cf7",
43
43
  "@blocklet/launcher-layout": "2.2.50",
44
44
  "@blocklet/list": "^0.12.62",
45
- "@blocklet/meta": "1.16.21",
45
+ "@blocklet/meta": "1.16.22-beta-f47f2cf7",
46
46
  "@blocklet/ui-react": "^2.9.3",
47
47
  "@blocklet/uploader": "^0.0.62",
48
48
  "@emotion/react": "^11.10.4",
@@ -102,7 +102,7 @@
102
102
  "babel-plugin-inline-react-svg": "^1.1.2",
103
103
  "glob": "^10.3.3"
104
104
  },
105
- "gitHead": "e4b7651a0e73161cd47ea4f75e84dd6d39c8a990",
105
+ "gitHead": "428b62fcd74f971338b0852c0fce6ce367b0da90",
106
106
  "exports": {
107
107
  ".": {
108
108
  "import": "./es/index.js",