Cleanup contract exports (#4337)

This commit is contained in:
Jaco
2021-12-16 12:20:27 +02:00
committed by GitHub
parent a33e10f0b9
commit d3a05c0da0
4 changed files with 11 additions and 9 deletions
+3 -2
View File
@@ -3,5 +3,6 @@
export { Abi } from './Abi';
export { packageInfo } from './packageInfo';
export { Blueprint as BlueprintPromise, Code as CodePromise, Contract as ContractPromise } from './promise';
export { Blueprint as BlueprintRx, Code as CodeRx, Contract as ContractRx } from './rx';
export * from './promise';
export * from './rx';
+3 -3
View File
@@ -5,6 +5,6 @@ import { toPromiseMethod } from '@polkadot/api';
import { extendBlueprint, extendCode, extendContract } from '../base';
export const Blueprint = extendBlueprint<'promise'>('promise', toPromiseMethod);
export const Code = extendCode<'promise'>('promise', toPromiseMethod);
export const Contract = extendContract<'promise'>('promise', toPromiseMethod);
export const BlueprintPromise = extendBlueprint<'promise'>('promise', toPromiseMethod);
export const CodePromise = extendCode<'promise'>('promise', toPromiseMethod);
export const ContractPromise = extendContract<'promise'>('promise', toPromiseMethod);
+3 -3
View File
@@ -5,6 +5,6 @@ import { toRxMethod } from '@polkadot/api';
import { extendBlueprint, extendCode, extendContract } from '../base';
export const Blueprint = extendBlueprint<'rxjs'>('rxjs', toRxMethod);
export const Code = extendCode<'rxjs'>('rxjs', toRxMethod);
export const Contract = extendContract<'rxjs'>('rxjs', toRxMethod);
export const BlueprintRx = extendBlueprint<'rxjs'>('rxjs', toRxMethod);
export const CodeRx = extendCode<'rxjs'>('rxjs', toRxMethod);
export const ContractRx = extendContract<'rxjs'>('rxjs', toRxMethod);
+2 -1
View File
@@ -5,6 +5,7 @@ export { Keyring } from '@polkadot/keyring';
export { WsProvider, HttpProvider } from '@polkadot/rpc-provider';
export { packageInfo } from './packageInfo';
export * from './promise';
export { SubmittableResult } from './submittable';
export * from './promise';
export * from './rx';