Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Need 'next' plugins before can finish
  • Loading branch information
arietrouw committed Dec 20, 2024
1 parent 5a1b8e2 commit 6928636
Show file tree
Hide file tree
Showing 71 changed files with 1,796 additions and 1,244 deletions.
20 changes: 10 additions & 10 deletions packages/modules/packages/archivist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@
"@xylabs/react-button": "^5.3.13",
"@xylabs/react-flexbox": "^5.3.13",
"@xylabs/react-promise": "^5.3.13",
"@xyo-network/archivist-memory": "^3.5.2",
"@xyo-network/archivist-model": "^3.5.2",
"@xyo-network/boundwitness-builder": "^3.5.2",
"@xyo-network/boundwitness-model": "^3.5.2",
"@xyo-network/module-events": "^3.5.2",
"@xyo-network/module-model": "^3.5.2",
"@xyo-network/module-wrapper": "^3.5.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/archivist-memory": "^3.6.0-rc.12",
"@xyo-network/archivist-model": "^3.6.0-rc.12",
"@xyo-network/boundwitness-builder": "^3.6.0-rc.12",
"@xyo-network/boundwitness-model": "^3.6.0-rc.12",
"@xyo-network/module-events": "^3.6.0-rc.12",
"@xyo-network/module-model": "^3.6.0-rc.12",
"@xyo-network/module-wrapper": "^3.6.0-rc.12",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-module": "workspace:^",
"@xyo-network/react-node": "workspace:^",
"@xyo-network/react-wallet": "workspace:^",
Expand All @@ -69,8 +69,8 @@
"@storybook/react": "^8.4.7",
"@xylabs/ts-scripts-yarn3": "^4.2.6",
"@xylabs/tsconfig-react": "^4.2.6",
"@xyo-network/account": "^3.5.2",
"@xyo-network/node-memory": "^3.5.2",
"@xyo-network/account": "^3.6.0-rc.12",
"@xyo-network/node-memory": "^3.6.0-rc.12",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"storybook": "^8.4.7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Hash } from '@xylabs/hex'
import { usePromise } from '@xylabs/react-promise'
import type { ArchivistInstance } from '@xyo-network/archivist-model'
import type { Payload, WithMeta } from '@xyo-network/payload-model'
import type { Payload, WithStorageMeta } from '@xyo-network/payload-model'
import type { RefreshCallback } from '@xyo-network/react-module'
import { useRefresh } from '@xyo-network/react-module'

Expand All @@ -13,7 +13,7 @@ export const useArchivistGet = <T extends Payload = Payload>(

const [payloads, error] = usePromise(async () => {
if (enabled && archivist && hashes) {
return (await archivist.get(hashes)) as WithMeta<T>[]
return (await archivist.get(hashes)) as WithStorageMeta<T>[]
}
}, [archivist, hashes, enabled])

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Hash } from '@xylabs/hex'
import { usePromise } from '@xylabs/react-promise'
import type { ArchivistInstance } from '@xyo-network/archivist-model'
import type { Payload, WithMeta } from '@xyo-network/payload-model'
import type { Payload, WithStorageMeta } from '@xyo-network/payload-model'
import type { RefreshCallback } from '@xyo-network/react-module'
import { useRefresh } from '@xyo-network/react-module'

