@blocklet/sdk 1.16.6 → 1.16.7

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.
@@ -97,7 +97,7 @@ class AuthService {
97
97
  const apiFallback = (fn) => (params = {}, ...args) => fn({ input: { ...params, teamDid }, ...args });
98
98
  // const apiConvertDid = (fn: Function) => (did: string) => fn({ input: { user: { did }, teamDid } });
99
99
  const apiFnMap = {
100
- getUser: (fn) => async (did, options) => {
100
+ getUser: (fn) => async (did, options = {}) => {
101
101
  const res = await fn({ input: { user: { did }, options, teamDid } });
102
102
  fixAvatar(res.user);
103
103
  return res;
package/lib/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const version = "1.16.6";
1
+ declare const version = "1.16.7";
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.16.6';
4
+ const version = '1.16.7';
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.16.6",
6
+ "version": "1.16.7",
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,20 +26,20 @@
26
26
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "@abtnode/client": "1.16.6",
30
- "@abtnode/constant": "1.16.6",
31
- "@arcblock/did": "1.18.77",
32
- "@arcblock/did-auth": "1.18.77",
33
- "@arcblock/jwt": "1.18.77",
34
- "@arcblock/ws": "1.18.77",
35
- "@blocklet/constant": "1.16.6",
36
- "@blocklet/env": "1.16.6",
37
- "@blocklet/meta": "1.16.6",
29
+ "@abtnode/client": "1.16.7",
30
+ "@abtnode/constant": "1.16.7",
31
+ "@arcblock/did": "1.18.78",
32
+ "@arcblock/did-auth": "1.18.78",
33
+ "@arcblock/jwt": "1.18.78",
34
+ "@arcblock/ws": "1.18.78",
35
+ "@blocklet/constant": "1.16.7",
36
+ "@blocklet/env": "1.16.7",
37
+ "@blocklet/meta": "1.16.7",
38
38
  "@did-connect/authenticator": "^2.1.54",
39
39
  "@did-connect/handler": "^2.1.54",
40
40
  "@nedb/core": "^2.1.5",
41
- "@ocap/mcrypto": "1.18.77",
42
- "@ocap/wallet": "1.18.77",
41
+ "@ocap/mcrypto": "1.18.78",
42
+ "@ocap/wallet": "1.18.78",
43
43
  "axios": "^0.27.2",
44
44
  "cheerio": "^1.0.0-rc.12",
45
45
  "fs-extra": "^10.1.0",
@@ -72,5 +72,5 @@
72
72
  "ts-node": "^10.9.1",
73
73
  "typescript": "^4.8.4"
74
74
  },
75
- "gitHead": "fcd4d0f944f4fd20b26ea7a784390a5fbb57e000"
75
+ "gitHead": "dadd7bfa319e2ee5144bdccb6e280ffe4b8d2679"
76
76
  }