@polkadot/api-augment 10.4.1 → 10.5.1
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/cjs/packageInfo.js +1 -1
- package/kusama/query.d.ts +4 -9
- package/kusama/tx.d.ts +11 -4
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/query.d.ts +4 -9
- package/polkadot/tx.d.ts +11 -4
- package/substrate/consts.d.ts +4 -0
- package/substrate/query.d.ts +2 -9
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.5.1' };
|
package/kusama/query.d.ts
CHANGED
|
@@ -1002,15 +1002,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1002
1002
|
* The primary structure that holds all offence records keyed by report identifiers.
|
|
1003
1003
|
**/
|
|
1004
1004
|
reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1005
|
-
/**
|
|
1006
|
-
* Enumerates all reports of a kind along with the time they happened.
|
|
1007
|
-
*
|
|
1008
|
-
* All reports are sorted by the time of offence.
|
|
1009
|
-
*
|
|
1010
|
-
* Note that the actual type of this mapping is `Vec<u8>`, this is because values of
|
|
1011
|
-
* different types are not supported at the moment so we are doing the manual serialization.
|
|
1012
|
-
**/
|
|
1013
|
-
reportsByKindIndex: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Bytes>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
|
1014
1005
|
/**
|
|
1015
1006
|
* Generic query
|
|
1016
1007
|
**/
|
|
@@ -2133,6 +2124,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2133
2124
|
} | {
|
|
2134
2125
|
V3: any;
|
|
2135
2126
|
} | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
|
|
2127
|
+
/**
|
|
2128
|
+
* Global suspension state of the XCM executor.
|
|
2129
|
+
**/
|
|
2130
|
+
xcmExecutionSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2136
2131
|
/**
|
|
2137
2132
|
* Generic query
|
|
2138
2133
|
**/
|
package/kusama/tx.d.ts
CHANGED
|
@@ -5089,14 +5089,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5089
5089
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
5090
5090
|
* version a destination can accept is unknown).
|
|
5091
5091
|
*
|
|
5092
|
-
* - `origin`: Must be
|
|
5092
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5093
5093
|
* - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
|
|
5094
5094
|
**/
|
|
5095
5095
|
forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
|
|
5096
5096
|
/**
|
|
5097
5097
|
* Ask a location to notify us regarding their XCM version and any changes to it.
|
|
5098
5098
|
*
|
|
5099
|
-
* - `origin`: Must be
|
|
5099
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5100
5100
|
* - `location`: The location to which we should subscribe for XCM version notifications.
|
|
5101
5101
|
**/
|
|
5102
5102
|
forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | {
|
|
@@ -5104,11 +5104,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5104
5104
|
} | {
|
|
5105
5105
|
V3: any;
|
|
5106
5106
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
|
|
5107
|
+
/**
|
|
5108
|
+
* Set or unset the global suspension state of the XCM executor.
|
|
5109
|
+
*
|
|
5110
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5111
|
+
* - `suspended`: `true` to suspend, `false` to resume.
|
|
5112
|
+
**/
|
|
5113
|
+
forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
5107
5114
|
/**
|
|
5108
5115
|
* Require that a particular destination should no longer notify us regarding any XCM
|
|
5109
5116
|
* version changes.
|
|
5110
5117
|
*
|
|
5111
|
-
* - `origin`: Must be
|
|
5118
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5112
5119
|
* - `location`: The location to which we are currently subscribed for XCM version
|
|
5113
5120
|
* notifications which we no longer desire.
|
|
5114
5121
|
**/
|
|
@@ -5121,7 +5128,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5121
5128
|
* Extoll that a particular destination can be communicated with through a particular
|
|
5122
5129
|
* version of XCM.
|
|
5123
5130
|
*
|
|
5124
|
-
* - `origin`: Must be
|
|
5131
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5125
5132
|
* - `location`: The destination that is being described.
|
|
5126
5133
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
5127
5134
|
**/
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/detectPackage.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "10.
|
|
21
|
+
"version": "10.5.1",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -186,12 +186,12 @@
|
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
188
|
"dependencies": {
|
|
189
|
-
"@polkadot/api-base": "10.
|
|
190
|
-
"@polkadot/rpc-augment": "10.
|
|
191
|
-
"@polkadot/types": "10.
|
|
192
|
-
"@polkadot/types-augment": "10.
|
|
193
|
-
"@polkadot/types-codec": "10.
|
|
194
|
-
"@polkadot/util": "^12.
|
|
189
|
+
"@polkadot/api-base": "10.5.1",
|
|
190
|
+
"@polkadot/rpc-augment": "10.5.1",
|
|
191
|
+
"@polkadot/types": "10.5.1",
|
|
192
|
+
"@polkadot/types-augment": "10.5.1",
|
|
193
|
+
"@polkadot/types-codec": "10.5.1",
|
|
194
|
+
"@polkadot/util": "^12.1.1",
|
|
195
195
|
"tslib": "^2.5.0"
|
|
196
196
|
}
|
|
197
197
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.5.1' };
|
package/polkadot/query.d.ts
CHANGED
|
@@ -960,15 +960,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
960
960
|
* The primary structure that holds all offence records keyed by report identifiers.
|
|
961
961
|
**/
|
|
962
962
|
reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
963
|
-
/**
|
|
964
|
-
* Enumerates all reports of a kind along with the time they happened.
|
|
965
|
-
*
|
|
966
|
-
* All reports are sorted by the time of offence.
|
|
967
|
-
*
|
|
968
|
-
* Note that the actual type of this mapping is `Vec<u8>`, this is because values of
|
|
969
|
-
* different types are not supported at the moment so we are doing the manual serialization.
|
|
970
|
-
**/
|
|
971
|
-
reportsByKindIndex: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Bytes>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
|
972
963
|
/**
|
|
973
964
|
* Generic query
|
|
974
965
|
**/
|
|
@@ -2082,6 +2073,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2082
2073
|
} | {
|
|
2083
2074
|
V3: any;
|
|
2084
2075
|
} | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;
|
|
2076
|
+
/**
|
|
2077
|
+
* Global suspension state of the XCM executor.
|
|
2078
|
+
**/
|
|
2079
|
+
xcmExecutionSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
2085
2080
|
/**
|
|
2086
2081
|
* Generic query
|
|
2087
2082
|
**/
|
package/polkadot/tx.d.ts
CHANGED
|
@@ -5076,14 +5076,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5076
5076
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
5077
5077
|
* version a destination can accept is unknown).
|
|
5078
5078
|
*
|
|
5079
|
-
* - `origin`: Must be
|
|
5079
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5080
5080
|
* - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
|
|
5081
5081
|
**/
|
|
5082
5082
|
forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
|
|
5083
5083
|
/**
|
|
5084
5084
|
* Ask a location to notify us regarding their XCM version and any changes to it.
|
|
5085
5085
|
*
|
|
5086
|
-
* - `origin`: Must be
|
|
5086
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5087
5087
|
* - `location`: The location to which we should subscribe for XCM version notifications.
|
|
5088
5088
|
**/
|
|
5089
5089
|
forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | {
|
|
@@ -5091,11 +5091,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5091
5091
|
} | {
|
|
5092
5092
|
V3: any;
|
|
5093
5093
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
|
|
5094
|
+
/**
|
|
5095
|
+
* Set or unset the global suspension state of the XCM executor.
|
|
5096
|
+
*
|
|
5097
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5098
|
+
* - `suspended`: `true` to suspend, `false` to resume.
|
|
5099
|
+
**/
|
|
5100
|
+
forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
5094
5101
|
/**
|
|
5095
5102
|
* Require that a particular destination should no longer notify us regarding any XCM
|
|
5096
5103
|
* version changes.
|
|
5097
5104
|
*
|
|
5098
|
-
* - `origin`: Must be
|
|
5105
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5099
5106
|
* - `location`: The location to which we are currently subscribed for XCM version
|
|
5100
5107
|
* notifications which we no longer desire.
|
|
5101
5108
|
**/
|
|
@@ -5108,7 +5115,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5108
5115
|
* Extoll that a particular destination can be communicated with through a particular
|
|
5109
5116
|
* version of XCM.
|
|
5110
5117
|
*
|
|
5111
|
-
* - `origin`: Must be
|
|
5118
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5112
5119
|
* - `location`: The destination that is being described.
|
|
5113
5120
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
5114
5121
|
**/
|
package/substrate/consts.d.ts
CHANGED
|
@@ -201,6 +201,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
201
201
|
[key: string]: Codec;
|
|
202
202
|
};
|
|
203
203
|
contracts: {
|
|
204
|
+
/**
|
|
205
|
+
* Fallback value to limit the storage deposit if it's not being set by the caller.
|
|
206
|
+
**/
|
|
207
|
+
defaultDepositLimit: u128 & AugmentedConst<ApiType>;
|
|
204
208
|
/**
|
|
205
209
|
* The amount of balance a caller has to pay for each byte of storage.
|
|
206
210
|
*
|
package/substrate/query.d.ts
CHANGED
|
@@ -584,6 +584,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
584
584
|
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
585
585
|
/**
|
|
586
586
|
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
|
|
587
|
+
*
|
|
588
|
+
* Always sorted by score.
|
|
587
589
|
**/
|
|
588
590
|
queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
589
591
|
/**
|
|
@@ -1156,15 +1158,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1156
1158
|
* The primary structure that holds all offence records keyed by report identifiers.
|
|
1157
1159
|
**/
|
|
1158
1160
|
reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1159
|
-
/**
|
|
1160
|
-
* Enumerates all reports of a kind along with the time they happened.
|
|
1161
|
-
*
|
|
1162
|
-
* All reports are sorted by the time of offence.
|
|
1163
|
-
*
|
|
1164
|
-
* Note that the actual type of this mapping is `Vec<u8>`, this is because values of
|
|
1165
|
-
* different types are not supported at the moment so we are doing the manual serialization.
|
|
1166
|
-
**/
|
|
1167
|
-
reportsByKindIndex: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Bytes>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
|
1168
1161
|
/**
|
|
1169
1162
|
* Generic query
|
|
1170
1163
|
**/
|