Expand All @@ -14,7 +14,7 @@ export const useWeakArchivistGet = <T extends Payload = Payload>(
const [payloads, error] = usePromise(async () => {
const archivistInstance = archivist?.deref()
if (enabled && archivistInstance && hashes) {
return (await archivistInstance.get(hashes)) as WithMeta<T>[]
return (await archivistInstance.get(hashes)) as WithStorageMeta<T>[]
}
}, [archivist, hashes, enabled])

Expand Down
4 changes: 2 additions & 2 deletions packages/modules/packages/diviner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
},
"dependencies": {
"@xylabs/exists": "^4.4.25",
"@xyo-network/diviner-model": "^3.5.2",
"@xyo-network/module-model": "^3.5.2",
"@xyo-network/diviner-model": "^3.6.0-rc.12",
"@xyo-network/module-model": "^3.6.0-rc.12",
"@xyo-network/react-node": "workspace:^"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/modules/packages/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"@xylabs/react-crypto": "^5.3.13",
"@xylabs/react-flexbox": "^5.3.13",
"@xylabs/react-promise": "^5.3.13",
"@xyo-network/diviner-model": "^3.5.2",
"@xyo-network/module-model": "^3.5.2",
"@xyo-network/diviner-model": "^3.6.0-rc.12",
"@xyo-network/module-model": "^3.6.0-rc.12",
"@xyo-network/react-shared": "workspace:^"
},
"devDependencies": {
Expand All @@ -60,10 +60,10 @@
"@xylabs/react-async-effect": "^5.3.13",
"@xylabs/ts-scripts-yarn3": "^4.2.6",
"@xylabs/tsconfig-react": "^4.2.6",
"@xyo-network/archivist": "^3.5.2",
"@xyo-network/archivist": "^3.6.0-rc.12",
"@xyo-network/crypto-asset-plugin": "^3.1.2",
"@xyo-network/diviner-address-history": "^3.5.2",
"@xyo-network/node-memory": "^3.5.2",
"@xyo-network/diviner-address-history": "^3.6.0-rc.12",
"@xyo-network/node-memory": "^3.6.0-rc.12",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"storybook": "^8.4.7",
Expand Down
12 changes: 6 additions & 6 deletions packages/modules/packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,19 @@
"@xylabs/react-async-effect": "^5.3.13",
"@xylabs/react-flexbox": "^5.3.13",
"@xylabs/react-promise": "^5.3.13",
"@xyo-network/module-abstract": "^3.5.2",
"@xyo-network/module-model": "^3.5.2",
"@xyo-network/node-model": "^3.5.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/module-abstract": "^3.6.0-rc.12",
"@xyo-network/module-model": "^3.6.0-rc.12",
"@xyo-network/node-model": "^3.6.0-rc.12",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-node-context": "workspace:^",
"@xyo-network/react-node-provider": "workspace:^"
},
"devDependencies": {
"@storybook/react": "^8.4.7",
"@xylabs/ts-scripts-yarn3": "^4.2.6",
"@xylabs/tsconfig-react": "^4.2.6",
"@xyo-network/node-memory": "^3.5.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/node-memory": "^3.6.0-rc.12",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-storybook": "workspace:^",
"@xyo-network/react-wallet": "workspace:^",
"react": "^18.3.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/modules/packages/node/packages/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"lint-pkg": "npmPkgJsonLint ."
},
"dependencies": {
"@xyo-network/module-model": "^3.5.2",
"@xyo-network/node-model": "^3.5.2",
"@xyo-network/module-model": "^3.6.0-rc.12",
"@xyo-network/node-model": "^3.6.0-rc.12",
"@xyo-network/react-shared": "workspace:^"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/modules/packages/node/packages/provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
"dependencies": {
"@xylabs/forget": "^4.4.25",
"@xylabs/react-async-effect": "^5.3.13",
"@xyo-network/module-model": "^3.5.2",
"@xyo-network/node-memory": "^3.5.2",
"@xyo-network/node-model": "^3.5.2",
"@xyo-network/module-model": "^3.6.0-rc.12",
"@xyo-network/node-memory": "^3.6.0-rc.12",
"@xyo-network/node-model": "^3.6.0-rc.12",
"@xyo-network/react-node-context": "workspace:^",
"@xyo-network/react-shared": "workspace:^"
},
Expand Down
22 changes: 11 additions & 11 deletions packages/modules/packages/sentinal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@
"@xylabs/react-button": "^5.3.13",
"@xylabs/react-flexbox": "^5.3.13",
"@xylabs/react-promise": "^5.3.13",
"@xyo-network/account-model": "^3.5.2",
"@xyo-network/archivist-model": "^3.5.2",
"@xyo-network/boundwitness-model": "^3.5.2",
"@xyo-network/module-model": "^3.5.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/account-model": "^3.6.0-rc.12",
"@xyo-network/archivist-model": "^3.6.0-rc.12",
"@xyo-network/boundwitness-model": "^3.6.0-rc.12",
"@xyo-network/module-model": "^3.6.0-rc.12",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-module": "workspace:^",
"@xyo-network/react-node": "workspace:^",
"@xyo-network/react-payload-raw-info": "workspace:^",
"@xyo-network/react-shared": "workspace:^",
"@xyo-network/react-witness": "workspace:^",
"@xyo-network/sentinel-memory": "^3.5.2",
"@xyo-network/sentinel-model": "^3.5.2",
"@xyo-network/witness-model": "^3.5.2"
"@xyo-network/sentinel-memory": "^3.6.0-rc.12",
"@xyo-network/sentinel-model": "^3.6.0-rc.12",
"@xyo-network/witness-model": "^3.6.0-rc.12"
},
"devDependencies": {
"@emotion/react": "^11.14.0",
Expand All @@ -72,10 +72,10 @@
"@storybook/react": "^8.4.7",
"@xylabs/ts-scripts-yarn3": "^4.2.6",
"@xylabs/tsconfig-react": "^4.2.6",
"@xyo-network/account": "^3.5.2",
"@xyo-network/account": "^3.6.0-rc.12",
"@xyo-network/evm-call-witness": "^3.1.2",
"@xyo-network/manifest": "^3.5.2",
"@xyo-network/module-factory-locator": "^3.5.2",
"@xyo-network/manifest": "^3.6.0-rc.12",
"@xyo-network/module-factory-locator": "^3.6.0-rc.12",
"ethers": "^6.13.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const SentinelProvider: React.FC<PropsWithChildren<SentinelProviderProps>
const [sentinel, setSentinel] = useState<MemorySentinel>()
const [history, setHistory] = useState<BoundWitness[]>()
const [progress, setProgress] = useState<SentinelReportProgress>({})
const [status, setStatus] = useState(SentinelReportStatus.Idle)
const [status, setStatus] = useState<SentinelReportStatus>(SentinelReportStatus.Idle)
const [reportingErrors, setReportingErrors] = useState<Error[]>()
const [witnesses] = useWitnessesFromNode(filter)

Expand Down
6 changes: 3 additions & 3 deletions packages/modules/packages/witness/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
"@xylabs/react-button": "^5.3.13",
"@xylabs/react-flexbox": "^5.3.13",
"@xylabs/react-promise": "^5.3.13",
"@xyo-network/module-model": "^3.5.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/module-model": "^3.6.0-rc.12",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-module": "workspace:^",
"@xyo-network/react-node": "workspace:^",
"@xyo-network/react-payload-raw-info": "workspace:^",
"@xyo-network/witness-model": "^3.5.2"
"@xyo-network/witness-model": "^3.6.0-rc.12"
},
"devDependencies": {
"@emotion/react": "^11.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/packages/address/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"lint-pkg": "npmPkgJsonLint ."
},
"dependencies": {
"@xyo-network/module-model": "^3.5.2",
"@xyo-network/module-model": "^3.6.0-rc.12",
"@xyo-network/react-address-render": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/packages/aggregate-price/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@xylabs/react-flexbox": "^5.3.13",
"@xylabs/react-quick-tip-button": "^5.3.13",
"@xyo-network/crypto-asset-payload-plugin": "^3.1.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-payload-plugin": "workspace:^",
"@xyo-network/react-shared": "workspace:^"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/plugins/packages/boundwitness/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
"@xylabs/react-identicon": "^5.3.13",
"@xylabs/react-promise": "^5.3.13",
"@xylabs/react-quick-tip-button": "^5.3.13",
"@xyo-network/boundwitness-model": "^3.5.2",
"@xyo-network/boundwitness-validator": "^3.5.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/boundwitness-model": "^3.6.0-rc.12",
"@xyo-network/boundwitness-validator": "^3.6.0-rc.12",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-card": "workspace:^",
"@xyo-network/react-event": "workspace:^",
"@xyo-network/react-payload-details": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/packages/coin-gecko-prices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@xyo-network/coingecko-crypto-market-payload-plugin": "^3.1.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-aggregate-price-plugin": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^",
"@xyo-network/react-shared": "workspace:^"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@xylabs/decimal-precision": "^4.4.25",
"@xylabs/object": "^4.4.25",
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-payload-plugin": "workspace:^",
"@xyo-network/react-shared": "workspace:^",
"@xyo-network/uniswap-crypto-market-payload-plugin": "^3.1.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/packages/crypto-prices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/coingecko-crypto-market-payload-plugin": "^3.1.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-payload-plugin": "workspace:^",
"@xyo-network/react-shared": "workspace:^",
"@xyo-network/uniswap-crypto-market-payload-plugin": "^3.1.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/packages/elevation-quadkey/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@xylabs/react-async-effect": "^5.3.13",
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-map": "workspace:^",
"@xyo-network/react-map-model": "workspace:^",
"@xyo-network/react-shared": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "^3.1.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-gas-price": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^",
"@xyo-network/react-shared": "workspace:^"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/ethgasstation-ethereum-gas-payload-plugin": "^3.1.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-gas-price": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^",
"@xyo-network/react-shared": "workspace:^"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/etherchain-ethereum-gas-v2-payload-plugin": "^3.1.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-gas-price": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^",
"@xyo-network/react-shared": "workspace:^"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/ethers-ethereum-gas-payload-plugin": "^3.1.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-gas-price": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^",
"@xyo-network/react-shared": "workspace:^"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/etherscan-ethereum-gas-payload-plugin": "^3.1.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-gas-price": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^",
"@xyo-network/react-shared": "workspace:^"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@xylabs/react-flexbox": "^5.3.13",
"@xylabs/react-quick-tip-button": "^5.3.13",
"@xyo-network/gas-price-payload-plugin": "^3.1.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-gas-price": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^",
"@xyo-network/react-shared": "workspace:^"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@xylabs/react-error": "^5.3.13",
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-map": "workspace:^",
"@xyo-network/react-map-model": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/packages/location-point-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
},
"dependencies": {
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/api": "^3.5.2",
"@xyo-network/api": "^3.6.0-rc.12",
"@xyo-network/location-payload-plugin": "^3.1.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-map": "workspace:^",
"@xyo-network/react-map-model": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/packages/location-points-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-map": "workspace:^",
"@xyo-network/react-map-model": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/packages/nft-score/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/crypto-nft-payload-plugin": "^3.1.2",
"@xyo-network/crypto-nft-score-model": "^3.1.2",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-payload-plugin": "workspace:^",
"@xyo-network/react-shared": "workspace:^"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/packages/pointer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@xylabs/react-flexbox": "^5.3.13",
"@xyo-network/payload-model": "^3.5.2",
"@xyo-network/payload-model": "^3.6.0-rc.12",
"@xyo-network/react-payload-details": "workspace:^",
"@xyo-network/react-payload-plugin": "workspace:^"
},
Expand Down
Loading

0 comments on commit 6928636

Please sign in to comment.