@xyo-network/node-model 3.18.3 → 3.18.5

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,29 +1,10 @@
1
- export declare const asAttachableNodeInstance: {
2
- <TType extends import("./AttachableInstance.ts").AttachableNodeInstance<import("@xylabs/base").BaseParamsFields & {
3
- account?: import("@xyo-network/account-model").AccountInstance | "random";
4
- addToResolvers?: boolean;
5
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
6
- allowNameResolution?: boolean;
7
- config: import("@xyo-network/module-model").AnyConfigSchema<import("../Config.ts").NodeConfig>;
8
- ephemeralQueryAccountEnabled?: boolean;
9
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
10
- } & import("@xyo-network/module-model").ModuleChildrenParams, import("../Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
11
- <TType extends import("./AttachableInstance.ts").AttachableNodeInstance<import("@xylabs/base").BaseParamsFields & {
12
- account?: import("@xyo-network/account-model").AccountInstance | "random";
13
- addToResolvers?: boolean;
14
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
15
- allowNameResolution?: boolean;
16
- config: import("@xyo-network/module-model").AnyConfigSchema<import("../Config.ts").NodeConfig>;
17
- ephemeralQueryAccountEnabled?: boolean;
18
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
19
- } & import("@xyo-network/module-model").ModuleChildrenParams, import("../Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./AttachableInstance.ts").AttachableNodeInstance<import("@xylabs/base").BaseParamsFields & {
20
- account?: import("@xyo-network/account-model").AccountInstance | "random";
21
- addToResolvers?: boolean;
22
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
23
- allowNameResolution?: boolean;
24
- config: import("@xyo-network/module-model").AnyConfigSchema<import("../Config.ts").NodeConfig>;
25
- ephemeralQueryAccountEnabled?: boolean;
26
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
27
- } & import("@xyo-network/module-model").ModuleChildrenParams, import("../Node.ts").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
28
- };
1
+ export declare const asAttachableNodeInstance: import("@xylabs/object").AsTypeFunction<import("./AttachableInstance.ts").AttachableNodeInstance<import("@xylabs/base").BaseParamsFields & {
2
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
3
+ addToResolvers?: boolean;
4
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
5
+ allowNameResolution?: boolean;
6
+ config: import("@xyo-network/module-model").AnyConfigSchema<import("../Config.ts").NodeConfig>;
7
+ ephemeralQueryAccountEnabled?: boolean;
8
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
9
+ } & import("@xyo-network/module-model").ModuleChildrenParams, import("../Node.ts").NodeModuleEventData>>;
29
10
  //# sourceMappingURL=asAttachableInstance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmD,CAAA"}
1
+ {"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;wGAAmD,CAAA"}
@@ -18,62 +18,24 @@ export declare const isNodeModule: import("@xyo-network/module-model").ModuleTyp
18
18
  ephemeralQueryAccountEnabled?: boolean;
19
19
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
20
20
  } & import("@xyo-network/module-model").ModuleChildrenParams, import("./Node.ts").NodeModuleEventData>>;
