@quantform/sqlite 0.7.0-beta.59 → 0.7.0-beta.60

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/lib/index.js CHANGED
@@ -14,10 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.sqlite = sqlite;
17
+ exports.sqlite = void 0;
18
18
  const sqlite_storage_1 = require("./sqlite-storage");
19
19
  const core_1 = require("@quantform/core");
20
20
  __exportStar(require("./sqlite-storage"), exports);
21
21
  function sqlite(directory) {
22
22
  return core_1.useStorageFactory.options(new sqlite_storage_1.SQLiteStorageFactory(directory));
23
23
  }
24
+ exports.sqlite = sqlite;
@@ -1 +1 @@
1
- {"version":3,"file":"sqlite-storage.d.ts","sourceRoot":"","sources":["../src/sqlite-storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAK1C,OAAO,EAEL,gBAAgB,EAEhB,KAAK,EACL,WAAW,EACX,eAAe,EACf,OAAO,EACP,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAIzB,qBACa,oBAAqB,YAAW,cAAc;IAC7C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC;gBAAV,SAAS,CAAC,EAAE,MAAM,YAAA;IAE/C,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;CAK1B;AAED,qBAAa,aAAc,YAAW,OAAO;IAI/B,QAAQ,CAAC,QAAQ,EAAE,MAAM;IAHrC,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC;IAC/B,OAAO,CAAC,MAAM,CAAC,CAAW;gBAEL,QAAQ,EAAE,MAAM;IAQ/B,KAAK,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAQ/B,KAAK,C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AC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IA0B3B,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,EAC5D,IAAI,EAAE,CAAC,EACP,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,GAC7B,OAAO,CAAC,IAAI,CAAC;CAuBjB"}
@@ -33,11 +33,11 @@ let SQLiteStorageFactory = class SQLiteStorageFactory {
33
33
  return new SQLiteStorage((0, path_1.join)((_a = this.directory) !== null && _a !== void 0 ? _a : (0, core_1.workingDirectory)(), `/${key}.sqlite`));
34
34
  }
35
35
  };
36
- exports.SQLiteStorageFactory = SQLiteStorageFactory;
37
- exports.SQLiteStorageFactory = SQLiteStorageFactory = __decorate([
36
+ SQLiteStorageFactory = __decorate([
38
37
  (0, core_1.provider)(),
39
38
  __metadata("design:paramtypes", [String])
40
39
  ], SQLiteStorageFactory);
40
+ exports.SQLiteStorageFactory = SQLiteStorageFactory;
41
41
  class SQLiteStorage {
42
42
  constructor(filename) {
43
43
  this.filename = filename;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantform/sqlite",
3
- "version": "0.7.0-beta.59",
3
+ "version": "0.7.0-beta.60",
4
4
  "license": "MIT",
5
5
  "author": "Mateusz Majchrzak",
6
6
  "description": "Node.js library for building systematic trading strategies in reactive way.",
@@ -18,10 +18,10 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/better-sqlite3": "^7.6.12",
21
- "@quantform/core": "0.7.0-beta.59"
21
+ "@quantform/core": "0.7.0-beta.60"
22
22
  },
23
23
  "peerDependencies": {
24
- "@quantform/core": "0.7.0-beta.59"
24
+ "@quantform/core": "0.7.0-beta.60"
25
25
  },
26
26
  "scripts": {
27
27
  "build": "tsc && tsc-alias",