Export StorageFunctionPromise (actually used in apps) (#1020)
This commit is contained in:
@@ -27,6 +27,6 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.5",
|
||||
"@polkadot/types": "^0.81.0-beta.17"
|
||||
"@polkadot/types": "^0.82.0-beta.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,6 +34,6 @@
|
||||
"memoizee": "^0.4.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.1"
|
||||
"@polkadot/keyring": "^0.94.0-beta.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,9 +33,9 @@
|
||||
"@polkadot/rpc-rx": "^0.82.0-beta.2",
|
||||
"@polkadot/storage": "^0.82.0-beta.2",
|
||||
"@polkadot/types": "^0.82.0-beta.2",
|
||||
"@polkadot/util-crypto": "^0.93.1"
|
||||
"@polkadot/util-crypto": "^0.94.0-beta.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.1"
|
||||
"@polkadot/keyring": "^0.94.0-beta.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ export interface DecoratedRpc<ApiType> {
|
||||
system: DecoratedRpc$Section<ApiType>;
|
||||
}
|
||||
|
||||
interface StorageFunctionObservable {
|
||||
export interface StorageFunctionObservable {
|
||||
(arg1?: CodecArg, arg2?: CodecArg): Observable<Codec>;
|
||||
<T extends Codec>(arg1?: CodecArg, arg2?: CodecArg): Observable<T>;
|
||||
at: (hash: Hash | Uint8Array | string, arg1?: CodecArg, arg2?: CodecArg) => Observable<Codec>;
|
||||
@@ -107,7 +107,7 @@ export interface StorageFunctionPromiseOverloads {
|
||||
<T extends Codec>(arg1: CodecArg, arg2: CodecArg, callback: Callback<T>): UnsubscribePromise;
|
||||
}
|
||||
|
||||
interface StorageFunctionPromise extends StorageFunctionPromiseOverloads {
|
||||
export interface StorageFunctionPromise extends StorageFunctionPromiseOverloads {
|
||||
at: (hash: Hash | Uint8Array | string, arg1?: CodecArg, arg2?: CodecArg) => Promise<Codec>;
|
||||
creator: StorageFunction;
|
||||
hash: (arg1?: CodecArg, arg2?: CodecArg) => Promise<Hash>;
|
||||
|
||||
@@ -30,6 +30,6 @@
|
||||
"@polkadot/jsonrpc": "^0.82.0-beta.2",
|
||||
"@polkadot/rpc-provider": "^0.82.0-beta.2",
|
||||
"@polkadot/types": "^0.82.0-beta.2",
|
||||
"@polkadot/util": "^0.93.1"
|
||||
"@polkadot/util": "^0.94.0-beta.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,15 +28,15 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.5",
|
||||
"@polkadot/storage": "^0.82.0-beta.2",
|
||||
"@polkadot/util": "^0.93.1",
|
||||
"@polkadot/util-crypto": "^0.93.1",
|
||||
"@polkadot/util": "^0.94.0-beta.1",
|
||||
"@polkadot/util-crypto": "^0.94.0-beta.1",
|
||||
"@types/nock": "^10.0.3",
|
||||
"eventemitter3": "^3.1.0",
|
||||
"isomorphic-fetch": "^2.2.1",
|
||||
"websocket": "^1.0.28"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.1",
|
||||
"@polkadot/keyring": "^0.94.0-beta.1",
|
||||
"mock-socket": "^8.0.5",
|
||||
"nock": "^10.0.4"
|
||||
}
|
||||
|
||||
@@ -35,6 +35,6 @@
|
||||
"rxjs": "^6.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.1"
|
||||
"@polkadot/keyring": "^0.94.0-beta.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.5",
|
||||
"@polkadot/types": "^0.82.0-beta.2",
|
||||
"@polkadot/util": "^0.93.1"
|
||||
"@polkadot/util": "^0.94.0-beta.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,10 +28,10 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.5",
|
||||
"@polkadot/types": "^0.82.0-beta.2",
|
||||
"@polkadot/util": "^0.93.1",
|
||||
"@polkadot/util-crypto": "^0.93.1"
|
||||
"@polkadot/util": "^0.94.0-beta.1",
|
||||
"@polkadot/util-crypto": "^0.94.0-beta.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.1"
|
||||
"@polkadot/keyring": "^0.94.0-beta.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,10 +27,10 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.5",
|
||||
"@polkadot/util": "^0.93.1",
|
||||
"@polkadot/util-crypto": "^0.93.1"
|
||||
"@polkadot/util": "^0.94.0-beta.1",
|
||||
"@polkadot/util-crypto": "^0.94.0-beta.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.93.1"
|
||||
"@polkadot/keyring": "^0.94.0-beta.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user