@polkadot/api-base 7.14.4-1 → 7.14.4-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/types/storage.d.ts +2 -2
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "7.14.4-
|
|
23
|
+
"version": "7.14.4-4",
|
|
24
24
|
"main": "index.cjs",
|
|
25
25
|
"module": "index.js",
|
|
26
26
|
"types": "index.d.ts",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
108
|
"@babel/runtime": "^7.17.8",
|
|
109
|
-
"@polkadot/rpc-core": "7.14.4-
|
|
110
|
-
"@polkadot/types": "7.14.4-
|
|
109
|
+
"@polkadot/rpc-core": "7.14.4-4",
|
|
110
|
+
"@polkadot/types": "7.14.4-4",
|
|
111
111
|
"@polkadot/util": "^8.7.1",
|
|
112
112
|
"rxjs": "^7.5.5"
|
|
113
113
|
}
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED
|
@@ -5,5 +5,5 @@ export const packageInfo = {
|
|
|
5
5
|
name: '@polkadot/api-base',
|
|
6
6
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
7
7
|
type: 'esm',
|
|
8
|
-
version: '7.14.4-
|
|
8
|
+
version: '7.14.4-4'
|
|
9
9
|
};
|
package/types/storage.d.ts
CHANGED
|
@@ -46,12 +46,10 @@ export interface StorageEntryBase<ApiType extends ApiTypes, F extends AnyFunctio
|
|
|
46
46
|
* @deprecated Use api.at(<blockHash>)
|
|
47
47
|
*/
|
|
48
48
|
entriesAt: <T extends Codec | any = ReturnCodec<F>, K extends AnyTuple = A>(hash: Hash | Uint8Array | string, ...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, [StorageKey<K>, T][]>;
|
|
49
|
-
entriesPaged: <T extends Codec | any = ReturnCodec<F>, K extends AnyTuple = A>(opts: PaginationOptions<Parameters<F>[0]>) => PromiseOrObs<ApiType, [StorageKey<K>, T][]>;
|
|
50
49
|
/**
|
|
51
50
|
* @deprecated Use api.at(<blockHash>)
|
|
52
51
|
*/
|
|
53
52
|
keysAt: <K extends AnyTuple = A>(hash: Hash | Uint8Array | string, ...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, StorageKey<K>[]>;
|
|
54
|
-
keysPaged: <K extends AnyTuple = A>(opts: PaginationOptions<Parameters<F>[0]>) => PromiseOrObs<ApiType, StorageKey<K>[]>;
|
|
55
53
|
/**
|
|
56
54
|
* @deprecated The underlying RPC this been marked unsafe and is generally not exposed
|
|
57
55
|
*/
|
|
@@ -64,11 +62,13 @@ export interface StorageEntryBase<ApiType extends ApiTypes, F extends AnyFunctio
|
|
|
64
62
|
}
|
|
65
63
|
export interface StorageEntryBaseAt<ApiType extends ApiTypes, F extends AnyFunction, A extends AnyTuple = AnyTuple> {
|
|
66
64
|
entries: <T extends Codec | any = ReturnCodec<F>, K extends AnyTuple = A>(...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, [StorageKey<K>, T][]>;
|
|
65
|
+
entriesPaged: <T extends Codec | any = ReturnCodec<F>, K extends AnyTuple = A>(opts: PaginationOptions<Parameters<F>[0]>) => PromiseOrObs<ApiType, [StorageKey<K>, T][]>;
|
|
67
66
|
hash: (...args: Parameters<F>) => PromiseOrObs<ApiType, Hash>;
|
|
68
67
|
is: (key: IStorageKey<AnyTuple>) => key is IStorageKey<A>;
|
|
69
68
|
key: (...args: Parameters<F>) => string;
|
|
70
69
|
keyPrefix: (...args: DropLast<Parameters<F>>) => string;
|
|
71
70
|
keys: <K extends AnyTuple = A>(...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, StorageKey<K>[]>;
|
|
71
|
+
keysPaged: <K extends AnyTuple = A>(opts: PaginationOptions<Parameters<F>[0]>) => PromiseOrObs<ApiType, StorageKey<K>[]>;
|
|
72
72
|
size: (...args: Parameters<F>) => PromiseOrObs<ApiType, u64>;
|
|
73
73
|
}
|
|
74
74
|
export interface QueryableModuleStorage<ApiType extends ApiTypes> {
|