@xyo-network/witness-model 3.18.4 → 3.18.6
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 asAttachableWitnessInstance: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/payload-model").Payload, import("@xyo-network/payload-model").Payload, import("../EventData.ts").WitnessModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
11
|
-
<TType extends import("./AttachableInstance.ts").AttachableWitnessInstance<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").WitnessConfig>;
|
|
17
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
18
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
19
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/payload-model").Payload, import("@xyo-network/payload-model").Payload, import("../EventData.ts").WitnessModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./AttachableInstance.ts").AttachableWitnessInstance<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").WitnessConfig>;
|
|
25
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
26
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
27
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/payload-model").Payload, import("@xyo-network/payload-model").Payload, import("../EventData.ts").WitnessModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
28
|
-
};
|
|
1
|
+
export declare const asAttachableWitnessInstance: import("@xylabs/object").AsTypeFunction<import("./AttachableInstance.ts").AttachableWitnessInstance<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").WitnessConfig>;
|
|
7
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
8
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
9
|
+
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/payload-model").Payload, import("@xyo-network/payload-model").Payload, import("../EventData.ts").WitnessModuleEventData>>;
|
|
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,2BAA2B
|
|
1
|
+
{"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,2BAA2B;;;;;;;;4MAAsD,CAAA"}
|
|
@@ -18,62 +18,24 @@ export declare const isWitnessModule: import("@xyo-network/module-model").Module
|
|
|
18
18
|
ephemeralQueryAccountEnabled?: boolean;
|
|
19
19
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
20
20
|
} & import("@xyo-network/module-model").ModuleChildrenParams, import("./EventData.ts").WitnessModuleEventData>>;
|
|
21
|
-
export declare const asWitnessModule: {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("./EventData.ts").WitnessModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WitnessModule<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").WitnessConfig>;
|
|
45
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
46
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
47
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("./EventData.ts").WitnessModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
48
|
-
};
|
|
49
|
-
export declare const asWitnessInstance: {
|
|
50
|
-
<TType extends WitnessInstance<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").WitnessConfig>;
|
|
56
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
57
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
58
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/payload-model").Payload, import("@xyo-network/payload-model").Payload, import("./EventData.ts").WitnessModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
59
|
-
<TType extends WitnessInstance<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").WitnessConfig>;
|
|
65
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
66
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
67
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/payload-model").Payload, import("@xyo-network/payload-model").Payload, import("./EventData.ts").WitnessModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WitnessInstance<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").WitnessConfig>;
|
|
73
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
74
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
75
|
-
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/payload-model").Payload, import("@xyo-network/payload-model").Payload, import("./EventData.ts").WitnessModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
76
|
-
};
|
|
21
|
+
export declare const asWitnessModule: import("@xylabs/object").AsTypeFunction<WitnessModule<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").WitnessConfig>;
|
|
27
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
28
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
29
|
+
} & import("@xyo-network/module-model").ModuleChildrenParams, import("./EventData.ts").WitnessModuleEventData>>;
|
|
30
|
+
export declare const asWitnessInstance: import("@xylabs/object").AsTypeFunction<WitnessInstance<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").WitnessConfig>;
|
|
36
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
37
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
38
|
+
} & import("@xyo-network/module-model").ModuleChildrenParams, import("@xyo-network/payload-model").Payload, import("@xyo-network/payload-model").Payload, import("./EventData.ts").WitnessModuleEventData>>;
|
|
77
39
|
export declare const withWitnessModule: <R>(mod: any, closure: (mod: WitnessModule<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,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAGhD,eAAO,MAAM,iBAAiB;;;;;;;;2MAA+F,CAAA;AAC7H,eAAO,MAAM,eAAe;;;;;;;;+GAA2E,CAAA;AAEvG,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAGhD,eAAO,MAAM,iBAAiB;;;;;;;;2MAA+F,CAAA;AAC7H,eAAO,MAAM,eAAe;;;;;;;;+GAA2E,CAAA;AAEvG,eAAO,MAAM,eAAe;;;;;;;;+GAA0C,CAAA;AACtE,eAAO,MAAM,iBAAiB;;;;;;;;2MAA4C,CAAA;AAC1E,eAAO,MAAM,iBAAiB;;;;;;;;sIAAsC,CAAA;AACpE,eAAO,MAAM,mBAAmB;;;;;;;;kOAAwC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/witness-model",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.6",
|
|
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.
|
|
33
|
-
"@xylabs/object": "^4.11.
|
|
34
|
-
"@xylabs/promise": "^4.11.
|
|
35
|
-
"@xylabs/typeof": "^4.11.
|
|
36
|
-
"@xyo-network/account-model": "^3.18.
|
|
37
|
-
"@xyo-network/module-model": "^3.18.
|
|
38
|
-
"@xyo-network/payload-model": "^3.18.
|
|
32
|
+
"@xylabs/events": "^4.11.16",
|
|
33
|
+
"@xylabs/object": "^4.11.16",
|
|
34
|
+
"@xylabs/promise": "^4.11.16",
|
|
35
|
+
"@xylabs/typeof": "^4.11.16",
|
|
36
|
+
"@xyo-network/account-model": "^3.18.6",
|
|
37
|
+
"@xyo-network/module-model": "^3.18.6",
|
|
38
|
+
"@xyo-network/payload-model": "^3.18.6"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@xylabs/ts-scripts-yarn3": "^6.5.8",
|