@vlcn.io/xplat-api
Advanced tools
Comparing version 0.3.1 to 0.4.0
@@ -0,1 +1,7 @@ | ||
export type UpdateType = 9 | 18 | 23; | ||
export declare const updateType: { | ||
DELETE: number; | ||
INSERT: number; | ||
UPDATE: number; | ||
}; | ||
export interface DB { | ||
@@ -11,2 +17,3 @@ execMany(sql: string[]): void; | ||
transaction(cb: () => void): void; | ||
onUpdate(cb: (type: UpdateType, dbName: string, tblName: string, rowid: bigint) => void): () => void; | ||
} | ||
@@ -19,2 +26,3 @@ export type DBAsync = { | ||
close(): void; | ||
onUpdate(cb: (type: UpdateType, dbName: string, tblName: string, rowid: bigint) => void): () => void; | ||
prepare(sql: string): Promise<StmtAsync>; | ||
@@ -21,0 +29,0 @@ createFunction(name: string, fn: (...args: any) => unknown, opts?: {}): void; |
@@ -0,2 +1,7 @@ | ||
export const updateType = { | ||
DELETE: 9, | ||
INSERT: 18, | ||
UPDATE: 23, | ||
}; | ||
export const version = 1; | ||
//# sourceMappingURL=xplat-api.js.map |
{ | ||
"name": "@vlcn.io/xplat-api", | ||
"type": "module", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"files": [ | ||
@@ -6,0 +6,0 @@ "dist" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17358
55