@cqlite/node 0.13.0 → 0.14.1

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.
Binary file
Binary file
Binary file
Binary file
Binary file
package/lib/index.d.ts CHANGED
@@ -791,7 +791,8 @@ export type ErrorCode =
791
791
  | 'CONSTRAINT' // Constraint violations
792
792
  | 'TRANSACTION' // Transaction errors
793
793
  | 'PLATFORM' // Platform-specific errors (WASM)
794
- | 'INTERNAL'; // Internal errors
794
+ | 'INTERNAL' // Internal errors
795
+ | 'CANCELLED'; // Cooperative scan cancellation (issue #2264 — never 'IO')
795
796
 
796
797
  /**
797
798
  * Error category names for CQLite errors.
@@ -813,7 +814,8 @@ export type ErrorCategory =
813
814
  | 'Constraint'
814
815
  | 'Transaction'
815
816
  | 'Platform'
816
- | 'Internal';
817
+ | 'Internal'
818
+ | 'Cancelled';
817
819
 
818
820
  /**
819
821
  * CQLite error interface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqlite/node",
3
- "version": "0.13.0",
3
+ "version": "0.14.1",
4
4
  "description": "Node.js bindings for CQLite - read Apache Cassandra 5.0 SSTables without cluster dependencies",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",