@xyo-network/module-model 2.47.8 → 2.47.10
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.
- package/dist/docs.json +196 -196
- package/dist/types/Config.d.ts +2 -2
- package/dist/types/Config.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/Config.ts +2 -2
package/dist/types/Config.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyObject } from '@xyo-network/core';
|
|
2
2
|
import { XyoPayload } from '@xyo-network/payload-model';
|
|
3
3
|
export type ModuleConfigSchema = 'network.xyo.module.config';
|
|
4
4
|
export declare const ModuleConfigSchema: ModuleConfigSchema;
|
|
5
5
|
export type AddressString = string;
|
|
6
6
|
export type CosigningAddressSet = string[];
|
|
7
7
|
export type SchemaString = string;
|
|
8
|
-
export type ModuleConfigBase<T extends
|
|
8
|
+
export type ModuleConfigBase<T extends AnyObject = AnyObject> = XyoPayload<{
|
|
9
9
|
name?: string;
|
|
10
10
|
security?: {
|
|
11
11
|
allowAnonymous?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAEvD,MAAM,MAAM,kBAAkB,GAAG,2BAA2B,CAAA;AAC5D,eAAO,MAAM,kBAAkB,EAAE,kBAAgD,CAAA;AAEjF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAA;AAClC,MAAM,MAAM,mBAAmB,GAAG,MAAM,EAAE,CAAA;AAC1C,MAAM,MAAM,YAAY,GAAG,MAAM,CAAA;AAEjC,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,IAAI,UAAU,CACxE;IACE,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,QAAQ,CAAC,EAAE;QAET,cAAc,CAAC,EAAE,OAAO,CAAA;QAGxB,OAAO,CAAC,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,aAAa,GAAG,mBAAmB,CAAC,EAAE,CAAC,CAAA;QAGvE,UAAU,CAAC,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,EAAE,CAAC,CAAA;KACnD,CAAA;CACF,GAAG,CAAC,CACN,CAAA;AAED,MAAM,MAAM,YAAY,CAAC,OAAO,SAAS,UAAU,GAAG,UAAU,IAAI,gBAAgB,CAAC,OAAO,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/boundwitness-model": "^2.47.
|
|
14
|
-
"@xyo-network/core": "^2.47.
|
|
15
|
-
"@xyo-network/payload-model": "^2.47.
|
|
16
|
-
"@xyo-network/promise": "^2.47.
|
|
13
|
+
"@xyo-network/boundwitness-model": "^2.47.10",
|
|
14
|
+
"@xyo-network/core": "^2.47.10",
|
|
15
|
+
"@xyo-network/payload-model": "^2.47.10",
|
|
16
|
+
"@xyo-network/promise": "^2.47.10"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@xylabs/ts-scripts-yarn3": "^2.
|
|
20
|
-
"@xylabs/tsconfig": "^2.
|
|
19
|
+
"@xylabs/ts-scripts-yarn3": "^2.15.0",
|
|
20
|
+
"@xylabs/tsconfig": "^2.15.0",
|
|
21
21
|
"typescript": "^4.9.5"
|
|
22
22
|
},
|
|
23
23
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
55
|
"types": "dist/types/index.d.ts",
|
|
56
|
-
"version": "2.47.
|
|
56
|
+
"version": "2.47.10"
|
|
57
57
|
}
|
package/src/Config.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyObject } from '@xyo-network/core'
|
|
2
2
|
import { XyoPayload } from '@xyo-network/payload-model'
|
|
3
3
|
|
|
4
4
|
export type ModuleConfigSchema = 'network.xyo.module.config'
|
|
@@ -8,7 +8,7 @@ export type AddressString = string
|
|
|
8
8
|
export type CosigningAddressSet = string[]
|
|
9
9
|
export type SchemaString = string
|
|
10
10
|
|
|
11
|
-
export type ModuleConfigBase<T extends
|
|
11
|
+
export type ModuleConfigBase<T extends AnyObject = AnyObject> = XyoPayload<
|
|
12
12
|
{
|
|
13
13
|
name?: string
|
|
14
14
|
//if both allowed and disallowed is specified, then disallowed takes priority
|