@electric-sql/client
Advanced tools
Comparing version 0.2.2 to 0.3.0
@@ -15,3 +15,3 @@ type Value = string | number | boolean | bigint | null | Value[] | { | ||
headers: Header & { | ||
action: `insert` | `update` | `delete`; | ||
operation: `insert` | `update` | `delete`; | ||
}; | ||
@@ -18,0 +18,0 @@ offset: Offset; |
@@ -401,5 +401,5 @@ var __defProp = Object.defineProperty; | ||
dataMayHaveChanged = [`insert`, `update`, `delete`].includes( | ||
message.headers.action | ||
message.headers.operation | ||
); | ||
switch (message.headers.action) { | ||
switch (message.headers.operation) { | ||
case `insert`: | ||
@@ -406,0 +406,0 @@ this.data.set(message.key, message.value); |
{ | ||
"name": "@electric-sql/client", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "Postgres everywhere - your data, in sync, wherever you need it.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -519,6 +519,6 @@ import { ArgumentsType } from 'vitest' | ||
dataMayHaveChanged = [`insert`, `update`, `delete`].includes( | ||
message.headers.action | ||
message.headers.operation | ||
) | ||
switch (message.headers.action) { | ||
switch (message.headers.operation) { | ||
case `insert`: | ||
@@ -525,0 +525,0 @@ this.data.set(message.key, message.value) |
@@ -23,3 +23,3 @@ export type Value = | ||
value: T | ||
headers: Header & { action: `insert` | `update` | `delete` } | ||
headers: Header & { operation: `insert` | `update` | `delete` } | ||
offset: Offset | ||
@@ -26,0 +26,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
212202