On subscriptions, ensure rx.runtimeVersion is set (#2180)

This commit is contained in:
Jaco Greeff
2020-04-16 12:05:35 +02:00
committed by GitHub
parent 52d73d8698
commit 07c4037fcf
2 changed files with 10 additions and 1 deletions
+1
View File
@@ -139,6 +139,7 @@ export default abstract class Init<ApiType extends ApiTypes> extends Decorate<Ap
this._runtimeMetadata = metadata;
this._runtimeVersion = version;
this._rx.runtimeVersion = version;
this.registerTypes(getSpecTypes(this.registry, this._runtimeChain as Text, version.specName, version.specVersion));
this.injectMetadata(metadata, false);