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

sqlite-replication

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqlite-replication - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2-b

dist/index.js

4

package.json
{
"name": "sqlite-replication",
"version": "0.0.1",
"version": "0.0.2b",
"description": "A Typescript module to replicate SQLite DB with server.",

@@ -8,2 +8,4 @@ "scripts": {

},
"main": "./dist/index.js",
"types": "./dist/replication.d.ts",
"repository": {

@@ -10,0 +12,0 @@ "type": "git",

import { capSQLiteChanges } from '@capacitor-community/sqlite';
interface ReplicationStorage {
export interface ReplicationStorage {
createReplicationStatesTable(): Promise<any>;

@@ -9,3 +9,3 @@ getDefinedColumns(collectionName: string): Promise<string[] | null>;

}
interface ReplicationCollectionOptions {
export interface ReplicationCollectionOptions {
name: string;

@@ -17,3 +17,3 @@ batchSize: number;

}
interface ReplicationOptions {
export interface ReplicationOptions {
collections: ReplicationCollectionOptions[];

@@ -23,7 +23,7 @@ fetchPull: (pullConfigs: any) => Promise<any>;

}
interface ReplicationState {
export interface ReplicationState {
offset: number;
cursor: number;
}
interface ReplicationConfig {
export interface ReplicationConfig {
limit: number;

@@ -33,3 +33,3 @@ offset: number;

}
interface PulledCollection {
export interface PulledCollection {
hasMoreChanges: number;

@@ -41,3 +41,3 @@ offset: number;

}
interface PulledDocument {
export interface PulledDocument {
deletedAt: number;

@@ -44,0 +44,0 @@ updatedAt: number;

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