@blocklet/sdk 1.8.34 → 1.8.36

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.
@@ -8,6 +8,6 @@ declare const connectShared: (options?: {}) => {
8
8
  subscriptionEndpoint: string;
9
9
  nodeDid: string | undefined;
10
10
  }>;
11
- chainInfo: () => any;
11
+ chainInfo: () => Record<string, string>;
12
12
  };
13
13
  export = connectShared;
@@ -134,6 +134,7 @@ class AuthService extends client_1.default {
134
134
  // @ts-expect-error TS(2339) FIXME: Property '_getAuthHeaders' does not exist on type ... Remove this comment to see the full error message
135
135
  const headers = super._getAuthHeaders();
136
136
  headers['x-access-blocklet'] = this._blockletDid;
137
+ // x-access-service is not used since 1.8.35
137
138
  headers['x-access-service'] = NODE_SERVICES.AUTH_SERVICE;
138
139
  return headers;
139
140
  }
package/lib/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const version = "1.8.34";
1
+ declare const version = "1.8.36";
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.34';
4
+ const version = '1.8.36';
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.34",
6
+ "version": "1.8.36",
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.34",
30
- "@abtnode/constant": "1.8.34",
31
- "@arcblock/did-auth": "1.18.13",
32
- "@arcblock/jwt": "1.18.13",
33
- "@arcblock/ws": "1.18.13",
34
- "@blocklet/constant": "1.8.34",
35
- "@blocklet/meta": "1.8.34",
29
+ "@abtnode/client": "1.8.36",
30
+ "@abtnode/constant": "1.8.36",
31
+ "@arcblock/did-auth": "1.18.15",
32
+ "@arcblock/jwt": "1.18.15",
33
+ "@arcblock/ws": "1.18.15",
34
+ "@blocklet/constant": "1.8.36",
35
+ "@blocklet/meta": "1.8.36",
36
36
  "@did-connect/authenticator": "^2.1.26",
37
37
  "@did-connect/handler": "^2.1.26",
38
38
  "@nedb/core": "^2.0.5",
39
- "@ocap/mcrypto": "1.18.13",
40
- "@ocap/wallet": "1.18.13",
39
+ "@ocap/mcrypto": "1.18.15",
40
+ "@ocap/wallet": "1.18.15",
41
41
  "axios": "^0.27.2",
42
42
  "fs-extra": "^10.1.0",
43
43
  "joi": "17.6.3",
@@ -68,5 +68,5 @@
68
68
  "ts-node": "^10.9.1",
69
69
  "typescript": "^4.8.4"
70
70
  },
71
- "gitHead": "c5fbb8e57493db62f212217cfde1980c82f00297"
71
+ "gitHead": "507e974ce88bad1aa002c593130b32982207f803"
72
72
  }