@quantform/sqlite 0.7.24 → 0.7.26

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,4 +1,3 @@
1
- import { Database } from 'better-sqlite3';
2
1
  import { InferQueryObject, Query, QueryObject, QueryObjectType, Storage, StorageFactory } from '@quantform/core';
3
2
  export declare class SQLiteStorageFactory implements StorageFactory {
4
3
  private readonly directory?;
@@ -7,7 +6,7 @@ export declare class SQLiteStorageFactory implements StorageFactory {
7
6
  }
8
7
  export declare class SQLiteStorage implements Storage {
9
8
  readonly filename: string;
10
- protected connection: Database;
9
+ private connection;
11
10
  private tables?;
12
11
  constructor(filename: string);
13
12
  index(): Promise<Array<string>>;
@@ -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,oBAAQ;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,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,EAC7D,IAAI,EAAE,CAAC,EACP,KAAK,E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AgB,CAAC,CAAC,CAAC,EAAE,GAC7B,OAAO,CAAC,IAAI,CAAC;CAuBjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantform/sqlite",
3
- "version": "0.7.24",
3
+ "version": "0.7.26",
4
4
  "license": "MIT",
5
5
  "author": "Mateusz Majchrzak",
6
6
  "description": "Node.js library for building systematic trading strategies in reactive way.",
@@ -15,10 +15,10 @@
15
15
  "typings": "lib/index.d.ts",
16
16
  "devDependencies": {
17
17
  "@types/better-sqlite3": "^7.6.12",
18
- "@quantform/core": "0.7.24"
18
+ "@quantform/core": "0.7.26"
19
19
  },
20
20
  "peerDependencies": {
21
- "@quantform/core": "0.7.24"
21
+ "@quantform/core": "0.7.26"
22
22
  },
23
23
  "dependencies": {
24
24
  "better-sqlite3": "^11.9.1"
@@ -29,7 +29,7 @@ export class SQLiteStorageFactory implements StorageFactory {
29
29
  }
30
30
 
31
31
  export class SQLiteStorage implements Storage {
32
- protected connection: Database;
32
+ private connection: Database;
33
33
  private tables?: string[];
34
34
 
35
35
  constructor(readonly filename: string) {