memorio 5.1.1 → 5.1.2

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/global.cjs CHANGED
@@ -4638,7 +4638,7 @@ init_internal();
4638
4638
 
4639
4639
  // package.json
4640
4640
  var package_default = {
4641
- version: "5.1.1"};
4641
+ version: "5.1.2"};
4642
4642
 
4643
4643
  // core/global.ts
4644
4644
  init_env();
package/global.js CHANGED
@@ -4635,7 +4635,7 @@ init_internal();
4635
4635
 
4636
4636
  // package.json
4637
4637
  var package_default = {
4638
- version: "5.1.1"};
4638
+ version: "5.1.2"};
4639
4639
 
4640
4640
  // core/global.ts
4641
4641
  init_env();
package/index.cjs CHANGED
@@ -4635,7 +4635,7 @@ init_internal();
4635
4635
 
4636
4636
  // package.json
4637
4637
  var package_default = {
4638
- version: "5.1.1"};
4638
+ version: "5.1.2"};
4639
4639
 
4640
4640
  // core/global.ts
4641
4641
  init_env();
package/index.js CHANGED
@@ -4632,7 +4632,7 @@ init_internal();
4632
4632
 
4633
4633
  // package.json
4634
4634
  var package_default = {
4635
- version: "5.1.1"};
4635
+ version: "5.1.2"};
4636
4636
 
4637
4637
  // core/global.ts
4638
4638
  init_env();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "memorio",
3
3
  "codeName": "memorio",
4
- "version": "5.1.1",
4
+ "version": "5.1.2",
5
5
  "description": "Memorio, State + Observer, Store and iDB for an easy life - Cross-platform compatible",
6
6
  "main": "./index.cjs",
7
7
  "browser": {
@@ -0,0 +1,14 @@
1
+ declare module 'bun:sqlite' {
2
+ export class Database {
3
+ constructor(path: string)
4
+ run(sql: string, ...params: any[]): any
5
+ query(sql: string): { all(...params: any[]): any[]; get(...params: any[]): any }
6
+ close(): void
7
+ prepare(sql: string): { all(...params: any[]): any[]; get(...params: any[]): any }
8
+ }
9
+ export class Statement {
10
+ all(...params: any[]): any[]
11
+ get(...params: any[]): any
12
+ run(...params: any[]): any
13
+ }
14
+ }
@@ -29,8 +29,8 @@ interface _encryption {
29
29
  deriveKey: (
30
30
  password: string,
31
31
  salt?: string | Uint8Array,
32
- alg?: 'AES-GCM' | 'AES-CBC'
33
- iterations?: number
32
+ alg?: 'AES-GCM' | 'AES-CBC',
33
+ iterations?: number
34
34
  ) => Promise<CryptoKey>
35
35
 
36
36
  /**
package/vsix/memorio.vsix CHANGED
Binary file