@polkadot/api-augment 7.4.2-3 → 7.4.2-7
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/kusama/errors.d.ts +5 -0
- package/kusama/events.d.ts +15 -0
- package/kusama/tx.d.ts +2 -3
- package/package.json +6 -6
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/polkadot/errors.d.ts +5 -0
- package/polkadot/events.d.ts +15 -0
- package/polkadot/tx.d.ts +2 -3
- package/substrate/errors.d.ts +6 -0
- package/substrate/tx.d.ts +1 -1
package/kusama/errors.d.ts
CHANGED
|
@@ -1018,6 +1018,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1018
1018
|
* Para is not registered in our system.
|
|
1019
1019
|
**/
|
|
1020
1020
|
NotRegistered: AugmentedError<ApiType>;
|
|
1021
|
+
/**
|
|
1022
|
+
* The PVF pre-checking statement cannot be included since the PVF pre-checking mechanism
|
|
1023
|
+
* is disabled.
|
|
1024
|
+
**/
|
|
1025
|
+
PvfCheckDisabled: AugmentedError<ApiType>;
|
|
1021
1026
|
/**
|
|
1022
1027
|
* The given validator already has cast a vote.
|
|
1023
1028
|
**/
|
package/kusama/events.d.ts
CHANGED
|
@@ -570,6 +570,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
570
570
|
* A new head has been noted for a Para. `para_id`
|
|
571
571
|
**/
|
|
572
572
|
NewHeadNoted: AugmentedEvent<ApiType, [u32]>;
|
|
573
|
+
/**
|
|
574
|
+
* The given validation code was rejected by the PVF pre-checking vote.
|
|
575
|
+
* `code_hash` `para_id`
|
|
576
|
+
**/
|
|
577
|
+
PvfCheckAccepted: AugmentedEvent<ApiType, [H256, u32]>;
|
|
578
|
+
/**
|
|
579
|
+
* The given validation code was accepted by the PVF pre-checking vote.
|
|
580
|
+
* `code_hash` `para_id`
|
|
581
|
+
**/
|
|
582
|
+
PvfCheckRejected: AugmentedEvent<ApiType, [H256, u32]>;
|
|
583
|
+
/**
|
|
584
|
+
* The given para either initiated or subscribed to a PVF check for the given validation
|
|
585
|
+
* code. `code_hash` `para_id`
|
|
586
|
+
**/
|
|
587
|
+
PvfCheckStarted: AugmentedEvent<ApiType, [H256, u32]>;
|
|
573
588
|
/**
|
|
574
589
|
* Generic event
|
|
575
590
|
**/
|
package/kusama/tx.d.ts
CHANGED
|
@@ -191,7 +191,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
191
191
|
* Set the balances of a given account.
|
|
192
192
|
*
|
|
193
193
|
* This will alter `FreeBalance` and `ReservedBalance` in storage. it will
|
|
194
|
-
* also
|
|
194
|
+
* also alter the total issuance of the system (`TotalIssuance`) appropriately.
|
|
195
195
|
* If the new free or reserved balance is below the existential deposit,
|
|
196
196
|
* it will reset the account nonce (`frame_system::AccountNonce`).
|
|
197
197
|
*
|
|
@@ -212,7 +212,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
212
212
|
* Transfer some liquid free balance to another account.
|
|
213
213
|
*
|
|
214
214
|
* `transfer` will set the `FreeBalance` of the sender and receiver.
|
|
215
|
-
* It will decrease the total issuance of the system by the `TransferFee`.
|
|
216
215
|
* If the sender's account is below the existential deposit as a result
|
|
217
216
|
* of the transfer, the account will be reaped.
|
|
218
217
|
*
|
|
@@ -2437,7 +2436,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2437
2436
|
* - be less than the number of possible candidates. Note that all current members and
|
|
2438
2437
|
* runners-up are also automatically candidates for the next round.
|
|
2439
2438
|
*
|
|
2440
|
-
* If `value` is more than `who`'s
|
|
2439
|
+
* If `value` is more than `who`'s free balance, then the maximum of the two is used.
|
|
2441
2440
|
*
|
|
2442
2441
|
* The dispatch origin of this call must be signed.
|
|
2443
2442
|
*
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "7.4.2-
|
|
23
|
+
"version": "7.4.2-7",
|
|
24
24
|
"main": "index.cjs",
|
|
25
25
|
"module": "index.js",
|
|
26
26
|
"types": "index.d.ts",
|
|
@@ -151,11 +151,11 @@
|
|
|
151
151
|
},
|
|
152
152
|
"dependencies": {
|
|
153
153
|
"@babel/runtime": "^7.16.7",
|
|
154
|
-
"@polkadot/api-base": "7.4.2-
|
|
155
|
-
"@polkadot/rpc-augment": "7.4.2-
|
|
156
|
-
"@polkadot/types": "7.4.2-
|
|
157
|
-
"@polkadot/types-augment": "7.4.2-
|
|
158
|
-
"@polkadot/types-codec": "7.4.2-
|
|
154
|
+
"@polkadot/api-base": "7.4.2-7",
|
|
155
|
+
"@polkadot/rpc-augment": "7.4.2-7",
|
|
156
|
+
"@polkadot/types": "7.4.2-7",
|
|
157
|
+
"@polkadot/types-augment": "7.4.2-7",
|
|
158
|
+
"@polkadot/types-codec": "7.4.2-7",
|
|
159
159
|
"@polkadot/util": "^8.3.2"
|
|
160
160
|
}
|
|
161
161
|
}
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED
package/polkadot/errors.d.ts
CHANGED
|
@@ -979,6 +979,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
979
979
|
* Para is not registered in our system.
|
|
980
980
|
**/
|
|
981
981
|
NotRegistered: AugmentedError<ApiType>;
|
|
982
|
+
/**
|
|
983
|
+
* The PVF pre-checking statement cannot be included since the PVF pre-checking mechanism
|
|
984
|
+
* is disabled.
|
|
985
|
+
**/
|
|
986
|
+
PvfCheckDisabled: AugmentedError<ApiType>;
|
|
982
987
|
/**
|
|
983
988
|
* The given validator already has cast a vote.
|
|
984
989
|
**/
|
package/polkadot/events.d.ts
CHANGED
|
@@ -548,6 +548,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
548
548
|
* A new head has been noted for a Para. `para_id`
|
|
549
549
|
**/
|
|
550
550
|
NewHeadNoted: AugmentedEvent<ApiType, [u32]>;
|
|
551
|
+
/**
|
|
552
|
+
* The given validation code was rejected by the PVF pre-checking vote.
|
|
553
|
+
* `code_hash` `para_id`
|
|
554
|
+
**/
|
|
555
|
+
PvfCheckAccepted: AugmentedEvent<ApiType, [H256, u32]>;
|
|
556
|
+
/**
|
|
557
|
+
* The given validation code was accepted by the PVF pre-checking vote.
|
|
558
|
+
* `code_hash` `para_id`
|
|
559
|
+
**/
|
|
560
|
+
PvfCheckRejected: AugmentedEvent<ApiType, [H256, u32]>;
|
|
561
|
+
/**
|
|
562
|
+
* The given para either initiated or subscribed to a PVF check for the given validation
|
|
563
|
+
* code. `code_hash` `para_id`
|
|
564
|
+
**/
|
|
565
|
+
PvfCheckStarted: AugmentedEvent<ApiType, [H256, u32]>;
|
|
551
566
|
/**
|
|
552
567
|
* Generic event
|
|
553
568
|
**/
|
package/polkadot/tx.d.ts
CHANGED
|
@@ -191,7 +191,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
191
191
|
* Set the balances of a given account.
|
|
192
192
|
*
|
|
193
193
|
* This will alter `FreeBalance` and `ReservedBalance` in storage. it will
|
|
194
|
-
* also
|
|
194
|
+
* also alter the total issuance of the system (`TotalIssuance`) appropriately.
|
|
195
195
|
* If the new free or reserved balance is below the existential deposit,
|
|
196
196
|
* it will reset the account nonce (`frame_system::AccountNonce`).
|
|
197
197
|
*
|
|
@@ -212,7 +212,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
212
212
|
* Transfer some liquid free balance to another account.
|
|
213
213
|
*
|
|
214
214
|
* `transfer` will set the `FreeBalance` of the sender and receiver.
|
|
215
|
-
* It will decrease the total issuance of the system by the `TransferFee`.
|
|
216
215
|
* If the sender's account is below the existential deposit as a result
|
|
217
216
|
* of the transfer, the account will be reaped.
|
|
218
217
|
*
|
|
@@ -2379,7 +2378,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2379
2378
|
* - be less than the number of possible candidates. Note that all current members and
|
|
2380
2379
|
* runners-up are also automatically candidates for the next round.
|
|
2381
2380
|
*
|
|
2382
|
-
* If `value` is more than `who`'s
|
|
2381
|
+
* If `value` is more than `who`'s free balance, then the maximum of the two is used.
|
|
2383
2382
|
*
|
|
2384
2383
|
* The dispatch origin of this call must be signed.
|
|
2385
2384
|
*
|
package/substrate/errors.d.ts
CHANGED
|
@@ -251,6 +251,12 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
251
251
|
* No code could be found at the supplied code hash.
|
|
252
252
|
**/
|
|
253
253
|
CodeNotFound: AugmentedError<ApiType>;
|
|
254
|
+
/**
|
|
255
|
+
* The contract's code was found to be invalid during validation or instrumentation.
|
|
256
|
+
* A more detailed error can be found on the node console if debug messages are enabled
|
|
257
|
+
* or in the debug buffer which is returned to RPC clients.
|
|
258
|
+
**/
|
|
259
|
+
CodeRejected: AugmentedError<ApiType>;
|
|
254
260
|
/**
|
|
255
261
|
* The code supplied to `instantiate_with_code` exceeds the limit specified in the
|
|
256
262
|
* current schedule.
|
package/substrate/tx.d.ts
CHANGED
|
@@ -2050,7 +2050,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2050
2050
|
* - be less than the number of possible candidates. Note that all current members and
|
|
2051
2051
|
* runners-up are also automatically candidates for the next round.
|
|
2052
2052
|
*
|
|
2053
|
-
* If `value` is more than `who`'s
|
|
2053
|
+
* If `value` is more than `who`'s free balance, then the maximum of the two is used.
|
|
2054
2054
|
*
|
|
2055
2055
|
* The dispatch origin of this call must be signed.
|
|
2056
2056
|
*
|