@live-change/db 0.9.162 → 0.9.163

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.
@@ -3,7 +3,7 @@ import crypto from 'crypto'
3
3
  import { ChangeStreamPipe } from './ChangeStream.js'
4
4
  import pref_hooks from 'perf_hooks'
5
5
  import { rangeIntersection, rangeUnion, unitRange, prefixRange } from './utils.js'
6
- import { serializeKeyToString, deserializeKeyFromString } from '@live-change/serialization'
6
+ import { serializeKeyToString, deserializeKeyFromString, serializeKeyDataToString } from '@live-change/serialization'
7
7
 
8
8
  const defaultNativeGlobals = [
9
9
  'Array', 'ArrayBuffer',
@@ -43,6 +43,7 @@ const defaultContext = {
43
43
  prefixRange,
44
44
 
45
45
  serializeKey : serializeKeyToString,
46
+ serializeKeyData : serializeKeyDataToString,
46
47
  deserializeKey : deserializeKeyFromString,
47
48
 
48
49
  'performance': pref_hooks.performance,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/db",
3
- "version": "0.9.162",
3
+ "version": "0.9.163",
4
4
  "description": "Database with observable data for live queries",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,8 +22,8 @@
22
22
  "type": "module",
23
23
  "homepage": "https://github.com/live-change/live-change-stack",
24
24
  "devDependencies": {
25
- "@live-change/db-store-level": "^0.9.162",
26
- "@live-change/db-store-lmdb": "^0.9.162",
25
+ "@live-change/db-store-level": "^0.9.163",
26
+ "@live-change/db-store-lmdb": "^0.9.163",
27
27
  "minimist": ">=1.2.3",
28
28
  "next-tick": "^1.1.0",
29
29
  "rimraf": "^5.0.5",
@@ -32,10 +32,10 @@
32
32
  "websocket-extensions": ">=0.1.4"
33
33
  },
34
34
  "dependencies": {
35
- "@live-change/dao": "^0.9.162",
36
- "@live-change/serialization": "^0.9.162",
35
+ "@live-change/dao": "^0.9.163",
36
+ "@live-change/serialization": "^0.9.163",
37
37
  "get-random-values": "^1.2.2",
38
38
  "node-interval-tree": "^1.3.3"
39
39
  },
40
- "gitHead": "59cd1485ca6d76bd87a6634a92d6e661e5803d5e"
40
+ "gitHead": "c410e1dacd07daed9a5c55367abd7f19d9a575cc"
41
41
  }