@xyo-network/react-sentinel 2.49.7 → 2.49.8
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 +1414 -95
- package/dist/types/contexts/use.d.ts +47 -1
- package/dist/types/contexts/use.d.ts.map +1 -1
- package/dist/types/hooks/useSentinel.d.ts +47 -1
- package/dist/types/hooks/useSentinel.d.ts.map +1 -1
- package/dist/types/hooks/useSentinels.d.ts +47 -1
- package/dist/types/hooks/useSentinels.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -4,7 +4,53 @@ export declare const useSentinelContext: () => {
|
|
|
4
4
|
})[] | undefined;
|
|
5
5
|
progress: import("./State").SentinelReportProgress | undefined;
|
|
6
6
|
reportingErrors: Error[] | undefined;
|
|
7
|
-
sentinel: import("@xyo-network/sentinel").SentinelModule
|
|
7
|
+
sentinel: import("@xyo-network/sentinel").SentinelModule<import("@xyo-network/sentinel").SentinelParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
8
|
+
name?: string | undefined;
|
|
9
|
+
paging?: Record<string, {
|
|
10
|
+
size?: number | undefined;
|
|
11
|
+
}> | undefined;
|
|
12
|
+
schema: string;
|
|
13
|
+
security?: {
|
|
14
|
+
allowAnonymous?: boolean | undefined;
|
|
15
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
16
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
storeQueries?: boolean | undefined;
|
|
19
|
+
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
20
|
+
name?: string | undefined;
|
|
21
|
+
paging?: Record<string, {
|
|
22
|
+
size?: number | undefined;
|
|
23
|
+
}> | undefined;
|
|
24
|
+
schema: "network.xyo.node.sentinel";
|
|
25
|
+
security?: {
|
|
26
|
+
allowAnonymous?: boolean | undefined;
|
|
27
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
28
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
storeQueries?: boolean | undefined;
|
|
31
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
32
|
+
name?: string | undefined;
|
|
33
|
+
paging?: Record<string, {
|
|
34
|
+
size?: number | undefined;
|
|
35
|
+
}> | undefined;
|
|
36
|
+
schema: string;
|
|
37
|
+
security?: {
|
|
38
|
+
allowAnonymous?: boolean | undefined;
|
|
39
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
40
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
41
|
+
} | undefined;
|
|
42
|
+
storeQueries?: boolean | undefined;
|
|
43
|
+
} & Omit<{
|
|
44
|
+
archivists?: string[] | undefined;
|
|
45
|
+
schema: string;
|
|
46
|
+
}, "schema"> & {
|
|
47
|
+
schema: "network.xyo.node.sentinel";
|
|
48
|
+
witnesses?: string[] | undefined;
|
|
49
|
+
} & {
|
|
50
|
+
schema: string;
|
|
51
|
+
}, "schema">, "schema"> & {
|
|
52
|
+
schema: string;
|
|
53
|
+
}, "schema">, undefined>, import("@xyo-network/sentinel").SentinelModuleEventData> | undefined;
|
|
8
54
|
status: import("./State").SentinelReportStatus | undefined;
|
|
9
55
|
};
|
|
10
56
|
//# sourceMappingURL=use.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/contexts/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/contexts/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG9B,CAAA"}
|
|
@@ -1,3 +1,49 @@
|
|
|
1
1
|
import { SentinelWrapper } from '@xyo-network/sentinel';
|
|
2
|
-
export declare const useSentinel: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [SentinelWrapper<import("@xyo-network/sentinel").SentinelModule
|
|
2
|
+
export declare const useSentinel: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [SentinelWrapper<import("@xyo-network/sentinel").SentinelModule<import("@xyo-network/sentinel").SentinelParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
|
+
name?: string | undefined;
|
|
4
|
+
paging?: Record<string, {
|
|
5
|
+
size?: number | undefined;
|
|
6
|
+
}> | undefined;
|
|
7
|
+
schema: string;
|
|
8
|
+
security?: {
|
|
9
|
+
allowAnonymous?: boolean | undefined;
|
|
10
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
11
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
12
|
+
} | undefined;
|
|
13
|
+
storeQueries?: boolean | undefined;
|
|
14
|
+
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
15
|
+
name?: string | undefined;
|
|
16
|
+
paging?: Record<string, {
|
|
17
|
+
size?: number | undefined;
|
|
18
|
+
}> | undefined;
|
|
19
|
+
schema: "network.xyo.node.sentinel";
|
|
20
|
+
security?: {
|
|
21
|
+
allowAnonymous?: boolean | undefined;
|
|
22
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
23
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
storeQueries?: boolean | undefined;
|
|
26
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
27
|
+
name?: string | undefined;
|
|
28
|
+
paging?: Record<string, {
|
|
29
|
+
size?: number | undefined;
|
|
30
|
+
}> | undefined;
|
|
31
|
+
schema: string;
|
|
32
|
+
security?: {
|
|
33
|
+
allowAnonymous?: boolean | undefined;
|
|
34
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
35
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
36
|
+
} | undefined;
|
|
37
|
+
storeQueries?: boolean | undefined;
|
|
38
|
+
} & Omit<{
|
|
39
|
+
archivists?: string[] | undefined;
|
|
40
|
+
schema: string;
|
|
41
|
+
}, "schema"> & {
|
|
42
|
+
schema: "network.xyo.node.sentinel";
|
|
43
|
+
witnesses?: string[] | undefined;
|
|
44
|
+
} & {
|
|
45
|
+
schema: string;
|
|
46
|
+
}, "schema">, "schema"> & {
|
|
47
|
+
schema: string;
|
|
48
|
+
}, "schema">, undefined>, import("@xyo-network/sentinel").SentinelModuleEventData>> | undefined, Error | undefined];
|
|
3
49
|
//# sourceMappingURL=useSentinel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSentinel.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSentinel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"useSentinel.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSentinel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mHAA2D,CAAA"}
|
|
@@ -1,3 +1,49 @@
|
|
|
1
1
|
import { SentinelWrapper } from '@xyo-network/sentinel';
|
|
2
|
-
export declare const useSentinels: (account?: import("@xyo-network/account-model").AccountInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [SentinelWrapper<import("@xyo-network/sentinel").SentinelModule
|
|
2
|
+
export declare const useSentinels: (account?: import("@xyo-network/account-model").AccountInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [SentinelWrapper<import("@xyo-network/sentinel").SentinelModule<import("@xyo-network/sentinel").SentinelParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
|
+
name?: string | undefined;
|
|
4
|
+
paging?: Record<string, {
|
|
5
|
+
size?: number | undefined;
|
|
6
|
+
}> | undefined;
|
|
7
|
+
schema: string;
|
|
8
|
+
security?: {
|
|
9
|
+
allowAnonymous?: boolean | undefined;
|
|
10
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
11
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
12
|
+
} | undefined;
|
|
13
|
+
storeQueries?: boolean | undefined;
|
|
14
|
+
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
15
|
+
name?: string | undefined;
|
|
16
|
+
paging?: Record<string, {
|
|
17
|
+
size?: number | undefined;
|
|
18
|
+
}> | undefined;
|
|
19
|
+
schema: "network.xyo.node.sentinel";
|
|
20
|
+
security?: {
|
|
21
|
+
allowAnonymous?: boolean | undefined;
|
|
22
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
23
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
storeQueries?: boolean | undefined;
|
|
26
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
27
|
+
name?: string | undefined;
|
|
28
|
+
paging?: Record<string, {
|
|
29
|
+
size?: number | undefined;
|
|
30
|
+
}> | undefined;
|
|
31
|
+
schema: string;
|
|
32
|
+
security?: {
|
|
33
|
+
allowAnonymous?: boolean | undefined;
|
|
34
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
35
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
36
|
+
} | undefined;
|
|
37
|
+
storeQueries?: boolean | undefined;
|
|
38
|
+
} & Omit<{
|
|
39
|
+
archivists?: string[] | undefined;
|
|
40
|
+
schema: string;
|
|
41
|
+
}, "schema"> & {
|
|
42
|
+
schema: "network.xyo.node.sentinel";
|
|
43
|
+
witnesses?: string[] | undefined;
|
|
44
|
+
} & {
|
|
45
|
+
schema: string;
|
|
46
|
+
}, "schema">, "schema"> & {
|
|
47
|
+
schema: string;
|
|
48
|
+
}, "schema">, undefined>, import("@xyo-network/sentinel").SentinelModuleEventData>>[] | undefined, Error | undefined];
|
|
3
49
|
//# sourceMappingURL=useSentinels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSentinels.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSentinels.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"useSentinels.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSentinels.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qHAA4D,CAAA"}
|
package/package.json
CHANGED
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
"@xyo-network/account-model": "^2.56.2",
|
|
16
16
|
"@xyo-network/archivist": "^2.56.2",
|
|
17
17
|
"@xyo-network/boundwitness-model": "^2.56.2",
|
|
18
|
-
"@xyo-network/react-node": "^2.49.
|
|
19
|
-
"@xyo-network/react-shared": "^2.49.
|
|
18
|
+
"@xyo-network/react-node": "^2.49.8",
|
|
19
|
+
"@xyo-network/react-shared": "^2.49.8",
|
|
20
20
|
"@xyo-network/sentinel": "^2.56.2",
|
|
21
|
-
"@xyo-network/witness": "^2.56.
|
|
21
|
+
"@xyo-network/witness": "^2.56.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@xylabs/ts-scripts-yarn3": "^2.17.
|
|
25
|
-
"@xylabs/tsconfig-react": "^2.17.
|
|
24
|
+
"@xylabs/ts-scripts-yarn3": "^2.17.11",
|
|
25
|
+
"@xylabs/tsconfig-react": "^2.17.11",
|
|
26
26
|
"typescript": "^5.0.4"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
},
|
|
78
78
|
"sideEffects": false,
|
|
79
79
|
"types": "dist/types/index.d.ts",
|
|
80
|
-
"version": "2.49.
|
|
80
|
+
"version": "2.49.8"
|
|
81
81
|
}
|