Skip to content

Commit

Permalink
Fixed Node Wrapper compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
arietrouw committed Aug 1, 2023
1 parent c18d0c5 commit 08a3852
Show file tree
Hide file tree
Showing 2 changed files with 216 additions and 0 deletions.
211 changes: 211 additions & 0 deletions .yarn/versions/47b7e99e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
releases:
"@xyo-network/abstract-archivist": patch
"@xyo-network/abstract-bridge": patch
"@xyo-network/abstract-diviner": patch
"@xyo-network/abstract-witness": patch
"@xyo-network/account": patch
"@xyo-network/account-model": patch
"@xyo-network/address-payload-plugin": patch
"@xyo-network/api": patch
"@xyo-network/api-models": patch
"@xyo-network/archivist": patch
"@xyo-network/archivist-indexeddb": patch
"@xyo-network/archivist-model": patch
"@xyo-network/archivist-wrapper": patch
"@xyo-network/automation-witness-server": patch
"@xyo-network/axios": patch
"@xyo-network/bip39": patch
"@xyo-network/blockchain-payload-plugins": patch
"@xyo-network/blockchain-plugins": patch
"@xyo-network/blocknative-ethereum-gas-payload-plugin": patch
"@xyo-network/blocknative-ethereum-gas-plugin": patch
"@xyo-network/boundwitness": patch
"@xyo-network/boundwitness-builder": patch
"@xyo-network/boundwitness-model": patch
"@xyo-network/boundwitness-validator": patch
"@xyo-network/boundwitness-wrapper": patch
"@xyo-network/bowser-system-info-payload-plugin": patch
"@xyo-network/bowser-system-info-plugin": patch
"@xyo-network/bridge": patch
"@xyo-network/bridge-model": patch
"@xyo-network/bridge-module-resolver": patch
"@xyo-network/bridge-wrapper": patch
"@xyo-network/cli": patch
"@xyo-network/coingecko-crypto-market-payload-plugin": patch
"@xyo-network/coingecko-crypto-market-plugin": patch
"@xyo-network/config-payload-plugin": patch
"@xyo-network/core": patch
"@xyo-network/crypto-address-transaction-history-payload-plugin": patch
"@xyo-network/crypto-address-transaction-history-plugin": patch
"@xyo-network/crypto-asset-payload-plugin": patch
"@xyo-network/crypto-asset-plugin": patch
"@xyo-network/crypto-cards-game-payload-plugin": patch
"@xyo-network/crypto-cards-game-plugin": patch
"@xyo-network/crypto-cards-move-payload-plugin": patch
"@xyo-network/crypto-cards-move-plugin": patch
"@xyo-network/crypto-cards-payload-plugins": patch
"@xyo-network/crypto-cards-plugins": patch
"@xyo-network/crypto-market-payload-plugins": patch
"@xyo-network/crypto-market-plugins": patch
"@xyo-network/crypto-payload-plugins": patch
"@xyo-network/crypto-plugins": patch
"@xyo-network/crypto-wallet-nft-payload-plugin": patch
"@xyo-network/crypto-wallet-nft-plugin": patch
"@xyo-network/diviner": patch
"@xyo-network/diviner-address-chain": patch
"@xyo-network/diviner-address-chain-abstract": patch
"@xyo-network/diviner-address-chain-memory": patch
"@xyo-network/diviner-address-chain-model": patch
"@xyo-network/diviner-address-history": patch
"@xyo-network/diviner-address-history-model": patch
"@xyo-network/diviner-address-space": patch
"@xyo-network/diviner-address-space-abstract": patch
"@xyo-network/diviner-address-space-memory": patch
"@xyo-network/diviner-address-space-model": patch
"@xyo-network/diviner-boundwitness": patch
"@xyo-network/diviner-boundwitness-abstract": patch
"@xyo-network/diviner-boundwitness-memory": patch
"@xyo-network/diviner-boundwitness-model": patch
"@xyo-network/diviner-boundwitness-stats": patch
"@xyo-network/diviner-boundwitness-stats-abstract": patch
"@xyo-network/diviner-boundwitness-stats-memory": patch
"@xyo-network/diviner-boundwitness-stats-model": patch
"@xyo-network/diviner-coin": patch
"@xyo-network/diviner-coin-user-locations": patch
"@xyo-network/diviner-coin-user-locations-abstract": patch
"@xyo-network/diviner-coin-user-locations-model": patch
"@xyo-network/diviner-forecasting": patch
"@xyo-network/diviner-forecasting-abstract": patch
"@xyo-network/diviner-forecasting-memory": patch
"@xyo-network/diviner-forecasting-method-arima": patch
"@xyo-network/diviner-forecasting-model": patch
"@xyo-network/diviner-model": patch
"@xyo-network/diviner-models": patch
"@xyo-network/diviner-payload": patch
"@xyo-network/diviner-payload-abstract": patch
"@xyo-network/diviner-payload-memory": patch
"@xyo-network/diviner-payload-model": patch
"@xyo-network/diviner-payload-stats": patch
"@xyo-network/diviner-payload-stats-abstract": patch
"@xyo-network/diviner-payload-stats-memory": patch
"@xyo-network/diviner-payload-stats-model": patch
"@xyo-network/diviner-schema-list": patch
"@xyo-network/diviner-schema-list-abstract": patch
"@xyo-network/diviner-schema-list-memory": patch
"@xyo-network/diviner-schema-list-model": patch
"@xyo-network/diviner-schema-stats": patch
"@xyo-network/diviner-schema-stats-abstract": patch
"@xyo-network/diviner-schema-stats-memory": patch
"@xyo-network/diviner-schema-stats-model": patch
"@xyo-network/diviner-wrapper": patch
"@xyo-network/dns": patch
"@xyo-network/domain": patch
"@xyo-network/domain-payload-plugin": patch
"@xyo-network/domain-plugin": patch
"@xyo-network/elevation-payload-plugin": patch
"@xyo-network/elevation-plugin": patch
"@xyo-network/error": patch
"@xyo-network/etherchain-ethereum-gas-v2-payload-plugin": patch
"@xyo-network/etherchain-ethereum-gas-v2-plugin": patch
"@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins": patch
"@xyo-network/etherchain-gas-ethereum-blockchain-plugins": patch
"@xyo-network/ethereum-blockchain-payload-plugins": patch
"@xyo-network/ethereum-blockchain-plugins": patch
"@xyo-network/ethers-ethereum-gas-payload-plugin": patch
"@xyo-network/ethers-ethereum-gas-plugin": patch
"@xyo-network/etherscan-ethereum-gas-payload-plugin": patch
"@xyo-network/etherscan-ethereum-gas-plugin": patch
"@xyo-network/ethgasstation-ethereum-gas-payload-plugin": patch
"@xyo-network/express-node": patch
"@xyo-network/express-node-dependencies": patch
"@xyo-network/express-node-lib": patch
"@xyo-network/express-node-middleware": patch
"@xyo-network/express-node-routes": patch
"@xyo-network/express-node-server": patch
"@xyo-network/express-node-test": patch
"@xyo-network/filesystem-archivist": patch
"@xyo-network/gas-ethereum-blockchain-payload-plugins": patch
"@xyo-network/gas-ethereum-blockchain-plugins": patch
"@xyo-network/gas-price-payload-plugin": patch
"@xyo-network/gas-price-plugin": patch
"@xyo-network/http-bridge": patch
"@xyo-network/huri": patch
"@xyo-network/id-payload-plugin": patch
"@xyo-network/id-plugin": patch
"@xyo-network/info-system-payload-plugins": patch
"@xyo-network/info-system-plugins": patch
"@xyo-network/key-model": patch
"@xyo-network/location-certainty-payload-plugin": patch
"@xyo-network/location-certainty-plugin": patch
"@xyo-network/location-payload-plugin": patch
"@xyo-network/location-plugin": patch
"@xyo-network/logger": patch
"@xyo-network/manifest": patch
"@xyo-network/manifest-model": patch
"@xyo-network/memory-archivist": patch
"@xyo-network/metamask-connector": patch
"@xyo-network/module": patch
"@xyo-network/module-abstract": patch
"@xyo-network/module-events": patch
"@xyo-network/module-instance-payload-plugin": patch
"@xyo-network/module-instance-plugin": patch
"@xyo-network/module-model": patch
"@xyo-network/module-wrapper": patch
"@xyo-network/modules": patch
"@xyo-network/network": patch
"@xyo-network/node": patch
"@xyo-network/node-app": patch
"@xyo-network/node-core-lib": patch
"@xyo-network/node-core-model": patch
"@xyo-network/node-core-modules-mongo": patch
"@xyo-network/node-core-types": patch
"@xyo-network/node-model": patch
"@xyo-network/node-system-info-payload-plugin": patch
"@xyo-network/node-system-info-plugin": patch
"@xyo-network/node-wrapper": patch
"@xyo-network/object-identity": patch
"@xyo-network/payload": patch
"@xyo-network/payload-builder": patch
"@xyo-network/payload-model": patch
"@xyo-network/payload-plugin": patch
"@xyo-network/payload-plugins": patch
"@xyo-network/payload-validator": patch
"@xyo-network/payload-wrapper": patch
"@xyo-network/payloadset-plugin": patch
"@xyo-network/payloadset-plugins": patch
"@xyo-network/pentair-payload-plugin": patch
"@xyo-network/pentair-plugin": patch
"@xyo-network/plugins": patch
"@xyo-network/previous-hash-store": patch
"@xyo-network/previous-hash-store-indexeddb": patch
"@xyo-network/previous-hash-store-model": patch
"@xyo-network/previous-hash-store-storage": patch
"@xyo-network/prometheus-node-plugin": patch
"@xyo-network/promisable": patch
"@xyo-network/promise": patch
"@xyo-network/protocol": patch
"@xyo-network/quadkey": patch
"@xyo-network/query-payload-plugin": patch
"@xyo-network/schema-cache": patch
"@xyo-network/schema-name-validator": patch
"@xyo-network/schema-payload-plugin": patch
"@xyo-network/schema-plugin": patch
"@xyo-network/sdk": patch
"@xyo-network/sdk-xyo-client-js": patch
"@xyo-network/sdk-xyo-mongo-js": patch
"@xyo-network/sentinel": patch
"@xyo-network/shared": patch
"@xyo-network/system-payload-plugins": patch
"@xyo-network/system-plugins": patch
"@xyo-network/typeof": patch
"@xyo-network/uniswap-crypto-market-payload-plugin": patch
"@xyo-network/uniswap-crypto-market-plugin": patch
"@xyo-network/url-payload-plugin": patch
"@xyo-network/url-plugin": patch
"@xyo-network/wallet-model": patch
"@xyo-network/witness": patch
"@xyo-network/witness-model": patch
"@xyo-network/witness-timestamp": patch
"@xyo-network/witness-wrapper": patch
"@xyo-network/witnesses": patch
"@xyo-network/worker-bridge": patch
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
NodeRegisteredQuerySchema,
} from '@xyo-network/node-model'
import { isPayloadOfSchemaType } from '@xyo-network/payload-model'
import { Promisable } from '@xyo-network/promise'

constructableModuleWrapper()
export class NodeWrapper<TWrappedModule extends NodeModule = NodeModule>
Expand Down Expand Up @@ -62,4 +63,8 @@ export class NodeWrapper<TWrappedModule extends NodeModule = NodeModule>
const payloads: AddressPayload[] = (await this.sendQuery(queryPayload)).filter(isPayloadOfSchemaType<AddressPayload>(AddressSchema))
return payloads.map((p) => p.address)
}

registeredModules(): Promisable<ModuleInstance[]> {
throw Error('Not implemented')
}
}

0 comments on commit 08a3852

Please sign in to comment.