Skip to content

Commit 1eb35ee

Browse files
authored
Merge pull request #65 from AcalaNetwork/630
bump v6.3.0
2 parents 480591a + 35d1558 commit 1eb35ee

17 files changed

+3203
-2226
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"bugs": "https://github.com/AcalaNetwork/acala-types.js/issues",
55
"engines": {
6-
"node": ">=16"
6+
"node": ">=22"
77
},
88
"homepage": "https://github.com/AcalaNetwork/acala-types.js#readme",
99
"license": "Apache-2.0",
@@ -23,7 +23,7 @@
2323
"publish": "yarn workspaces foreach -vit run publish:manual"
2424
},
2525
"devDependencies": {
26-
"@polkadot/api": "^14",
26+
"@polkadot/api": "^16",
2727
"@types/eslint": "^8",
2828
"@types/node": "^20.4.9",
2929
"@typescript-eslint/eslint-plugin": "^6.5.0",

packages/api-derive/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@acala-network/api-derive",
3-
"version": "6.2.0",
3+
"version": "6.3.0",
44
"description": "Additional polkadot.js derives for Acala Network",
55
"author": "Acala Developers <[email protected]>",
66
"license": "Apache-2.0",
@@ -23,12 +23,12 @@
2323
"main": "./dist/index.js",
2424
"types": "./dist/index.d.ts",
2525
"dependencies": {
26-
"@acala-network/types": "6.2.0"
26+
"@acala-network/types": "6.3.0"
2727
},
2828
"peerDependencies": {
29-
"@polkadot/api": "^14"
29+
"@polkadot/api": "^16"
3030
},
3131
"devDependencies": {
32-
"typescript": "^5.0.4"
32+
"typescript": "^5.5.4"
3333
}
3434
}

packages/api/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@acala-network/api",
3-
"version": "6.2.0",
3+
"version": "6.3.0",
44
"description": "Acala JS API",
55
"author": "Acala Developers <[email protected]>",
66
"license": "Apache-2.0",
@@ -23,13 +23,13 @@
2323
"publish:manual": "npm publish --tolerate-republish --access public"
2424
},
2525
"dependencies": {
26-
"@acala-network/api-derive": "6.2.0",
27-
"@acala-network/types": "6.2.0"
26+
"@acala-network/api-derive": "6.3.0",
27+
"@acala-network/types": "6.3.0"
2828
},
2929
"peerDependencies": {
30-
"@polkadot/api": "^14"
30+
"@polkadot/api": "^16"
3131
},
3232
"devDependencies": {
33-
"typescript": "^5.0.4"
33+
"typescript": "^5.5.4"
3434
}
3535
}

packages/types/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@acala-network/types",
3-
"version": "6.2.0",
3+
"version": "6.3.0",
44
"description": "Acala types for @polkadot/api",
55
"author": "Acala Developers <[email protected]>",
66
"license": "Apache-2.0",
@@ -34,11 +34,11 @@
3434
}
3535
},
3636
"peerDependencies": {
37-
"@polkadot/api": "^14"
37+
"@polkadot/api": "^16"
3838
},
3939
"devDependencies": {
40-
"@polkadot/typegen": "^14",
40+
"@polkadot/typegen": "^16",
4141
"@types/node": "^20.4.9",
42-
"typescript": "^5.0.4"
42+
"typescript": "^5.5.4"
4343
}
4444
}

