@blocklet/sdk 1.16.8-beta-186fd5aa → 1.16.8-next-d1e52353

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.
@@ -26,7 +26,7 @@ class DataBase extends core_1.DataStore {
26
26
  });
27
27
  // @ts-ignore
28
28
  const compactInterval = typeof options.compactInterval === 'undefined' ? 60 * 60 * 1000 : +options.compactInterval;
29
- if (compactInterval > 0) {
29
+ if (compactInterval > 0 && process.env.NODE_ENV !== 'test') {
30
30
  this.persistence.setAutoCompactionInterval(compactInterval, console.warn);
31
31
  }
32
32
  }
@@ -13,8 +13,6 @@ interface AuthService {
13
13
  }>;
14
14
  getUser(did: string, options?: {
15
15
  enableConnectedAccount?: boolean;
16
- enableNormalize?: boolean;
17
- blockletSk?: string;
18
16
  }): Promise<Client.ResponseUser>;
19
17
  getUsers(args?: OmitTeamDid<Client.RequestUsersInput>): Promise<Client.ResponseUsers>;
20
18
  getOwner(): Promise<Client.ResponseUser>;
@@ -1,4 +1,4 @@
1
- export interface TEmailConfigSchema {
1
+ export interface TEmailConfig {
2
2
  from: string;
3
3
  host: string;
4
4
  password: string;
@@ -13,5 +13,5 @@ const emailConfigSchema = joi_1.default.object({
13
13
  password: joi_1.default.string().required(),
14
14
  })
15
15
  .empty(null)
16
- .meta({ className: 'TEmailConfigSchema' });
16
+ .meta({ className: 'TEmailConfig' });
17
17
  exports.emailConfigSchema = emailConfigSchema;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.8-beta-186fd5aa",
6
+ "version": "1.16.8-next-d1e52353",
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,15 +26,15 @@
26
26
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "@abtnode/client": "1.16.8-beta-186fd5aa",
30
- "@abtnode/constant": "1.16.8-beta-186fd5aa",
29
+ "@abtnode/client": "1.16.8-next-d1e52353",
30
+ "@abtnode/constant": "1.16.8-next-d1e52353",
31
31
  "@arcblock/did": "1.18.78",
32
32
  "@arcblock/did-auth": "1.18.78",
33
33
  "@arcblock/jwt": "1.18.78",
34
34
  "@arcblock/ws": "1.18.78",
35
- "@blocklet/constant": "1.16.8-beta-186fd5aa",
36
- "@blocklet/env": "1.16.8-beta-186fd5aa",
37
- "@blocklet/meta": "1.16.8-beta-186fd5aa",
35
+ "@blocklet/constant": "1.16.8-next-d1e52353",
36
+ "@blocklet/env": "1.16.8-next-d1e52353",
37
+ "@blocklet/meta": "1.16.8-next-d1e52353",
38
38
  "@did-connect/authenticator": "^2.1.54",
39
39
  "@did-connect/handler": "^2.1.54",
40
40
  "@nedb/core": "^2.1.5",
@@ -69,9 +69,9 @@
69
69
  "joi-to-typescript": "^4.0.7",
70
70
  "json-stable-stringify": "^1.0.1",
71
71
  "prettier": "^2.7.1",
72
- "ts-jest": "^29.0.3",
72
+ "ts-jest": "^27.1.5",
73
73
  "ts-node": "^10.9.1",
74
74
  "typescript": "^4.8.4"
75
75
  },
76
- "gitHead": "3150c3a5c3e041fe7f5a3902418d9d62adee3173"
76
+ "gitHead": "d357376aa3df9ef789befc7f548629deecb04d96"
77
77
  }