@xyo-network/react-archivist 4.4.5 → 4.4.7
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/browser/index.d.ts +4 -13
- package/package.json +22 -22
package/dist/browser/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
|
7
7
|
import { ModuleFromNodeConfig, WeakModuleFromNodeConfig } from '@xyo-network/react-node';
|
|
8
8
|
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
9
9
|
import * as _xylabs_react_promise from '@xylabs/react-promise';
|
|
10
|
-
import * as _xylabs_object from '@xylabs/object';
|
|
11
10
|
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
12
11
|
import { Payload } from '@xyo-network/payload-model';
|
|
13
12
|
import { Hash } from '@xylabs/hex';
|
|
@@ -31,20 +30,12 @@ declare const useWeakArchivistFromNode: (nameOrAddressOrInstance?: string | Arch
|
|
|
31
30
|
|
|
32
31
|
declare const useWeakArchivistsFromNode: (ids?: ModuleIdentifier[], config?: ModuleFromNodeConfig) => [WeakRef<ArchivistInstance>[] | null | undefined, Error | undefined];
|
|
33
32
|
|
|
34
|
-
declare const useArchivistAll: (archivist: ArchivistInstance) => (Error | _xyo_network_react_module.RefreshCallback | [_xyo_network_payload_model.WithStorageMeta<_xyo_network_payload_model.WithStorageMeta<
|
|
35
|
-
schema: _xyo_network_payload_model.Schema;
|
|
36
|
-
}>>>[] | undefined, Error | undefined, _xylabs_react_promise.UsePromiseState | undefined] | undefined)[];
|
|
33
|
+
declare const useArchivistAll: (archivist: ArchivistInstance) => (Error | _xyo_network_react_module.RefreshCallback | [_xyo_network_payload_model.WithStorageMeta<_xyo_network_payload_model.WithStorageMeta<_xyo_network_payload_model.Payload>>[] | undefined, Error | undefined, _xylabs_react_promise.UsePromiseState | undefined] | undefined)[];
|
|
37
34
|
|
|
38
|
-
declare const useArchivistGet: <T extends Payload =
|
|
39
|
-
schema: _xyo_network_payload_model.Schema;
|
|
40
|
-
}>>(archivist?: ArchivistInstance | null, hashes?: Hash[]) => [T[] | undefined, Error | undefined, RefreshCallback];
|
|
35
|
+
declare const useArchivistGet: <T extends Payload = Payload>(archivist?: ArchivistInstance | null, hashes?: Hash[]) => [T[] | undefined, Error | undefined, RefreshCallback];
|
|
41
36
|
|
|
42
|
-
declare const useWeakArchivistAll: (archivist: WeakRef<ArchivistInstance>) => (Error | _xyo_network_react_module.RefreshCallback | [_xyo_network_payload_model.WithStorageMeta<_xyo_network_payload_model.WithStorageMeta<
|
|
43
|
-
schema: _xyo_network_payload_model.Schema;
|
|
44
|
-
}>>>[] | undefined, Error | undefined, _xylabs_react_promise.UsePromiseState | undefined] | undefined)[];
|
|
37
|
+
declare const useWeakArchivistAll: (archivist: WeakRef<ArchivistInstance>) => (Error | _xyo_network_react_module.RefreshCallback | [_xyo_network_payload_model.WithStorageMeta<_xyo_network_payload_model.WithStorageMeta<_xyo_network_payload_model.Payload>>[] | undefined, Error | undefined, _xylabs_react_promise.UsePromiseState | undefined] | undefined)[];
|
|
45
38
|
|
|
46
|
-
declare const useWeakArchivistGet: <T extends Payload =
|
|
47
|
-
schema: _xyo_network_payload_model.Schema;
|
|
48
|
-
}>>(archivist?: WeakRef<ArchivistInstance> | null, hashes?: Hash[]) => [T[] | undefined, Error | undefined, RefreshCallback];
|
|
39
|
+
declare const useWeakArchivistGet: <T extends Payload = Payload>(archivist?: WeakRef<ArchivistInstance> | null, hashes?: Hash[]) => [T[] | undefined, Error | undefined, RefreshCallback];
|
|
49
40
|
|
|
50
41
|
export { ArchivistCard, ArchivistCardContent, ArchivistCardHeader, ArchivistDetails, useArchivistAll, useArchivistFromNode, useArchivistGet, useArchivistsFromNode, useWeakArchivistAll, useWeakArchivistFromNode, useWeakArchivistGet, useWeakArchivistsFromNode };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-archivist",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.7",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -49,31 +49,31 @@
|
|
|
49
49
|
"@xylabs/react-button": "^5.3.23",
|
|
50
50
|
"@xylabs/react-flexbox": "^5.3.23",
|
|
51
51
|
"@xylabs/react-promise": "^5.3.23",
|
|
52
|
-
"@xyo-network/archivist-memory": "^3.9.
|
|
53
|
-
"@xyo-network/archivist-model": "^3.9.
|
|
54
|
-
"@xyo-network/boundwitness-builder": "^3.9.
|
|
55
|
-
"@xyo-network/boundwitness-model": "^3.9.
|
|
56
|
-
"@xyo-network/module-events": "^3.9.
|
|
57
|
-
"@xyo-network/module-model": "^3.9.
|
|
58
|
-
"@xyo-network/module-wrapper": "^3.9.
|
|
59
|
-
"@xyo-network/payload-model": "^3.9.
|
|
60
|
-
"@xyo-network/react-module": "^4.4.
|
|
61
|
-
"@xyo-network/react-node": "^4.4.
|
|
62
|
-
"@xyo-network/react-wallet": "^4.4.
|
|
63
|
-
"react-icons": "^5.
|
|
52
|
+
"@xyo-network/archivist-memory": "^3.9.17",
|
|
53
|
+
"@xyo-network/archivist-model": "^3.9.17",
|
|
54
|
+
"@xyo-network/boundwitness-builder": "^3.9.17",
|
|
55
|
+
"@xyo-network/boundwitness-model": "^3.9.17",
|
|
56
|
+
"@xyo-network/module-events": "^3.9.17",
|
|
57
|
+
"@xyo-network/module-model": "^3.9.17",
|
|
58
|
+
"@xyo-network/module-wrapper": "^3.9.17",
|
|
59
|
+
"@xyo-network/payload-model": "^3.9.17",
|
|
60
|
+
"@xyo-network/react-module": "^4.4.7",
|
|
61
|
+
"@xyo-network/react-node": "^4.4.7",
|
|
62
|
+
"@xyo-network/react-wallet": "^4.4.7",
|
|
63
|
+
"react-icons": "^5.5.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@mui/icons-material": "^6.4.
|
|
67
|
-
"@mui/material": "^6.4.
|
|
68
|
-
"@mui/styles": "^6.4.
|
|
69
|
-
"@storybook/react": "^8.
|
|
70
|
-
"@xylabs/ts-scripts-yarn3": "^5.0.
|
|
71
|
-
"@xylabs/tsconfig-react": "^5.0.
|
|
72
|
-
"@xyo-network/account": "^3.9.
|
|
73
|
-
"@xyo-network/node-memory": "^3.9.
|
|
66
|
+
"@mui/icons-material": "^6.4.6",
|
|
67
|
+
"@mui/material": "^6.4.6",
|
|
68
|
+
"@mui/styles": "^6.4.6",
|
|
69
|
+
"@storybook/react": "^8.6.2",
|
|
70
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.25",
|
|
71
|
+
"@xylabs/tsconfig-react": "^5.0.25",
|
|
72
|
+
"@xyo-network/account": "^3.9.17",
|
|
73
|
+
"@xyo-network/node-memory": "^3.9.17",
|
|
74
74
|
"react": "^18.3.1",
|
|
75
75
|
"react-dom": "^18.3.1",
|
|
76
|
-
"storybook": "^8.
|
|
76
|
+
"storybook": "^8.6.2",
|
|
77
77
|
"typescript": "^5.7.3"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|