Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vlcn.io/xplat-api

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vlcn.io/xplat-api - npm Package Compare versions

Comparing version 0.3.1 to 0.4.0

8

dist/xplat-api.d.ts

@@ -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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc