@xyo-network/archivist-memory 4.1.1 → 4.1.3

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.
@@ -1,25 +1,3 @@
1
- import { GenericArchivistParams, GenericArchivist } from '@xyo-network/archivist-generic';
2
- import { ArchivistConfig, ArchivistModuleEventData, AttachableArchivistInstance } from '@xyo-network/archivist-model';
3
- import { AnyConfigSchema, ModuleInstance, AttachableModuleInstance } from '@xyo-network/module-model';
4
- import { Payload, Schema } from '@xyo-network/payload-model';
5
- import { EmptyObject, WithAdditional } from '@xylabs/object';
6
-
7
- declare const MemoryArchivistConfigSchema: "network.xyo.archivist.memory.config";
8
- type MemoryArchivistConfigSchema = typeof MemoryArchivistConfigSchema;
9
- type MemoryArchivistConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends Schema | void = void> = ArchivistConfig<WithAdditional<{
10
- max?: number;
11
- }, TConfig>, TSchema extends Schema ? TSchema : MemoryArchivistConfigSchema | ArchivistConfig['schema']>;
12
-
13
- type MemoryArchivistParams<TConfig extends AnyConfigSchema<MemoryArchivistConfig> = AnyConfigSchema<MemoryArchivistConfig>> = GenericArchivistParams<TConfig>;
14
- declare class MemoryArchivist<TParams extends MemoryArchivistParams<AnyConfigSchema<MemoryArchivistConfig>> = MemoryArchivistParams, TEventData extends ArchivistModuleEventData = ArchivistModuleEventData> extends GenericArchivist<TParams, TEventData> implements AttachableArchivistInstance, ModuleInstance {
15
- static readonly configSchemas: Schema[];
16
- static readonly defaultConfigSchema: Schema;
17
- static readonly labels: {
18
- "network.xyo.storage.class": string;
19
- };
20
- get queries(): string[];
21
- static paramsHandler<T extends AttachableModuleInstance<MemoryArchivistParams, ArchivistModuleEventData>>(inParams?: Partial<T['params']>): Promise<T['params']>;
22
- }
23
-
24
- export { MemoryArchivist, MemoryArchivistConfigSchema };
25
- export type { MemoryArchivistConfig, MemoryArchivistParams };
1
+ export * from './Archivist.ts';
2
+ export * from './Config.ts';
3
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/archivist-memory",
3
- "version": "4.1.1",
3
+ "version": "4.1.3",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,33 +29,33 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/assert": "^4.13.15",
33
- "@xylabs/creatable": "^4.13.15",
34
- "@xylabs/exists": "^4.13.15",
35
- "@xylabs/object": "^4.13.15",
36
- "@xylabs/typeof": "^4.13.15",
37
- "@xyo-network/archivist-abstract": "^4.1.1",
38
- "@xyo-network/archivist-generic": "^4.1.1",
39
- "@xyo-network/archivist-model": "^4.1.1",
40
- "@xyo-network/module-model": "^4.1.1",
41
- "@xyo-network/payload-builder": "^4.1.1",
42
- "@xyo-network/payload-model": "^4.1.1",
32
+ "@xylabs/assert": "^4.13.16",
33
+ "@xylabs/creatable": "^4.13.16",
34
+ "@xylabs/exists": "^4.13.16",
35
+ "@xylabs/object": "^4.13.16",
36
+ "@xylabs/typeof": "^4.13.16",
37
+ "@xyo-network/archivist-abstract": "^4.1.3",
38
+ "@xyo-network/archivist-generic": "^4.1.3",
39
+ "@xyo-network/archivist-model": "^4.1.3",
40
+ "@xyo-network/module-model": "^4.1.3",
41
+ "@xyo-network/payload-builder": "^4.1.3",
42
+ "@xyo-network/payload-model": "^4.1.3",
43
43
  "lru-cache": "^11.1.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@xylabs/delay": "^4.13.15",
47
- "@xylabs/hex": "^4.13.15",
48
- "@xylabs/promise": "^4.13.15",
49
- "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.23",
50
- "@xylabs/tsconfig": "^7.0.0-rc.23",
51
- "@xylabs/vitest-extended": "^4.13.15",
52
- "@xyo-network/account": "^4.1.1",
53
- "@xyo-network/account-model": "^4.1.1",
54
- "@xyo-network/archivist-acceptance-tests": "^4.1.1",
55
- "@xyo-network/boundwitness-model": "^4.1.1",
56
- "@xyo-network/id-payload-plugin": "^4.1.1",
57
- "@xyo-network/payload-wrapper": "^4.1.1",
58
- "@xyo-network/wallet": "^4.1.1",
46
+ "@xylabs/delay": "^4.13.16",
47
+ "@xylabs/hex": "^4.13.16",
48
+ "@xylabs/promise": "^4.13.16",
49
+ "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.27",
50
+ "@xylabs/tsconfig": "^7.0.0-rc.27",
51
+ "@xylabs/vitest-extended": "^4.13.16",
52
+ "@xyo-network/account": "^4.1.3",
53
+ "@xyo-network/account-model": "^4.1.3",
54
+ "@xyo-network/archivist-acceptance-tests": "^4.1.3",
55
+ "@xyo-network/boundwitness-model": "^4.1.3",
56
+ "@xyo-network/id-payload-plugin": "^4.1.3",
57
+ "@xyo-network/payload-wrapper": "^4.1.3",
58
+ "@xyo-network/wallet": "^4.1.3",
59
59
  "typescript": "^5.8.3",
60
60
  "vitest": "^3.2.4"
61
61
  },