Skip to content

Commit 62afb0b

Browse files
committed
[CI Skip] release/stable 4.7.1
skip-checks: true
1 parent 5157ca5 commit 62afb0b

File tree

23 files changed

+109
-82
lines changed

23 files changed

+109
-82
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434
"@types/jest": "^26.0.22",
3535
"copyfiles": "^2.4.1"
3636
},
37-
"version": "4.7.0"
37+
"version": "4.7.1"
3838
}

packages/api-contract/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-contract",
3-
"version": "4.7.0",
3+
"version": "4.7.1",
44
"type": "module",
55
"description": "Interfaces for interacting with contracts and contract ABIs",
66
"main": "index.js",
@@ -20,8 +20,8 @@
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
2121
"dependencies": {
2222
"@babel/runtime": "^7.13.17",
23-
"@polkadot/api": "4.7.0",
24-
"@polkadot/types": "4.7.0",
23+
"@polkadot/api": "4.7.1",
24+
"@polkadot/types": "4.7.1",
2525
"@polkadot/util": "^6.3.1",
2626
"@polkadot/x-rxjs": "^6.3.1",
2727
"bn.js": "^4.11.9"

packages/api-contract/src/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
// Auto-generated by @polkadot/dev, do not edit
55

6-
export const packageInfo = { name: '@polkadot/api-contract', version: '4.6.3-11' };
6+
export const packageInfo = { name: '@polkadot/api-contract', version: '4.7.1' };

packages/api-derive/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-derive",
3-
"version": "4.7.0",
3+
"version": "4.7.1",
44
"type": "module",
55
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
66
"main": "index.js",
@@ -20,16 +20,16 @@
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
2121
"dependencies": {
2222
"@babel/runtime": "^7.13.17",
23-
"@polkadot/api": "4.7.0",
24-
"@polkadot/rpc-core": "4.7.0",
25-
"@polkadot/types": "4.7.0",
23+
"@polkadot/api": "4.7.1",
24+
"@polkadot/rpc-core": "4.7.1",
25+
"@polkadot/types": "4.7.1",
2626
"@polkadot/util": "^6.3.1",
2727
"@polkadot/util-crypto": "^6.3.1",
2828
"@polkadot/x-rxjs": "^6.3.1",
2929
"bn.js": "^4.11.9"
3030
},
3131
"devDependencies": {
3232
"@polkadot/keyring": "^6.3.1",
33-
"@polkadot/rpc-provider": "4.7.0"
33+
"@polkadot/rpc-provider": "4.7.1"
3434
}
3535
}

packages/api-derive/src/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
// Auto-generated by @polkadot/dev, do not edit
55

6-
export const packageInfo = { name: '@polkadot/api-derive', version: '4.6.3-11' };
6+
export const packageInfo = { name: '@polkadot/api-derive', version: '4.7.1' };

packages/api/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api",
3-
"version": "4.7.0",
3+
"version": "4.7.1",
44
"type": "module",
55
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
66
"main": "index.js",
@@ -20,13 +20,13 @@
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
2121
"dependencies": {
2222
"@babel/runtime": "^7.13.17",
23-
"@polkadot/api-derive": "4.7.0",
23+
"@polkadot/api-derive": "4.7.1",
2424
"@polkadot/keyring": "^6.3.1",
25-
"@polkadot/metadata": "4.7.0",
26-
"@polkadot/rpc-core": "4.7.0",
27-
"@polkadot/rpc-provider": "4.7.0",
28-
"@polkadot/types": "4.7.0",
29-
"@polkadot/types-known": "4.7.0",
25+
"@polkadot/metadata": "4.7.1",
26+
"@polkadot/rpc-core": "4.7.1",
27+
"@polkadot/rpc-provider": "4.7.1",
28+
"@polkadot/types": "4.7.1",
29+
"@polkadot/types-known": "4.7.1",
3030
"@polkadot/util": "^6.3.1",
3131
"@polkadot/util-crypto": "^6.3.1",
3232
"@polkadot/x-rxjs": "^6.3.1",

packages/api/src/augment/consts.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,38 @@ declare module '@polkadot/api/types/consts' {
200200
};
201201
elections: {
202202
[key: string]: Codec;
203+
/**
204+
* How much should be locked up in order to submit one's candidacy.
205+
**/
203206
candidacyBond: BalanceOf & AugmentedConst<ApiType>;
207+
/**
208+
* Number of members to elect.
209+
**/
204210
desiredMembers: u32 & AugmentedConst<ApiType>;
211+
/**
212+
* Number of runners_up to keep.
213+
**/
205214
desiredRunnersUp: u32 & AugmentedConst<ApiType>;
215+
/**
216+
* Identifier for the elections-phragmen pallet's lock
217+
**/
206218
palletId: LockIdentifier & AugmentedConst<ApiType>;
219+
/**
220+
* How long each seat is kept. This defines the next block number at which an election
221+
* round will happen. If set to zero, no elections are ever triggered and the module will
222+
* be in passive mode.
223+
**/
207224
termDuration: BlockNumber & AugmentedConst<ApiType>;
225+
/**
226+
* Base deposit associated with voting.
227+
*
228+
* This should be sensibly high to economically ensure the pallet cannot be attacked by
229+
* creating a gigantic number of votes.
230+
**/
208231
votingBondBase: BalanceOf & AugmentedConst<ApiType>;
232+
/**
233+
* The amount of bond that need to be locked for each vote (32 bytes).
234+
**/
209235
votingBondFactor: BalanceOf & AugmentedConst<ApiType>;
210236
};
211237
gilt: {

packages/api/src/augment/events.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,10 +418,11 @@ declare module '@polkadot/api/types/events' {
418418
**/
419419
MemberKicked: AugmentedEvent<ApiType, [AccountId]>;
420420
/**
421-
* A new term with \[new_members\]. This indicates that enough candidates existed to run the
422-
* election, not that enough have has been elected. The inner value must be examined for
423-
* this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond slashed and
424-
* none were elected, whilst `EmptyTerm` means that no candidates existed to begin with.
421+
* A new term with \[new_members\]. This indicates that enough candidates existed to run
422+
* the election, not that enough have has been elected. The inner value must be examined
423+
* for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
424+
* slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
425+
* begin with.
425426
**/
426427
NewTerm: AugmentedEvent<ApiType, [Vec<ITuple<[AccountId, Balance]>>]>;
427428
/**

packages/api/src/augment/tx.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,8 +1276,8 @@ declare module '@polkadot/api/types/submittable' {
12761276
* origin is removed as a runner-up.
12771277
* - `origin` is a current member. In this case, the deposit is unreserved and origin is
12781278
* removed as a member, consequently not being a candidate for the next round anymore.
1279-
* Similar to [`remove_members`], if replacement runners exists, they are immediately used.
1280-
* If the prime is renouncing, then no prime will exist until the next round.
1279+
* Similar to [`remove_members`], if replacement runners exists, they are immediately
1280+
* used. If the prime is renouncing, then no prime will exist until the next round.
12811281
*
12821282
* The dispatch origin of this call must be signed, and have one of the above roles.
12831283
*

packages/api/src/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
// Auto-generated by @polkadot/dev, do not edit
55

6-
export const packageInfo = { name: '@polkadot/api', version: '4.6.3-11' };
6+
export const packageInfo = { name: '@polkadot/api', version: '4.7.1' };

0 commit comments

Comments
 (0)