@blocklet/meta 1.16.6-beta-56be9f01 → 1.16.6-beta-593a7a98

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/lib/info.js CHANGED
@@ -32,7 +32,7 @@ const getBlockletInfo = (state, nodeSk, { returnWallet = true } = {}) => {
32
32
  };
33
33
  }
34
34
  const customSk = envs.find((x) => x.key === 'BLOCKLET_APP_SK');
35
- const customType = envs.find((x) => x.key === 'BLOCKLET_APP_CHAIN_TYPE');
35
+ const customType = envs.find((x) => x.key === 'BLOCKLET_APP_CHAIN_TYPE') || envs.find((x) => x.key === 'BLOCKLET_WALLET_TYPE');
36
36
  const permanentSk = envs.find((x) => x.key === 'BLOCKLET_APP_PSK');
37
37
  let type;
38
38
  if (customType && (customType.value === 'ethereum' || customType.value === 'eth')) {
package/lib/schema.js CHANGED
@@ -632,7 +632,8 @@ const blockletMetaProps = {
632
632
  didSpace: Joi.string()
633
633
  .valid(...Object.values(BLOCKLET_APP_SPACE_ENDPOINTS))
634
634
  .optional(),
635
- navigation: Joi.boolean().default(true), // Should blocklet join navigation auto-merge process
635
+ navigation: Joi.boolean().default(true),
636
+ serverless: Joi.boolean().default(true), // Can the blocklet be installed on serverless
636
637
  }).default({
637
638
  clusterMode: false,
638
639
  component: true,
@@ -15,6 +15,7 @@ export interface TBlockletMeta {
15
15
  component?: boolean;
16
16
  didSpace?: 'required' | 'optional';
17
17
  navigation?: boolean;
18
+ serverless?: boolean;
18
19
  };
19
20
  community?: string;
20
21
  components?: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.6-beta-56be9f01",
6
+ "version": "1.16.6-beta-593a7a98",
7
7
  "description": "Library to parse/validate/fix blocklet meta",
8
8
  "main": "./lib/index.js",
9
9
  "typings": "./lib/index.d.ts",
@@ -24,18 +24,18 @@
24
24
  "author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
- "@abtnode/constant": "1.16.6-beta-56be9f01",
28
- "@abtnode/util": "1.16.6-beta-56be9f01",
29
- "@arcblock/did": "1.18.76",
30
- "@arcblock/did-ext": "1.18.76",
31
- "@arcblock/did-util": "1.18.76",
32
- "@arcblock/jwt": "1.18.76",
33
- "@blocklet/constant": "1.16.6-beta-56be9f01",
34
- "@ocap/asset": "1.18.76",
35
- "@ocap/mcrypto": "1.18.76",
36
- "@ocap/types": "1.18.76",
37
- "@ocap/util": "1.18.76",
38
- "@ocap/wallet": "1.18.76",
27
+ "@abtnode/constant": "1.16.6-beta-593a7a98",
28
+ "@abtnode/util": "1.16.6-beta-593a7a98",
29
+ "@arcblock/did": "1.18.77",
30
+ "@arcblock/did-ext": "1.18.77",
31
+ "@arcblock/did-util": "1.18.77",
32
+ "@arcblock/jwt": "1.18.77",
33
+ "@blocklet/constant": "1.16.6-beta-593a7a98",
34
+ "@ocap/asset": "1.18.77",
35
+ "@ocap/mcrypto": "1.18.77",
36
+ "@ocap/types": "1.18.77",
37
+ "@ocap/util": "1.18.77",
38
+ "@ocap/wallet": "1.18.77",
39
39
  "ajv": "^8.11.0",
40
40
  "axios": "^0.27.2",
41
41
  "cjk-length": "^1.0.0",
@@ -79,5 +79,5 @@
79
79
  "ts-node": "^10.9.1",
80
80
  "typescript": "^4.8.4"
81
81
  },
82
- "gitHead": "f93c24693ed27c4a2821ec33c345696afe6f001a"
82
+ "gitHead": "5ea65d1ddc91e997f029741f01ce453464d86666"
83
83
  }