@xyo-network/abstract-witness 3.9.1 → 3.9.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,8 +1,7 @@
1
- import * as _xyo_network_archivist_model from '@xyo-network/archivist-model';
2
- import { ArchivistInstance } from '@xyo-network/archivist-model';
3
- import * as _xylabs_logger from '@xylabs/logger';
4
1
  import * as _xyo_network_module_model from '@xyo-network/module-model';
5
2
  import { ModuleQueryResult, ModuleConfig, ModuleQueryHandlerResult } from '@xyo-network/module-model';
3
+ import * as _xyo_network_archivist_model from '@xyo-network/archivist-model';
4
+ import { ArchivistInstance } from '@xyo-network/archivist-model';
6
5
  import * as _xylabs_object from '@xylabs/object';
7
6
  import { Promisable } from '@xylabs/promise';
8
7
  import { AccountInstance } from '@xyo-network/account-model';
@@ -22,64 +21,10 @@ declare abstract class AbstractWitness<TParams extends WitnessParams = WitnessPa
22
21
  addToResolvers?: boolean;
23
22
  additionalSigners?: AccountInstance[];
24
23
  allowNameResolution?: boolean;
25
- config: _xylabs_object.DeepRestrictToStringKeys<{
26
- schema: Schema;
27
- readonly archiving?: {
28
- readonly archivists?: string[] | undefined;
29
- readonly queries?: string[] | undefined;
30
- } | undefined;
31
- readonly allowedQueries?: string[] | undefined;
32
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
33
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
34
- readonly labels?: {
35
- [x: string]: string | undefined;
36
- } | undefined;
37
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
38
- readonly paging?: {
39
- [x: string]: {
40
- size?: number | undefined;
41
- };
42
- } | undefined;
43
- readonly retry?: {
44
- backoff?: number | undefined;
45
- interval?: number | undefined;
46
- retries?: number | undefined;
47
- } | undefined;
48
- readonly security?: {
49
- readonly allowAnonymous?: boolean | undefined;
50
- readonly allowed?: {
51
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
52
- } | undefined;
53
- readonly disallowed?: {
54
- [x: string]: Lowercase<string>[];
55
- } | undefined;
56
- } | undefined;
57
- readonly sign?: boolean | undefined;
58
- readonly storeQueries?: boolean | undefined;
59
- readonly timestamp?: boolean | undefined;
60
- parents?: {
61
- commit?: string[] | undefined;
62
- read?: string[] | undefined;
63
- write?: string[] | undefined;
64
- } | undefined;
65
- requireAllParents?: boolean | undefined;
66
- storage?: {
67
- indexes?: {
68
- key: {
69
- [x: string]: _xyo_network_archivist_model.IndexDirection;
70
- };
71
- multiEntry?: boolean | undefined;
72
- name?: string | undefined;
73
- unique?: boolean | undefined;
74
- }[] | undefined;
75
- } | undefined;
76
- storeParentReads?: boolean | undefined;
77
- }>;
24
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_archivist_model.ArchivistConfig<void, void>>;
78
25
  ephemeralQueryAccountEnabled?: boolean;
79
26
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
80
- } & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData, _xylabs_object.DeepRestrictToStringKeys<{
81
- schema: Schema;
82
- }>> | undefined>;
27
+ } & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData, Payload> | undefined>;
83
28
  observe(inPayloads?: TIn[]): Promise<WithoutPrivateStorageMeta<TOut>[]>;
84
29
  observeQuery(payloads?: TIn[], account?: AccountInstance): Promise<ModuleQueryResult<TOut>>;
85
30
  protected queryHandler<T extends QueryBoundWitness = QueryBoundWitness, TConfig extends ModuleConfig = ModuleConfig>(query: T, payloads?: Payload[], queryConfig?: TConfig): Promise<ModuleQueryHandlerResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/abstract-witness",
3
- "version": "3.9.1",
3
+ "version": "3.9.3",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -32,15 +32,15 @@
32
32
  "@xylabs/assert": "^4.5.1",
33
33
  "@xylabs/object": "^4.5.1",
34
34
  "@xylabs/promise": "^4.5.1",
35
- "@xyo-network/account-model": "^3.9.1",
36
- "@xyo-network/archivist-model": "^3.9.1",
37
- "@xyo-network/boundwitness-model": "^3.9.1",
38
- "@xyo-network/boundwitness-wrapper": "^3.9.1",
39
- "@xyo-network/module-abstract": "^3.9.1",
40
- "@xyo-network/module-model": "^3.9.1",
41
- "@xyo-network/payload-builder": "^3.9.1",
42
- "@xyo-network/payload-model": "^3.9.1",
43
- "@xyo-network/witness-model": "^3.9.1"
35
+ "@xyo-network/account-model": "^3.9.3",
36
+ "@xyo-network/archivist-model": "^3.9.3",
37
+ "@xyo-network/boundwitness-model": "^3.9.3",
38
+ "@xyo-network/boundwitness-wrapper": "^3.9.3",
39
+ "@xyo-network/module-abstract": "^3.9.3",
40
+ "@xyo-network/module-model": "^3.9.3",
41
+ "@xyo-network/payload-builder": "^3.9.3",
42
+ "@xyo-network/payload-model": "^3.9.3",
43
+ "@xyo-network/witness-model": "^3.9.3"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@xylabs/ts-scripts-yarn3": "^5.0.24",