From a801d30fb6c0d8170fa00472854ff1898131a692 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Tue, 9 Mar 2021 10:00:17 +0000 Subject: [PATCH] [CI Skip] release/beta 4.0.4-2 skip-checks: true --- package.json | 2 +- packages/api-contract/package.json | 6 +- packages/api-contract/src/packageInfo.ts | 2 +- packages/api-derive/package.json | 10 ++-- packages/api-derive/src/packageInfo.ts | 2 +- packages/api/package.json | 14 ++--- packages/api/src/augment/consts.ts | 46 +++++++++++++++ packages/api/src/augment/errors.ts | 36 ++++++++++++ packages/api/src/augment/events.ts | 30 +++++++++- packages/api/src/augment/query.ts | 28 +++++++++- packages/api/src/augment/tx.ts | 71 ++++++++++++++++++++++-- packages/api/src/packageInfo.ts | 2 +- packages/metadata/package.json | 6 +- packages/metadata/src/packageInfo.ts | 2 +- packages/rpc-core/package.json | 8 +-- packages/rpc-core/src/packageInfo.ts | 2 +- packages/rpc-provider/package.json | 6 +- packages/rpc-provider/src/packageInfo.ts | 2 +- packages/typegen/package.json | 10 ++-- packages/typegen/src/packageInfo.ts | 2 +- packages/types-known/package.json | 4 +- packages/types-known/src/packageInfo.ts | 2 +- packages/types/package.json | 4 +- packages/types/src/packageInfo.ts | 2 +- yarn.lock | 64 ++++++++++----------- 25 files changed, 280 insertions(+), 83 deletions(-) diff --git a/package.json b/package.json index fba3dc0e04..9f98e76e0f 100644 --- a/package.json +++ b/package.json @@ -34,5 +34,5 @@ "@types/jest": "^26.0.20", "copyfiles": "^2.4.1" }, - "version": "4.0.4-1" + "version": "4.0.4-2" } diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index dc228dd2d0..eae7dbf02c 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-contract", - "version": "4.0.4-1", + "version": "4.0.4-2", "type": "module", "description": "Interfaces for interacting with contracts and contract ABIs", "main": "index.js", @@ -17,8 +17,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "dependencies": { "@babel/runtime": "^7.13.9", - "@polkadot/api": "4.0.4-1", - "@polkadot/types": "4.0.4-1", + "@polkadot/api": "4.0.4-2", + "@polkadot/types": "4.0.4-2", "@polkadot/util": "^6.0.5", "@polkadot/x-rxjs": "^6.0.5", "bn.js": "^4.11.9" diff --git a/packages/api-contract/src/packageInfo.ts b/packages/api-contract/src/packageInfo.ts index a4e2047d5a..3b7db5bac8 100644 --- a/packages/api-contract/src/packageInfo.ts +++ b/packages/api-contract/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/api-contract', version: '4.0.4-1' }; +export const packageInfo = { name: '@polkadot/api-contract', version: '4.0.4-2' }; diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 8967657017..446dd67e69 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "4.0.4-1", + "version": "4.0.4-2", "type": "module", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "main": "index.js", @@ -17,9 +17,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { "@babel/runtime": "^7.13.9", - "@polkadot/api": "4.0.4-1", - "@polkadot/rpc-core": "4.0.4-1", - "@polkadot/types": "4.0.4-1", + "@polkadot/api": "4.0.4-2", + "@polkadot/rpc-core": "4.0.4-2", + "@polkadot/types": "4.0.4-2", "@polkadot/util": "^6.0.5", "@polkadot/util-crypto": "^6.0.5", "@polkadot/x-rxjs": "^6.0.5", @@ -27,6 +27,6 @@ }, "devDependencies": { "@polkadot/keyring": "^6.0.5", - "@polkadot/rpc-provider": "4.0.4-1" + "@polkadot/rpc-provider": "4.0.4-2" } } diff --git a/packages/api-derive/src/packageInfo.ts b/packages/api-derive/src/packageInfo.ts index 8f5b0c2388..9ec0dfd663 100644 --- a/packages/api-derive/src/packageInfo.ts +++ b/packages/api-derive/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/api-derive', version: '4.0.4-1' }; +export const packageInfo = { name: '@polkadot/api-derive', version: '4.0.4-2' }; diff --git a/packages/api/package.json b/packages/api/package.json index 5ebccc1037..6aeaf31571 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "4.0.4-1", + "version": "4.0.4-2", "type": "module", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "main": "index.js", @@ -17,13 +17,13 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.13.9", - "@polkadot/api-derive": "4.0.4-1", + "@polkadot/api-derive": "4.0.4-2", "@polkadot/keyring": "^6.0.5", - "@polkadot/metadata": "4.0.4-1", - "@polkadot/rpc-core": "4.0.4-1", - "@polkadot/rpc-provider": "4.0.4-1", - "@polkadot/types": "4.0.4-1", - "@polkadot/types-known": "4.0.4-1", + "@polkadot/metadata": "4.0.4-2", + "@polkadot/rpc-core": "4.0.4-2", + "@polkadot/rpc-provider": "4.0.4-2", + "@polkadot/types": "4.0.4-2", + "@polkadot/types-known": "4.0.4-2", "@polkadot/util": "^6.0.5", "@polkadot/util-crypto": "^6.0.5", "@polkadot/x-rxjs": "^6.0.5", diff --git a/packages/api/src/augment/consts.ts b/packages/api/src/augment/consts.ts index 5144305ffe..ace2e24bf3 100644 --- a/packages/api/src/augment/consts.ts +++ b/packages/api/src/augment/consts.ts @@ -210,6 +210,52 @@ declare module '@polkadot/api/types/consts' { votingBondBase: BalanceOf & AugmentedConst; votingBondFactor: BalanceOf & AugmentedConst; }; + gilt: { + [key: string]: Codec; + /** + * Portion of the queue which is free from ordering and just a FIFO. + * + * Must be no greater than `MaxQueueLen`. + **/ + fifoQueueLen: u32 & AugmentedConst; + /** + * The number of blocks between consecutive attempts to issue more gilts in an effort to + * get to the target amount to be frozen. + * + * A larger value results in fewer storage hits each block, but a slower period to get to + * the target. + **/ + intakePeriod: BlockNumber & AugmentedConst; + /** + * The maximum amount of bids that can be turned into issued gilts each block. A larger + * value here means less of the block available for transactions should there be a glut of + * bids to make into gilts to reach the target. + **/ + maxIntakeBids: u32 & AugmentedConst; + /** + * Maximum number of items that may be in each duration queue. + **/ + maxQueueLen: u32 & AugmentedConst; + /** + * The minimum amount of funds that may be offered to freeze for a gilt. Note that this + * does not actually limit the amount which may be frozen in a gilt since gilts may be + * split up in order to satisfy the desired amount of funds under gilts. + * + * It should be at least big enough to ensure that there is no possible storage spam attack + * or queue-filling attack. + **/ + minFreeze: BalanceOf & AugmentedConst; + /** + * The base period for the duration queues. This is the common multiple across all + * supported freezing durations that can be bid upon. + **/ + period: BlockNumber & AugmentedConst; + /** + * Number of duration queues in total. This sets the maximum duration supported, which is + * this value multiplied by `Period`. + **/ + queueCount: u32 & AugmentedConst; + }; identity: { [key: string]: Codec; /** diff --git a/packages/api/src/augment/errors.ts b/packages/api/src/augment/errors.ts index 3b797ac0dc..368613434b 100644 --- a/packages/api/src/augment/errors.ts +++ b/packages/api/src/augment/errors.ts @@ -585,6 +585,42 @@ declare module '@polkadot/api/types/errors' { **/ UnableToVote: AugmentedError; }; + gilt: { + [key: string]: AugmentedError; + /** + * The amount of the bid is less than the minimum allowed. + **/ + AmountTooSmall: AugmentedError; + /** + * The queue for the bid's duration is full and the amount bid is too low to get in through + * replacing an existing bid. + **/ + BidTooLow: AugmentedError; + /** + * The duration is the bid is greater than the number of queues. + **/ + DurationTooBig: AugmentedError; + /** + * The duration of the bid is less than one. + **/ + DurationTooSmall: AugmentedError; + /** + * Gilt not yet at expiry date. + **/ + NotExpired: AugmentedError; + /** + * The given bid for retraction is not found. + **/ + NotFound: AugmentedError; + /** + * Not the owner of the gilt. + **/ + NotOwner: AugmentedError; + /** + * Gilt index is unknown. + **/ + Unknown: AugmentedError; + }; grandpa: { [key: string]: AugmentedError; /** diff --git a/packages/api/src/augment/events.ts b/packages/api/src/augment/events.ts index 5b0c9b424f..48143ab652 100644 --- a/packages/api/src/augment/events.ts +++ b/packages/api/src/augment/events.ts @@ -9,12 +9,13 @@ import type { MemberCount, ProposalIndex } from '@polkadot/types/interfaces/coll import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { PropIndex, ReferendumIndex } from '@polkadot/types/interfaces/democracy'; import type { VoteThreshold } from '@polkadot/types/interfaces/elections'; +import type { ActiveIndex } from '@polkadot/types/interfaces/gilt'; import type { AuthorityList } from '@polkadot/types/interfaces/grandpa'; import type { RegistrarIndex } from '@polkadot/types/interfaces/identity'; import type { CallIndex } from '@polkadot/types/interfaces/lottery'; import type { Kind, OpaqueTimeSlot } from '@polkadot/types/interfaces/offences'; import type { ProxyType } from '@polkadot/types/interfaces/proxy'; -import type { AccountId, AccountIndex, AssetId, Balance, BlockNumber, CallHash, Hash, PhantomData } from '@polkadot/types/interfaces/runtime'; +import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, CallHash, Hash, PhantomData } from '@polkadot/types/interfaces/runtime'; import type { TaskAddress } from '@polkadot/types/interfaces/scheduler'; import type { IdentificationTuple, SessionIndex } from '@polkadot/types/interfaces/session'; import type { ElectionCompute, EraIndex } from '@polkadot/types/interfaces/staking'; @@ -415,6 +416,29 @@ declare module '@polkadot/api/types/events' { **/ SeatHolderSlashed: AugmentedEvent; }; + gilt: { + [key: string]: AugmentedEvent; + /** + * A bid was successfully placed. + * \[ who, amount, duration \] + **/ + BidPlaced: AugmentedEvent; + /** + * A bid was successfully removed (before being accepted as a gilt). + * \[ who, amount, duration \] + **/ + BidRetracted: AugmentedEvent; + /** + * A bid was accepted as a gilt. The balance may not be released until expiry. + * \[ index, expiry, who, amount \] + **/ + GiltIssued: AugmentedEvent; + /** + * An expired gilt has been thawed. + * \[ index, who, original_amount, additional_amount \] + **/ + GiltThawed: AugmentedEvent; + }; grandpa: { [key: string]: AugmentedEvent; /** @@ -782,6 +806,10 @@ declare module '@polkadot/api/types/events' { * A new \[account\] was created. **/ NewAccount: AugmentedEvent; + /** + * On on-chain remark happened. \[origin, remark_hash\] + **/ + Remarked: AugmentedEvent; }; technicalCommittee: { [key: string]: AugmentedEvent; diff --git a/packages/api/src/augment/query.ts b/packages/api/src/augment/query.ts index f14d5e2238..3ede59966b 100644 --- a/packages/api/src/augment/query.ts +++ b/packages/api/src/augment/query.ts @@ -12,6 +12,7 @@ import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { CodeHash, ContractInfo, DeletedContract, PrefabWasmModule, Schedule } from '@polkadot/types/interfaces/contracts'; import type { PreimageStatus, PropIndex, Proposal, ReferendumIndex, ReferendumInfo, Voting } from '@polkadot/types/interfaces/democracy'; import type { VoteThreshold } from '@polkadot/types/interfaces/elections'; +import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt'; import type { SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa'; import type { RegistrarInfo, Registration } from '@polkadot/types/interfaces/identity'; import type { AuthIndex } from '@polkadot/types/interfaces/imOnline'; @@ -396,6 +397,29 @@ declare module '@polkadot/api/types/storage' { **/ voting: AugmentedQuery Observable, [AccountId]> & QueryableStorageEntry; }; + gilt: { + [key: string]: QueryableStorageEntry; + /** + * The currently active gilts, indexed according to the order of creation. + **/ + active: AugmentedQuery Observable>, [ActiveIndex]> & QueryableStorageEntry; + /** + * Information relating to the gilts currently active. + **/ + activeTotal: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * The queues of bids ready to become gilts. Indexed by duration (in `Period`s). + **/ + queues: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; + /** + * The totals of items and balances within each queue. Saves a lot of storage reads in the + * case of sparsely packed queues. + * + * The vector is indexed by duration in `Period`s, offset by one, so information on the queue + * whose duration is one `Period` would be storage `0`. + **/ + queueTotals: AugmentedQuery Observable>>, []> & QueryableStorageEntry; + }; grandpa: { [key: string]: QueryableStorageEntry; /** @@ -1022,10 +1046,10 @@ declare module '@polkadot/api/types/storage' { **/ parentHash: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * True if we have upgraded so that AccountInfo contains two types of `RefCount`. False + * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False * (default) if not. **/ - upgradedToDualRefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; + upgradedToTripleRefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. **/ diff --git a/packages/api/src/augment/tx.ts b/packages/api/src/augment/tx.ts index 6395503e07..d3a1e64594 100644 --- a/packages/api/src/augment/tx.ts +++ b/packages/api/src/augment/tx.ts @@ -4,17 +4,18 @@ import type { Bytes, Compact, Data, Option, U8aFixed, Vec, bool, u16, u32, u64, u8 } from '@polkadot/types'; import type { AnyNumber, ITuple } from '@polkadot/types/types'; import type { TAssetBalance } from '@polkadot/types/interfaces/assets'; -import type { BabeEquivocationProof } from '@polkadot/types/interfaces/babe'; +import type { BabeEquivocationProof, NextConfigDescriptor } from '@polkadot/types/interfaces/babe'; import type { MemberCount, ProposalIndex } from '@polkadot/types/interfaces/collective'; import type { CodeHash, Schedule } from '@polkadot/types/interfaces/contracts'; import type { AccountVote, Conviction, PropIndex, Proposal, ReferendumIndex } from '@polkadot/types/interfaces/democracy'; import type { Renouncing } from '@polkadot/types/interfaces/elections'; import type { Extrinsic, Signature } from '@polkadot/types/interfaces/extrinsics'; +import type { ActiveIndex } from '@polkadot/types/interfaces/gilt'; import type { GrandpaEquivocationProof, KeyOwnerProof } from '@polkadot/types/interfaces/grandpa'; import type { IdentityFields, IdentityInfo, IdentityJudgement, RegistrarIndex } from '@polkadot/types/interfaces/identity'; import type { Heartbeat } from '@polkadot/types/interfaces/imOnline'; import type { ProxyType } from '@polkadot/types/interfaces/proxy'; -import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, Call, CallHashOf, ChangesTrieConfiguration, Hash, Header, KeyValue, LookupSource, Moment, OpaqueCall, Perbill, Percent, Weight } from '@polkadot/types/interfaces/runtime'; +import type { AccountId, AccountIndex, AssetId, Balance, BalanceOf, BlockNumber, Call, CallHashOf, ChangesTrieConfiguration, Hash, Header, KeyValue, LookupSource, Moment, OpaqueCall, Perbill, Percent, Perquintill, Weight } from '@polkadot/types/interfaces/runtime'; import type { Period, Priority } from '@polkadot/types/interfaces/scheduler'; import type { Keys } from '@polkadot/types/interfaces/session'; import type { SocietyJudgement } from '@polkadot/types/interfaces/society'; @@ -309,6 +310,13 @@ declare module '@polkadot/api/types/submittable' { }; babe: { [key: string]: SubmittableExtrinsicFunction; + /** + * Plan an epoch config change. The epoch config change is recorded and will be enacted on + * the next call to `enact_epoch_change`. The config will be activated one epoch after. + * Multiple calls to this method will replace any existing planned config change that had + * not been enacted yet. + **/ + planConfigChange: AugmentedSubmittable<(config: NextConfigDescriptor | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic, [NextConfigDescriptor]>; /** * Report authority equivocation/misbehavior. This method will verify * the equivocation proof and validate the given key ownership proof @@ -1187,6 +1195,54 @@ declare module '@polkadot/api/types/submittable' { **/ vote: AugmentedSubmittable<(votes: Vec | (AccountId | string | Uint8Array)[], value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Compact]>; }; + gilt: { + [key: string]: SubmittableExtrinsicFunction; + /** + * Place a bid for a gilt to be issued. + * + * Origin must be Signed, and account must have at least `amount` in free balance. + * + * - `amount`: The amount of the bid; these funds will be reserved. If the bid is + * successfully elevated into an issued gilt, then these funds will continue to be + * reserved until the gilt expires. Must be at least `MinFreeze`. + * - `duration`: The number of periods for which the funds will be locked if the gilt is + * issued. It will expire only after this period has elapsed after the point of issuance. + * Must be greater than 1 and no more than `QueueCount`. + * + * Complexities: + * - `Queues[duration].len()` (just take max). + **/ + placeBid: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, u32]>; + /** + * Retract a previously placed bid. + * + * Origin must be Signed, and the account should have previously issued a still-active bid + * of `amount` for `duration`. + * + * - `amount`: The amount of the previous bid. + * - `duration`: The duration of the previous bid. + **/ + retractBid: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, u32]>; + /** + * Set target proportion of gilt-funds. + * + * Origin must be `AdminOrigin`. + * + * - `target`: The target proportion of effective issued funds that should be under gilts + * at any one time. + **/ + setTarget: AugmentedSubmittable<(target: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; + /** + * Remove an active but expired gilt. Reserved funds under gilt are freed and balance is + * adjusted to ensure that the funds grow or shrink to maintain the equivalent proportion + * of effective total issued funds. + * + * Origin must be Signed and the account must be the owner of the gilt of the given index. + * + * - `index`: The index of the gilt to be thawed. + **/ + thaw: AugmentedSubmittable<(index: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; + }; grandpa: { [key: string]: SubmittableExtrinsicFunction; /** @@ -3207,11 +3263,18 @@ declare module '@polkadot/api/types/submittable' { * * # * - `O(1)` - * - Base Weight: 0.665 µs, independent of remark length. - * - No DB operations. * # **/ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; + /** + * Make some on-chain remark and emit event. + * + * # + * - `O(b)` where b is the length of the remark. + * - 1 event. + * # + **/ + remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** * Set the new changes trie configuration. * diff --git a/packages/api/src/packageInfo.ts b/packages/api/src/packageInfo.ts index 14856a3301..07ccec75d6 100644 --- a/packages/api/src/packageInfo.ts +++ b/packages/api/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/api', version: '4.0.4-1' }; +export const packageInfo = { name: '@polkadot/api', version: '4.0.4-2' }; diff --git a/packages/metadata/package.json b/packages/metadata/package.json index ee3f96a8f8..1b7863fafd 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/metadata", - "version": "4.0.4-1", + "version": "4.0.4-2", "type": "module", "description": "Helpers to extract information from runtime metadata", "main": "index.js", @@ -17,8 +17,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme", "dependencies": { "@babel/runtime": "^7.13.9", - "@polkadot/types": "4.0.4-1", - "@polkadot/types-known": "4.0.4-1", + "@polkadot/types": "4.0.4-2", + "@polkadot/types-known": "4.0.4-2", "@polkadot/util": "^6.0.5", "@polkadot/util-crypto": "^6.0.5", "bn.js": "^4.11.9" diff --git a/packages/metadata/src/packageInfo.ts b/packages/metadata/src/packageInfo.ts index f4a5e10316..cb8dd35958 100644 --- a/packages/metadata/src/packageInfo.ts +++ b/packages/metadata/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/metadata', version: '4.0.4-1' }; +export const packageInfo = { name: '@polkadot/metadata', version: '4.0.4-2' }; diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index ae050abe71..4d147d2001 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "4.0.4-1", + "version": "4.0.4-2", "type": "module", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", @@ -17,9 +17,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { "@babel/runtime": "^7.13.9", - "@polkadot/metadata": "4.0.4-1", - "@polkadot/rpc-provider": "4.0.4-1", - "@polkadot/types": "4.0.4-1", + "@polkadot/metadata": "4.0.4-2", + "@polkadot/rpc-provider": "4.0.4-2", + "@polkadot/types": "4.0.4-2", "@polkadot/util": "^6.0.5", "@polkadot/x-rxjs": "^6.0.5" }, diff --git a/packages/rpc-core/src/packageInfo.ts b/packages/rpc-core/src/packageInfo.ts index 66068838a7..8b6b2f13ec 100644 --- a/packages/rpc-core/src/packageInfo.ts +++ b/packages/rpc-core/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/rpc-core', version: '4.0.4-1' }; +export const packageInfo = { name: '@polkadot/rpc-core', version: '4.0.4-2' }; diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index 9e79651a68..b8291e900e 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "4.0.4-1", + "version": "4.0.4-2", "type": "module", "description": "Transport providers for the API", "main": "index.js", @@ -17,7 +17,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "dependencies": { "@babel/runtime": "^7.13.9", - "@polkadot/types": "4.0.4-1", + "@polkadot/types": "4.0.4-2", "@polkadot/util": "^6.0.5", "@polkadot/util-crypto": "^6.0.5", "@polkadot/x-fetch": "^6.0.5", @@ -28,7 +28,7 @@ }, "devDependencies": { "@polkadot/keyring": "^6.0.5", - "@polkadot/metadata": "4.0.4-1", + "@polkadot/metadata": "4.0.4-2", "mock-socket": "^9.0.3", "nock": "^13.0.10" } diff --git a/packages/rpc-provider/src/packageInfo.ts b/packages/rpc-provider/src/packageInfo.ts index 0236d9cac2..a965de573b 100644 --- a/packages/rpc-provider/src/packageInfo.ts +++ b/packages/rpc-provider/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/rpc-provider', version: '4.0.4-1' }; +export const packageInfo = { name: '@polkadot/rpc-provider', version: '4.0.4-2' }; diff --git a/packages/typegen/package.json b/packages/typegen/package.json index 78b6d65f11..8d2af2d358 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/typegen", - "version": "4.0.4-1", + "version": "4.0.4-2", "type": "module", "description": "Type generation scripts", "main": "index.js", @@ -26,10 +26,10 @@ "@babel/core": "^7.13.8", "@babel/register": "^7.13.8", "@babel/runtime": "^7.13.9", - "@polkadot/api": "4.0.4-1", - "@polkadot/metadata": "4.0.4-1", - "@polkadot/rpc-provider": "4.0.4-1", - "@polkadot/types": "4.0.4-1", + "@polkadot/api": "4.0.4-2", + "@polkadot/metadata": "4.0.4-2", + "@polkadot/rpc-provider": "4.0.4-2", + "@polkadot/types": "4.0.4-2", "@polkadot/util": "^6.0.5", "handlebars": "^4.7.7", "websocket": "^1.0.33", diff --git a/packages/typegen/src/packageInfo.ts b/packages/typegen/src/packageInfo.ts index dc559cef83..e6aa401331 100644 --- a/packages/typegen/src/packageInfo.ts +++ b/packages/typegen/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/typegen', version: '4.0.4-1' }; +export const packageInfo = { name: '@polkadot/typegen', version: '4.0.4-2' }; diff --git a/packages/types-known/package.json b/packages/types-known/package.json index b573c9d9d9..1e2a6f8954 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types-known", - "version": "4.0.4-1", + "version": "4.0.4-2", "type": "module", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", @@ -18,7 +18,7 @@ "dependencies": { "@babel/runtime": "^7.13.9", "@polkadot/networks": "^6.0.5", - "@polkadot/types": "4.0.4-1", + "@polkadot/types": "4.0.4-2", "@polkadot/util": "^6.0.5", "bn.js": "^4.11.9" }, diff --git a/packages/types-known/src/packageInfo.ts b/packages/types-known/src/packageInfo.ts index 3b526db720..117d636c2c 100644 --- a/packages/types-known/src/packageInfo.ts +++ b/packages/types-known/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/types-known', version: '4.0.4-1' }; +export const packageInfo = { name: '@polkadot/types-known', version: '4.0.4-2' }; diff --git a/packages/types/package.json b/packages/types/package.json index 909371ec88..ebfa8f1c8a 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "4.0.4-1", + "version": "4.0.4-2", "type": "module", "description": "Implementation of the Parity codec", "main": "index.js", @@ -17,7 +17,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme", "dependencies": { "@babel/runtime": "^7.13.9", - "@polkadot/metadata": "4.0.4-1", + "@polkadot/metadata": "4.0.4-2", "@polkadot/util": "^6.0.5", "@polkadot/util-crypto": "^6.0.5", "@polkadot/x-rxjs": "^6.0.5", diff --git a/packages/types/src/packageInfo.ts b/packages/types/src/packageInfo.ts index 5ef20bf95c..a65fb294d9 100644 --- a/packages/types/src/packageInfo.ts +++ b/packages/types/src/packageInfo.ts @@ -3,4 +3,4 @@ // Auto-generated by @polkadot/dev, do not edit -export const packageInfo = { name: '@polkadot/types', version: '4.0.4-1' }; +export const packageInfo = { name: '@polkadot/types', version: '4.0.4-2' }; diff --git a/yarn.lock b/yarn.lock index 8e46239a0b..66af8c2c43 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1778,24 +1778,24 @@ __metadata: resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: "@babel/runtime": ^7.13.9 - "@polkadot/api": 4.0.4-1 - "@polkadot/types": 4.0.4-1 + "@polkadot/api": 4.0.4-2 + "@polkadot/types": 4.0.4-2 "@polkadot/util": ^6.0.5 "@polkadot/x-rxjs": ^6.0.5 bn.js: ^4.11.9 languageName: unknown linkType: soft -"@polkadot/api-derive@4.0.4-1, @polkadot/api-derive@workspace:packages/api-derive": +"@polkadot/api-derive@4.0.4-2, @polkadot/api-derive@workspace:packages/api-derive": version: 0.0.0-use.local resolution: "@polkadot/api-derive@workspace:packages/api-derive" dependencies: "@babel/runtime": ^7.13.9 - "@polkadot/api": 4.0.4-1 + "@polkadot/api": 4.0.4-2 "@polkadot/keyring": ^6.0.5 - "@polkadot/rpc-core": 4.0.4-1 - "@polkadot/rpc-provider": 4.0.4-1 - "@polkadot/types": 4.0.4-1 + "@polkadot/rpc-core": 4.0.4-2 + "@polkadot/rpc-provider": 4.0.4-2 + "@polkadot/types": 4.0.4-2 "@polkadot/util": ^6.0.5 "@polkadot/util-crypto": ^6.0.5 "@polkadot/x-rxjs": ^6.0.5 @@ -1803,18 +1803,18 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/api@4.0.4-1, @polkadot/api@workspace:packages/api": +"@polkadot/api@4.0.4-2, @polkadot/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: "@babel/runtime": ^7.13.9 - "@polkadot/api-derive": 4.0.4-1 + "@polkadot/api-derive": 4.0.4-2 "@polkadot/keyring": ^6.0.5 - "@polkadot/metadata": 4.0.4-1 - "@polkadot/rpc-core": 4.0.4-1 - "@polkadot/rpc-provider": 4.0.4-1 - "@polkadot/types": 4.0.4-1 - "@polkadot/types-known": 4.0.4-1 + "@polkadot/metadata": 4.0.4-2 + "@polkadot/rpc-core": 4.0.4-2 + "@polkadot/rpc-provider": 4.0.4-2 + "@polkadot/types": 4.0.4-2 + "@polkadot/types-known": 4.0.4-2 "@polkadot/util": ^6.0.5 "@polkadot/util-crypto": ^6.0.5 "@polkadot/x-rxjs": ^6.0.5 @@ -1927,14 +1927,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/metadata@4.0.4-1, @polkadot/metadata@workspace:packages/metadata": +"@polkadot/metadata@4.0.4-2, @polkadot/metadata@workspace:packages/metadata": version: 0.0.0-use.local resolution: "@polkadot/metadata@workspace:packages/metadata" dependencies: "@babel/runtime": ^7.13.9 "@polkadot/keyring": ^6.0.5 - "@polkadot/types": 4.0.4-1 - "@polkadot/types-known": 4.0.4-1 + "@polkadot/types": 4.0.4-2 + "@polkadot/types-known": 4.0.4-2 "@polkadot/util": ^6.0.5 "@polkadot/util-crypto": ^6.0.5 bn.js: ^4.11.9 @@ -1950,28 +1950,28 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-core@4.0.4-1, @polkadot/rpc-core@workspace:packages/rpc-core": +"@polkadot/rpc-core@4.0.4-2, @polkadot/rpc-core@workspace:packages/rpc-core": version: 0.0.0-use.local resolution: "@polkadot/rpc-core@workspace:packages/rpc-core" dependencies: "@babel/runtime": ^7.13.9 "@polkadot/keyring": ^6.0.5 - "@polkadot/metadata": 4.0.4-1 - "@polkadot/rpc-provider": 4.0.4-1 - "@polkadot/types": 4.0.4-1 + "@polkadot/metadata": 4.0.4-2 + "@polkadot/rpc-provider": 4.0.4-2 + "@polkadot/types": 4.0.4-2 "@polkadot/util": ^6.0.5 "@polkadot/x-rxjs": ^6.0.5 languageName: unknown linkType: soft -"@polkadot/rpc-provider@4.0.4-1, @polkadot/rpc-provider@workspace:packages/rpc-provider": +"@polkadot/rpc-provider@4.0.4-2, @polkadot/rpc-provider@workspace:packages/rpc-provider": version: 0.0.0-use.local resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider" dependencies: "@babel/runtime": ^7.13.9 "@polkadot/keyring": ^6.0.5 - "@polkadot/metadata": 4.0.4-1 - "@polkadot/types": 4.0.4-1 + "@polkadot/metadata": 4.0.4-2 + "@polkadot/types": 4.0.4-2 "@polkadot/util": ^6.0.5 "@polkadot/util-crypto": ^6.0.5 "@polkadot/x-fetch": ^6.0.5 @@ -2000,10 +2000,10 @@ __metadata: "@babel/core": ^7.13.8 "@babel/register": ^7.13.8 "@babel/runtime": ^7.13.9 - "@polkadot/api": 4.0.4-1 - "@polkadot/metadata": 4.0.4-1 - "@polkadot/rpc-provider": 4.0.4-1 - "@polkadot/types": 4.0.4-1 + "@polkadot/api": 4.0.4-2 + "@polkadot/metadata": 4.0.4-2 + "@polkadot/rpc-provider": 4.0.4-2 + "@polkadot/types": 4.0.4-2 "@polkadot/util": ^6.0.5 "@types/websocket": ^1.0.2 "@types/yargs": ^16.0.0 @@ -2019,26 +2019,26 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-known@4.0.4-1, @polkadot/types-known@workspace:packages/types-known": +"@polkadot/types-known@4.0.4-2, @polkadot/types-known@workspace:packages/types-known": version: 0.0.0-use.local resolution: "@polkadot/types-known@workspace:packages/types-known" dependencies: "@babel/runtime": ^7.13.9 "@polkadot/networks": ^6.0.5 - "@polkadot/types": 4.0.4-1 + "@polkadot/types": 4.0.4-2 "@polkadot/util": ^6.0.5 "@types/bn.js": ^4.11.6 bn.js: ^4.11.9 languageName: unknown linkType: soft -"@polkadot/types@4.0.4-1, @polkadot/types@workspace:packages/types": +"@polkadot/types@4.0.4-2, @polkadot/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: "@babel/runtime": ^7.13.9 "@polkadot/keyring": ^6.0.5 - "@polkadot/metadata": 4.0.4-1 + "@polkadot/metadata": 4.0.4-2 "@polkadot/util": ^6.0.5 "@polkadot/util-crypto": ^6.0.5 "@polkadot/x-rxjs": ^6.0.5