Bump deps (#861)
* Bump deps * Align with published common * Fix rxjs to 6.4.0 (false deprecations on 6.5.1)
This commit is contained in:
@@ -29,13 +29,13 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.3",
|
||||
"@babel/runtime": "^7.4.4",
|
||||
"@polkadot/api-derive": "^0.78.0-beta.0",
|
||||
"@polkadot/extrinsics": "^0.78.0-beta.0",
|
||||
"@polkadot/rpc-provider": "^0.78.0-beta.0",
|
||||
"@polkadot/rpc-rx": "^0.78.0-beta.0",
|
||||
"@polkadot/storage": "^0.78.0-beta.0",
|
||||
"@polkadot/types": "^0.78.0-beta.0",
|
||||
"@polkadot/util-crypto": "^0.76.1"
|
||||
"@polkadot/util-crypto": "^0.90.0-beta.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,10 +90,10 @@ export default function createSubmittableExtrinsic<CodecResult, SubscriptionResu
|
||||
|
||||
const blockHash = status.asFinalized;
|
||||
|
||||
return combineLatest(
|
||||
return combineLatest([
|
||||
api.rpc.chain.getBlock(blockHash) as Observable<SignedBlock>,
|
||||
api.query.system.events.at(blockHash) as Observable<Vector<EventRecord>>
|
||||
).pipe(
|
||||
]).pipe(
|
||||
map(([signedBlock, allEvents]) => {
|
||||
const result = new SubmittableResult({
|
||||
events: filterEvents(_extrinsic.hash, signedBlock, allEvents),
|
||||
|
||||
Reference in New Issue
Block a user