@midwayjs/tablestore 4.0.0-beta.6 → 4.0.0-beta.8

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.
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { Int64LE } from 'int64-buffer';
4
2
  /**
5
3
  * protocol/proto_buffer
package/dist/manager.js CHANGED
@@ -13,6 +13,7 @@ exports.TableStoreService = exports.TableStoreServiceFactory = void 0;
13
13
  const core_1 = require("@midwayjs/core");
14
14
  const TableStore = require("tablestore");
15
15
  let TableStoreServiceFactory = class TableStoreServiceFactory extends core_1.ServiceFactory {
16
+ tableStoreConfig;
16
17
  async init() {
17
18
  await this.initClients(this.tableStoreConfig, {
18
19
  concurrent: true,
@@ -41,6 +42,8 @@ exports.TableStoreServiceFactory = TableStoreServiceFactory = __decorate([
41
42
  (0, core_1.Scope)(core_1.ScopeEnum.Singleton)
42
43
  ], TableStoreServiceFactory);
43
44
  let TableStoreService = class TableStoreService {
45
+ serviceFactory;
46
+ instance;
44
47
  async init() {
45
48
  this.instance = this.serviceFactory.get(this.serviceFactory.getDefaultClientName?.() || 'default');
46
49
  if (!this.instance) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midwayjs/tablestore",
3
3
  "description": "midway tablestore component",
4
- "version": "4.0.0-beta.6",
4
+ "version": "4.0.0-beta.8",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
7
7
  "files": [
@@ -10,8 +10,8 @@
10
10
  "index.d.ts"
11
11
  ],
12
12
  "devDependencies": {
13
- "@midwayjs/core": "^4.0.0-beta.6",
14
- "@midwayjs/mock": "^4.0.0-beta.6"
13
+ "@midwayjs/core": "^4.0.0-beta.8",
14
+ "@midwayjs/mock": "^4.0.0-beta.8"
15
15
  },
16
16
  "dependencies": {
17
17
  "int64-buffer": "1.0.1",
@@ -37,5 +37,5 @@
37
37
  "type": "git",
38
38
  "url": "https://github.com/midwayjs/midway.git"
39
39
  },
40
- "gitHead": "a02425777d044ec502d050993bc256dc26d5b586"
40
+ "gitHead": "355e55949fdd132b0bdcb4830222a0a027e92ded"
41
41
  }