@blocklet/sdk 1.16.0-beta-1d6c582e → 1.16.0-beta-62b42401

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/env.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  declare const _default: Readonly<{
2
2
  appId: string;
3
3
  appPid: string;
4
+ appIds: string[];
4
5
  appName: string;
5
6
  appDescription: string;
6
7
  appUrl: string;
package/lib/util/env.d.ts CHANGED
@@ -5,6 +5,7 @@ type BlockletPreferences = {
5
5
  export declare function parseEnv(env?: NodeJS.ProcessEnv): Readonly<{
6
6
  appId: string;
7
7
  appPid: string;
8
+ appIds: string[];
8
9
  appName: string;
9
10
  appDescription: string;
10
11
  appUrl: string;
package/lib/util/env.js CHANGED
@@ -18,6 +18,7 @@ function parseEnv(env = process.env) {
18
18
  return Object.freeze({
19
19
  appId: env.BLOCKLET_APP_ID,
20
20
  appPid: env.BLOCKLET_APP_PID,
21
+ appIds: (env.BLOCKLET_APP_IDS || '').split(','),
21
22
  appName: env.BLOCKLET_APP_NAME,
22
23
  appDescription: env.BLOCKLET_APP_DESCRIPTION,
23
24
  appUrl: env.BLOCKLET_APP_URL,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.0-beta-1d6c582e",
6
+ "version": "1.16.0-beta-62b42401",
7
7
  "description": "graphql client to read/write data on abt node",
8
8
  "main": "lib/index.js",
9
9
  "typings": "lib/index.d.ts",
@@ -26,19 +26,19 @@
26
26
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "@abtnode/client": "1.16.0-beta-1d6c582e",
30
- "@abtnode/constant": "1.16.0-beta-1d6c582e",
31
- "@arcblock/did": "1.18.62",
32
- "@arcblock/did-auth": "1.18.62",
33
- "@arcblock/jwt": "1.18.62",
34
- "@arcblock/ws": "1.18.62",
35
- "@blocklet/constant": "1.16.0-beta-1d6c582e",
36
- "@blocklet/meta": "1.16.0-beta-1d6c582e",
29
+ "@abtnode/client": "1.16.0-beta-62b42401",
30
+ "@abtnode/constant": "1.16.0-beta-62b42401",
31
+ "@arcblock/did": "1.18.63",
32
+ "@arcblock/did-auth": "1.18.63",
33
+ "@arcblock/jwt": "1.18.63",
34
+ "@arcblock/ws": "1.18.63",
35
+ "@blocklet/constant": "1.16.0-beta-62b42401",
36
+ "@blocklet/meta": "1.16.0-beta-62b42401",
37
37
  "@did-connect/authenticator": "^2.1.44",
38
38
  "@did-connect/handler": "^2.1.44",
39
39
  "@nedb/core": "^2.1.5",
40
- "@ocap/mcrypto": "1.18.62",
41
- "@ocap/wallet": "1.18.62",
40
+ "@ocap/mcrypto": "1.18.63",
41
+ "@ocap/wallet": "1.18.63",
42
42
  "axios": "^0.27.2",
43
43
  "cheerio": "^1.0.0-rc.12",
44
44
  "fs-extra": "^10.1.0",
@@ -71,5 +71,5 @@
71
71
  "ts-node": "^10.9.1",
72
72
  "typescript": "^4.8.4"
73
73
  },
74
- "gitHead": "209fa1413ae05d8961942b2c21f2d83df66f4b68"
74
+ "gitHead": "6ef1c3601d0cfdcf5da0b55b4c54ef1fa9fce7d2"
75
75
  }