21
- export declare const asNodeModule: {
22
- <TType extends NodeModule<import("@xylabs/base").BaseParamsFields & {
23
- account?: import("@xyo-network/account-model").AccountInstance | "random";
24
- addToResolvers?: boolean;
25
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
26
- allowNameResolution?: boolean;
27
- config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").NodeConfig>;
28
- ephemeralQueryAccountEnabled?: boolean;
29
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
30
- } & import("@xyo-network/module-model").ModuleChildrenParams, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
31
- <TType extends NodeModule<import("@xylabs/base").BaseParamsFields & {
32
- account?: import("@xyo-network/account-model").AccountInstance | "random";
33
- addToResolvers?: boolean;
34
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
35
- allowNameResolution?: boolean;
36
- config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").NodeConfig>;
37
- ephemeralQueryAccountEnabled?: boolean;
38
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
39
- } & import("@xyo-network/module-model").ModuleChildrenParams, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<NodeModule<import("@xylabs/base").BaseParamsFields & {
40
- account?: import("@xyo-network/account-model").AccountInstance | "random";
41
- addToResolvers?: boolean;
42
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
43
- allowNameResolution?: boolean;
44
- config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").NodeConfig>;
45
- ephemeralQueryAccountEnabled?: boolean;
46
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
47
- } & import("@xyo-network/module-model").ModuleChildrenParams, import("./Node.ts").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
48
- };
49
- export declare const asNodeInstance: {
50
- <TType extends NodeInstance<import("@xylabs/base").BaseParamsFields & {
51
- account?: import("@xyo-network/account-model").AccountInstance | "random";
52
- addToResolvers?: boolean;
53
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
54
- allowNameResolution?: boolean;
55
- config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").NodeConfig>;
56
- ephemeralQueryAccountEnabled?: boolean;
57
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
58
- } & import("@xyo-network/module-model").ModuleChildrenParams, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
59
- <TType extends NodeInstance<import("@xylabs/base").BaseParamsFields & {
60
- account?: import("@xyo-network/account-model").AccountInstance | "random";
61
- addToResolvers?: boolean;
62
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
63
- allowNameResolution?: boolean;
64
- config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").NodeConfig>;
65
- ephemeralQueryAccountEnabled?: boolean;
66
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
67
- } & import("@xyo-network/module-model").ModuleChildrenParams, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<NodeInstance<import("@xylabs/base").BaseParamsFields & {
68
- account?: import("@xyo-network/account-model").AccountInstance | "random";
69
- addToResolvers?: boolean;
70
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
71
- allowNameResolution?: boolean;
72
- config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").NodeConfig>;
73
- ephemeralQueryAccountEnabled?: boolean;
74
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
75
- } & import("@xyo-network/module-model").ModuleChildrenParams, import("./Node.ts").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
76
- };
21
+ export declare const asNodeModule: import("@xylabs/object").AsTypeFunction<NodeModule<import("@xylabs/base").BaseParamsFields & {
22
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
23
+ addToResolvers?: boolean;
24
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
25
+ allowNameResolution?: boolean;
26
+ config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").NodeConfig>;
27
+ ephemeralQueryAccountEnabled?: boolean;
28
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
29
+ } & import("@xyo-network/module-model").ModuleChildrenParams, import("./Node.ts").NodeModuleEventData>>;
30
+ export declare const asNodeInstance: import("@xylabs/object").AsTypeFunction<NodeInstance<import("@xylabs/base").BaseParamsFields & {
31
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
32
+ addToResolvers?: boolean;
33
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
34
+ allowNameResolution?: boolean;
35
+ config: import("@xyo-network/module-model").AnyConfigSchema<import("./Config.ts").NodeConfig>;
36
+ ephemeralQueryAccountEnabled?: boolean;
37
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
38
+ } & import("@xyo-network/module-model").ModuleChildrenParams, import("./Node.ts").NodeModuleEventData>>;
77
39
  export declare const withNodeModule: <R>(mod: any, closure: (mod: NodeModule<import("@xylabs/base").BaseParamsFields & {
78
40
  account?: import("@xyo-network/account-model").AccountInstance | "random";
79
41
  addToResolvers?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAK3C,eAAO,MAAM,cAAc;;;;;;;;uGAS1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;uGAAkD,CAAA;AAE3E,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA;AAChE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA;AACpE,eAAO,MAAM,cAAc;;;;;;;;8HAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB;;;;;;;;8HAAqC,CAAA"}
1
+ {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAK3C,eAAO,MAAM,cAAc;;;;;;;;uGAS1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;uGAAkD,CAAA;AAE3E,eAAO,MAAM,YAAY;;;;;;;;uGAAuC,CAAA;AAChE,eAAO,MAAM,cAAc;;;;;;;;uGAAyC,CAAA;AACpE,eAAO,MAAM,cAAc;;;;;;;;8HAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB;;;;;;;;8HAAqC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/node-model",
3
- "version": "3.18.3",
3
+ "version": "3.18.5",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,13 +29,13 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/types/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/events": "^4.11.14",
33
- "@xylabs/hex": "^4.11.14",
34
- "@xylabs/object": "^4.11.14",
35
- "@xylabs/typeof": "^4.11.14",
36
- "@xyo-network/account-model": "^3.18.3",
37
- "@xyo-network/module-model": "^3.18.3",
38
- "@xyo-network/payload-model": "^3.18.3"
32
+ "@xylabs/events": "^4.11.16",
33
+ "@xylabs/hex": "^4.11.16",
34
+ "@xylabs/object": "^4.11.16",
35
+ "@xylabs/typeof": "^4.11.16",
36
+ "@xyo-network/account-model": "^3.18.5",
37
+ "@xyo-network/module-model": "^3.18.5",
38
+ "@xyo-network/payload-model": "^3.18.5"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@xylabs/ts-scripts-yarn3": "^6.5.8",