@blocklet/constant 1.8.37 → 1.8.38

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.
Files changed (2) hide show
  1. package/index.js +6 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -190,6 +190,7 @@ module.exports = Object.freeze({
190
190
  BLOCKLET_LATEST_REQUIREMENT_ABTNODE: '>=1.5.15', // Deprecated
191
191
 
192
192
  BLOCKLET_CONFIGURABLE_KEY: {
193
+ // APP Config Key that start with BLOCKLET_ cannot set to child component
193
194
  BLOCKLET_CLUSTER_SIZE: 'BLOCKLET_CLUSTER_SIZE',
194
195
  BLOCKLET_APP_NAME: 'BLOCKLET_APP_NAME',
195
196
  BLOCKLET_APP_DESCRIPTION: 'BLOCKLET_APP_DESCRIPTION',
@@ -200,10 +201,13 @@ module.exports = Object.freeze({
200
201
  BLOCKLET_PASSPORT_COLOR: 'BLOCKLET_PASSPORT_COLOR',
201
202
  BLOCKLET_WALLET_TYPE: 'BLOCKLET_WALLET_TYPE',
202
203
  BLOCKLET_DELETABLE: 'BLOCKLET_DELETABLE',
203
- BLOCKLET_APP_STORAGE_ENDPOINT: 'BLOCKLET_APP_STORAGE_ENDPOINT',
204
+ BLOCKLET_APP_SPACE_ENDPOINT: 'BLOCKLET_APP_SPACE_ENDPOINT',
205
+
206
+ // Component Key
207
+ COMPONENT_ACCESS_WHO: 'COMPONENT_ACCESS_WHO',
204
208
  },
205
209
 
206
- BLOCKLET_APP_STORAGE_ENDPOINTS: {
210
+ BLOCKLET_APP_SPACE_ENDPOINTS: {
207
211
  REQUIRED: 'required',
208
212
  OPTIONAL: 'optional',
209
213
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.37",
6
+ "version": "1.8.38",
7
7
  "description": "Blocklet constants",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -20,5 +20,5 @@
20
20
  "devDependencies": {
21
21
  "jest": "^27.5.1"
22
22
  },
23
- "gitHead": "f26f451c6e2b1168b36f78269eafdf3f671236bf"
23
+ "gitHead": "cbb88f107eb6b403c8cd47a765920575860c7bc7"
24
24
  }