From 3ce7eba10ffaee5279bd59b592ff56792db13c15 Mon Sep 17 00:00:00 2001 From: Antonio Date: Wed, 25 Sep 2024 13:29:44 +0200 Subject: [PATCH] Bump KILT dep (#10953) --- packages/apps-config/package.json | 4 +- packages/apps-config/src/api/typesBundle.ts | 518 ++++++++++++++++++++ yarn.lock | 10 +- 3 files changed, 525 insertions(+), 7 deletions(-) diff --git a/packages/apps-config/package.json b/packages/apps-config/package.json index d7e41ac9c3..25261e5642 100644 --- a/packages/apps-config/package.json +++ b/packages/apps-config/package.json @@ -28,7 +28,7 @@ "@fragnova/api-augment": "0.1.0-spec-1.0.4-mainnet", "@frequency-chain/api-augment": "1.11.1", "@interlay/interbtc-types": "1.13.0", - "@kiltprotocol/type-definitions": "^1.11200.0", + "@kiltprotocol/type-definitions": "^1.11401.0", "@laminar/type-definitions": "0.3.1", "@logion/node-api": "0.27.0-4", "@mangata-finance/type-definitions": "^2.1.2", @@ -63,4 +63,4 @@ "rxjs": "^7.8.1", "tslib": "^2.6.2" } -} +} \ No newline at end of file diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts index 92bb31a7d6..309f5d2566 100644 --- a/packages/apps-config/src/api/typesBundle.ts +++ b/packages/apps-config/src/api/typesBundle.ts @@ -31334,6 +31334,27 @@ export const typesBundle = { }, "version": 1 } + ], + "AssetSwitch": [ + { + "methods": { + "pool_account_id": { + "description": "Calculate the pool account address for a switch pallet instance and asset ID", + "params": [ + { + "name": "pair_id", + "type": "Text" + }, + { + "name": "asset_id", + "type": "XcmVersionedAssetId" + } + ], + "type": "Result" + } + }, + "version": 1 + } ] }, "types": [ @@ -34641,6 +34662,118 @@ export const typesBundle = { { "minmax": [ 11200, + 11399 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + } + } + }, + { + "minmax": [ + 11400, null ], "types": { @@ -34747,6 +34880,13 @@ export const typesBundle = { "Web3NameNotFound", "Internal" ] + }, + "AssetSwitchApiError": { + "_enum": [ + "InvalidInput", + "SwitchPoolNotFound", + "Internal" + ] } } } @@ -34967,6 +35107,27 @@ export const typesBundle = { }, "version": 1 } + ], + "AssetSwitch": [ + { + "methods": { + "pool_account_id": { + "description": "Calculate the pool account address for a switch pallet instance and asset ID", + "params": [ + { + "name": "pair_id", + "type": "Text" + }, + { + "name": "asset_id", + "type": "XcmVersionedAssetId" + } + ], + "type": "Result" + } + }, + "version": 1 + } ] }, "types": [ @@ -38274,6 +38435,118 @@ export const typesBundle = { { "minmax": [ 11200, + 11399 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + } + } + }, + { + "minmax": [ + 11400, null ], "types": { @@ -38380,6 +38653,13 @@ export const typesBundle = { "Web3NameNotFound", "Internal" ] + }, + "AssetSwitchApiError": { + "_enum": [ + "InvalidInput", + "SwitchPoolNotFound", + "Internal" + ] } } } @@ -41868,6 +42148,118 @@ export const typesBundle = { { "minmax": [ 11200, + 11399 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + } + } + }, + { + "minmax": [ + 11400, null ], "types": { @@ -41974,6 +42366,13 @@ export const typesBundle = { "Web3NameNotFound", "Internal" ] + }, + "AssetSwitchApiError": { + "_enum": [ + "InvalidInput", + "SwitchPoolNotFound", + "Internal" + ] } } } @@ -45448,6 +45847,118 @@ export const typesBundle = { { "minmax": [ 11200, + 11399 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + } + } + }, + { + "minmax": [ + 11400, null ], "types": { @@ -45554,6 +46065,13 @@ export const typesBundle = { "Web3NameNotFound", "Internal" ] + }, + "AssetSwitchApiError": { + "_enum": [ + "InvalidInput", + "SwitchPoolNotFound", + "Internal" + ] } } } diff --git a/yarn.lock b/yarn.lock index e47ea7b1bf..8014aa77d4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -583,12 +583,12 @@ __metadata: languageName: node linkType: hard -"@kiltprotocol/type-definitions@npm:^1.11200.0": - version: 1.11200.0 - resolution: "@kiltprotocol/type-definitions@npm:1.11200.0" +"@kiltprotocol/type-definitions@npm:^1.11401.0": + version: 1.11401.0 + resolution: "@kiltprotocol/type-definitions@npm:1.11401.0" peerDependencies: "@polkadot/types": ^12.2.0 - checksum: 10/f42517be177efb7e67ab3563c941c5cdb24162db4345b90cb3d9cae8069a5d981dd12f59870d28402ea22c69d1b3cc74bad99213324424f623994010883e7ba8 + checksum: 10/b37bcc3e0630598a2f5844709502debb7b4ab6e63abc3919ad2791ab12e3c8f9579199efd6095b03b545c1d334ab831340033a5d8145952218c2a6f112e34281 languageName: node linkType: hard @@ -1821,7 +1821,7 @@ __metadata: "@fragnova/api-augment": "npm:0.1.0-spec-1.0.4-mainnet" "@frequency-chain/api-augment": "npm:1.11.1" "@interlay/interbtc-types": "npm:1.13.0" - "@kiltprotocol/type-definitions": "npm:^1.11200.0" + "@kiltprotocol/type-definitions": "npm:^1.11401.0" "@laminar/type-definitions": "npm:0.3.1" "@logion/node-api": "npm:0.27.0-4" "@mangata-finance/type-definitions": "npm:^2.1.2"