@blocklet/sdk 1.8.48 → 1.8.50

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.
@@ -20,9 +20,6 @@ const connectShared = (options = {}) => (Object.assign(Object.assign({ chainInfo
20
20
  const info = yield closure(options.appInfo)(...args);
21
21
  const { request, baseUrl } = args[0];
22
22
  const groupPathPrefix = request.headers['x-group-path-prefix'] || '/';
23
- const appLogo = process.env.BLOCKLET_APP_LOGO || '';
24
- const appLogoSquare = process.env.BLOCKLET_APP_LOGO_SQUARE || '';
25
- const appLogoStore = (0, url_join_1.default)(baseUrl, constants_1.SERVICE_PREFIX, '/blocklet/logo');
26
- return Object.assign(Object.assign({ name: process.env.BLOCKLET_APP_NAME, description: process.env.BLOCKLET_APP_DESCRIPTION }, (info || {})), { link: (0, util_1.getConnectAppUrl)(args[0]), icon: appLogoSquare || appLogo || appLogoStore, updateSubEndpoint: true, subscriptionEndpoint: (0, url_join_1.default)(groupPathPrefix, constants_1.SERVICE_PREFIX, 'websocket'), nodeDid: process.env.ABT_NODE_DID });
23
+ return Object.assign(Object.assign({ name: process.env.BLOCKLET_APP_NAME, description: process.env.BLOCKLET_APP_DESCRIPTION }, (info || {})), { link: (0, util_1.getConnectAppUrl)(args[0]), icon: (0, url_join_1.default)(baseUrl, constants_1.SERVICE_PREFIX, `/blocklet/logo?v=${process.env.BLOCKLET_APP_VERSION || ''}`), updateSubEndpoint: true, subscriptionEndpoint: (0, url_join_1.default)(groupPathPrefix, constants_1.SERVICE_PREFIX, 'websocket'), nodeDid: process.env.ABT_NODE_DID });
27
24
  }) }));
28
25
  module.exports = connectShared;
package/lib/index.d.ts CHANGED
@@ -37,6 +37,7 @@ declare global {
37
37
  appName: string;
38
38
  appDescription: string;
39
39
  appLogo: string;
40
+ appLogoRect: string;
40
41
  appUrl: string;
41
42
  isComponent: boolean;
42
43
  prefix: string;
package/lib/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const version = "1.8.48";
1
+ declare const version = "1.8.50";
2
2
  export { version };
3
3
  declare const _default: {
4
4
  version: string;
package/lib/version.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- const version = '1.8.48';
4
+ const version = '1.8.50';
5
5
  exports.version = version;
6
6
  exports.default = { version };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.48",
6
+ "version": "1.8.50",
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,18 +26,18 @@
26
26
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "@abtnode/client": "1.8.48",
30
- "@abtnode/constant": "1.8.48",
31
- "@arcblock/did-auth": "1.18.31",
32
- "@arcblock/jwt": "1.18.31",
33
- "@arcblock/ws": "1.18.31",
34
- "@blocklet/constant": "1.8.48",
35
- "@blocklet/meta": "1.8.48",
36
- "@did-connect/authenticator": "^2.1.29",
37
- "@did-connect/handler": "^2.1.29",
29
+ "@abtnode/client": "1.8.50",
30
+ "@abtnode/constant": "1.8.50",
31
+ "@arcblock/did-auth": "1.18.32",
32
+ "@arcblock/jwt": "1.18.32",
33
+ "@arcblock/ws": "1.18.32",
34
+ "@blocklet/constant": "1.8.50",
35
+ "@blocklet/meta": "1.8.50",
36
+ "@did-connect/authenticator": "^2.1.30",
37
+ "@did-connect/handler": "^2.1.30",
38
38
  "@nedb/core": "^2.0.5",
39
- "@ocap/mcrypto": "1.18.31",
40
- "@ocap/wallet": "1.18.31",
39
+ "@ocap/mcrypto": "1.18.32",
40
+ "@ocap/wallet": "1.18.32",
41
41
  "axios": "^0.27.2",
42
42
  "fs-extra": "^10.1.0",
43
43
  "joi": "17.7.0",
@@ -69,5 +69,5 @@
69
69
  "ts-node": "^10.9.1",
70
70
  "typescript": "^4.8.4"
71
71
  },
72
- "gitHead": "39979d7a059d5f97442ac7d46604391e6656ac8d"
72
+ "gitHead": "7f3ccb957659a6791b93b6fc4fbcbbd2c42f1efd"
73
73
  }