packages/types/src/interfaces/augment-api-consts.ts

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
99
import type { Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
1010
import type { Codec, ITuple } from '@polkadot/types-codec/types';
1111
import type { AccountId32, H160, Percent, Permill } from '@polkadot/types/interfaces/runtime';
12-
import type { AcalaPrimitivesCurrencyCurrencyId, FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup';
12+
import type { AcalaPrimitivesCurrencyCurrencyId, FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions, StagingXcmV5Location } from '@polkadot/types/lookup';
1313

1414
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
1515

@@ -150,6 +150,7 @@ declare module '@polkadot/api-base/types/consts' {
150150
dex: {
151151
extendedProvisioningBlocks: u32 & AugmentedConst<ApiType>;
152152
getExchangeFee: ITuple<[u32, u32]> & AugmentedConst<ApiType>;
153+
getNativeCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst<ApiType>;
153154
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
154155
tradingPathLimit: u32 & AugmentedConst<ApiType>;
155156
/**
@@ -322,6 +323,16 @@ declare module '@polkadot/api-base/types/consts' {
322323
**/
323324
[key: string]: Codec;
324325
};
326+
polkadotXcm: {
327+
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
328+
maxLockers: u32 & AugmentedConst<ApiType>;
329+
maxRemoteLockConsumers: u32 & AugmentedConst<ApiType>;
330+
universalLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
331+
/**
332+
* Generic const
333+
**/
334+
[key: string]: Codec;
335+
};
325336
prices: {
326337
getLiquidCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst<ApiType>;
327338
getStableCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst<ApiType>;
@@ -433,6 +444,7 @@ declare module '@polkadot/api-base/types/consts' {
433444
maxApprovals: u32 & AugmentedConst<ApiType>;
434445
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
435446
payoutPeriod: u32 & AugmentedConst<ApiType>;
447+
potAccount: AccountId32 & AugmentedConst<ApiType>;
436448
spendPeriod: u32 & AugmentedConst<ApiType>;
437449
/**
438450
* Generic const
@@ -454,10 +466,9 @@ declare module '@polkadot/api-base/types/consts' {
454466
[key: string]: Codec;
455467
};
456468
xcmInterface: {
469+
assetHubLocation: StagingXcmV5Location & AugmentedConst<ApiType>;
470+
assetHubUnbondingSlashingSpans: u32 & AugmentedConst<ApiType>;
457471
parachainAccount: AccountId32 & AugmentedConst<ApiType>;
458-
relayChainUnbondingSlashingSpans: u32 & AugmentedConst<ApiType>;
459-
selfLocation: StagingXcmV4Location & AugmentedConst<ApiType>;
460-
stakingCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst<ApiType>;
461472
/**
462473
* Generic const
463474
**/
@@ -475,7 +486,7 @@ declare module '@polkadot/api-base/types/consts' {
475486
xTokens: {
476487
baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
477488
rateLimiterId: Null & AugmentedConst<ApiType>;
478-
selfLocation: StagingXcmV4Location & AugmentedConst<ApiType>;
489+
selfLocation: StagingXcmV5Location & AugmentedConst<ApiType>;
479490
/**
480491
* Generic const
481492
**/

packages/types/src/interfaces/augment-api-errors.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ declare module '@polkadot/api-base/types/errors' {
9999
InvalidFee: AugmentedError<ApiType>;
100100
InvalidIndex: AugmentedError<ApiType>;
101101
InvalidValue: AugmentedError<ApiType>;
102+
NotProposer: AugmentedError<ApiType>;
102103
PendingPayout: AugmentedError<ApiType>;
103104
Premature: AugmentedError<ApiType>;
104105
ReasonTooBig: AugmentedError<ApiType>;
@@ -214,6 +215,7 @@ declare module '@polkadot/api-base/types/errors' {
214215
ExcessiveSupplyAmount: AugmentedError<ApiType>;
215216
InsufficientLiquidity: AugmentedError<ApiType>;
216217
InsufficientTargetAmount: AugmentedError<ApiType>;
218+
InvalidClaim: AugmentedError<ApiType>;
217219
InvalidContributionIncrement: AugmentedError<ApiType>;
218220
InvalidCurrencyId: AugmentedError<ApiType>;
219221
InvalidLiquidityIncrement: AugmentedError<ApiType>;
@@ -319,6 +321,7 @@ declare module '@polkadot/api-base/types/errors' {
319321
DuplicateVote: AugmentedError<ApiType>;
320322
NotMember: AugmentedError<ApiType>;
321323
PrimeAccountNotMember: AugmentedError<ApiType>;
324+
ProposalActive: AugmentedError<ApiType>;
322325
ProposalMissing: AugmentedError<ApiType>;
323326
TooEarly: AugmentedError<ApiType>;
324327
TooManyProposals: AugmentedError<ApiType>;
@@ -345,6 +348,7 @@ declare module '@polkadot/api-base/types/errors' {
345348
DuplicateVote: AugmentedError<ApiType>;
346349
NotMember: AugmentedError<ApiType>;
347350
PrimeAccountNotMember: AugmentedError<ApiType>;
351+
ProposalActive: AugmentedError<ApiType>;
348352
ProposalMissing: AugmentedError<ApiType>;
349353
TooEarly: AugmentedError<ApiType>;
350354
TooManyProposals: AugmentedError<ApiType>;
@@ -386,6 +390,7 @@ declare module '@polkadot/api-base/types/errors' {
386390
DuplicateVote: AugmentedError<ApiType>;
387391
NotMember: AugmentedError<ApiType>;
388392
PrimeAccountNotMember: AugmentedError<ApiType>;
393+
ProposalActive: AugmentedError<ApiType>;
389394
ProposalMissing: AugmentedError<ApiType>;
390395
TooEarly: AugmentedError<ApiType>;
391396
TooManyProposals: AugmentedError<ApiType>;
@@ -539,12 +544,10 @@ declare module '@polkadot/api-base/types/errors' {
539544
};
540545
parachainSystem: {
541546
HostConfigurationNotAvailable: AugmentedError<ApiType>;
542-
NothingAuthorized: AugmentedError<ApiType>;
543547
NotScheduled: AugmentedError<ApiType>;
544548
OverlappingUpgrades: AugmentedError<ApiType>;
545549
ProhibitedByPolkadot: AugmentedError<ApiType>;
546550
TooBig: AugmentedError<ApiType>;
547-
Unauthorized: AugmentedError<ApiType>;
548551
ValidationDataNotAvailable: AugmentedError<ApiType>;
549552
/**
550553
* Generic error
@@ -559,25 +562,29 @@ declare module '@polkadot/api-base/types/errors' {
559562
};
560563
polkadotXcm: {
561564
AccountNotSovereign: AugmentedError<ApiType>;
565+
AliasNotFound: AugmentedError<ApiType>;
562566
AlreadySubscribed: AugmentedError<ApiType>;
563567
BadLocation: AugmentedError<ApiType>;
564568
BadVersion: AugmentedError<ApiType>;
565569
CannotCheckOutTeleport: AugmentedError<ApiType>;
566570
CannotReanchor: AugmentedError<ApiType>;
567571
DestinationNotInvertible: AugmentedError<ApiType>;
568572
Empty: AugmentedError<ApiType>;
573+
ExpiresInPast: AugmentedError<ApiType>;
569574
FeesNotMet: AugmentedError<ApiType>;
570575
Filtered: AugmentedError<ApiType>;
571576
InUse: AugmentedError<ApiType>;
572577
InvalidAssetUnknownReserve: AugmentedError<ApiType>;
573578
InvalidAssetUnsupportedReserve: AugmentedError<ApiType>;
574579
InvalidOrigin: AugmentedError<ApiType>;
575580
LocalExecutionIncomplete: AugmentedError<ApiType>;
581+
LocalExecutionIncompleteWithError: AugmentedError<ApiType>;
576582
LockNotFound: AugmentedError<ApiType>;
577583
LowBalance: AugmentedError<ApiType>;
578584
NoSubscription: AugmentedError<ApiType>;
579585
SendFailure: AugmentedError<ApiType>;
580586
TooManyAssets: AugmentedError<ApiType>;
587+
TooManyAuthorizedAliases: AugmentedError<ApiType>;
581588
TooManyLocks: AugmentedError<ApiType>;
582589
TooManyReserves: AugmentedError<ApiType>;
583590
Unreachable: AugmentedError<ApiType>;
@@ -589,7 +596,6 @@ declare module '@polkadot/api-base/types/errors' {
589596
};
590597
preimage: {
591598
AlreadyNoted: AugmentedError<ApiType>;
592-
NoCost: AugmentedError<ApiType>;
593599
NotAuthorized: AugmentedError<ApiType>;
594600
NotNoted: AugmentedError<ApiType>;
595601
NotRequested: AugmentedError<ApiType>;
@@ -710,6 +716,7 @@ declare module '@polkadot/api-base/types/errors' {
710716
DuplicateVote: AugmentedError<ApiType>;
711717
NotMember: AugmentedError<ApiType>;
712718
PrimeAccountNotMember: AugmentedError<ApiType>;
719+
ProposalActive: AugmentedError<ApiType>;
713720
ProposalMissing: AugmentedError<ApiType>;
714721
TooEarly: AugmentedError<ApiType>;
715722
TooManyProposals: AugmentedError<ApiType>;

0 commit comments

Comments
 (0)