@xyo-network/archivist-memory 3.9.2 → 3.9.4
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.
- package/dist/neutral/index.d.ts +2 -5
- package/package.json +12 -12
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as _xylabs_object from '@xylabs/object';
|
|
2
|
-
import { EmptyObject, WithAdditional } from '@xylabs/object';
|
|
3
1
|
import { Hash } from '@xylabs/hex';
|
|
4
2
|
import { Promisable } from '@xylabs/promise';
|
|
5
3
|
import { AccountInstance } from '@xyo-network/account';
|
|
@@ -9,6 +7,7 @@ import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
|
9
7
|
import { AnyConfigSchema, ModuleInstance } from '@xyo-network/module-model';
|
|
10
8
|
import { Payload, Schema, WithStorageMeta } from '@xyo-network/payload-model';
|
|
11
9
|
import { LRUCache } from 'lru-cache';
|
|
10
|
+
import { EmptyObject, WithAdditional } from '@xylabs/object';
|
|
12
11
|
|
|
13
12
|
declare const MemoryArchivistConfigSchema: "network.xyo.archivist.memory.config";
|
|
14
13
|
type MemoryArchivistConfigSchema = typeof MemoryArchivistConfigSchema;
|
|
@@ -23,9 +22,7 @@ declare class MemoryArchivist<TParams extends MemoryArchivistParams<AnyConfigSch
|
|
|
23
22
|
private _cache?;
|
|
24
23
|
private _dataHashIndex?;
|
|
25
24
|
get queries(): string[];
|
|
26
|
-
protected get cache(): LRUCache<Lowercase<string>, WithStorageMeta<
|
|
27
|
-
schema: Schema;
|
|
28
|
-
}>>, unknown>;
|
|
25
|
+
protected get cache(): LRUCache<Lowercase<string>, WithStorageMeta<Payload>, unknown>;
|
|
29
26
|
protected get dataHashIndex(): LRUCache<Lowercase<string>, Lowercase<string>, unknown>;
|
|
30
27
|
protected get max(): number;
|
|
31
28
|
private static findIndexFromCursor;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/archivist-memory",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.4",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"@xylabs/hex": "^4.5.1",
|
|
35
35
|
"@xylabs/object": "^4.5.1",
|
|
36
36
|
"@xylabs/promise": "^4.5.1",
|
|
37
|
-
"@xyo-network/account": "^3.9.
|
|
38
|
-
"@xyo-network/archivist-abstract": "^3.9.
|
|
39
|
-
"@xyo-network/archivist-model": "^3.9.
|
|
40
|
-
"@xyo-network/boundwitness-model": "^3.9.
|
|
41
|
-
"@xyo-network/module-model": "^3.9.
|
|
42
|
-
"@xyo-network/payload-builder": "^3.9.
|
|
43
|
-
"@xyo-network/payload-model": "^3.9.
|
|
37
|
+
"@xyo-network/account": "^3.9.4",
|
|
38
|
+
"@xyo-network/archivist-abstract": "^3.9.4",
|
|
39
|
+
"@xyo-network/archivist-model": "^3.9.4",
|
|
40
|
+
"@xyo-network/boundwitness-model": "^3.9.4",
|
|
41
|
+
"@xyo-network/module-model": "^3.9.4",
|
|
42
|
+
"@xyo-network/payload-builder": "^3.9.4",
|
|
43
|
+
"@xyo-network/payload-model": "^3.9.4",
|
|
44
44
|
"lru-cache": "^11.0.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"@xylabs/ts-scripts-yarn3": "^5.0.24",
|
|
49
49
|
"@xylabs/tsconfig": "^5.0.24",
|
|
50
50
|
"@xylabs/vitest-extended": "^4.5.1",
|
|
51
|
-
"@xyo-network/account": "^3.9.
|
|
52
|
-
"@xyo-network/archivist-acceptance-tests": "^3.9.
|
|
53
|
-
"@xyo-network/id-payload-plugin": "^3.9.
|
|
54
|
-
"@xyo-network/payload-wrapper": "^3.9.
|
|
51
|
+
"@xyo-network/account": "^3.9.4",
|
|
52
|
+
"@xyo-network/archivist-acceptance-tests": "^3.9.4",
|
|
53
|
+
"@xyo-network/id-payload-plugin": "^3.9.4",
|
|
54
|
+
"@xyo-network/payload-wrapper": "^3.9.4",
|
|
55
55
|
"typescript": "^5.7.3",
|
|
56
56
|
"vitest": "^3.0.5"
|
|
57
57
|
},
|