diff --git a/lerna.json b/lerna.json index 3f1e16bbba..292d744671 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ "packages": [ "packages/*" ], - "version": "1.35.0-beta.2" + "version": "1.35.0-beta.3" } diff --git a/package.json b/package.json index 476a653307..efe1eaa15d 100644 --- a/package.json +++ b/package.json @@ -38,5 +38,5 @@ "typedoc-plugin-markdown": "^2.4.2", "typedoc-plugin-no-inherit": "^1.2.0" }, - "version": "1.35.0-beta.2" + "version": "1.35.0-beta.3" } diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index 9580457bd1..1499b0cf09 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-contract", - "version": "1.35.0-beta.2", + "version": "1.35.0-beta.3", "description": "Interfaces for interacting with contracts and contract ABIs", "main": "index.js", "keywords": [ @@ -27,9 +27,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "dependencies": { "@babel/runtime": "^7.11.2", - "@polkadot/api": "1.35.0-beta.2", - "@polkadot/rpc-core": "1.35.0-beta.2", - "@polkadot/types": "1.35.0-beta.2", + "@polkadot/api": "1.35.0-beta.3", + "@polkadot/rpc-core": "1.35.0-beta.3", + "@polkadot/types": "1.35.0-beta.3", "@polkadot/util": "^3.4.1", "bn.js": "^5.1.3", "rxjs": "^6.6.3" diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 89c393658e..b8ed879ceb 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api-derive", - "version": "1.35.0-beta.2", + "version": "1.35.0-beta.3", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "main": "index.js", "keywords": [ @@ -28,10 +28,10 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "dependencies": { "@babel/runtime": "^7.11.2", - "@polkadot/api": "1.35.0-beta.2", - "@polkadot/rpc-core": "1.35.0-beta.2", - "@polkadot/rpc-provider": "1.35.0-beta.2", - "@polkadot/types": "1.35.0-beta.2", + "@polkadot/api": "1.35.0-beta.3", + "@polkadot/rpc-core": "1.35.0-beta.3", + "@polkadot/rpc-provider": "1.35.0-beta.3", + "@polkadot/types": "1.35.0-beta.3", "@polkadot/util": "^3.4.1", "@polkadot/util-crypto": "^3.4.1", "bn.js": "^5.1.3", diff --git a/packages/api/package.json b/packages/api/package.json index dbdf52ceea..95575153b9 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/api", - "version": "1.35.0-beta.2", + "version": "1.35.0-beta.3", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "main": "index.js", "keywords": [ @@ -27,13 +27,13 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "dependencies": { "@babel/runtime": "^7.11.2", - "@polkadot/api-derive": "1.35.0-beta.2", + "@polkadot/api-derive": "1.35.0-beta.3", "@polkadot/keyring": "^3.4.1", - "@polkadot/metadata": "1.35.0-beta.2", - "@polkadot/rpc-core": "1.35.0-beta.2", - "@polkadot/rpc-provider": "1.35.0-beta.2", - "@polkadot/types": "1.35.0-beta.2", - "@polkadot/types-known": "1.35.0-beta.2", + "@polkadot/metadata": "1.35.0-beta.3", + "@polkadot/rpc-core": "1.35.0-beta.3", + "@polkadot/rpc-provider": "1.35.0-beta.3", + "@polkadot/types": "1.35.0-beta.3", + "@polkadot/types-known": "1.35.0-beta.3", "@polkadot/util": "^3.4.1", "@polkadot/util-crypto": "^3.4.1", "bn.js": "^5.1.3", diff --git a/packages/metadata/package.json b/packages/metadata/package.json index 86669b13a6..154b68e992 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/metadata", - "version": "1.35.0-beta.2", + "version": "1.35.0-beta.3", "description": "Helpers to extract information from runtime metadata", "main": "index.js", "publishConfig": { @@ -27,8 +27,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme", "dependencies": { "@babel/runtime": "^7.11.2", - "@polkadot/types": "1.35.0-beta.2", - "@polkadot/types-known": "1.35.0-beta.2", + "@polkadot/types": "1.35.0-beta.3", + "@polkadot/types-known": "1.35.0-beta.3", "@polkadot/util": "^3.4.1", "@polkadot/util-crypto": "^3.4.1", "bn.js": "^5.1.3" diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 9bb006ff35..7247501e77 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-core", - "version": "1.35.0-beta.2", + "version": "1.35.0-beta.3", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "keywords": [ @@ -27,9 +27,9 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "dependencies": { "@babel/runtime": "^7.11.2", - "@polkadot/metadata": "1.35.0-beta.2", - "@polkadot/rpc-provider": "1.35.0-beta.2", - "@polkadot/types": "1.35.0-beta.2", + "@polkadot/metadata": "1.35.0-beta.3", + "@polkadot/rpc-provider": "1.35.0-beta.3", + "@polkadot/types": "1.35.0-beta.3", "@polkadot/util": "^3.4.1", "memoizee": "^0.4.14", "rxjs": "^6.6.3" diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index b8abde704b..0eda103b97 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/rpc-provider", - "version": "1.35.0-beta.2", + "version": "1.35.0-beta.3", "description": "Transport providers for the API", "main": "index.js", "keywords": [ @@ -27,8 +27,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "dependencies": { "@babel/runtime": "^7.11.2", - "@polkadot/metadata": "1.35.0-beta.2", - "@polkadot/types": "1.35.0-beta.2", + "@polkadot/metadata": "1.35.0-beta.3", + "@polkadot/types": "1.35.0-beta.3", "@polkadot/util": "^3.4.1", "@polkadot/util-crypto": "^3.4.1", "@polkadot/x-fetch": "^0.3.2", diff --git a/packages/typegen/package.json b/packages/typegen/package.json index d80dde08b2..a0273e686d 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/typegen", - "version": "1.35.0-beta.2", + "version": "1.35.0-beta.3", "description": "Type generation scripts", "main": "index.js", "bin": { @@ -36,10 +36,10 @@ "@babel/core": "^7.11.6", "@babel/register": "^7.11.5", "@babel/runtime": "^7.11.2", - "@polkadot/api": "1.35.0-beta.2", - "@polkadot/metadata": "1.35.0-beta.2", - "@polkadot/rpc-provider": "1.35.0-beta.2", - "@polkadot/types": "1.35.0-beta.2", + "@polkadot/api": "1.35.0-beta.3", + "@polkadot/metadata": "1.35.0-beta.3", + "@polkadot/rpc-provider": "1.35.0-beta.3", + "@polkadot/types": "1.35.0-beta.3", "@polkadot/util": "^3.4.1", "handlebars": "^4.7.6", "websocket": "^1.0.32", diff --git a/packages/types-known/package.json b/packages/types-known/package.json index 0a7aa6b859..962aeeb1aa 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types-known", - "version": "1.35.0-beta.2", + "version": "1.35.0-beta.3", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "main": "index.js", "keywords": [ @@ -27,7 +27,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme", "dependencies": { "@babel/runtime": "^7.11.2", - "@polkadot/types": "1.35.0-beta.2", + "@polkadot/types": "1.35.0-beta.3", "@polkadot/util": "^3.4.1", "bn.js": "^5.1.3" }, diff --git a/packages/types/package.json b/packages/types/package.json index 1259e33ef6..20d7e61dad 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@polkadot/types", - "version": "1.35.0-beta.2", + "version": "1.35.0-beta.3", "description": "Implementation of the Parity codec", "main": "index.js", "keywords": [ @@ -27,7 +27,7 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme", "dependencies": { "@babel/runtime": "^7.11.2", - "@polkadot/metadata": "1.35.0-beta.2", + "@polkadot/metadata": "1.35.0-beta.3", "@polkadot/util": "^3.4.1", "@polkadot/util-crypto": "^3.4.1", "@types/bn.js": "^4.11.6", diff --git a/packages/types/src/augment/registry.ts b/packages/types/src/augment/registry.ts index dd4e227ea5..0b7741a7d3 100644 --- a/packages/types/src/augment/registry.ts +++ b/packages/types/src/augment/registry.ts @@ -42,7 +42,7 @@ import { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatu import { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactScore, CompactScoreCompact, ElectionCompute, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RewardDestination, RewardDestinationTo257, RewardPoint, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196 } from '@polkadot/types/interfaces/staking'; import { ApiId, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, StorageChangeSet } from '@polkadot/types/interfaces/state'; import { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; -import { AccountInfo, ApplyExtrinsicResult, ChainProperties, ChainType, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, EventRecordTo76, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, Phase, RefCount, TransactionValidityError, UnknownTransaction } from '@polkadot/types/interfaces/system'; +import { AccountInfo, ApplyExtrinsicResult, ChainProperties, ChainType, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, EventRecordTo76, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, Phase, RefCount, RefCountTo259, TransactionValidityError, UnknownTransaction } from '@polkadot/types/interfaces/system'; import { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; import { Multiplier } from '@polkadot/types/interfaces/txpayment'; import { Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; @@ -1177,6 +1177,10 @@ declare module '@polkadot/types/types/registry' { 'Compact': Compact; 'Option': Option; 'Vec': Vec; + RefCountTo259: RefCountTo259; + 'Compact': Compact; + 'Option': Option; + 'Vec': Vec; TransactionValidityError: TransactionValidityError; 'Option': Option; 'Vec': Vec; diff --git a/packages/types/src/interfaces/system/types.ts b/packages/types/src/interfaces/system/types.ts index 3af7f0b46c..c9c1975b7c 100644 --- a/packages/types/src/interfaces/system/types.ts +++ b/packages/types/src/interfaces/system/types.ts @@ -255,7 +255,10 @@ export interface Phase extends Enum { } /** @name RefCount */ -export interface RefCount extends u8 {} +export interface RefCount extends u32 {} + +/** @name RefCountTo259 */ +export interface RefCountTo259 extends u8 {} /** @name TransactionValidityError */ export interface TransactionValidityError extends Enum { diff --git a/yarn.lock b/yarn.lock index f20a36bd07..5fbf494445 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2756,25 +2756,25 @@ __metadata: resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: "@babel/runtime": ^7.11.2 - "@polkadot/api": 1.35.0-beta.2 - "@polkadot/rpc-core": 1.35.0-beta.2 - "@polkadot/types": 1.35.0-beta.2 + "@polkadot/api": 1.35.0-beta.3 + "@polkadot/rpc-core": 1.35.0-beta.3 + "@polkadot/types": 1.35.0-beta.3 "@polkadot/util": ^3.4.1 bn.js: ^5.1.3 rxjs: ^6.6.3 languageName: unknown linkType: soft -"@polkadot/api-derive@1.35.0-beta.2, @polkadot/api-derive@workspace:packages/api-derive": +"@polkadot/api-derive@1.35.0-beta.3, @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.11.2 - "@polkadot/api": 1.35.0-beta.2 + "@polkadot/api": 1.35.0-beta.3 "@polkadot/keyring": ^3.4.1 - "@polkadot/rpc-core": 1.35.0-beta.2 - "@polkadot/rpc-provider": 1.35.0-beta.2 - "@polkadot/types": 1.35.0-beta.2 + "@polkadot/rpc-core": 1.35.0-beta.3 + "@polkadot/rpc-provider": 1.35.0-beta.3 + "@polkadot/types": 1.35.0-beta.3 "@polkadot/util": ^3.4.1 "@polkadot/util-crypto": ^3.4.1 bn.js: ^5.1.3 @@ -2783,18 +2783,18 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/api@1.35.0-beta.2, @polkadot/api@workspace:packages/api": +"@polkadot/api@1.35.0-beta.3, @polkadot/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: "@babel/runtime": ^7.11.2 - "@polkadot/api-derive": 1.35.0-beta.2 + "@polkadot/api-derive": 1.35.0-beta.3 "@polkadot/keyring": ^3.4.1 - "@polkadot/metadata": 1.35.0-beta.2 - "@polkadot/rpc-core": 1.35.0-beta.2 - "@polkadot/rpc-provider": 1.35.0-beta.2 - "@polkadot/types": 1.35.0-beta.2 - "@polkadot/types-known": 1.35.0-beta.2 + "@polkadot/metadata": 1.35.0-beta.3 + "@polkadot/rpc-core": 1.35.0-beta.3 + "@polkadot/rpc-provider": 1.35.0-beta.3 + "@polkadot/types": 1.35.0-beta.3 + "@polkadot/types-known": 1.35.0-beta.3 "@polkadot/util": ^3.4.1 "@polkadot/util-crypto": ^3.4.1 bn.js: ^5.1.3 @@ -2910,43 +2910,43 @@ __metadata: languageName: node linkType: hard -"@polkadot/metadata@1.35.0-beta.2, @polkadot/metadata@workspace:packages/metadata": +"@polkadot/metadata@1.35.0-beta.3, @polkadot/metadata@workspace:packages/metadata": version: 0.0.0-use.local resolution: "@polkadot/metadata@workspace:packages/metadata" dependencies: "@babel/runtime": ^7.11.2 "@polkadot/keyring": ^3.4.1 - "@polkadot/types": 1.35.0-beta.2 - "@polkadot/types-known": 1.35.0-beta.2 + "@polkadot/types": 1.35.0-beta.3 + "@polkadot/types-known": 1.35.0-beta.3 "@polkadot/util": ^3.4.1 "@polkadot/util-crypto": ^3.4.1 bn.js: ^5.1.3 languageName: unknown linkType: soft -"@polkadot/rpc-core@1.35.0-beta.2, @polkadot/rpc-core@workspace:packages/rpc-core": +"@polkadot/rpc-core@1.35.0-beta.3, @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.11.2 "@polkadot/keyring": ^3.4.1 - "@polkadot/metadata": 1.35.0-beta.2 - "@polkadot/rpc-provider": 1.35.0-beta.2 - "@polkadot/types": 1.35.0-beta.2 + "@polkadot/metadata": 1.35.0-beta.3 + "@polkadot/rpc-provider": 1.35.0-beta.3 + "@polkadot/types": 1.35.0-beta.3 "@polkadot/util": ^3.4.1 memoizee: ^0.4.14 rxjs: ^6.6.3 languageName: unknown linkType: soft -"@polkadot/rpc-provider@1.35.0-beta.2, @polkadot/rpc-provider@workspace:packages/rpc-provider": +"@polkadot/rpc-provider@1.35.0-beta.3, @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.11.2 "@polkadot/keyring": ^3.4.1 - "@polkadot/metadata": 1.35.0-beta.2 - "@polkadot/types": 1.35.0-beta.2 + "@polkadot/metadata": 1.35.0-beta.3 + "@polkadot/types": 1.35.0-beta.3 "@polkadot/util": ^3.4.1 "@polkadot/util-crypto": ^3.4.1 "@polkadot/x-fetch": ^0.3.2 @@ -2974,10 +2974,10 @@ __metadata: "@babel/core": ^7.11.6 "@babel/register": ^7.11.5 "@babel/runtime": ^7.11.2 - "@polkadot/api": 1.35.0-beta.2 - "@polkadot/metadata": 1.35.0-beta.2 - "@polkadot/rpc-provider": 1.35.0-beta.2 - "@polkadot/types": 1.35.0-beta.2 + "@polkadot/api": 1.35.0-beta.3 + "@polkadot/metadata": 1.35.0-beta.3 + "@polkadot/rpc-provider": 1.35.0-beta.3 + "@polkadot/types": 1.35.0-beta.3 "@polkadot/util": ^3.4.1 "@types/websocket": ^1.0.1 "@types/yargs": ^15.0.5 @@ -2993,25 +2993,25 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-known@1.35.0-beta.2, @polkadot/types-known@workspace:packages/types-known": +"@polkadot/types-known@1.35.0-beta.3, @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.11.2 - "@polkadot/types": 1.35.0-beta.2 + "@polkadot/types": 1.35.0-beta.3 "@polkadot/util": ^3.4.1 "@types/bn.js": ^4.11.6 bn.js: ^5.1.3 languageName: unknown linkType: soft -"@polkadot/types@1.35.0-beta.2, @polkadot/types@workspace:packages/types": +"@polkadot/types@1.35.0-beta.3, @polkadot/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: "@babel/runtime": ^7.11.2 "@polkadot/keyring": ^3.4.1 - "@polkadot/metadata": 1.35.0-beta.2 + "@polkadot/metadata": 1.35.0-beta.3 "@polkadot/util": ^3.4.1 "@polkadot/util-crypto": ^3.4.1 "@types/bn.js": ^4.11.6