@kmkf-fe-packages/kmkf-utils 2.0.2-beta.1 → 2.0.2-beta.6

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.
package/README.md CHANGED
@@ -1 +1 @@
1
- 111226333
1
+ 1112263331
@@ -18,6 +18,5 @@ declare class SendData {
18
18
  export declare class SendDataCenter {
19
19
  static instanceMap: Map<SendGoodPlatform, SendData>;
20
20
  static getInstance(platform: SendGoodPlatform): SendData;
21
- static getPromises(hasErpData: Record<string, boolean>, notJudgedErp: boolean): (() => Promise<void>)[];
22
21
  }
23
22
  export {};
@@ -76,16 +76,6 @@ export var SendDataCenter = /*#__PURE__*/function () {
76
76
  }
77
77
  return this.instanceMap.get(platform);
78
78
  }
79
- }, {
80
- key: "getPromises",
81
- value: function getPromises(hasErpData, notJudgedErp) {
82
- var hasWdt = hasErpData.hasWdt,
83
- hasGy = hasErpData.hasGy;
84
- var promises = [this.getInstance("km").fetchData];
85
- if (hasWdt || notJudgedErp) promises.push(this.getInstance("wdt").fetchData);
86
- if (hasGy || notJudgedErp) promises.push(this.getInstance("gy").fetchData);
87
- return promises;
88
- }
89
79
  }]);
90
80
  return SendDataCenter;
91
81
  }();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-utils",
3
- "version": "2.0.2-beta.1",
3
+ "version": "2.0.2-beta.6",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "7a34f469984f073e9d925408a003b5f29106f73b",
44
+ "gitHead": "a487fefe6909bca4bba684f2dc551302bf75fce4",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }