@polkadot/api-augment 10.2.2 → 10.3.2
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/consts.d.ts +4 -0
- package/kusama/errors.d.ts +0 -3
- package/kusama/runtime.d.ts +1 -1
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +4 -0
- package/polkadot/runtime.d.ts +1 -1
- package/polkadot/tx.d.ts +0 -54
- package/substrate/consts.d.ts +4 -0
- package/substrate/errors.d.ts +0 -3
- package/substrate/runtime.d.ts +1 -1
- package/substrate/tx.d.ts +0 -87
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.3.2' };
|
package/kusama/consts.d.ts
CHANGED
|
@@ -692,6 +692,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
692
692
|
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
|
693
693
|
/**
|
|
694
694
|
* The maximum number of scheduled calls in the queue for a single block.
|
|
695
|
+
*
|
|
696
|
+
* NOTE:
|
|
697
|
+
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
|
|
698
|
+
* higher limit under `runtime-benchmarks` feature.
|
|
695
699
|
**/
|
|
696
700
|
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
|
|
697
701
|
/**
|
package/kusama/errors.d.ts
CHANGED
|
@@ -906,9 +906,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
906
906
|
* The portion supplied is beyond the value of the receipt.
|
|
907
907
|
**/
|
|
908
908
|
PortionTooBig: AugmentedError<ApiType>;
|
|
909
|
-
Release1: AugmentedError<ApiType>;
|
|
910
|
-
Release2: AugmentedError<ApiType>;
|
|
911
|
-
Tah: AugmentedError<ApiType>;
|
|
912
909
|
/**
|
|
913
910
|
* The thaw throttle has been reached for this period.
|
|
914
911
|
**/
|
package/kusama/runtime.d.ts
CHANGED
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.3.2",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -186,11 +186,11 @@
|
|
|
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.
|
|
189
|
+
"@polkadot/api-base": "10.3.2",
|
|
190
|
+
"@polkadot/rpc-augment": "10.3.2",
|
|
191
|
+
"@polkadot/types": "10.3.2",
|
|
192
|
+
"@polkadot/types-augment": "10.3.2",
|
|
193
|
+
"@polkadot/types-codec": "10.3.2",
|
|
194
194
|
"@polkadot/util": "^11.1.3",
|
|
195
195
|
"tslib": "^2.5.0"
|
|
196
196
|
}
|
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.3.2' };
|
package/polkadot/consts.d.ts
CHANGED
|
@@ -652,6 +652,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
652
652
|
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
|
653
653
|
/**
|
|
654
654
|
* The maximum number of scheduled calls in the queue for a single block.
|
|
655
|
+
*
|
|
656
|
+
* NOTE:
|
|
657
|
+
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
|
|
658
|
+
* higher limit under `runtime-benchmarks` feature.
|
|
655
659
|
**/
|
|
656
660
|
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
|
|
657
661
|
/**
|
package/polkadot/runtime.d.ts
CHANGED
package/polkadot/tx.d.ts
CHANGED
|
@@ -1093,33 +1093,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1093
1093
|
refTime?: any;
|
|
1094
1094
|
proofSize?: any;
|
|
1095
1095
|
} | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
|
|
1096
|
-
/**
|
|
1097
|
-
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
1098
|
-
*
|
|
1099
|
-
* May be called by any signed account in order to finish voting and close the proposal.
|
|
1100
|
-
*
|
|
1101
|
-
* If called before the end of the voting period it will only close the vote if it is
|
|
1102
|
-
* has enough votes to be approved or disapproved.
|
|
1103
|
-
*
|
|
1104
|
-
* If called after the end of the voting period abstentions are counted as rejections
|
|
1105
|
-
* unless there is a prime member set and the prime member cast an approval.
|
|
1106
|
-
*
|
|
1107
|
-
* If the close operation completes successfully with disapproval, the transaction fee will
|
|
1108
|
-
* be waived. Otherwise execution of the approved operation will be charged to the caller.
|
|
1109
|
-
*
|
|
1110
|
-
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
|
|
1111
|
-
* proposal.
|
|
1112
|
-
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
|
|
1113
|
-
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
|
|
1114
|
-
*
|
|
1115
|
-
* ## Complexity
|
|
1116
|
-
* - `O(B + M + P1 + P2)` where:
|
|
1117
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
1118
|
-
* - `M` is members-count (code- and governance-bounded)
|
|
1119
|
-
* - `P1` is the complexity of `proposal` preimage.
|
|
1120
|
-
* - `P2` is proposal-count (code-bounded)
|
|
1121
|
-
**/
|
|
1122
|
-
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
|
|
1123
1096
|
/**
|
|
1124
1097
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
1125
1098
|
* state.
|
|
@@ -4302,33 +4275,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4302
4275
|
refTime?: any;
|
|
4303
4276
|
proofSize?: any;
|
|
4304
4277
|
} | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
|
|
4305
|
-
/**
|
|
4306
|
-
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
4307
|
-
*
|
|
4308
|
-
* May be called by any signed account in order to finish voting and close the proposal.
|
|
4309
|
-
*
|
|
4310
|
-
* If called before the end of the voting period it will only close the vote if it is
|
|
4311
|
-
* has enough votes to be approved or disapproved.
|
|
4312
|
-
*
|
|
4313
|
-
* If called after the end of the voting period abstentions are counted as rejections
|
|
4314
|
-
* unless there is a prime member set and the prime member cast an approval.
|
|
4315
|
-
*
|
|
4316
|
-
* If the close operation completes successfully with disapproval, the transaction fee will
|
|
4317
|
-
* be waived. Otherwise execution of the approved operation will be charged to the caller.
|
|
4318
|
-
*
|
|
4319
|
-
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
|
|
4320
|
-
* proposal.
|
|
4321
|
-
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
|
|
4322
|
-
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
|
|
4323
|
-
*
|
|
4324
|
-
* ## Complexity
|
|
4325
|
-
* - `O(B + M + P1 + P2)` where:
|
|
4326
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
4327
|
-
* - `M` is members-count (code- and governance-bounded)
|
|
4328
|
-
* - `P1` is the complexity of `proposal` preimage.
|
|
4329
|
-
* - `P2` is proposal-count (code-bounded)
|
|
4330
|
-
**/
|
|
4331
|
-
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
|
|
4332
4278
|
/**
|
|
4333
4279
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
4334
4280
|
* state.
|
package/substrate/consts.d.ts
CHANGED
|
@@ -990,6 +990,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
990
990
|
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
|
991
991
|
/**
|
|
992
992
|
* The maximum number of scheduled calls in the queue for a single block.
|
|
993
|
+
*
|
|
994
|
+
* NOTE:
|
|
995
|
+
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
|
|
996
|
+
* higher limit under `runtime-benchmarks` feature.
|
|
993
997
|
**/
|
|
994
998
|
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
|
|
995
999
|
/**
|
package/substrate/errors.d.ts
CHANGED
|
@@ -1457,9 +1457,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1457
1457
|
* The portion supplied is beyond the value of the receipt.
|
|
1458
1458
|
**/
|
|
1459
1459
|
PortionTooBig: AugmentedError<ApiType>;
|
|
1460
|
-
Release1: AugmentedError<ApiType>;
|
|
1461
|
-
Release2: AugmentedError<ApiType>;
|
|
1462
|
-
Tah: AugmentedError<ApiType>;
|
|
1463
1460
|
/**
|
|
1464
1461
|
* The thaw throttle has been reached for this period.
|
|
1465
1462
|
**/
|
package/substrate/runtime.d.ts
CHANGED
package/substrate/tx.d.ts
CHANGED
|
@@ -42,12 +42,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
42
42
|
refTime?: any;
|
|
43
43
|
proofSize?: any;
|
|
44
44
|
} | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
|
|
45
|
-
/**
|
|
46
|
-
* Close a vote that is either approved, disapproved, or whose voting period has ended.
|
|
47
|
-
*
|
|
48
|
-
* Must be called by a Fellow.
|
|
49
|
-
**/
|
|
50
|
-
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
|
|
51
45
|
/**
|
|
52
46
|
* Disband the Alliance, remove all active members and unreserve deposits.
|
|
53
47
|
*
|
|
@@ -196,33 +190,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
196
190
|
refTime?: any;
|
|
197
191
|
proofSize?: any;
|
|
198
192
|
} | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
|
|
199
|
-
/**
|
|
200
|
-
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
201
|
-
*
|
|
202
|
-
* May be called by any signed account in order to finish voting and close the proposal.
|
|
203
|
-
*
|
|
204
|
-
* If called before the end of the voting period it will only close the vote if it is
|
|
205
|
-
* has enough votes to be approved or disapproved.
|
|
206
|
-
*
|
|
207
|
-
* If called after the end of the voting period abstentions are counted as rejections
|
|
208
|
-
* unless there is a prime member set and the prime member cast an approval.
|
|
209
|
-
*
|
|
210
|
-
* If the close operation completes successfully with disapproval, the transaction fee will
|
|
211
|
-
* be waived. Otherwise execution of the approved operation will be charged to the caller.
|
|
212
|
-
*
|
|
213
|
-
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
|
|
214
|
-
* proposal.
|
|
215
|
-
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
|
|
216
|
-
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
|
|
217
|
-
*
|
|
218
|
-
* ## Complexity
|
|
219
|
-
* - `O(B + M + P1 + P2)` where:
|
|
220
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
221
|
-
* - `M` is members-count (code- and governance-bounded)
|
|
222
|
-
* - `P1` is the complexity of `proposal` preimage.
|
|
223
|
-
* - `P2` is proposal-count (code-bounded)
|
|
224
|
-
**/
|
|
225
|
-
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
|
|
226
193
|
/**
|
|
227
194
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
228
195
|
* state.
|
|
@@ -2031,33 +1998,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2031
1998
|
refTime?: any;
|
|
2032
1999
|
proofSize?: any;
|
|
2033
2000
|
} | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
|
|
2034
|
-
/**
|
|
2035
|
-
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
2036
|
-
*
|
|
2037
|
-
* May be called by any signed account in order to finish voting and close the proposal.
|
|
2038
|
-
*
|
|
2039
|
-
* If called before the end of the voting period it will only close the vote if it is
|
|
2040
|
-
* has enough votes to be approved or disapproved.
|
|
2041
|
-
*
|
|
2042
|
-
* If called after the end of the voting period abstentions are counted as rejections
|
|
2043
|
-
* unless there is a prime member set and the prime member cast an approval.
|
|
2044
|
-
*
|
|
2045
|
-
* If the close operation completes successfully with disapproval, the transaction fee will
|
|
2046
|
-
* be waived. Otherwise execution of the approved operation will be charged to the caller.
|
|
2047
|
-
*
|
|
2048
|
-
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
|
|
2049
|
-
* proposal.
|
|
2050
|
-
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
|
|
2051
|
-
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
|
|
2052
|
-
*
|
|
2053
|
-
* ## Complexity
|
|
2054
|
-
* - `O(B + M + P1 + P2)` where:
|
|
2055
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
2056
|
-
* - `M` is members-count (code- and governance-bounded)
|
|
2057
|
-
* - `P1` is the complexity of `proposal` preimage.
|
|
2058
|
-
* - `P2` is proposal-count (code-bounded)
|
|
2059
|
-
**/
|
|
2060
|
-
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
|
|
2061
2001
|
/**
|
|
2062
2002
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
2063
2003
|
* state.
|
|
@@ -6810,33 +6750,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6810
6750
|
refTime?: any;
|
|
6811
6751
|
proofSize?: any;
|
|
6812
6752
|
} | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
|
|
6813
|
-
/**
|
|
6814
|
-
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
6815
|
-
*
|
|
6816
|
-
* May be called by any signed account in order to finish voting and close the proposal.
|
|
6817
|
-
*
|
|
6818
|
-
* If called before the end of the voting period it will only close the vote if it is
|
|
6819
|
-
* has enough votes to be approved or disapproved.
|
|
6820
|
-
*
|
|
6821
|
-
* If called after the end of the voting period abstentions are counted as rejections
|
|
6822
|
-
* unless there is a prime member set and the prime member cast an approval.
|
|
6823
|
-
*
|
|
6824
|
-
* If the close operation completes successfully with disapproval, the transaction fee will
|
|
6825
|
-
* be waived. Otherwise execution of the approved operation will be charged to the caller.
|
|
6826
|
-
*
|
|
6827
|
-
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
|
|
6828
|
-
* proposal.
|
|
6829
|
-
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
|
|
6830
|
-
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
|
|
6831
|
-
*
|
|
6832
|
-
* ## Complexity
|
|
6833
|
-
* - `O(B + M + P1 + P2)` where:
|
|
6834
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
6835
|
-
* - `M` is members-count (code- and governance-bounded)
|
|
6836
|
-
* - `P1` is the complexity of `proposal` preimage.
|
|
6837
|
-
* - `P2` is proposal-count (code-bounded)
|
|
6838
|
-
**/
|
|
6839
|
-
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
|
|
6840
6753
|
/**
|
|
6841
6754
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
6842
6755
|
* state.
|