polkadot-api 1.9.3 → 1.9.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/bin/cli.mjs +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +7 -7
package/bin/cli.mjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ type UnwrapFixedSizeArray<T extends Array<any>> = T extends [] | [any, ...any[]]
|
|
|
49
49
|
type RemapKeys<Key extends Array<any>, Opaque> = {
|
|
50
50
|
[K in keyof Key]: K extends Opaque ? OpaqueKeyHash : Key[K];
|
|
51
51
|
};
|
|
52
|
-
type ApplyOpaque<Key extends Array<any>, Opaque> =
|
|
52
|
+
type ApplyOpaque<Key extends Array<any>, Opaque> = RemapKeys<UnwrapFixedSizeArray<Key>, Opaque>;
|
|
53
53
|
type ExtractStorage<T extends DescriptorEntry<StorageDescriptor<any, any, any, any>>> = {
|
|
54
54
|
[K in keyof T]: {
|
|
55
55
|
[KK in keyof T[K]]: T[K][KK] extends StorageDescriptor<infer Key, infer Value, infer Optional, infer Opaque> ? {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "polkadot-api",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"author": "Josep M Sobrepere (https://github.com/josepot)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -197,19 +197,19 @@
|
|
|
197
197
|
"@polkadot-api/json-rpc-provider": "0.0.4",
|
|
198
198
|
"@polkadot-api/known-chains": "0.7.1",
|
|
199
199
|
"@polkadot-api/logs-provider": "0.0.6",
|
|
200
|
-
"@polkadot-api/metadata-builders": "0.10.1",
|
|
201
200
|
"@polkadot-api/metadata-compatibility": "0.1.15",
|
|
201
|
+
"@polkadot-api/pjs-signer": "0.6.4",
|
|
202
|
+
"@polkadot-api/metadata-builders": "0.10.1",
|
|
202
203
|
"@polkadot-api/observable-client": "0.8.1",
|
|
203
204
|
"@polkadot-api/polkadot-sdk-compat": "2.3.2",
|
|
204
|
-
"@polkadot-api/pjs-signer": "0.6.4",
|
|
205
|
-
"@polkadot-api/signer": "0.1.14",
|
|
206
205
|
"@polkadot-api/polkadot-signer": "0.1.6",
|
|
206
|
+
"@polkadot-api/signer": "0.1.14",
|
|
207
207
|
"@polkadot-api/sm-provider": "0.1.7",
|
|
208
208
|
"@polkadot-api/substrate-bindings": "0.11.0",
|
|
209
|
-
"@polkadot-api/smoldot": "0.3.8",
|
|
210
|
-
"@polkadot-api/utils": "0.1.2",
|
|
211
209
|
"@polkadot-api/substrate-client": "0.3.0",
|
|
212
|
-
"@polkadot-api/
|
|
210
|
+
"@polkadot-api/smoldot": "0.3.8",
|
|
211
|
+
"@polkadot-api/ws-provider": "0.4.0",
|
|
212
|
+
"@polkadot-api/utils": "0.1.2"
|
|
213
213
|
},
|
|
214
214
|
"devDependencies": {
|
|
215
215
|
"rxjs": "^7.8.2",
|