@xyo-network/node-model 3.10.8 → 3.12.0
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,5 +1,5 @@
|
|
|
1
1
|
export declare const asAttachableNodeInstance: {
|
|
2
|
-
<TType extends import("./AttachableInstance.ts").AttachableNodeInstance<import("@xylabs/
|
|
2
|
+
<TType extends import("./AttachableInstance.ts").AttachableNodeInstance<import("@xylabs/base").BaseParamsFields & {
|
|
3
3
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
4
4
|
addToResolvers?: boolean;
|
|
5
5
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -10,7 +10,7 @@ export declare const asAttachableNodeInstance: {
|
|
|
10
10
|
privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
11
11
|
publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
12
12
|
}, import("../Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
13
|
-
<TType extends import("./AttachableInstance.ts").AttachableNodeInstance<import("@xylabs/
|
|
13
|
+
<TType extends import("./AttachableInstance.ts").AttachableNodeInstance<import("@xylabs/base").BaseParamsFields & {
|
|
14
14
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
15
15
|
addToResolvers?: boolean;
|
|
16
16
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -20,7 +20,7 @@ export declare const asAttachableNodeInstance: {
|
|
|
20
20
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
21
21
|
privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
22
22
|
publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
23
|
-
}, import("../Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./AttachableInstance.ts").AttachableNodeInstance<import("@xylabs/
|
|
23
|
+
}, import("../Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./AttachableInstance.ts").AttachableNodeInstance<import("@xylabs/base").BaseParamsFields & {
|
|
24
24
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
25
25
|
addToResolvers?: boolean;
|
|
26
26
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NodeInstance } from './instance.ts';
|
|
2
2
|
import type { NodeModule } from './Node.ts';
|
|
3
|
-
export declare const isNodeInstance: import("@xylabs/object").TypeCheck<NodeInstance<import("@xylabs/
|
|
3
|
+
export declare const isNodeInstance: import("@xylabs/object").TypeCheck<NodeInstance<import("@xylabs/base").BaseParamsFields & {
|
|
4
4
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
5
5
|
addToResolvers?: boolean;
|
|
6
6
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -11,7 +11,7 @@ export declare const isNodeInstance: import("@xylabs/object").TypeCheck<NodeInst
|
|
|
11
11
|
privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
12
12
|
publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
13
13
|
}, import("./Node.ts").NodeModuleEventData>>;
|
|
14
|
-
export declare const isNodeModule: import("@xyo-network/module-model").ModuleTypeCheck<NodeModule<import("@xylabs/
|
|
14
|
+
export declare const isNodeModule: import("@xyo-network/module-model").ModuleTypeCheck<NodeModule<import("@xylabs/base").BaseParamsFields & {
|
|
15
15
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
16
16
|
addToResolvers?: boolean;
|
|
17
17
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -23,7 +23,7 @@ export declare const isNodeModule: import("@xyo-network/module-model").ModuleTyp
|
|
|
23
23
|
publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
24
24
|
}, import("./Node.ts").NodeModuleEventData>>;
|
|
25
25
|
export declare const asNodeModule: {
|
|
26
|
-
<TType extends NodeModule<import("@xylabs/
|
|
26
|
+
<TType extends NodeModule<import("@xylabs/base").BaseParamsFields & {
|
|
27
27
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
28
28
|
addToResolvers?: boolean;
|
|
29
29
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -34,7 +34,7 @@ export declare const asNodeModule: {
|
|
|
34
34
|
privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
35
35
|
publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
36
36
|
}, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
37
|
-
<TType extends NodeModule<import("@xylabs/
|
|
37
|
+
<TType extends NodeModule<import("@xylabs/base").BaseParamsFields & {
|
|
38
38
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
39
39
|
addToResolvers?: boolean;
|
|
40
40
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -44,7 +44,7 @@ export declare const asNodeModule: {
|
|
|
44
44
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
45
45
|
privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
46
46
|
publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
47
|
-
}, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<NodeModule<import("@xylabs/
|
|
47
|
+
}, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<NodeModule<import("@xylabs/base").BaseParamsFields & {
|
|
48
48
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
49
49
|
addToResolvers?: boolean;
|
|
50
50
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -57,7 +57,7 @@ export declare const asNodeModule: {
|
|
|
57
57
|
}, import("./Node.ts").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
58
58
|
};
|
|
59
59
|
export declare const asNodeInstance: {
|
|
60
|
-
<TType extends NodeInstance<import("@xylabs/
|
|
60
|
+
<TType extends NodeInstance<import("@xylabs/base").BaseParamsFields & {
|
|
61
61
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
62
62
|
addToResolvers?: boolean;
|
|
63
63
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -68,7 +68,7 @@ export declare const asNodeInstance: {
|
|
|
68
68
|
privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
69
69
|
publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
70
70
|
}, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
71
|
-
<TType extends NodeInstance<import("@xylabs/
|
|
71
|
+
<TType extends NodeInstance<import("@xylabs/base").BaseParamsFields & {
|
|
72
72
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
73
73
|
addToResolvers?: boolean;
|
|
74
74
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -78,7 +78,7 @@ export declare const asNodeInstance: {
|
|
|
78
78
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
79
79
|
privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
80
80
|
publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
81
|
-
}, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<NodeInstance<import("@xylabs/
|
|
81
|
+
}, import("./Node.ts").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<NodeInstance<import("@xylabs/base").BaseParamsFields & {
|
|
82
82
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
83
83
|
addToResolvers?: boolean;
|
|
84
84
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -90,7 +90,7 @@ export declare const asNodeInstance: {
|
|
|
90
90
|
publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
91
91
|
}, import("./Node.ts").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
92
92
|
};
|
|
93
|
-
export declare const withNodeModule: <R>(mod: any, closure: (mod: NodeModule<import("@xylabs/
|
|
93
|
+
export declare const withNodeModule: <R>(mod: any, closure: (mod: NodeModule<import("@xylabs/base").BaseParamsFields & {
|
|
94
94
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
95
95
|
addToResolvers?: boolean;
|
|
96
96
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -101,7 +101,7 @@ export declare const withNodeModule: <R>(mod: any, closure: (mod: NodeModule<imp
|
|
|
101
101
|
privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
102
102
|
publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
|
|
103
103
|
}, import("./Node.ts").NodeModuleEventData>) => R) => R | undefined;
|
|
104
|
-
export declare const withNodeInstance: <R>(mod: any, closure: (mod: NodeInstance<import("@xylabs/
|
|
104
|
+
export declare const withNodeInstance: <R>(mod: any, closure: (mod: NodeInstance<import("@xylabs/base").BaseParamsFields & {
|
|
105
105
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
106
106
|
addToResolvers?: boolean;
|
|
107
107
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
@@ -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;;;;;;;;;;4CAS1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;;;4CAAkD,CAAA;AAE3E,eAAO,MAAM,YAAY
|
|
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;;;;;;;;;;4CAS1B,CAAA;AAID,eAAO,MAAM,YAAY;;;;;;;;;;4CAAkD,CAAA;AAE3E,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA;AAChE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA;AACpE,eAAO,MAAM,cAAc;;;;;;;;;;mEAAmC,CAAA;AAC9D,eAAO,MAAM,gBAAgB;;;;;;;;;;mEAAqC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/node-model",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.12.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/types/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/hex": "^4.
|
|
33
|
-
"@xylabs/object": "^4.
|
|
34
|
-
"@xylabs/typeof": "^4.
|
|
35
|
-
"@xyo-network/account-model": "^3.
|
|
36
|
-
"@xyo-network/module-events": "^3.
|
|
37
|
-
"@xyo-network/module-model": "^3.
|
|
38
|
-
"@xyo-network/payload-model": "^3.
|
|
32
|
+
"@xylabs/hex": "^4.8.0",
|
|
33
|
+
"@xylabs/object": "^4.8.0",
|
|
34
|
+
"@xylabs/typeof": "^4.8.0",
|
|
35
|
+
"@xyo-network/account-model": "^3.12.0",
|
|
36
|
+
"@xyo-network/module-events": "^3.12.0",
|
|
37
|
+
"@xyo-network/module-model": "^3.12.0",
|
|
38
|
+
"@xyo-network/payload-model": "^3.12.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@xylabs/ts-scripts-yarn3": "^6.2.1",
|
|
42
42
|
"@xylabs/tsconfig": "^6.2.1",
|
|
43
|
-
"typescript": "^5.8.
|
|
43
|
+
"typescript": "^5.8.3"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|