@xyo-network/react-node 2.49.13 → 2.51.0-rc.1
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 +154 -99
- package/dist/types/hooks/useModule.d.ts +36 -32
- package/dist/types/hooks/useModule.d.ts.map +1 -1
- package/dist/types/hooks/useModules.d.ts +36 -32
- package/dist/types/hooks/useModules.d.ts.map +1 -1
- package/dist/types/hooks/useWrappedModule.d.ts +36 -32
- package/dist/types/hooks/useWrappedModule.d.ts.map +1 -1
- package/dist/types/hooks/useWrappedModules.d.ts +36 -32
- package/dist/types/hooks/useWrappedModules.d.ts.map +1 -1
- package/package.json +19 -18
- package/typedoc.json +5 -0
|
@@ -2,55 +2,59 @@ import { AccountInstance } from '@xyo-network/account-model';
|
|
|
2
2
|
import { Logger } from '@xyo-network/core';
|
|
3
3
|
import { Module, ModuleFilter } from '@xyo-network/module-model';
|
|
4
4
|
export declare const useModule: <TModule extends Module<import("@xyo-network/module").ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
6
|
+
readonly name?: string | undefined;
|
|
7
|
+
readonly paging?: Record<string, {
|
|
7
8
|
size?: number | undefined;
|
|
8
9
|
}> | undefined;
|
|
9
|
-
schema: string;
|
|
10
|
-
security?: {
|
|
11
|
-
allowAnonymous?: boolean | undefined;
|
|
12
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
13
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
10
|
+
readonly schema: string;
|
|
11
|
+
readonly security?: {
|
|
12
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
13
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
14
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
14
15
|
} | undefined;
|
|
15
|
-
storeQueries?: boolean | undefined;
|
|
16
|
+
readonly storeQueries?: boolean | undefined;
|
|
16
17
|
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
19
|
+
readonly name?: string | undefined;
|
|
20
|
+
readonly paging?: Record<string, {
|
|
19
21
|
size?: number | undefined;
|
|
20
22
|
}> | undefined;
|
|
21
|
-
schema: "network.xyo.module.config";
|
|
22
|
-
security?: {
|
|
23
|
-
allowAnonymous?: boolean | undefined;
|
|
24
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
25
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
23
|
+
readonly schema: "network.xyo.module.config";
|
|
24
|
+
readonly security?: {
|
|
25
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
26
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
27
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
26
28
|
} | undefined;
|
|
27
|
-
storeQueries?: boolean | undefined;
|
|
29
|
+
readonly storeQueries?: boolean | undefined;
|
|
28
30
|
} & Omit<undefined, "schema">, "schema"> & {
|
|
29
31
|
schema: string;
|
|
30
32
|
}, "schema">, undefined>, import("@xyo-network/module").ModuleEventData> = Module<import("@xyo-network/module").ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
34
|
+
readonly name?: string | undefined;
|
|
35
|
+
readonly paging?: Record<string, {
|
|
33
36
|
size?: number | undefined;
|
|
34
37
|
}> | undefined;
|
|
35
|
-
schema: string;
|
|
36
|
-
security?: {
|
|
37
|
-
allowAnonymous?: boolean | undefined;
|
|
38
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
39
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
38
|
+
readonly schema: string;
|
|
39
|
+
readonly security?: {
|
|
40
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
41
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
42
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
40
43
|
} | undefined;
|
|
41
|
-
storeQueries?: boolean | undefined;
|
|
44
|
+
readonly storeQueries?: boolean | undefined;
|
|
42
45
|
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
43
|
-
|
|
44
|
-
|
|
46
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
47
|
+
readonly name?: string | undefined;
|
|
48
|
+
readonly paging?: Record<string, {
|
|
45
49
|
size?: number | undefined;
|
|
46
50
|
}> | undefined;
|
|
47
|
-
schema: "network.xyo.module.config";
|
|
48
|
-
security?: {
|
|
49
|
-
allowAnonymous?: boolean | undefined;
|
|
50
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
51
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
51
|
+
readonly schema: "network.xyo.module.config";
|
|
52
|
+
readonly security?: {
|
|
53
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
54
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
55
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
52
56
|
} | undefined;
|
|
53
|
-
storeQueries?: boolean | undefined;
|
|
57
|
+
readonly storeQueries?: boolean | undefined;
|
|
54
58
|
} & Omit<undefined, "schema">, "schema"> & {
|
|
55
59
|
schema: string;
|
|
56
60
|
}, "schema">, undefined>, import("@xyo-network/module").ModuleEventData>>(nameOrAddressOrFilter?: string | ModuleFilter, account?: AccountInstance, logger?: Logger) => [TModule | undefined, Error | undefined];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../src/hooks/useModule.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1C,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAMhE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../src/hooks/useModule.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1C,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAMhE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kGACI,MAAM,GAAG,YAAY,YACnC,eAAe,WAChB,MAAM,6CAkEhB,CAAA"}
|
|
@@ -1,55 +1,59 @@
|
|
|
1
1
|
import { Logger } from '@xyo-network/core';
|
|
2
2
|
import { Module, ModuleFilter } from '@xyo-network/module-model';
|
|
3
3
|
export declare const useModules: <TModule extends Module<import("@xyo-network/module").ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
5
|
+
readonly name?: string | undefined;
|
|
6
|
+
readonly paging?: Record<string, {
|
|
6
7
|
size?: number | undefined;
|
|
7
8
|
}> | undefined;
|
|
8
|
-
schema: string;
|
|
9
|
-
security?: {
|
|
10
|
-
allowAnonymous?: boolean | undefined;
|
|
11
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
12
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
9
|
+
readonly schema: string;
|
|
10
|
+
readonly security?: {
|
|
11
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
12
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
13
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
13
14
|
} | undefined;
|
|
14
|
-
storeQueries?: boolean | undefined;
|
|
15
|
+
readonly storeQueries?: boolean | undefined;
|
|
15
16
|
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
18
|
+
readonly name?: string | undefined;
|
|
19
|
+
readonly paging?: Record<string, {
|
|
18
20
|
size?: number | undefined;
|
|
19
21
|
}> | undefined;
|
|
20
|
-
schema: "network.xyo.module.config";
|
|
21
|
-
security?: {
|
|
22
|
-
allowAnonymous?: boolean | undefined;
|
|
23
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
24
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
22
|
+
readonly schema: "network.xyo.module.config";
|
|
23
|
+
readonly security?: {
|
|
24
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
25
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
26
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
25
27
|
} | undefined;
|
|
26
|
-
storeQueries?: boolean | undefined;
|
|
28
|
+
readonly storeQueries?: boolean | undefined;
|
|
27
29
|
} & Omit<undefined, "schema">, "schema"> & {
|
|
28
30
|
schema: string;
|
|
29
31
|
}, "schema">, undefined>, import("@xyo-network/module").ModuleEventData> = Module<import("@xyo-network/module").ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
33
|
+
readonly name?: string | undefined;
|
|
34
|
+
readonly paging?: Record<string, {
|
|
32
35
|
size?: number | undefined;
|
|
33
36
|
}> | undefined;
|
|
34
|
-
schema: string;
|
|
35
|
-
security?: {
|
|
36
|
-
allowAnonymous?: boolean | undefined;
|
|
37
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
38
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
37
|
+
readonly schema: string;
|
|
38
|
+
readonly security?: {
|
|
39
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
40
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
41
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
39
42
|
} | undefined;
|
|
40
|
-
storeQueries?: boolean | undefined;
|
|
43
|
+
readonly storeQueries?: boolean | undefined;
|
|
41
44
|
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
46
|
+
readonly name?: string | undefined;
|
|
47
|
+
readonly paging?: Record<string, {
|
|
44
48
|
size?: number | undefined;
|
|
45
49
|
}> | undefined;
|
|
46
|
-
schema: "network.xyo.module.config";
|
|
47
|
-
security?: {
|
|
48
|
-
allowAnonymous?: boolean | undefined;
|
|
49
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
50
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
50
|
+
readonly schema: "network.xyo.module.config";
|
|
51
|
+
readonly security?: {
|
|
52
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
53
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
54
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
51
55
|
} | undefined;
|
|
52
|
-
storeQueries?: boolean | undefined;
|
|
56
|
+
readonly storeQueries?: boolean | undefined;
|
|
53
57
|
} & Omit<undefined, "schema">, "schema"> & {
|
|
54
58
|
schema: string;
|
|
55
59
|
}, "schema">, undefined>, import("@xyo-network/module").ModuleEventData>>(filter?: ModuleFilter, logger?: Logger) => [TModule[] | undefined, Error | undefined];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModules.d.ts","sourceRoot":"","sources":["../../../src/hooks/useModules.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1C,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAKhE,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"useModules.d.ts","sourceRoot":"","sources":["../../../src/hooks/useModules.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1C,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAKhE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mFAA8C,YAAY,WAAW,MAAM,+CA0EjG,CAAA"}
|
|
@@ -2,56 +2,60 @@ import { AccountInstance } from '@xyo-network/account-model';
|
|
|
2
2
|
import { Logger } from '@xyo-network/core';
|
|
3
3
|
import { ConstructableModuleWrapper, ModuleWrapper } from '@xyo-network/module';
|
|
4
4
|
export declare const WrappedModuleHookFactory: <TModuleWrapper extends ModuleWrapper<import("@xyo-network/module").Module<import("@xyo-network/module").ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
6
|
+
readonly name?: string | undefined;
|
|
7
|
+
readonly paging?: Record<string, {
|
|
7
8
|
size?: number | undefined;
|
|
8
9
|
}> | undefined;
|
|
9
|
-
schema: string;
|
|
10
|
-
security?: {
|
|
11
|
-
allowAnonymous?: boolean | undefined;
|
|
12
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
13
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
10
|
+
readonly schema: string;
|
|
11
|
+
readonly security?: {
|
|
12
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
13
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
14
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
14
15
|
} | undefined;
|
|
15
|
-
storeQueries?: boolean | undefined;
|
|
16
|
+
readonly storeQueries?: boolean | undefined;
|
|
16
17
|
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
19
|
+
readonly name?: string | undefined;
|
|
20
|
+
readonly paging?: Record<string, {
|
|
19
21
|
size?: number | undefined;
|
|
20
22
|
}> | undefined;
|
|
21
|
-
schema: "network.xyo.module.config";
|
|
22
|
-
security?: {
|
|
23
|
-
allowAnonymous?: boolean | undefined;
|
|
24
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
25
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
23
|
+
readonly schema: "network.xyo.module.config";
|
|
24
|
+
readonly security?: {
|
|
25
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
26
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
27
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
26
28
|
} | undefined;
|
|
27
|
-
storeQueries?: boolean | undefined;
|
|
29
|
+
readonly storeQueries?: boolean | undefined;
|
|
28
30
|
} & Omit<undefined, "schema">, "schema"> & {
|
|
29
31
|
schema: string;
|
|
30
32
|
}, "schema">, undefined>, import("@xyo-network/module").ModuleEventData>>>(wrapperObject: ConstructableModuleWrapper<TModuleWrapper>, name?: string) => (nameOrAddress?: string, account?: AccountInstance, logger?: Logger) => [TModuleWrapper | undefined, Error | undefined];
|
|
31
33
|
export declare const useWrappedModule: (nameOrAddress?: string, account?: AccountInstance, logger?: Logger) => [ModuleWrapper<import("@xyo-network/module").Module<import("@xyo-network/module").ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
35
|
+
readonly name?: string | undefined;
|
|
36
|
+
readonly paging?: Record<string, {
|
|
34
37
|
size?: number | undefined;
|
|
35
38
|
}> | undefined;
|
|
36
|
-
schema: string;
|
|
37
|
-
security?: {
|
|
38
|
-
allowAnonymous?: boolean | undefined;
|
|
39
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
40
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
39
|
+
readonly schema: string;
|
|
40
|
+
readonly security?: {
|
|
41
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
42
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
43
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
41
44
|
} | undefined;
|
|
42
|
-
storeQueries?: boolean | undefined;
|
|
45
|
+
readonly storeQueries?: boolean | undefined;
|
|
43
46
|
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
48
|
+
readonly name?: string | undefined;
|
|
49
|
+
readonly paging?: Record<string, {
|
|
46
50
|
size?: number | undefined;
|
|
47
51
|
}> | undefined;
|
|
48
|
-
schema: "network.xyo.module.config";
|
|
49
|
-
security?: {
|
|
50
|
-
allowAnonymous?: boolean | undefined;
|
|
51
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
52
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
52
|
+
readonly schema: "network.xyo.module.config";
|
|
53
|
+
readonly security?: {
|
|
54
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
55
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
56
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
53
57
|
} | undefined;
|
|
54
|
-
storeQueries?: boolean | undefined;
|
|
58
|
+
readonly storeQueries?: boolean | undefined;
|
|
55
59
|
} & Omit<undefined, "schema">, "schema"> & {
|
|
56
60
|
schema: string;
|
|
57
61
|
}, "schema">, undefined>, import("@xyo-network/module").ModuleEventData>> | undefined, Error | undefined];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWrappedModule.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWrappedModule.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAM/E,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"useWrappedModule.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWrappedModule.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAM/E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;6IAE5B,MAAM,sBAEoB,MAAM,YAAY,eAAe,WAAW,MAAM,oDA2CpF,CAAA;AAED,eAAO,MAAM,gBAAgB,mBA7CM,MAAM,YAAY,eAAe,WAAW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;yGA6CM,CAAA"}
|
|
@@ -2,56 +2,60 @@ import { AccountInstance } from '@xyo-network/account-model';
|
|
|
2
2
|
import { Logger } from '@xyo-network/core';
|
|
3
3
|
import { ConstructableModuleWrapper, ModuleWrapper } from '@xyo-network/module';
|
|
4
4
|
export declare const WrappedModulesHookFactory: <TModuleWrapper extends ModuleWrapper<import("@xyo-network/module").Module<import("@xyo-network/module").ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
6
|
+
readonly name?: string | undefined;
|
|
7
|
+
readonly paging?: Record<string, {
|
|
7
8
|
size?: number | undefined;
|
|
8
9
|
}> | undefined;
|
|
9
|
-
schema: string;
|
|
10
|
-
security?: {
|
|
11
|
-
allowAnonymous?: boolean | undefined;
|
|
12
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
13
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
10
|
+
readonly schema: string;
|
|
11
|
+
readonly security?: {
|
|
12
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
13
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
14
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
14
15
|
} | undefined;
|
|
15
|
-
storeQueries?: boolean | undefined;
|
|
16
|
+
readonly storeQueries?: boolean | undefined;
|
|
16
17
|
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
19
|
+
readonly name?: string | undefined;
|
|
20
|
+
readonly paging?: Record<string, {
|
|
19
21
|
size?: number | undefined;
|
|
20
22
|
}> | undefined;
|
|
21
|
-
schema: "network.xyo.module.config";
|
|
22
|
-
security?: {
|
|
23
|
-
allowAnonymous?: boolean | undefined;
|
|
24
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
25
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
23
|
+
readonly schema: "network.xyo.module.config";
|
|
24
|
+
readonly security?: {
|
|
25
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
26
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
27
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
26
28
|
} | undefined;
|
|
27
|
-
storeQueries?: boolean | undefined;
|
|
29
|
+
readonly storeQueries?: boolean | undefined;
|
|
28
30
|
} & Omit<undefined, "schema">, "schema"> & {
|
|
29
31
|
schema: string;
|
|
30
32
|
}, "schema">, undefined>, import("@xyo-network/module").ModuleEventData>>>(wrapperObject: ConstructableModuleWrapper<TModuleWrapper>, name: string) => (account?: AccountInstance, logger?: Logger) => [TModuleWrapper[] | undefined, Error | undefined];
|
|
31
33
|
export declare const useWrappedModules: (account?: AccountInstance, logger?: Logger) => [ModuleWrapper<import("@xyo-network/module").Module<import("@xyo-network/module").ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
35
|
+
readonly name?: string | undefined;
|
|
36
|
+
readonly paging?: Record<string, {
|
|
34
37
|
size?: number | undefined;
|
|
35
38
|
}> | undefined;
|
|
36
|
-
schema: string;
|
|
37
|
-
security?: {
|
|
38
|
-
allowAnonymous?: boolean | undefined;
|
|
39
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
40
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
39
|
+
readonly schema: string;
|
|
40
|
+
readonly security?: {
|
|
41
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
42
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
43
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
41
44
|
} | undefined;
|
|
42
|
-
storeQueries?: boolean | undefined;
|
|
45
|
+
readonly storeQueries?: boolean | undefined;
|
|
43
46
|
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
readonly archivist?: import("@xyo-network/module").ArchivistModuleConfig | undefined;
|
|
48
|
+
readonly name?: string | undefined;
|
|
49
|
+
readonly paging?: Record<string, {
|
|
46
50
|
size?: number | undefined;
|
|
47
51
|
}> | undefined;
|
|
48
|
-
schema: "network.xyo.module.config";
|
|
49
|
-
security?: {
|
|
50
|
-
allowAnonymous?: boolean | undefined;
|
|
51
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
52
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
52
|
+
readonly schema: "network.xyo.module.config";
|
|
53
|
+
readonly security?: {
|
|
54
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
55
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
56
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
53
57
|
} | undefined;
|
|
54
|
-
storeQueries?: boolean | undefined;
|
|
58
|
+
readonly storeQueries?: boolean | undefined;
|
|
55
59
|
} & Omit<undefined, "schema">, "schema"> & {
|
|
56
60
|
schema: string;
|
|
57
61
|
}, "schema">, undefined>, import("@xyo-network/module").ModuleEventData>>[] | undefined, Error | undefined];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWrappedModules.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWrappedModules.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAO/E,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"useWrappedModules.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWrappedModules.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAO/E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;4IAE9B,MAAM,gBAKe,eAAe,WAAW,MAAM,sDA+C5D,CAAA;AAED,eAAO,MAAM,iBAAiB,aAjDD,eAAe,WAAW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;2GAiDiC,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,28 +10,28 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@mui/lab": "^5.0.0-alpha.
|
|
14
|
-
"@xylabs/react-async-effect": "^2.17.
|
|
15
|
-
"@xylabs/react-flexbox": "^2.17.
|
|
16
|
-
"@xylabs/react-shared": "^2.17.
|
|
17
|
-
"@xyo-network/account-model": "^2.
|
|
18
|
-
"@xyo-network/core": "^2.
|
|
19
|
-
"@xyo-network/module": "^2.
|
|
20
|
-
"@xyo-network/module-model": "^2.
|
|
21
|
-
"@xyo-network/node": "^2.
|
|
22
|
-
"@xyo-network/react-node-context": "^2.
|
|
23
|
-
"@xyo-network/react-node-provider": "^2.
|
|
24
|
-
"@xyo-network/react-wallet": "^2.
|
|
13
|
+
"@mui/lab": "^5.0.0-alpha.132",
|
|
14
|
+
"@xylabs/react-async-effect": "^2.17.3",
|
|
15
|
+
"@xylabs/react-flexbox": "^2.17.3",
|
|
16
|
+
"@xylabs/react-shared": "^2.17.3",
|
|
17
|
+
"@xyo-network/account-model": "^2.60.0-rc.2",
|
|
18
|
+
"@xyo-network/core": "^2.60.0-rc.2",
|
|
19
|
+
"@xyo-network/module": "^2.60.0-rc.2",
|
|
20
|
+
"@xyo-network/module-model": "^2.60.0-rc.2",
|
|
21
|
+
"@xyo-network/node": "^2.60.0-rc.2",
|
|
22
|
+
"@xyo-network/react-node-context": "^2.51.0-rc.1",
|
|
23
|
+
"@xyo-network/react-node-provider": "^2.51.0-rc.1",
|
|
24
|
+
"@xyo-network/react-wallet": "^2.51.0-rc.1",
|
|
25
25
|
"lodash": "^4.17.21"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@storybook/react": "^7.0.
|
|
29
|
-
"@types/lodash": "^4.14.
|
|
28
|
+
"@storybook/react": "^7.0.18",
|
|
29
|
+
"@types/lodash": "^4.14.195",
|
|
30
30
|
"@xylabs/ts-scripts-yarn3": "^2.17.13",
|
|
31
31
|
"@xylabs/tsconfig-react": "^2.17.13",
|
|
32
|
-
"@xyo-network/account": "^2.
|
|
33
|
-
"@xyo-network/react-storybook": "^2.
|
|
34
|
-
"@xyo-network/react-wallet": "^2.
|
|
32
|
+
"@xyo-network/account": "^2.60.0-rc.2",
|
|
33
|
+
"@xyo-network/react-storybook": "^2.51.0-rc.1",
|
|
34
|
+
"@xyo-network/react-wallet": "^2.51.0-rc.1",
|
|
35
35
|
"typescript": "^5.0.4"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
@@ -86,5 +86,6 @@
|
|
|
86
86
|
},
|
|
87
87
|
"sideEffects": false,
|
|
88
88
|
"types": "dist/types/index.d.ts",
|
|
89
|
-
"version": "2.
|
|
89
|
+
"version": "2.51.0-rc.1",
|
|
90
|
+
"stableVersion": "2.50.0"
|
|
90
91
|
}
|