testit-js-commons 3.2.9 → 3.2.10

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.
@@ -10,5 +10,5 @@ export declare namespace Utils {
10
10
  function writeFile(path: string, content: string): void;
11
11
  function createTempDir(): string;
12
12
  function readStream(path: string): fs.ReadStream;
13
- function readBuffer(path: string): Buffer;
13
+ function readBufferSync(path: string): Buffer;
14
14
  }
@@ -87,8 +87,8 @@ var Utils;
87
87
  return fs_1.default.createReadStream(path);
88
88
  }
89
89
  Utils.readStream = readStream;
90
- function readBuffer(path) {
90
+ function readBufferSync(path) {
91
91
  return fs_1.default.readFileSync(path);
92
92
  }
93
- Utils.readBuffer = readBuffer;
93
+ Utils.readBufferSync = readBufferSync;
94
94
  })(Utils || (exports.Utils = Utils = {}));
@@ -1,5 +1,5 @@
1
1
  import { AdapterConfig } from "../common";
2
- import { IStrategy } from "./strategy.type";
2
+ import { BaseStrategy } from "./base.strategy";
3
3
  export declare class StrategyFactory {
4
- static create(config: AdapterConfig): IStrategy;
4
+ static create(config: AdapterConfig): BaseStrategy;
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testit-js-commons",
3
- "version": "3.2.9",
3
+ "version": "3.2.10",
4
4
  "description": "JavaScript commons for Test IT",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",