From ba08ec57aa9455ebf7fa8b149abfdf76643c022c Mon Sep 17 00:00:00 2001 From: Jaco Date: Tue, 25 Apr 2023 09:14:46 +0300 Subject: [PATCH] Bump deps (#9371) * Bump deps * Dedupe * Wade through TS errors (w/ @types/react on latest) --- package.json | 4 +- packages/apps-config/package.json | 12 +- packages/apps-config/src/api/typesBundle.ts | 2592 ++++++++++++++++- packages/apps-electron/package.json | 13 +- packages/apps-routing/package.json | 7 +- packages/apps/package.json | 9 +- packages/page-accounts/package.json | 5 + .../page-accounts/src/Sidebar/Multisig.tsx | 2 +- packages/page-accounts/src/modals/Import.tsx | 2 +- packages/page-addresses/package.json | 5 + packages/page-alliance/package.json | 7 +- packages/page-assets/package.json | 5 + packages/page-bounties/package.json | 5 + packages/page-calendar/package.json | 5 + packages/page-claims/package.json | 5 + packages/page-claims/src/util.ts | 2 +- packages/page-collator/package.json | 7 +- packages/page-contracts/package.json | 5 + .../page-contracts/src/Contracts/util.tsx | 3 +- packages/page-council/package.json | 5 + packages/page-democracy/package.json | 5 + packages/page-explorer/package.json | 5 + packages/page-extrinsics/package.json | 5 + packages/page-fellowship/package.json | 7 +- packages/page-files/package.json | 5 + packages/page-gilt/package.json | 5 + packages/page-js/package.json | 5 + .../page-js/src/snippets/storage-examples.ts | 3 +- packages/page-js/src/types.ts | 6 +- packages/page-membership/package.json | 5 + packages/page-nfts/package.json | 5 + packages/page-parachains/package.json | 5 + packages/page-poll/package.json | 5 + packages/page-preimages/package.json | 7 +- packages/page-ranked/package.json | 7 +- packages/page-referenda/package.json | 5 + packages/page-rpc/package.json | 5 + packages/page-runtime/package.json | 5 + packages/page-scheduler/package.json | 7 +- packages/page-settings/package.json | 5 + packages/page-signing/package.json | 5 + packages/page-society/package.json | 5 + packages/page-staking/package.json | 5 + packages/page-staking2/package.json | 7 +- packages/page-storage/package.json | 5 + packages/page-sudo/package.json | 5 + packages/page-tech-comm/package.json | 5 + packages/page-treasury/package.json | 5 + packages/page-utilities/package.json | 5 + packages/page-whitelist/package.json | 7 +- packages/react-api/package.json | 5 + packages/react-api/src/hoc/types.ts | 2 +- packages/react-components/package.json | 16 +- packages/react-components/src/AddressMini.tsx | 4 +- .../react-components/src/AddressSmall.tsx | 6 +- .../src/InputAddress/index.tsx | 7 +- packages/react-components/src/Row.tsx | 2 +- .../react-components/src/SortDropdown.tsx | 4 +- packages/react-components/src/Static.tsx | 2 +- .../react-components/src/Status/index.tsx | 2 +- packages/react-hooks/package.json | 5 + packages/react-params/package.json | 5 + packages/react-params/src/Param/Static.tsx | 2 +- packages/react-query/package.json | 7 +- packages/react-signer/package.json | 5 + packages/test-support/package.json | 5 + yarn.lock | 317 +- 67 files changed, 3142 insertions(+), 115 deletions(-) diff --git a/package.json b/package.json index 24d11c304a..924bf0b740 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "concurrently": "^8.0.1", "devtron": "^1.4.0", "dnslink-cloudflare": "^3.0.0", - "electron": "^23.2.4", + "electron": "^24.1.2", "electron-builder": "23.6.0", "electron-builder-notarize": "^1.5.1", "i18next-scanner": "^4.2.0", @@ -89,7 +89,7 @@ "react-dom": "^18.2.0", "react-is": "^18.2.0", "source-map-explorer": "^2.5.3", - "styled-components": "^5.3.9" + "styled-components": "^5.3.10" }, "resolutions": { "@polkadot/api": "^10.4.1", diff --git a/packages/apps-config/package.json b/packages/apps-config/package.json index 0860853454..b6ce2e9d35 100644 --- a/packages/apps-config/package.json +++ b/packages/apps-config/package.json @@ -26,7 +26,7 @@ "@edgeware/node-types": "3.6.2-wako", "@equilab/definitions": "1.4.18", "@fragnova/api-augment": "0.1.0-spec-1.0.4-mainnet", - "@frequency-chain/api-augment": "1.6.0-rc3", + "@frequency-chain/api-augment": "1.6.1", "@interlay/interbtc-types": "1.12.0", "@kiltprotocol/type-definitions": "0.32.0", "@laminar/type-definitions": "0.3.1", @@ -42,14 +42,14 @@ "@polkadot/wasm-util": "^7.1.1", "@polkadot/x-fetch": "^12.0.1", "@polkadot/x-ws": "^12.0.1", - "@polymeshassociation/polymesh-types": "5.3.0", + "@polymeshassociation/polymesh-types": "5.4.0", "@snowfork/snowbridge-types": "0.2.7", - "@sora-substrate/type-definitions": "1.16.4", - "@subsocial/definitions": "0.8.8", + "@sora-substrate/type-definitions": "1.17.1", + "@subsocial/definitions": "0.8.10", "@unique-nft/opal-testnet-types": "939.54.0", - "@unique-nft/quartz-mainnet-types": "937.53.1", + "@unique-nft/quartz-mainnet-types": "939.54.0", "@unique-nft/sapphire-mainnet-types": "939.54.0", - "@unique-nft/unique-mainnet-types": "937.53.1", + "@unique-nft/unique-mainnet-types": "939.54.0", "@zeitgeistpm/type-defs": "1.0.0", "@zeroio/type-definitions": "0.0.14", "moonbeam-types-bundle": "2.0.10", diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts index 4b7a35ca97..e8a5ff8f5b 100644 --- a/packages/apps-config/src/api/typesBundle.ts +++ b/packages/apps-config/src/api/typesBundle.ts @@ -54370,7 +54370,7 @@ export const typesBundle = { "HandleSuffix": "u16", "HandleResponse": { "base_handle": "String", - "canonical_handle": "String", + "canonical_base": "String", "suffix": "u16" }, "PresumptiveSuffixesResponse": { @@ -54829,7 +54829,7 @@ export const typesBundle = { "HandleSuffix": "u16", "HandleResponse": { "base_handle": "String", - "canonical_handle": "String", + "canonical_base": "String", "suffix": "u16" }, "PresumptiveSuffixesResponse": { @@ -72119,9 +72119,1303 @@ export const typesBundle = { ], "type": "Vec" } + }, + "nft": { + "validateNFTTransfer": { + "description": "Verifies if and the sender and receiver are not the same, if both have valid balances, if the sender owns the nft, and if all compliance rules are being respected.", + "params": [ + { + "name": "sender_portfolio", + "type": "PortfolioId", + "isOptional": false + }, + { + "name": "receiver_portfolio", + "type": "PortfolioId", + "isOptional": false + }, + { + "name": "nfts", + "type": "NFTs", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "DispatchResult" + } } }, "types": [ + { + "minmax": [ + 5004000, + 5004009 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "IdentityId": "[u8; 32]", + "EventDid": "IdentityId", + "EventCounts": "Vec", + "ErrorAt": "(u32, DispatchError)", + "InvestorUid": "[u8; 16]", + "Ticker": "[u8; 12]", + "CddId": "[u8; 32]", + "ScopeId": "[u8; 32]", + "PosRatio": "(u32, u32)", + "DocumentId": "u32", + "DocumentName": "Text", + "DocumentUri": "Text", + "DocumentHash": { + "_enum": { + "None": "", + "H512": "[u8; 64]", + "H384": "[u8; 48]", + "H320": "[u8; 40]", + "H256": "[u8; 32]", + "H224": "[u8; 28]", + "H192": "[u8; 24]", + "H160": "[u8; 20]", + "H128": "[u8; 16]" + } + }, + "DocumentType": "Text", + "Document": { + "uri": "DocumentUri", + "content_hash": "DocumentHash", + "name": "DocumentName", + "doc_type": "Option", + "filing_date": "Option" + }, + "Version": "u8", + "CustomAssetTypeId": "u32", + "AssetType": { + "_enum": { + "EquityCommon": "", + "EquityPreferred": "", + "Commodity": "", + "FixedIncome": "", + "REIT": "", + "Fund": "", + "RevenueShareAgreement": "", + "StructuredProduct": "", + "Derivative": "", + "Custom": "CustomAssetTypeId", + "StableCoin": "", + "NonFungible": "NonFungibleType" + } + }, + "AssetIdentifier": { + "_enum": { + "CUSIP": "[u8; 9]", + "CINS": "[u8; 9]", + "ISIN": "[u8; 12]", + "LEI": "[u8; 20]", + "FIGI": "[u8; 12]" + } + }, + "AssetOwnershipRelation": { + "_enum": { + "NotOwned": "", + "TickerOwned": "", + "AssetOwned": "" + } + }, + "AssetName": "Text", + "FundingRoundName": "Text", + "VenueDetails": "Text", + "SecurityToken": { + "total_supply": "Balance", + "owner_did": "IdentityId", + "divisible": "bool", + "asset_type": "AssetType" + }, + "AssetMetadataName": "Text", + "AssetMetadataValue": "Vec", + "AssetMetadataLocalKey": "u64", + "AssetMetadataGlobalKey": "u64", + "AssetMetadataKey": { + "_enum": { + "Global": "u64", + "Local": "u64" + } + }, + "AssetMetadataLockStatus": { + "_enum": { + "Unlocked": "", + "Locked": "", + "LockedUntil": "Moment" + } + }, + "AssetMetadataValueDetail": { + "expire": "Option", + "lock_status": "AssetMetadataLockStatus" + }, + "AssetMetadataDescription": "Text", + "AssetMetadataSpec": { + "url": "Option", + "description": "Option", + "type_def": "Option>" + }, + "PalletName": "Text", + "DispatchableName": "Text", + "AssetPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PortfolioPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "DispatchableNames": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PalletPermissions": { + "pallet_name": "PalletName", + "dispatchable_names": "DispatchableNames" + }, + "ExtrinsicPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "Permissions": { + "asset": "AssetPermissions", + "extrinsic": "ExtrinsicPermissions", + "portfolio": "PortfolioPermissions" + }, + "Signatory": { + "_enum": { + "Identity": "IdentityId", + "Account": "AccountId" + } + }, + "SecondaryKey": { + "key": "AccountId", + "permissions": "Permissions" + }, + "SecondaryKeyWithAuth": { + "secondary_key": "SecondaryKey", + "auth_signature": "H512" + }, + "Subsidy": { + "paying_key": "AccountId", + "remaining": "Balance" + }, + "IdentityRole": { + "_enum": [ + "Issuer", + "SimpleTokenIssuer", + "Validator", + "ClaimIssuer", + "Investor", + "NodeRunner", + "PM", + "CDDAMLClaimIssuer", + "AccreditedInvestorClaimIssuer", + "VerifiedIdentityClaimIssuer" + ] + }, + "PreAuthorizedKeyInfo": { + "target_id": "IdentityId", + "secondary_key": "SecondaryKey" + }, + "DidRecord": { + "primary_key": "Option" + }, + "KeyRecord": { + "_enum": { + "PrimaryKey": "IdentityId", + "SecondaryKey": "(IdentityId, Permissions)", + "MultiSigSignerKey": "AccountId" + } + }, + "KeyIdentityData": { + "identity": "IdentityId", + "permissions": "Option" + }, + "CountryCode": { + "_enum": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BA", + "BW", + "BV", + "BR", + "VG", + "IO", + "BN", + "BG", + "BF", + "BI", + "KH", + "CM", + "CA", + "CV", + "KY", + "CF", + "TD", + "CL", + "CN", + "HK", + "MO", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MK", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "AN", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SZ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW", + "BQ", + "CW", + "SX" + ] + }, + "Scope": { + "_enum": { + "Identity": "IdentityId", + "Ticker": "Ticker", + "Custom": "Vec" + } + }, + "InvestorZKProofData": "[u8; 64]", + "Scalar": "[u8; 32]", + "RistrettoPoint": "[u8; 32]", + "ZkProofData": { + "challenge_responses": "[Scalar; 2]", + "subtract_expressions_res": "RistrettoPoint", + "blinded_scope_did_hash": "RistrettoPoint" + }, + "ScopeClaimProof": { + "proof_scope_id_wellformed": "Signature", + "proof_scope_id_cdd_id_match": "ZkProofData", + "scope_id": "RistrettoPoint" + }, + "CustomClaimTypeId": "u32", + "Claim": { + "_enum": { + "Accredited": "Scope", + "Affiliate": "Scope", + "BuyLockup": "Scope", + "SellLockup": "Scope", + "CustomerDueDiligence": "CddId", + "KnowYourCustomer": "Scope", + "Jurisdiction": "(CountryCode, Scope)", + "Exempted": "Scope", + "Blocked": "Scope", + "InvestorUniqueness": "(Scope, ScopeId, CddId)", + "NoData": "", + "InvestorUniquenessV2": "CddId", + "Custom": "(CustomClaimTypeId, Option)" + } + }, + "ClaimType": { + "_enum": { + "Accredited": "", + "Affiliate": "", + "BuyLockup": "", + "SellLockup": "", + "CustomerDueDiligence": "", + "KnowYourCustomer": "", + "Jurisdiction": "", + "Exempted": "", + "Blocked": "", + "InvestorUniqueness": "", + "NoData": "", + "InvestorUniquenessV2": "", + "Custom": "CustomClaimTypeId" + } + }, + "IdentityClaim": { + "claim_issuer": "IdentityId", + "issuance_date": "Moment", + "last_update_date": "Moment", + "expiry": "Option", + "claim": "Claim" + }, + "ComplianceRequirement": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32" + }, + "ComplianceRequirementResult": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32", + "result": "bool" + }, + "ConditionType": { + "_enum": { + "IsPresent": "Claim", + "IsAbsent": "Claim", + "IsAnyOf": "Vec", + "IsNoneOf": "Vec", + "IsIdentity": "TargetIdentity" + } + }, + "TrustedFor": { + "_enum": { + "Any": "", + "Specific": "Vec" + } + }, + "TrustedIssuer": { + "issuer": "IdentityId", + "trusted_for": "TrustedFor" + }, + "Condition": { + "condition_type": "ConditionType", + "issuers": "Vec" + }, + "ConditionResult": { + "condition": "Condition", + "result": "bool" + }, + "TargetIdAuthorization": { + "target_id": "IdentityId", + "nonce": "u64", + "expires_at": "Moment" + }, + "TickerRegistration": { + "owner": "IdentityId", + "expiry": "Option" + }, + "TickerRegistrationConfig": { + "max_ticker_length": "u8", + "registration_length": "Option" + }, + "ClassicTickerRegistration": { + "eth_owner": "EthereumAddress", + "is_created": "bool" + }, + "ClassicTickerImport": { + "eth_owner": "EthereumAddress", + "ticker": "Ticker", + "is_contract": "bool", + "is_created": "bool" + }, + "EthereumAddress": "[u8; 20]", + "EcdsaSignature": "[u8; 65]", + "MotionTitle": "Text", + "MotionInfoLink": "Text", + "ChoiceTitle": "Text", + "Motion": { + "title": "MotionTitle", + "info_link": "MotionInfoLink", + "choices": "Vec" + }, + "BallotTitle": "Text", + "BallotMeta": { + "title": "BallotTitle", + "motions": "Vec" + }, + "BallotTimeRange": { + "start": "Moment", + "end": "Moment" + }, + "BallotVote": { + "power": "Balance", + "fallback": "Option" + }, + "MaybeBlock": { + "_enum": { + "Some": "BlockNumber", + "None": "" + } + }, + "Url": "Text", + "PipDescription": "Text", + "PipsMetadata": { + "id": "PipId", + "url": "Option", + "description": "Option", + "created_at": "BlockNumber", + "transaction_version": "u32", + "expiry": "MaybeBlock" + }, + "Proposer": { + "_enum": { + "Community": "AccountId", + "Committee": "Committee" + } + }, + "Committee": { + "_enum": { + "Technical": "", + "Upgrade": "" + } + }, + "SkippedCount": "u8", + "SnapshottedPip": { + "id": "PipId", + "weight": "(bool, Balance)" + }, + "SnapshotId": "u32", + "SnapshotMetadata": { + "created_at": "BlockNumber", + "made_by": "AccountId", + "id": "SnapshotId" + }, + "SnapshotResult": { + "_enum": { + "Approve": "", + "Reject": "", + "Skip": "" + } + }, + "Beneficiary": { + "id": "IdentityId", + "amount": "Balance" + }, + "DepositInfo": { + "owner": "AccountId", + "amount": "Balance" + }, + "PolymeshVotes": { + "index": "u32", + "ayes": "Vec", + "nays": "Vec", + "expiry": "MaybeBlock" + }, + "PipId": "u32", + "ProposalState": { + "_enum": [ + "Pending", + "Rejected", + "Scheduled", + "Failed", + "Executed", + "Expired" + ] + }, + "Pip": { + "id": "PipId", + "proposal": "Call", + "proposer": "Proposer" + }, + "ProposalData": { + "_enum": { + "Hash": "Hash", + "Proposal": "Vec" + } + }, + "OffChainSignature": "MultiSignature", + "Authorization": { + "authorization_data": "AuthorizationData", + "authorized_by": "IdentityId", + "expiry": "Option", + "auth_id": "u64" + }, + "AuthorizationData": { + "_enum": { + "AttestPrimaryKeyRotation": "IdentityId", + "RotatePrimaryKey": "", + "TransferTicker": "Ticker", + "AddMultiSigSigner": "AccountId", + "TransferAssetOwnership": "Ticker", + "JoinIdentity": "Permissions", + "PortfolioCustody": "PortfolioId", + "BecomeAgent": "(Ticker, AgentGroup)", + "AddRelayerPayingKey": "(AccountId, AccountId, Balance)", + "RotatePrimaryKeyToSecondary": "Permissions" + } + }, + "AuthorizationNonce": "u64", + "Percentage": "Permill", + "RestrictionResult": { + "_enum": [ + "Valid", + "Invalid", + "ForceValid" + ] + }, + "Memo": "[u8; 32]", + "BridgeTx": { + "nonce": "u32", + "recipient": "AccountId", + "amount": "Balance", + "tx_hash": "H256" + }, + "AssetScope": { + "_enum": { + "Ticker": "Ticker" + } + }, + "StatOpType": { + "_enum": [ + "Count", + "Balance" + ] + }, + "StatType": { + "op": "StatOpType", + "claim_issuer": "Option<(ClaimType, IdentityId)>" + }, + "StatClaim": { + "_enum": { + "Accredited": "bool", + "Affiliate": "bool", + "Jurisdiction": "Option" + } + }, + "Stat1stKey": { + "asset": "AssetScope", + "stat_type": "StatType" + }, + "Stat2ndKey": { + "_enum": { + "NoClaimStat": "", + "Claim": "StatClaim" + } + }, + "StatUpdate": { + "key2": "Stat2ndKey", + "value": "Option" + }, + "TransferCondition": { + "_enum": { + "MaxInvestorCount": "u64", + "MaxInvestorOwnership": "Percentage", + "ClaimCount": "(StatClaim, IdentityId, u64, Option)", + "ClaimOwnership": "(StatClaim, IdentityId, Percentage, Percentage)" + } + }, + "AssetTransferCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "TransferConditionExemptKey": { + "asset": "AssetScope", + "op": "StatOpType", + "claim_type": "Option" + }, + "AssetCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "AssetComplianceResult": { + "paused": "bool", + "requirements": "Vec", + "result": "bool" + }, + "Claim1stKey": { + "target": "IdentityId", + "claim_type": "ClaimType" + }, + "Claim2ndKey": { + "issuer": "IdentityId", + "scope": "Option" + }, + "InactiveMember": { + "id": "IdentityId", + "deactivated_at": "Moment", + "expiry": "Option" + }, + "VotingResult": { + "ayes_count": "u32", + "ayes_stake": "Balance", + "nays_count": "u32", + "nays_stake": "Balance" + }, + "ProtocolOp": { + "_enum": [ + "AssetRegisterTicker", + "AssetIssue", + "AssetAddDocuments", + "AssetCreateAsset", + "CheckpointCreateSchedule", + "ComplianceManagerAddComplianceRequirement", + "IdentityCddRegisterDid", + "IdentityAddClaim", + "IdentityAddSecondaryKeysWithAuthorization", + "PipsPropose", + "ContractsPutCode", + "CorporateBallotAttachBallot", + "CapitalDistributionDistribute" + ] + }, + "CddStatus": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "AssetDidResult": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "RpcDidRecordsSuccess": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "RpcDidRecords": { + "_enum": { + "Success": "RpcDidRecordsSuccess", + "IdNotFound": "Vec" + } + }, + "VoteCountProposalFound": { + "ayes": "u64", + "nays": "u64" + }, + "VoteCount": { + "_enum": { + "ProposalFound": "VoteCountProposalFound", + "ProposalNotFound": "" + } + }, + "Vote": "(bool, Balance)", + "VoteByPip": { + "pip": "PipId", + "vote": "Vote" + }, + "BridgeTxDetail": { + "amount": "Balance", + "status": "BridgeTxStatus", + "execution_block": "BlockNumber", + "tx_hash": "H256" + }, + "BridgeTxStatus": { + "_enum": { + "Absent": "", + "Pending": "u8", + "Frozen": "", + "Timelocked": "", + "Handled": "" + } + }, + "HandledTxStatus": { + "_enum": { + "Success": "", + "Error": "Text" + } + }, + "CappedFee": "u64", + "CanTransferResult": { + "_enum": { + "Ok": "u8", + "Err": "Vec" + } + }, + "AuthorizationType": { + "_enum": { + "AttestPrimaryKeyRotation": "", + "RotatePrimaryKey": "", + "TransferTicker": "", + "AddMultiSigSigner": "", + "TransferAssetOwnership": "", + "JoinIdentity": "", + "PortfolioCustody": "", + "BecomeAgent": "", + "AddRelayerPayingKey": "", + "RotatePrimaryKeyToSecondary": "" + } + }, + "ProposalDetails": { + "approvals": "u64", + "rejections": "u64", + "status": "ProposalStatus", + "expiry": "Option", + "auto_close": "bool" + }, + "ProposalStatus": { + "_enum": { + "Invalid": "", + "ActiveOrExpired": "", + "ExecutionSuccessful": "", + "ExecutionFailed": "", + "Rejected": "" + } + }, + "DidStatus": { + "_enum": { + "Unknown": "", + "Exists": "", + "CddVerified": "" + } + }, + "PortfolioName": "Text", + "PortfolioNumber": "u64", + "PortfolioKind": { + "_enum": { + "Default": "", + "User": "PortfolioNumber" + } + }, + "PortfolioId": { + "did": "IdentityId", + "kind": "PortfolioKind" + }, + "Moment": "u64", + "CalendarUnit": { + "_enum": [ + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ] + }, + "CalendarPeriod": { + "unit": "CalendarUnit", + "amount": "u64" + }, + "CheckpointSchedule": { + "start": "Moment", + "period": "CalendarPeriod" + }, + "CheckpointId": "u64", + "ScheduleId": "u64", + "StoredSchedule": { + "schedule": "CheckpointSchedule", + "id": "ScheduleId", + "at": "Moment", + "remaining": "u32" + }, + "ScheduleSpec": { + "start": "Option", + "period": "CalendarPeriod", + "remaining": "u32" + }, + "InstructionStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Failed": "" + } + }, + "LegStatus": { + "_enum": { + "PendingTokenLock": "", + "ExecutionPending": "", + "ExecutionToBeSkipped": "(AccountId, u64)" + } + }, + "AffirmationStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Affirmed": "" + } + }, + "SettlementType": { + "_enum": { + "SettleOnAffirmation": "", + "SettleOnBlock": "BlockNumber", + "SettleManual": "BlockNumber" + } + }, + "LegId": "u64", + "InstructionId": "u64", + "Instruction": { + "instruction_id": "InstructionId", + "venue_id": "VenueId", + "status": "InstructionStatus", + "settlement_type": "SettlementType", + "created_at": "Option", + "trade_date": "Option", + "value_date": "Option" + }, + "Leg": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "Venue": { + "creator": "IdentityId", + "venue_type": "VenueType" + }, + "Receipt": { + "receipt_uid": "u64", + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "ReceiptMetadata": "Text", + "ReceiptDetails": { + "receipt_uid": "u64", + "leg_id": "LegId", + "signer": "AccountId", + "signature": "OffChainSignature", + "metadata": "ReceiptMetadata" + }, + "UniqueCall": { + "nonce": "u64", + "call": "Call" + }, + "MovePortfolioItem": { + "ticker": "Ticker", + "amount": "Balance", + "memo": "Option" + }, + "WeightToFeeCoefficient": { + "coeffInteger": "Balance", + "coeffFrac": "Perbill", + "negative": "bool", + "degree": "u8" + }, + "WeightPerClass": { + "baseExtrinsic": "Weight", + "maxExtrinsic": "Option", + "maxTotal": "Option", + "reserved": "Option" + }, + "TargetIdentity": { + "_enum": { + "ExternalAgent": "", + "Specific": "IdentityId" + } + }, + "FundraiserId": "u64", + "FundraiserName": "Text", + "FundraiserStatus": { + "_enum": [ + "Live", + "Frozen", + "Closed", + "ClosedEarly" + ] + }, + "FundraiserTier": { + "total": "Balance", + "price": "Balance", + "remaining": "Balance" + }, + "Fundraiser": { + "creator": "IdentityId", + "offering_portfolio": "PortfolioId", + "offering_asset": "Ticker", + "raising_portfolio": "PortfolioId", + "raising_asset": "Ticker", + "tiers": "Vec", + "venue_id": "VenueId", + "start": "Moment", + "end": "Option", + "status": "FundraiserStatus", + "minimum_investment": "Balance" + }, + "VenueId": "u64", + "VenueType": { + "_enum": [ + "Other", + "Distribution", + "Sto", + "Exchange" + ] + }, + "Tax": "Permill", + "TargetIdentities": { + "identities": "Vec", + "treatment": "TargetTreatment" + }, + "TargetTreatment": { + "_enum": [ + "Include", + "Exclude" + ] + }, + "CAKind": { + "_enum": [ + "PredictableBenefit", + "UnpredictableBenefit", + "IssuerNotice", + "Reorganization", + "Other" + ] + }, + "CADetails": "Text", + "CACheckpoint": { + "_enum": { + "Scheduled": "(ScheduleId, u64)", + "Existing": "CheckpointId" + } + }, + "RecordDate": { + "date": "Moment", + "checkpoint": "CACheckpoint" + }, + "RecordDateSpec": { + "_enum": { + "Scheduled": "Moment", + "ExistingSchedule": "ScheduleId", + "Existing": "CheckpointId" + } + }, + "CorporateAction": { + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "targets": "TargetIdentities", + "default_withholding_tax": "Tax", + "withholding_tax": "Vec<(IdentityId, Tax)>" + }, + "InitiateCorporateActionArgs": { + "ticker": "Ticker", + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "details": "CADetails", + "targets": "Option", + "default_withholding_tax": "Option", + "withholding_tax": "Option>" + }, + "LocalCAId": "u32", + "CAId": { + "ticker": "Ticker", + "local_id": "LocalCAId" + }, + "Distribution": { + "from": "PortfolioId", + "currency": "Ticker", + "per_share": "Balance", + "amount": "Balance", + "remaining": "Balance", + "reclaimed": "bool", + "payment_at": "Moment", + "expires_at": "Option" + }, + "SlashingSwitch": { + "_enum": [ + "Validator", + "ValidatorAndNominator", + "None" + ] + }, + "PriceTier": { + "total": "Balance", + "price": "Balance" + }, + "PermissionedIdentityPrefs": { + "intended_count": "u32", + "running_count": "u32" + }, + "GranularCanTransferResult": { + "invalid_granularity": "bool", + "self_transfer": "bool", + "invalid_receiver_cdd": "bool", + "invalid_sender_cdd": "bool", + "missing_scope_claim": "bool", + "receiver_custodian_error": "bool", + "sender_custodian_error": "bool", + "sender_insufficient_balance": "bool", + "portfolio_validity_result": "PortfolioValidityResult", + "asset_frozen": "bool", + "transfer_condition_result": "Vec", + "compliance_result": "AssetComplianceResult", + "result": "bool" + }, + "PortfolioValidityResult": { + "receiver_is_same_portfolio": "bool", + "sender_portfolio_does_not_exist": "bool", + "receiver_portfolio_does_not_exist": "bool", + "sender_insufficient_balance": "bool", + "result": "bool" + }, + "TransferConditionResult": { + "condition": "TransferCondition", + "result": "bool" + }, + "AGId": "u32", + "AgentGroup": { + "_enum": { + "Full": "", + "Custom": "AGId", + "ExceptMeta": "", + "PolymeshV1CAA": "", + "PolymeshV1PIA": "" + } + }, + "Member": { + "id": "IdentityId", + "expiry_at": "Option", + "inactive_from": "Option" + }, + "ItnRewardStatus": { + "_enum": { + "Unclaimed": "Balance", + "Claimed": "" + } + }, + "NFTId": "u64", + "NFTs": { + "ticker": "Ticker", + "ids": "Vec" + }, + "FungibleToken": { + "ticker": "Ticker", + "amount": "Balance" + }, + "LegAsset": { + "_enum": { + "Fungible": "FungibleToken", + "NonFungible": "NFTs" + } + }, + "LegV2": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "LegAsset" + }, + "FundDescription": { + "_enum": { + "Fungible": "FungibleToken", + "NonFungible": "NFTs" + } + }, + "Fund": { + "description": "FundDescription", + "memo": "Option" + }, + "NonFungibleType": { + "_enum": { + "Derivative": "", + "FixedIncome": "", + "Invoice": "", + "Custom": "CustomAssetTypeId" + } + } + } + }, { "minmax": [ 5003000, @@ -82133,9 +83427,1303 @@ export const typesBundle = { ], "type": "Vec" } + }, + "nft": { + "validateNFTTransfer": { + "description": "Verifies if and the sender and receiver are not the same, if both have valid balances, if the sender owns the nft, and if all compliance rules are being respected.", + "params": [ + { + "name": "sender_portfolio", + "type": "PortfolioId", + "isOptional": false + }, + { + "name": "receiver_portfolio", + "type": "PortfolioId", + "isOptional": false + }, + { + "name": "nfts", + "type": "NFTs", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "DispatchResult" + } } }, "types": [ + { + "minmax": [ + 5004000, + 5004009 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "IdentityId": "[u8; 32]", + "EventDid": "IdentityId", + "EventCounts": "Vec", + "ErrorAt": "(u32, DispatchError)", + "InvestorUid": "[u8; 16]", + "Ticker": "[u8; 12]", + "CddId": "[u8; 32]", + "ScopeId": "[u8; 32]", + "PosRatio": "(u32, u32)", + "DocumentId": "u32", + "DocumentName": "Text", + "DocumentUri": "Text", + "DocumentHash": { + "_enum": { + "None": "", + "H512": "[u8; 64]", + "H384": "[u8; 48]", + "H320": "[u8; 40]", + "H256": "[u8; 32]", + "H224": "[u8; 28]", + "H192": "[u8; 24]", + "H160": "[u8; 20]", + "H128": "[u8; 16]" + } + }, + "DocumentType": "Text", + "Document": { + "uri": "DocumentUri", + "content_hash": "DocumentHash", + "name": "DocumentName", + "doc_type": "Option", + "filing_date": "Option" + }, + "Version": "u8", + "CustomAssetTypeId": "u32", + "AssetType": { + "_enum": { + "EquityCommon": "", + "EquityPreferred": "", + "Commodity": "", + "FixedIncome": "", + "REIT": "", + "Fund": "", + "RevenueShareAgreement": "", + "StructuredProduct": "", + "Derivative": "", + "Custom": "CustomAssetTypeId", + "StableCoin": "", + "NonFungible": "NonFungibleType" + } + }, + "AssetIdentifier": { + "_enum": { + "CUSIP": "[u8; 9]", + "CINS": "[u8; 9]", + "ISIN": "[u8; 12]", + "LEI": "[u8; 20]", + "FIGI": "[u8; 12]" + } + }, + "AssetOwnershipRelation": { + "_enum": { + "NotOwned": "", + "TickerOwned": "", + "AssetOwned": "" + } + }, + "AssetName": "Text", + "FundingRoundName": "Text", + "VenueDetails": "Text", + "SecurityToken": { + "total_supply": "Balance", + "owner_did": "IdentityId", + "divisible": "bool", + "asset_type": "AssetType" + }, + "AssetMetadataName": "Text", + "AssetMetadataValue": "Vec", + "AssetMetadataLocalKey": "u64", + "AssetMetadataGlobalKey": "u64", + "AssetMetadataKey": { + "_enum": { + "Global": "u64", + "Local": "u64" + } + }, + "AssetMetadataLockStatus": { + "_enum": { + "Unlocked": "", + "Locked": "", + "LockedUntil": "Moment" + } + }, + "AssetMetadataValueDetail": { + "expire": "Option", + "lock_status": "AssetMetadataLockStatus" + }, + "AssetMetadataDescription": "Text", + "AssetMetadataSpec": { + "url": "Option", + "description": "Option", + "type_def": "Option>" + }, + "PalletName": "Text", + "DispatchableName": "Text", + "AssetPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PortfolioPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "DispatchableNames": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PalletPermissions": { + "pallet_name": "PalletName", + "dispatchable_names": "DispatchableNames" + }, + "ExtrinsicPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "Permissions": { + "asset": "AssetPermissions", + "extrinsic": "ExtrinsicPermissions", + "portfolio": "PortfolioPermissions" + }, + "Signatory": { + "_enum": { + "Identity": "IdentityId", + "Account": "AccountId" + } + }, + "SecondaryKey": { + "key": "AccountId", + "permissions": "Permissions" + }, + "SecondaryKeyWithAuth": { + "secondary_key": "SecondaryKey", + "auth_signature": "H512" + }, + "Subsidy": { + "paying_key": "AccountId", + "remaining": "Balance" + }, + "IdentityRole": { + "_enum": [ + "Issuer", + "SimpleTokenIssuer", + "Validator", + "ClaimIssuer", + "Investor", + "NodeRunner", + "PM", + "CDDAMLClaimIssuer", + "AccreditedInvestorClaimIssuer", + "VerifiedIdentityClaimIssuer" + ] + }, + "PreAuthorizedKeyInfo": { + "target_id": "IdentityId", + "secondary_key": "SecondaryKey" + }, + "DidRecord": { + "primary_key": "Option" + }, + "KeyRecord": { + "_enum": { + "PrimaryKey": "IdentityId", + "SecondaryKey": "(IdentityId, Permissions)", + "MultiSigSignerKey": "AccountId" + } + }, + "KeyIdentityData": { + "identity": "IdentityId", + "permissions": "Option" + }, + "CountryCode": { + "_enum": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BA", + "BW", + "BV", + "BR", + "VG", + "IO", + "BN", + "BG", + "BF", + "BI", + "KH", + "CM", + "CA", + "CV", + "KY", + "CF", + "TD", + "CL", + "CN", + "HK", + "MO", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MK", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "AN", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SZ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW", + "BQ", + "CW", + "SX" + ] + }, + "Scope": { + "_enum": { + "Identity": "IdentityId", + "Ticker": "Ticker", + "Custom": "Vec" + } + }, + "InvestorZKProofData": "[u8; 64]", + "Scalar": "[u8; 32]", + "RistrettoPoint": "[u8; 32]", + "ZkProofData": { + "challenge_responses": "[Scalar; 2]", + "subtract_expressions_res": "RistrettoPoint", + "blinded_scope_did_hash": "RistrettoPoint" + }, + "ScopeClaimProof": { + "proof_scope_id_wellformed": "Signature", + "proof_scope_id_cdd_id_match": "ZkProofData", + "scope_id": "RistrettoPoint" + }, + "CustomClaimTypeId": "u32", + "Claim": { + "_enum": { + "Accredited": "Scope", + "Affiliate": "Scope", + "BuyLockup": "Scope", + "SellLockup": "Scope", + "CustomerDueDiligence": "CddId", + "KnowYourCustomer": "Scope", + "Jurisdiction": "(CountryCode, Scope)", + "Exempted": "Scope", + "Blocked": "Scope", + "InvestorUniqueness": "(Scope, ScopeId, CddId)", + "NoData": "", + "InvestorUniquenessV2": "CddId", + "Custom": "(CustomClaimTypeId, Option)" + } + }, + "ClaimType": { + "_enum": { + "Accredited": "", + "Affiliate": "", + "BuyLockup": "", + "SellLockup": "", + "CustomerDueDiligence": "", + "KnowYourCustomer": "", + "Jurisdiction": "", + "Exempted": "", + "Blocked": "", + "InvestorUniqueness": "", + "NoData": "", + "InvestorUniquenessV2": "", + "Custom": "CustomClaimTypeId" + } + }, + "IdentityClaim": { + "claim_issuer": "IdentityId", + "issuance_date": "Moment", + "last_update_date": "Moment", + "expiry": "Option", + "claim": "Claim" + }, + "ComplianceRequirement": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32" + }, + "ComplianceRequirementResult": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32", + "result": "bool" + }, + "ConditionType": { + "_enum": { + "IsPresent": "Claim", + "IsAbsent": "Claim", + "IsAnyOf": "Vec", + "IsNoneOf": "Vec", + "IsIdentity": "TargetIdentity" + } + }, + "TrustedFor": { + "_enum": { + "Any": "", + "Specific": "Vec" + } + }, + "TrustedIssuer": { + "issuer": "IdentityId", + "trusted_for": "TrustedFor" + }, + "Condition": { + "condition_type": "ConditionType", + "issuers": "Vec" + }, + "ConditionResult": { + "condition": "Condition", + "result": "bool" + }, + "TargetIdAuthorization": { + "target_id": "IdentityId", + "nonce": "u64", + "expires_at": "Moment" + }, + "TickerRegistration": { + "owner": "IdentityId", + "expiry": "Option" + }, + "TickerRegistrationConfig": { + "max_ticker_length": "u8", + "registration_length": "Option" + }, + "ClassicTickerRegistration": { + "eth_owner": "EthereumAddress", + "is_created": "bool" + }, + "ClassicTickerImport": { + "eth_owner": "EthereumAddress", + "ticker": "Ticker", + "is_contract": "bool", + "is_created": "bool" + }, + "EthereumAddress": "[u8; 20]", + "EcdsaSignature": "[u8; 65]", + "MotionTitle": "Text", + "MotionInfoLink": "Text", + "ChoiceTitle": "Text", + "Motion": { + "title": "MotionTitle", + "info_link": "MotionInfoLink", + "choices": "Vec" + }, + "BallotTitle": "Text", + "BallotMeta": { + "title": "BallotTitle", + "motions": "Vec" + }, + "BallotTimeRange": { + "start": "Moment", + "end": "Moment" + }, + "BallotVote": { + "power": "Balance", + "fallback": "Option" + }, + "MaybeBlock": { + "_enum": { + "Some": "BlockNumber", + "None": "" + } + }, + "Url": "Text", + "PipDescription": "Text", + "PipsMetadata": { + "id": "PipId", + "url": "Option", + "description": "Option", + "created_at": "BlockNumber", + "transaction_version": "u32", + "expiry": "MaybeBlock" + }, + "Proposer": { + "_enum": { + "Community": "AccountId", + "Committee": "Committee" + } + }, + "Committee": { + "_enum": { + "Technical": "", + "Upgrade": "" + } + }, + "SkippedCount": "u8", + "SnapshottedPip": { + "id": "PipId", + "weight": "(bool, Balance)" + }, + "SnapshotId": "u32", + "SnapshotMetadata": { + "created_at": "BlockNumber", + "made_by": "AccountId", + "id": "SnapshotId" + }, + "SnapshotResult": { + "_enum": { + "Approve": "", + "Reject": "", + "Skip": "" + } + }, + "Beneficiary": { + "id": "IdentityId", + "amount": "Balance" + }, + "DepositInfo": { + "owner": "AccountId", + "amount": "Balance" + }, + "PolymeshVotes": { + "index": "u32", + "ayes": "Vec", + "nays": "Vec", + "expiry": "MaybeBlock" + }, + "PipId": "u32", + "ProposalState": { + "_enum": [ + "Pending", + "Rejected", + "Scheduled", + "Failed", + "Executed", + "Expired" + ] + }, + "Pip": { + "id": "PipId", + "proposal": "Call", + "proposer": "Proposer" + }, + "ProposalData": { + "_enum": { + "Hash": "Hash", + "Proposal": "Vec" + } + }, + "OffChainSignature": "MultiSignature", + "Authorization": { + "authorization_data": "AuthorizationData", + "authorized_by": "IdentityId", + "expiry": "Option", + "auth_id": "u64" + }, + "AuthorizationData": { + "_enum": { + "AttestPrimaryKeyRotation": "IdentityId", + "RotatePrimaryKey": "", + "TransferTicker": "Ticker", + "AddMultiSigSigner": "AccountId", + "TransferAssetOwnership": "Ticker", + "JoinIdentity": "Permissions", + "PortfolioCustody": "PortfolioId", + "BecomeAgent": "(Ticker, AgentGroup)", + "AddRelayerPayingKey": "(AccountId, AccountId, Balance)", + "RotatePrimaryKeyToSecondary": "Permissions" + } + }, + "AuthorizationNonce": "u64", + "Percentage": "Permill", + "RestrictionResult": { + "_enum": [ + "Valid", + "Invalid", + "ForceValid" + ] + }, + "Memo": "[u8; 32]", + "BridgeTx": { + "nonce": "u32", + "recipient": "AccountId", + "amount": "Balance", + "tx_hash": "H256" + }, + "AssetScope": { + "_enum": { + "Ticker": "Ticker" + } + }, + "StatOpType": { + "_enum": [ + "Count", + "Balance" + ] + }, + "StatType": { + "op": "StatOpType", + "claim_issuer": "Option<(ClaimType, IdentityId)>" + }, + "StatClaim": { + "_enum": { + "Accredited": "bool", + "Affiliate": "bool", + "Jurisdiction": "Option" + } + }, + "Stat1stKey": { + "asset": "AssetScope", + "stat_type": "StatType" + }, + "Stat2ndKey": { + "_enum": { + "NoClaimStat": "", + "Claim": "StatClaim" + } + }, + "StatUpdate": { + "key2": "Stat2ndKey", + "value": "Option" + }, + "TransferCondition": { + "_enum": { + "MaxInvestorCount": "u64", + "MaxInvestorOwnership": "Percentage", + "ClaimCount": "(StatClaim, IdentityId, u64, Option)", + "ClaimOwnership": "(StatClaim, IdentityId, Percentage, Percentage)" + } + }, + "AssetTransferCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "TransferConditionExemptKey": { + "asset": "AssetScope", + "op": "StatOpType", + "claim_type": "Option" + }, + "AssetCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "AssetComplianceResult": { + "paused": "bool", + "requirements": "Vec", + "result": "bool" + }, + "Claim1stKey": { + "target": "IdentityId", + "claim_type": "ClaimType" + }, + "Claim2ndKey": { + "issuer": "IdentityId", + "scope": "Option" + }, + "InactiveMember": { + "id": "IdentityId", + "deactivated_at": "Moment", + "expiry": "Option" + }, + "VotingResult": { + "ayes_count": "u32", + "ayes_stake": "Balance", + "nays_count": "u32", + "nays_stake": "Balance" + }, + "ProtocolOp": { + "_enum": [ + "AssetRegisterTicker", + "AssetIssue", + "AssetAddDocuments", + "AssetCreateAsset", + "CheckpointCreateSchedule", + "ComplianceManagerAddComplianceRequirement", + "IdentityCddRegisterDid", + "IdentityAddClaim", + "IdentityAddSecondaryKeysWithAuthorization", + "PipsPropose", + "ContractsPutCode", + "CorporateBallotAttachBallot", + "CapitalDistributionDistribute" + ] + }, + "CddStatus": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "AssetDidResult": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "RpcDidRecordsSuccess": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "RpcDidRecords": { + "_enum": { + "Success": "RpcDidRecordsSuccess", + "IdNotFound": "Vec" + } + }, + "VoteCountProposalFound": { + "ayes": "u64", + "nays": "u64" + }, + "VoteCount": { + "_enum": { + "ProposalFound": "VoteCountProposalFound", + "ProposalNotFound": "" + } + }, + "Vote": "(bool, Balance)", + "VoteByPip": { + "pip": "PipId", + "vote": "Vote" + }, + "BridgeTxDetail": { + "amount": "Balance", + "status": "BridgeTxStatus", + "execution_block": "BlockNumber", + "tx_hash": "H256" + }, + "BridgeTxStatus": { + "_enum": { + "Absent": "", + "Pending": "u8", + "Frozen": "", + "Timelocked": "", + "Handled": "" + } + }, + "HandledTxStatus": { + "_enum": { + "Success": "", + "Error": "Text" + } + }, + "CappedFee": "u64", + "CanTransferResult": { + "_enum": { + "Ok": "u8", + "Err": "Vec" + } + }, + "AuthorizationType": { + "_enum": { + "AttestPrimaryKeyRotation": "", + "RotatePrimaryKey": "", + "TransferTicker": "", + "AddMultiSigSigner": "", + "TransferAssetOwnership": "", + "JoinIdentity": "", + "PortfolioCustody": "", + "BecomeAgent": "", + "AddRelayerPayingKey": "", + "RotatePrimaryKeyToSecondary": "" + } + }, + "ProposalDetails": { + "approvals": "u64", + "rejections": "u64", + "status": "ProposalStatus", + "expiry": "Option", + "auto_close": "bool" + }, + "ProposalStatus": { + "_enum": { + "Invalid": "", + "ActiveOrExpired": "", + "ExecutionSuccessful": "", + "ExecutionFailed": "", + "Rejected": "" + } + }, + "DidStatus": { + "_enum": { + "Unknown": "", + "Exists": "", + "CddVerified": "" + } + }, + "PortfolioName": "Text", + "PortfolioNumber": "u64", + "PortfolioKind": { + "_enum": { + "Default": "", + "User": "PortfolioNumber" + } + }, + "PortfolioId": { + "did": "IdentityId", + "kind": "PortfolioKind" + }, + "Moment": "u64", + "CalendarUnit": { + "_enum": [ + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ] + }, + "CalendarPeriod": { + "unit": "CalendarUnit", + "amount": "u64" + }, + "CheckpointSchedule": { + "start": "Moment", + "period": "CalendarPeriod" + }, + "CheckpointId": "u64", + "ScheduleId": "u64", + "StoredSchedule": { + "schedule": "CheckpointSchedule", + "id": "ScheduleId", + "at": "Moment", + "remaining": "u32" + }, + "ScheduleSpec": { + "start": "Option", + "period": "CalendarPeriod", + "remaining": "u32" + }, + "InstructionStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Failed": "" + } + }, + "LegStatus": { + "_enum": { + "PendingTokenLock": "", + "ExecutionPending": "", + "ExecutionToBeSkipped": "(AccountId, u64)" + } + }, + "AffirmationStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Affirmed": "" + } + }, + "SettlementType": { + "_enum": { + "SettleOnAffirmation": "", + "SettleOnBlock": "BlockNumber", + "SettleManual": "BlockNumber" + } + }, + "LegId": "u64", + "InstructionId": "u64", + "Instruction": { + "instruction_id": "InstructionId", + "venue_id": "VenueId", + "status": "InstructionStatus", + "settlement_type": "SettlementType", + "created_at": "Option", + "trade_date": "Option", + "value_date": "Option" + }, + "Leg": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "Venue": { + "creator": "IdentityId", + "venue_type": "VenueType" + }, + "Receipt": { + "receipt_uid": "u64", + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "ReceiptMetadata": "Text", + "ReceiptDetails": { + "receipt_uid": "u64", + "leg_id": "LegId", + "signer": "AccountId", + "signature": "OffChainSignature", + "metadata": "ReceiptMetadata" + }, + "UniqueCall": { + "nonce": "u64", + "call": "Call" + }, + "MovePortfolioItem": { + "ticker": "Ticker", + "amount": "Balance", + "memo": "Option" + }, + "WeightToFeeCoefficient": { + "coeffInteger": "Balance", + "coeffFrac": "Perbill", + "negative": "bool", + "degree": "u8" + }, + "WeightPerClass": { + "baseExtrinsic": "Weight", + "maxExtrinsic": "Option", + "maxTotal": "Option", + "reserved": "Option" + }, + "TargetIdentity": { + "_enum": { + "ExternalAgent": "", + "Specific": "IdentityId" + } + }, + "FundraiserId": "u64", + "FundraiserName": "Text", + "FundraiserStatus": { + "_enum": [ + "Live", + "Frozen", + "Closed", + "ClosedEarly" + ] + }, + "FundraiserTier": { + "total": "Balance", + "price": "Balance", + "remaining": "Balance" + }, + "Fundraiser": { + "creator": "IdentityId", + "offering_portfolio": "PortfolioId", + "offering_asset": "Ticker", + "raising_portfolio": "PortfolioId", + "raising_asset": "Ticker", + "tiers": "Vec", + "venue_id": "VenueId", + "start": "Moment", + "end": "Option", + "status": "FundraiserStatus", + "minimum_investment": "Balance" + }, + "VenueId": "u64", + "VenueType": { + "_enum": [ + "Other", + "Distribution", + "Sto", + "Exchange" + ] + }, + "Tax": "Permill", + "TargetIdentities": { + "identities": "Vec", + "treatment": "TargetTreatment" + }, + "TargetTreatment": { + "_enum": [ + "Include", + "Exclude" + ] + }, + "CAKind": { + "_enum": [ + "PredictableBenefit", + "UnpredictableBenefit", + "IssuerNotice", + "Reorganization", + "Other" + ] + }, + "CADetails": "Text", + "CACheckpoint": { + "_enum": { + "Scheduled": "(ScheduleId, u64)", + "Existing": "CheckpointId" + } + }, + "RecordDate": { + "date": "Moment", + "checkpoint": "CACheckpoint" + }, + "RecordDateSpec": { + "_enum": { + "Scheduled": "Moment", + "ExistingSchedule": "ScheduleId", + "Existing": "CheckpointId" + } + }, + "CorporateAction": { + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "targets": "TargetIdentities", + "default_withholding_tax": "Tax", + "withholding_tax": "Vec<(IdentityId, Tax)>" + }, + "InitiateCorporateActionArgs": { + "ticker": "Ticker", + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "details": "CADetails", + "targets": "Option", + "default_withholding_tax": "Option", + "withholding_tax": "Option>" + }, + "LocalCAId": "u32", + "CAId": { + "ticker": "Ticker", + "local_id": "LocalCAId" + }, + "Distribution": { + "from": "PortfolioId", + "currency": "Ticker", + "per_share": "Balance", + "amount": "Balance", + "remaining": "Balance", + "reclaimed": "bool", + "payment_at": "Moment", + "expires_at": "Option" + }, + "SlashingSwitch": { + "_enum": [ + "Validator", + "ValidatorAndNominator", + "None" + ] + }, + "PriceTier": { + "total": "Balance", + "price": "Balance" + }, + "PermissionedIdentityPrefs": { + "intended_count": "u32", + "running_count": "u32" + }, + "GranularCanTransferResult": { + "invalid_granularity": "bool", + "self_transfer": "bool", + "invalid_receiver_cdd": "bool", + "invalid_sender_cdd": "bool", + "missing_scope_claim": "bool", + "receiver_custodian_error": "bool", + "sender_custodian_error": "bool", + "sender_insufficient_balance": "bool", + "portfolio_validity_result": "PortfolioValidityResult", + "asset_frozen": "bool", + "transfer_condition_result": "Vec", + "compliance_result": "AssetComplianceResult", + "result": "bool" + }, + "PortfolioValidityResult": { + "receiver_is_same_portfolio": "bool", + "sender_portfolio_does_not_exist": "bool", + "receiver_portfolio_does_not_exist": "bool", + "sender_insufficient_balance": "bool", + "result": "bool" + }, + "TransferConditionResult": { + "condition": "TransferCondition", + "result": "bool" + }, + "AGId": "u32", + "AgentGroup": { + "_enum": { + "Full": "", + "Custom": "AGId", + "ExceptMeta": "", + "PolymeshV1CAA": "", + "PolymeshV1PIA": "" + } + }, + "Member": { + "id": "IdentityId", + "expiry_at": "Option", + "inactive_from": "Option" + }, + "ItnRewardStatus": { + "_enum": { + "Unclaimed": "Balance", + "Claimed": "" + } + }, + "NFTId": "u64", + "NFTs": { + "ticker": "Ticker", + "ids": "Vec" + }, + "FungibleToken": { + "ticker": "Ticker", + "amount": "Balance" + }, + "LegAsset": { + "_enum": { + "Fungible": "FungibleToken", + "NonFungible": "NFTs" + } + }, + "LegV2": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "LegAsset" + }, + "FundDescription": { + "_enum": { + "Fungible": "FungibleToken", + "NonFungible": "NFTs" + } + }, + "Fund": { + "description": "FundDescription", + "memo": "Option" + }, + "NonFungibleType": { + "_enum": { + "Derivative": "", + "FixedIncome": "", + "Invoice": "", + "Custom": "CustomAssetTypeId" + } + } + } + }, { "minmax": [ 5003000, diff --git a/packages/apps-electron/package.json b/packages/apps-electron/package.json index 9d99f74ffe..6a00e98e75 100644 --- a/packages/apps-electron/package.json +++ b/packages/apps-electron/package.json @@ -17,16 +17,19 @@ "dependencies": { "@polkadot/dev": "^0.73.2", "@polkadot/react-components": "^0.128.2-0-x", - "electron-log": "^5.0.0-beta.16", - "electron-updater": "^5.3.0" + "electron-log": "^5.0.0-beta.23", + "electron-updater": "^5.3.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-is": "^18.2.0" }, "devDependencies": { - "@types/react-dom": "^18.0.11", "@types/tmp": "^0.2.3", "copy-webpack-plugin": "^11.0.0", "html-webpack-plugin": "^5.5.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", "tmp": "^0.2.1" + }, + "peerDependencies": { + "webpack": "*" } } diff --git a/packages/apps-routing/package.json b/packages/apps-routing/package.json index c34301caf0..ae001ce89d 100644 --- a/packages/apps-routing/package.json +++ b/packages/apps-routing/package.json @@ -14,5 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.128.2-0-x" + "version": "0.128.2-0-x", + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" + } } diff --git a/packages/apps/package.json b/packages/apps/package.json index d5323d19ca..faac66620c 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -26,7 +26,10 @@ "@polkadot/react-query": "^0.128.2-0-x", "@polkadot/react-signer": "^0.128.2-0-x", "punycode": "^2.3.0", - "query-string": "^8.1.0" + "query-string": "^8.1.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-is": "^18.2.0" }, "devDependencies": { "@types/punycode": "^2.1.0", @@ -45,5 +48,9 @@ "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "ts-loader": "^9.4.2" + }, + "peerDependencies": { + "typescript": "*", + "webpack": "*" } } diff --git a/packages/page-accounts/package.json b/packages/page-accounts/package.json index ca46cf3257..24d1237d8e 100644 --- a/packages/page-accounts/package.json +++ b/packages/page-accounts/package.json @@ -27,5 +27,10 @@ }, "devDependencies": { "@polkadot/test-support": "0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-accounts/src/Sidebar/Multisig.tsx b/packages/page-accounts/src/Sidebar/Multisig.tsx index b668908afb..576fcbd7af 100644 --- a/packages/page-accounts/src/Sidebar/Multisig.tsx +++ b/packages/page-accounts/src/Sidebar/Multisig.tsx @@ -32,7 +32,7 @@ function Multisig ({ isMultisig, meta }: Props): React.ReactElement | nul
{t('threshold')}
- {threshold}/{(who as string[]).length} + {threshold as string}/{(who as string[]).length}
diff --git a/packages/page-accounts/src/modals/Import.tsx b/packages/page-accounts/src/modals/Import.tsx index 54a279c421..35f3db9084 100644 --- a/packages/page-accounts/src/modals/Import.tsx +++ b/packages/page-accounts/src/modals/Import.tsx @@ -56,7 +56,7 @@ function Import ({ className = '', onClose, onStatusChange }: Props): React.Reac const [error, setError] = useState(null); const [{ isPassValid, password }, setPass] = useState({ isPassValid: false, password: '' }); const apiGenesisHash = useMemo(() => isDevelopment ? null : api.genesisHash.toHex(), [api, isDevelopment]); - const differentGenesis = useMemo(() => pair?.meta.genesisHash && pair.meta.genesisHash !== apiGenesisHash, [apiGenesisHash, pair]); + const differentGenesis = useMemo(() => !!pair?.meta.genesisHash && pair.meta.genesisHash !== apiGenesisHash, [apiGenesisHash, pair]); const _onChangeFile = useCallback( (file: Uint8Array) => setPair(parseFile(file, setError, isEthereum, apiGenesisHash)), diff --git a/packages/page-addresses/package.json b/packages/page-addresses/package.json index e69654bce7..f491513045 100644 --- a/packages/page-addresses/package.json +++ b/packages/page-addresses/package.json @@ -22,5 +22,10 @@ "devDependencies": { "@testing-library/react": "^14.0.0", "testcontainers": "^9.5.0" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-alliance/package.json b/packages/page-alliance/package.json index cc66bdd9ac..d1084a5884 100644 --- a/packages/page-alliance/package.json +++ b/packages/page-alliance/package.json @@ -14,5 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.128.2-0-x" + "version": "0.128.2-0-x", + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" + } } diff --git a/packages/page-assets/package.json b/packages/page-assets/package.json index 9e35e09e85..c99ab6ef8e 100644 --- a/packages/page-assets/package.json +++ b/packages/page-assets/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-bounties/package.json b/packages/page-bounties/package.json index 5789a0386f..ed8811a64a 100644 --- a/packages/page-bounties/package.json +++ b/packages/page-bounties/package.json @@ -20,5 +20,10 @@ }, "devDependencies": { "@polkadot/test-support": "0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-calendar/package.json b/packages/page-calendar/package.json index d0bfb1cf90..6c21348050 100644 --- a/packages/page-calendar/package.json +++ b/packages/page-calendar/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-claims/package.json b/packages/page-claims/package.json index eab65c3f5a..f0aa04eb34 100644 --- a/packages/page-claims/package.json +++ b/packages/page-claims/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/react-components": "^0.128.2-0-x", "secp256k1": "^3.8.0" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-claims/src/util.ts b/packages/page-claims/src/util.ts index 7cb9147e38..d5d0cf3d01 100644 --- a/packages/page-claims/src/util.ts +++ b/packages/page-claims/src/util.ts @@ -78,7 +78,7 @@ export function recoverAddress (message: string, { recovery, signature }: Signat const senderPubKey = secp256k1.recover(msgHash, signature, recovery); return publicToAddr( - secp256k1.publicKeyConvert(senderPubKey, false).slice(1) + secp256k1.publicKeyConvert(senderPubKey, false).subarray(1) ); } diff --git a/packages/page-collator/package.json b/packages/page-collator/package.json index 20bd66507f..b2d76c00b9 100644 --- a/packages/page-collator/package.json +++ b/packages/page-collator/package.json @@ -14,5 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.128.2-0-x" + "version": "0.128.2-0-x", + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" + } } diff --git a/packages/page-contracts/package.json b/packages/page-contracts/package.json index 650a3a8b14..a9e24eec91 100644 --- a/packages/page-contracts/package.json +++ b/packages/page-contracts/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/api-contract": "^10.4.1", "eventemitter3": "^5.0.0" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-contracts/src/Contracts/util.tsx b/packages/page-contracts/src/Contracts/util.tsx index 371806a16f..c5b25121d8 100644 --- a/packages/page-contracts/src/Contracts/util.tsx +++ b/packages/page-contracts/src/Contracts/util.tsx @@ -1,6 +1,7 @@ // Copyright 2017-2023 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { DropdownItemProps } from 'semantic-ui-react'; import type { ApiPromise } from '@polkadot/api'; import type { AbiMessage } from '@polkadot/api-contract/types'; @@ -35,7 +36,7 @@ export function getContractForAddress (api: ApiPromise, address: string | null): } } -export function getCallMessageOptions (callContract: ContractPromise | null): unknown[] { +export function getCallMessageOptions (callContract: ContractPromise | null): DropdownItemProps[] { return callContract ? callContract.abi.messages.map((m, index) => ({ key: m.identifier, diff --git a/packages/page-council/package.json b/packages/page-council/package.json index a499409c8c..06f4d4364c 100644 --- a/packages/page-council/package.json +++ b/packages/page-council/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/react-components": "^0.128.2-0-x", "@polkadot/react-query": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-democracy/package.json b/packages/page-democracy/package.json index fea08bd2a0..92f766cea7 100644 --- a/packages/page-democracy/package.json +++ b/packages/page-democracy/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/react-components": "^0.128.2-0-x", "@polkadot/react-query": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-explorer/package.json b/packages/page-explorer/package.json index 32abba5b3b..d53671418f 100644 --- a/packages/page-explorer/package.json +++ b/packages/page-explorer/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-extrinsics/package.json b/packages/page-extrinsics/package.json index 86151da427..f5802836af 100644 --- a/packages/page-extrinsics/package.json +++ b/packages/page-extrinsics/package.json @@ -19,5 +19,10 @@ "@polkadot/react-components": "^0.128.2-0-x", "@polkadot/react-params": "^0.128.2-0-x", "@polkadot/react-signer": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-fellowship/package.json b/packages/page-fellowship/package.json index 81b398178a..807a356553 100644 --- a/packages/page-fellowship/package.json +++ b/packages/page-fellowship/package.json @@ -14,5 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.128.2-0-x" + "version": "0.128.2-0-x", + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" + } } diff --git a/packages/page-files/package.json b/packages/page-files/package.json index 9faead7b30..dda0bd275c 100644 --- a/packages/page-files/package.json +++ b/packages/page-files/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/react-components": "^0.128.2-0-x", "axios": "^1.3.6" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-gilt/package.json b/packages/page-gilt/package.json index 536c84a704..fadd3a84f9 100644 --- a/packages/page-gilt/package.json +++ b/packages/page-gilt/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-js/package.json b/packages/page-js/package.json index 4f4b2d7cf4..5f1efed2f8 100644 --- a/packages/page-js/package.json +++ b/packages/page-js/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-js/src/snippets/storage-examples.ts b/packages/page-js/src/snippets/storage-examples.ts index cc30937c8a..d9795e96c2 100644 --- a/packages/page-js/src/snippets/storage-examples.ts +++ b/packages/page-js/src/snippets/storage-examples.ts @@ -1,9 +1,10 @@ // Copyright 2017-2023 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { StrictLabelProps } from 'semantic-ui-react'; import type { Snippet } from '../types.js'; -const label = { +const label: StrictLabelProps = { children: 'Storage', color: 'blue', size: 'tiny' diff --git a/packages/page-js/src/types.ts b/packages/page-js/src/types.ts index 4dcb7d9a08..1937b075b6 100644 --- a/packages/page-js/src/types.ts +++ b/packages/page-js/src/types.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { LabelProps, SemanticShorthandItem } from 'semantic-ui-react'; +import type { DropdownItemProps, StrictLabelProps } from 'semantic-ui-react'; export type LogType = 'error' | 'log'; @@ -10,10 +10,10 @@ export interface Log { type: LogType; } -export interface Snippet { +export interface Snippet extends DropdownItemProps { text: string; value: string; code: string; - label?: SemanticShorthandItem; + label?: StrictLabelProps; type?: 'custom' | 'shared'; } diff --git a/packages/page-membership/package.json b/packages/page-membership/package.json index 796a93fb43..6df94d9f95 100644 --- a/packages/page-membership/package.json +++ b/packages/page-membership/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/react-components": "^0.128.2-0-x", "@polkadot/react-query": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-nfts/package.json b/packages/page-nfts/package.json index b1703c51e1..fa263de331 100644 --- a/packages/page-nfts/package.json +++ b/packages/page-nfts/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-parachains/package.json b/packages/page-parachains/package.json index 3aeb4d4667..40c923576e 100644 --- a/packages/page-parachains/package.json +++ b/packages/page-parachains/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/react-components": "^0.128.2-0-x", "@polkadot/react-query": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-poll/package.json b/packages/page-poll/package.json index edec84fe0c..634a1db921 100644 --- a/packages/page-poll/package.json +++ b/packages/page-poll/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-preimages/package.json b/packages/page-preimages/package.json index 96569886f4..4ec503b2c8 100644 --- a/packages/page-preimages/package.json +++ b/packages/page-preimages/package.json @@ -14,5 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.128.2-0-x" + "version": "0.128.2-0-x", + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" + } } diff --git a/packages/page-ranked/package.json b/packages/page-ranked/package.json index 67b0469e2c..1d0a54b900 100644 --- a/packages/page-ranked/package.json +++ b/packages/page-ranked/package.json @@ -14,5 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.128.2-0-x" + "version": "0.128.2-0-x", + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" + } } diff --git a/packages/page-referenda/package.json b/packages/page-referenda/package.json index 2552316d5b..1cb8139b8d 100644 --- a/packages/page-referenda/package.json +++ b/packages/page-referenda/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "devDependencies": { "chart.js": "^4.2.1" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-rpc/package.json b/packages/page-rpc/package.json index 616c269f6b..dc1df7d198 100644 --- a/packages/page-rpc/package.json +++ b/packages/page-rpc/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-runtime/package.json b/packages/page-runtime/package.json index cac42fca29..4d18d36b1a 100644 --- a/packages/page-runtime/package.json +++ b/packages/page-runtime/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-scheduler/package.json b/packages/page-scheduler/package.json index 75d540608a..eb829e3c19 100644 --- a/packages/page-scheduler/package.json +++ b/packages/page-scheduler/package.json @@ -14,5 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.128.2-0-x" + "version": "0.128.2-0-x", + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" + } } diff --git a/packages/page-settings/package.json b/packages/page-settings/package.json index def7e74694..4e2af10e24 100644 --- a/packages/page-settings/package.json +++ b/packages/page-settings/package.json @@ -20,5 +20,10 @@ "@polkadot/react-components": "^0.128.2-0-x", "@polkadot/react-query": "^0.128.2-0-x", "query-string": "^8.1.0" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-signing/package.json b/packages/page-signing/package.json index 0aa647e8d0..0089bc0edc 100644 --- a/packages/page-signing/package.json +++ b/packages/page-signing/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-society/package.json b/packages/page-society/package.json index f9d05e5276..740d5f7122 100644 --- a/packages/page-society/package.json +++ b/packages/page-society/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-staking/package.json b/packages/page-staking/package.json index 0fe17da0bd..fbaf708516 100644 --- a/packages/page-staking/package.json +++ b/packages/page-staking/package.json @@ -19,5 +19,10 @@ "@polkadot/app-explorer": "^0.128.2-0-x", "@polkadot/react-components": "^0.128.2-0-x", "@polkadot/react-query": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-staking2/package.json b/packages/page-staking2/package.json index 997f585b4d..7ee40a6dfd 100644 --- a/packages/page-staking2/package.json +++ b/packages/page-staking2/package.json @@ -14,5 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.128.2-0-x" + "version": "0.128.2-0-x", + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" + } } diff --git a/packages/page-storage/package.json b/packages/page-storage/package.json index 37ba9a281d..7cfde21e94 100644 --- a/packages/page-storage/package.json +++ b/packages/page-storage/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/react-components": "^0.128.2-0-x", "@polkadot/react-params": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-sudo/package.json b/packages/page-sudo/package.json index 414bb7bee2..8b22eac0bf 100644 --- a/packages/page-sudo/package.json +++ b/packages/page-sudo/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-tech-comm/package.json b/packages/page-tech-comm/package.json index 47b9f49f59..6b5c44d982 100644 --- a/packages/page-tech-comm/package.json +++ b/packages/page-tech-comm/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/react-components": "^0.128.2-0-x", "@polkadot/react-query": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-treasury/package.json b/packages/page-treasury/package.json index 3e50ab6435..f8d13f91a5 100644 --- a/packages/page-treasury/package.json +++ b/packages/page-treasury/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/react-components": "^0.128.2-0-x", "@polkadot/react-query": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-utilities/package.json b/packages/page-utilities/package.json index d41b827e94..53b7b71aa8 100644 --- a/packages/page-utilities/package.json +++ b/packages/page-utilities/package.json @@ -17,5 +17,10 @@ "version": "0.128.2-0-x", "dependencies": { "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/page-whitelist/package.json b/packages/page-whitelist/package.json index fca61066c7..2123fb1c68 100644 --- a/packages/page-whitelist/package.json +++ b/packages/page-whitelist/package.json @@ -14,5 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.128.2-0-x" + "version": "0.128.2-0-x", + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" + } } diff --git a/packages/react-api/package.json b/packages/react-api/package.json index aa100d5f9c..bd3ec631ba 100644 --- a/packages/react-api/package.json +++ b/packages/react-api/package.json @@ -26,5 +26,10 @@ "@polkadot/rpc-provider": "^10.4.1", "fflate": "^0.7.4", "rxjs": "^7.8.0" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/react-api/src/hoc/types.ts b/packages/react-api/src/hoc/types.ts index 361a03a60b..0c8176d309 100644 --- a/packages/react-api/src/hoc/types.ts +++ b/packages/react-api/src/hoc/types.ts @@ -27,7 +27,7 @@ export interface Options { withIndicator?: boolean; } -export type RenderFn = (value?: any) => React.ReactNode; +export type RenderFn = (value?: any) => any; export type StorageTransform = (input: any, index: number) => unknown | null; diff --git a/packages/react-components/package.json b/packages/react-components/package.json index e902091fbc..455b1a3a10 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -28,7 +28,6 @@ "@polkadot/ui-settings": "^3.2.1", "@polkadot/util": "^12.0.1", "@polkadot/util-crypto": "^12.0.1", - "@types/chartjs-plugin-crosshair": "^1.1.1", "chart.js": "^4.2.1", "chartjs-plugin-annotation": "^2.2.1", "chartjs-plugin-crosshair": "^1.2.0", @@ -36,14 +35,11 @@ "i18next": "^22.4.15", "i18next-browser-languagedetector": "^7.0.1", "owasp-password-strength-test": "^1.3.0", - "react": "^18.2.0", "react-beautiful-dnd": "^13.1.1", "react-chartjs-2": "^5.2.0", "react-copy-to-clipboard": "^5.1.0", - "react-dom": "^18.2.0", "react-dropzone": "^14.2.3", - "react-i18next": "^12.2.0", - "react-is": "^18.2.0", + "react-i18next": "^12.2.2", "react-markdown": "^8.0.7", "react-router": "^6.10.0", "react-router-dom": "^6.10.0", @@ -55,7 +51,15 @@ "styled-theming": "^2.2.0" }, "devDependencies": { + "@types/chartjs-plugin-crosshair": "^1.1.1", "@types/codeflask": "^1.4.3", - "@types/owasp-password-strength-test": "^1.3.0" + "@types/owasp-password-strength-test": "^1.3.0", + "@types/react": "^18.0.38", + "@types/react-dom": "^18.0.11" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/react-components/src/AddressMini.tsx b/packages/react-components/src/AddressMini.tsx index c6b8367ef2..a4aa4a4858 100644 --- a/packages/react-components/src/AddressMini.tsx +++ b/packages/react-components/src/AddressMini.tsx @@ -29,7 +29,7 @@ interface Props { onNameClick?: () => void; summary?: React.ReactNode; type?: KeyringItemType; - value?: AccountId | AccountIndex | Address | string | null | Uint8Array; + value?: AccountId | AccountIndex | Address | string | null; withAddress?: boolean; withBalance?: boolean; withBonded?: boolean; @@ -72,7 +72,7 @@ function AddressMini ({ balance, bonded, children, className = '', iconInfo, isH {nameExtra} ) - : {value} + : {value.toString()} } )} diff --git a/packages/react-components/src/AddressSmall.tsx b/packages/react-components/src/AddressSmall.tsx index 0c4e2e29de..e595b536f9 100644 --- a/packages/react-components/src/AddressSmall.tsx +++ b/packages/react-components/src/AddressSmall.tsx @@ -20,7 +20,7 @@ interface Props { withSidebar?: boolean; withShortAddress?: boolean; toggle?: unknown; - value?: string | Address | AccountId | null | Uint8Array; + value?: string | Address | AccountId | null; } function AddressSmall ({ children, className = '', defaultName, onClickName, overrideName, parentAddress, toggle, value, withShortAddress = false, withSidebar = true }: Props): React.ReactElement { @@ -46,12 +46,12 @@ function AddressSmall ({ children, className = '', defaultName, onClickName, ove > {children} - {withShortAddress && ( + {value && withShortAddress && (
- {value} + {value.toString()}
)} diff --git a/packages/react-components/src/InputAddress/index.tsx b/packages/react-components/src/InputAddress/index.tsx index fa139c2b7e..98697b079a 100644 --- a/packages/react-components/src/InputAddress/index.tsx +++ b/packages/react-components/src/InputAddress/index.tsx @@ -206,7 +206,12 @@ class InputAddress extends React.PureComponent { : this.onChange } onSearch={this.onSearch} - options={actualOptions} + options={ + // FIXME: this is a "bit" of a HACK - the issue is that the "null" + // value from Option is not correct for the supplied type. (This + // originates in the ui repo for the KeyringOption) + actualOptions as unknown as React.ReactNode[] + } placeholder={placeholder} renderLabel={ isMultiple diff --git a/packages/react-components/src/Row.tsx b/packages/react-components/src/Row.tsx index 9ee759c10b..6f44790dcb 100644 --- a/packages/react-components/src/Row.tsx +++ b/packages/react-components/src/Row.tsx @@ -86,7 +86,7 @@ function Row ({ address, buttons, children, className = '', defaultName, details )} {address && (
- {address} + {address.toString()}
)} {details} diff --git a/packages/react-components/src/SortDropdown.tsx b/packages/react-components/src/SortDropdown.tsx index e353cc3b60..2bbf61fc80 100644 --- a/packages/react-components/src/SortDropdown.tsx +++ b/packages/react-components/src/SortDropdown.tsx @@ -1,6 +1,8 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { DropdownItemProps } from 'semantic-ui-react'; + import React from 'react'; import Dropdown from './Dropdown.js'; @@ -13,7 +15,7 @@ interface Props { label: string; onChange: (value: any) => void; onClick: () => void; - options: unknown[]; + options: (DropdownItemProps | React.ReactNode)[]; sortDirection: 'descending' | 'ascending'; } diff --git a/packages/react-components/src/Static.tsx b/packages/react-components/src/Static.tsx index 58f4480f7c..b1ec9234e5 100644 --- a/packages/react-components/src/Static.tsx +++ b/packages/react-components/src/Static.tsx @@ -10,7 +10,7 @@ interface Props { children?: React.ReactNode; className?: string; copyValue?: string; - defaultValue?: unknown; + defaultValue?: React.ReactNode; isDisabled?: boolean; isError?: boolean; isFull?: boolean; diff --git a/packages/react-components/src/Status/index.tsx b/packages/react-components/src/Status/index.tsx index dd12a0038e..df56e4e79a 100644 --- a/packages/react-components/src/Status/index.tsx +++ b/packages/react-components/src/Status/index.tsx @@ -136,7 +136,7 @@ function renderItem ({ error, extrinsic, id, removeItem, rpc, status }: QueueTx) {section}.{method}
- {error ? (error.message || error) : status} + {error ? (error.message || error.toString()) : status}
diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index df0d0f7a57..5904bff00e 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -19,5 +19,10 @@ "@polkadot/hw-ledger": "^12.0.1", "@polkadot/hw-ledger-transports": "^12.0.1", "is-ipfs": "^8.0.1" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/react-params/package.json b/packages/react-params/package.json index b84f1ce96f..29cc681468 100644 --- a/packages/react-params/package.json +++ b/packages/react-params/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/react-components": "^0.128.2-0-x", "multiformats": "^11.0.2" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/react-params/src/Param/Static.tsx b/packages/react-params/src/Param/Static.tsx index 2c257a9e5a..a46aed4ff3 100644 --- a/packages/react-params/src/Param/Static.tsx +++ b/packages/react-params/src/Param/Static.tsx @@ -27,7 +27,7 @@ function StaticParam ({ asHex, children, childrenPre, className = '', defaultVal const { t } = useTranslation(); const value = useMemo( - () => defaultValue && defaultValue.value && ( + () => !!defaultValue?.value && ( asHex ? (defaultValue.value as Codec).toHex() : toHumanJson( diff --git a/packages/react-query/package.json b/packages/react-query/package.json index b46b6349d7..f173a111fc 100644 --- a/packages/react-query/package.json +++ b/packages/react-query/package.json @@ -14,5 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.128.2-0-x" + "version": "0.128.2-0-x", + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" + } } diff --git a/packages/react-signer/package.json b/packages/react-signer/package.json index 97b003a718..b1d195c423 100644 --- a/packages/react-signer/package.json +++ b/packages/react-signer/package.json @@ -18,5 +18,10 @@ "dependencies": { "@polkadot/hw-ledger": "^12.0.1", "@polkadot/react-components": "^0.128.2-0-x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/packages/test-support/package.json b/packages/test-support/package.json index 223b9d9b79..cffea27a3c 100644 --- a/packages/test-support/package.json +++ b/packages/test-support/package.json @@ -23,5 +23,10 @@ "@polkadot/types-support": "^10.4.1", "@testing-library/jest-dom": "^5.16.5", "tsconfig-paths": "^4.2.0" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*", + "react-is": "*" } } diff --git a/yarn.lock b/yarn.lock index ccca5ac032..c9fb178a72 100644 --- a/yarn.lock +++ b/yarn.lock @@ -685,14 +685,14 @@ __metadata: languageName: node linkType: hard -"@frequency-chain/api-augment@npm:1.6.0-rc3": - version: 1.6.0-rc3 - resolution: "@frequency-chain/api-augment@npm:1.6.0-rc3" +"@frequency-chain/api-augment@npm:1.6.1": + version: 1.6.1 + resolution: "@frequency-chain/api-augment@npm:1.6.1" dependencies: "@polkadot/api": ^10.3.2 "@polkadot/rpc-provider": ^10.3.2 "@polkadot/types": ^10.3.2 - checksum: 3aaee7a00c7381c2fee61b5023f97935d7e81e1dafe6696b884aa080bde73b313d55dfe355006712f71f90cfc3636b54256979c6dd57a450aecb261301047fbe + checksum: ecc65ed4825c1075994aaf04fdb8d3116b731aa493ebdb90a98296e9781e7c36a55a1bee9457df64c9dd3cc37064c3cf4553800de980abd1339e998f4857e15f languageName: node linkType: hard @@ -1343,6 +1343,10 @@ __metadata: "@polkadot/vanitygen": ^0.54.1 detect-browser: ^5.3.0 file-saver: ^2.0.5 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1354,12 +1358,20 @@ __metadata: "@testing-library/react": ^14.0.0 file-saver: ^2.0.5 testcontainers: ^9.5.0 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft "@polkadot/app-alliance@workspace:packages/page-alliance": version: 0.0.0-use.local resolution: "@polkadot/app-alliance@workspace:packages/page-alliance" + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1368,6 +1380,10 @@ __metadata: resolution: "@polkadot/app-assets@workspace:packages/page-assets" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1377,6 +1393,10 @@ __metadata: dependencies: "@polkadot/react-components": ^0.128.2-0-x "@polkadot/test-support": 0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1385,6 +1405,10 @@ __metadata: resolution: "@polkadot/app-calendar@workspace:packages/page-calendar" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1394,12 +1418,20 @@ __metadata: dependencies: "@polkadot/react-components": ^0.128.2-0-x secp256k1: ^3.8.0 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft "@polkadot/app-collator@workspace:packages/page-collator": version: 0.0.0-use.local resolution: "@polkadot/app-collator@workspace:packages/page-collator" + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1409,6 +1441,10 @@ __metadata: dependencies: "@polkadot/api-contract": ^10.4.1 eventemitter3: ^5.0.0 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1418,6 +1454,10 @@ __metadata: dependencies: "@polkadot/react-components": ^0.128.2-0-x "@polkadot/react-query": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1427,6 +1467,10 @@ __metadata: dependencies: "@polkadot/react-components": ^0.128.2-0-x "@polkadot/react-query": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1435,6 +1479,10 @@ __metadata: resolution: "@polkadot/app-explorer@workspace:packages/page-explorer" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1445,12 +1493,20 @@ __metadata: "@polkadot/react-components": ^0.128.2-0-x "@polkadot/react-params": ^0.128.2-0-x "@polkadot/react-signer": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft "@polkadot/app-fellowship@workspace:packages/page-fellowship": version: 0.0.0-use.local resolution: "@polkadot/app-fellowship@workspace:packages/page-fellowship" + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1460,6 +1516,10 @@ __metadata: dependencies: "@polkadot/react-components": ^0.128.2-0-x axios: ^1.3.6 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1468,6 +1528,10 @@ __metadata: resolution: "@polkadot/app-gilt@workspace:packages/page-gilt" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1476,6 +1540,10 @@ __metadata: resolution: "@polkadot/app-js@workspace:packages/page-js" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1485,6 +1553,10 @@ __metadata: dependencies: "@polkadot/react-components": ^0.128.2-0-x "@polkadot/react-query": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1493,6 +1565,10 @@ __metadata: resolution: "@polkadot/app-nfts@workspace:packages/page-nfts" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1502,6 +1578,10 @@ __metadata: dependencies: "@polkadot/react-components": ^0.128.2-0-x "@polkadot/react-query": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1510,18 +1590,30 @@ __metadata: resolution: "@polkadot/app-poll@workspace:packages/page-poll" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft "@polkadot/app-preimages@workspace:packages/page-preimages": version: 0.0.0-use.local resolution: "@polkadot/app-preimages@workspace:packages/page-preimages" + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft "@polkadot/app-ranked@workspace:packages/page-ranked": version: 0.0.0-use.local resolution: "@polkadot/app-ranked@workspace:packages/page-ranked" + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1530,6 +1622,10 @@ __metadata: resolution: "@polkadot/app-referenda@workspace:packages/page-referenda" dependencies: chart.js: ^4.2.1 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1538,6 +1634,10 @@ __metadata: resolution: "@polkadot/app-rpc@workspace:packages/page-rpc" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1546,12 +1646,20 @@ __metadata: resolution: "@polkadot/app-runtime@workspace:packages/page-runtime" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft "@polkadot/app-scheduler@workspace:packages/page-scheduler": version: 0.0.0-use.local resolution: "@polkadot/app-scheduler@workspace:packages/page-scheduler" + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1563,6 +1671,10 @@ __metadata: "@polkadot/react-components": ^0.128.2-0-x "@polkadot/react-query": ^0.128.2-0-x query-string: ^8.1.0 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1571,6 +1683,10 @@ __metadata: resolution: "@polkadot/app-signing@workspace:packages/page-signing" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1579,12 +1695,20 @@ __metadata: resolution: "@polkadot/app-society@workspace:packages/page-society" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft "@polkadot/app-staking2@workspace:packages/page-staking2": version: 0.0.0-use.local resolution: "@polkadot/app-staking2@workspace:packages/page-staking2" + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1595,6 +1719,10 @@ __metadata: "@polkadot/app-explorer": ^0.128.2-0-x "@polkadot/react-components": ^0.128.2-0-x "@polkadot/react-query": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1604,6 +1732,10 @@ __metadata: dependencies: "@polkadot/react-components": ^0.128.2-0-x "@polkadot/react-params": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1612,6 +1744,10 @@ __metadata: resolution: "@polkadot/app-sudo@workspace:packages/page-sudo" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1621,6 +1757,10 @@ __metadata: dependencies: "@polkadot/react-components": ^0.128.2-0-x "@polkadot/react-query": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1630,6 +1770,10 @@ __metadata: dependencies: "@polkadot/react-components": ^0.128.2-0-x "@polkadot/react-query": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1638,12 +1782,20 @@ __metadata: resolution: "@polkadot/app-utilities@workspace:packages/page-utilities" dependencies: "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft "@polkadot/app-whitelist@workspace:packages/page-whitelist": version: 0.0.0-use.local resolution: "@polkadot/app-whitelist@workspace:packages/page-whitelist" + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1661,7 +1813,7 @@ __metadata: "@edgeware/node-types": 3.6.2-wako "@equilab/definitions": 1.4.18 "@fragnova/api-augment": 0.1.0-spec-1.0.4-mainnet - "@frequency-chain/api-augment": 1.6.0-rc3 + "@frequency-chain/api-augment": 1.6.1 "@interlay/interbtc-types": 1.12.0 "@kiltprotocol/type-definitions": 0.32.0 "@laminar/type-definitions": 0.3.1 @@ -1677,14 +1829,14 @@ __metadata: "@polkadot/wasm-util": ^7.1.1 "@polkadot/x-fetch": ^12.0.1 "@polkadot/x-ws": ^12.0.1 - "@polymeshassociation/polymesh-types": 5.3.0 + "@polymeshassociation/polymesh-types": 5.4.0 "@snowfork/snowbridge-types": 0.2.7 - "@sora-substrate/type-definitions": 1.16.4 - "@subsocial/definitions": 0.8.8 + "@sora-substrate/type-definitions": 1.17.1 + "@subsocial/definitions": 0.8.10 "@unique-nft/opal-testnet-types": 939.54.0 - "@unique-nft/quartz-mainnet-types": 937.53.1 + "@unique-nft/quartz-mainnet-types": 939.54.0 "@unique-nft/sapphire-mainnet-types": 939.54.0 - "@unique-nft/unique-mainnet-types": 937.53.1 + "@unique-nft/unique-mainnet-types": 939.54.0 "@zeitgeistpm/type-defs": 1.0.0 "@zeroio/type-definitions": 0.0.14 moonbeam-types-bundle: 2.0.10 @@ -1700,21 +1852,27 @@ __metadata: dependencies: "@polkadot/dev": ^0.73.2 "@polkadot/react-components": ^0.128.2-0-x - "@types/react-dom": ^18.0.11 "@types/tmp": ^0.2.3 copy-webpack-plugin: ^11.0.0 - electron-log: ^5.0.0-beta.16 + electron-log: ^5.0.0-beta.23 electron-updater: ^5.3.0 html-webpack-plugin: ^5.5.1 react: ^18.2.0 react-dom: ^18.2.0 + react-is: ^18.2.0 tmp: ^0.2.1 + peerDependencies: + webpack: "*" languageName: unknown linkType: soft "@polkadot/apps-routing@^0.128.2-0-x, @polkadot/apps-routing@workspace:packages/apps-routing": version: 0.0.0-use.local resolution: "@polkadot/apps-routing@workspace:packages/apps-routing" + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1746,9 +1904,15 @@ __metadata: process: ^0.11.10 punycode: ^2.3.0 query-string: ^8.1.0 + react: ^18.2.0 + react-dom: ^18.2.0 + react-is: ^18.2.0 stream-browserify: ^3.0.0 stream-http: ^3.2.0 ts-loader: ^9.4.2 + peerDependencies: + typescript: "*" + webpack: "*" languageName: unknown linkType: soft @@ -1969,6 +2133,10 @@ __metadata: "@polkadot/rpc-provider": ^10.4.1 fflate: ^0.7.4 rxjs: ^7.8.0 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -1991,6 +2159,8 @@ __metadata: "@types/chartjs-plugin-crosshair": ^1.1.1 "@types/codeflask": ^1.4.3 "@types/owasp-password-strength-test": ^1.3.0 + "@types/react": ^18.0.38 + "@types/react-dom": ^18.0.11 chart.js: ^4.2.1 chartjs-plugin-annotation: ^2.2.1 chartjs-plugin-crosshair: ^1.2.0 @@ -1998,14 +2168,11 @@ __metadata: i18next: ^22.4.15 i18next-browser-languagedetector: ^7.0.1 owasp-password-strength-test: ^1.3.0 - react: ^18.2.0 react-beautiful-dnd: ^13.1.1 react-chartjs-2: ^5.2.0 react-copy-to-clipboard: ^5.1.0 - react-dom: ^18.2.0 react-dropzone: ^14.2.3 - react-i18next: ^12.2.0 - react-is: ^18.2.0 + react-i18next: ^12.2.2 react-markdown: ^8.0.7 react-router: ^6.10.0 react-router-dom: ^6.10.0 @@ -2015,6 +2182,10 @@ __metadata: semantic-ui-react: ^0.88.2 store: ^2.0.12 styled-theming: ^2.2.0 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -2025,6 +2196,10 @@ __metadata: "@polkadot/hw-ledger": ^12.0.1 "@polkadot/hw-ledger-transports": ^12.0.1 is-ipfs: ^8.0.1 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -2060,6 +2235,10 @@ __metadata: dependencies: "@polkadot/react-components": ^0.128.2-0-x multiformats: ^11.0.2 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -2087,6 +2266,10 @@ __metadata: "@polkadot/react-query@^0.128.2-0-x, @polkadot/react-query@workspace:packages/react-query": version: 0.0.0-use.local resolution: "@polkadot/react-query@workspace:packages/react-query" + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -2096,6 +2279,10 @@ __metadata: dependencies: "@polkadot/hw-ledger": ^12.0.1 "@polkadot/react-components": ^0.128.2-0-x + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -2159,6 +2346,10 @@ __metadata: "@testing-library/react": ^14.0.0 testcontainers: ^9.5.0 tsconfig-paths: ^4.2.0 + peerDependencies: + react: "*" + react-dom: "*" + react-is: "*" languageName: unknown linkType: soft @@ -2488,10 +2679,10 @@ __metadata: languageName: node linkType: hard -"@polymeshassociation/polymesh-types@npm:5.3.0": - version: 5.3.0 - resolution: "@polymeshassociation/polymesh-types@npm:5.3.0" - checksum: f8eee7efb58bbf54f8961f6fd0a52e836428f5772ffe767e29576343a5a6b169a8b2b5863ad1a5d29d81d5b52eaa43a35c7be94c4008b0b295c154d4c6d3ff27 +"@polymeshassociation/polymesh-types@npm:5.4.0": + version: 5.4.0 + resolution: "@polymeshassociation/polymesh-types@npm:5.4.0" + checksum: e2b95ba039e51372fef284318cd2368d8a09471fcdf7364378ffc6d8fc771b3390f620087c90cfb7c1a68cd116ed536bbfb4aad856276c3f66ba9398beb2e6cc languageName: node linkType: hard @@ -2676,12 +2867,12 @@ __metadata: languageName: node linkType: hard -"@sora-substrate/type-definitions@npm:1.16.4": - version: 1.16.4 - resolution: "@sora-substrate/type-definitions@npm:1.16.4" +"@sora-substrate/type-definitions@npm:1.17.1": + version: 1.17.1 + resolution: "@sora-substrate/type-definitions@npm:1.17.1" dependencies: "@open-web3/orml-type-definitions": 1.1.4 - checksum: 5b825bf58e74200af33d1ac1826faf004f950a400682b2e20a4560f8ae5c314fca7352ba75dc4a01e4f2b842cbc41afa1132c2d1a474dcc0ac30f196c129af35 + checksum: f9a1d7dadf91e9a3868285402e22fd6dfc6d54ce8e4e77617fe6e2dd16b02aceafb2fc6488552a043323490455fa71df1e827e702b8cfa3bd2e60ae8507797fc languageName: node linkType: hard @@ -2712,13 +2903,13 @@ __metadata: languageName: node linkType: hard -"@subsocial/definitions@npm:0.8.8": - version: 0.8.8 - resolution: "@subsocial/definitions@npm:0.8.8" +"@subsocial/definitions@npm:0.8.10": + version: 0.8.10 + resolution: "@subsocial/definitions@npm:0.8.10" dependencies: "@polkadot/api": latest lodash.camelcase: ^4.3.0 - checksum: 964045c2b29d3a4771dffc60b5916b7a960380ccdafad0ef54cc6d52bb9fbeaaddc3bb679c89a6c0268a1a19b51e163abd1e80e16cdad67b7f826c810bef5a50 + checksum: ad3bb4d0614b47c312cb2dfc5a2f0182ec1668c94d01d9021ba84347dea64a6ed8ada4f401e66951a784a6ccab42aec6be9e581ff00e566363edd59aa35adbbe languageName: node linkType: hard @@ -3193,10 +3384,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:^16.11.26": - version: 16.18.3 - resolution: "@types/node@npm:16.18.3" - checksum: 6b8ba2ea5d842f7986e366cb9184c54d273d492784dc62e08fd5afeae938d9b61aec6e4222d2541cd18f9b1412ba361bbcb3f4204fb003608af80a2a6af959f9 +"@types/node@npm:*, @types/node@npm:^18.11.18": + version: 18.16.0 + resolution: "@types/node@npm:18.16.0" + checksum: 63e0042136663b9e85ce503a4c65406cc6621fdba63ea66c74b4b1364a9aa9bdb57cadcb76696abab177f38a819b0fa6ace9e7f1647dcb990aedb1b4bd01012f languageName: node linkType: hard @@ -3342,14 +3533,14 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*": - version: 17.0.44 - resolution: "@types/react@npm:17.0.44" +"@types/react@npm:*, @types/react@npm:^18.0.38": + version: 18.0.38 + resolution: "@types/react@npm:18.0.38" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: ebee02778ca08f954c316dc907802264e0121c87b8fa2e7e0156ab0ef2a1b0a09d968c016a3600ec4c9a17dc09b4274f292d9b15a1a5369bb7e4072def82808f + checksum: 34481c79f4f7ea2aefbaa45281319dc183200230d932d968463eba1643bd3635073d0a17c5c613150a69e36ca18b811ecffafea6384fa3dff3b5203866339d69 languageName: node linkType: hard @@ -3734,13 +3925,13 @@ __metadata: languageName: node linkType: hard -"@unique-nft/quartz-mainnet-types@npm:937.53.1": - version: 937.53.1 - resolution: "@unique-nft/quartz-mainnet-types@npm:937.53.1" +"@unique-nft/quartz-mainnet-types@npm:939.54.0": + version: 939.54.0 + resolution: "@unique-nft/quartz-mainnet-types@npm:939.54.0" peerDependencies: - "@polkadot/api": ^9.10.2 - "@polkadot/types": ^9.10.2 - checksum: 74548fb91a6b5c964f557edeb77f62b66505fd41e421998f571e1a064387a52219a19de4bed61e0021a1fff12a6179009a91f46b1872f4cfcbc3fb74b8370e6c + "@polkadot/api": ^10.2.1 + "@polkadot/types": ^10.2.1 + checksum: 5ab2fea05a66e3bee4182fd86215a99799cf97a4b070a09a85734c9e1937f1e6d82d9b3c95aae85f61af2659fd2890ef2a0af0fc36a997974acd08daf2d18d26 languageName: node linkType: hard @@ -3754,13 +3945,13 @@ __metadata: languageName: node linkType: hard -"@unique-nft/unique-mainnet-types@npm:937.53.1": - version: 937.53.1 - resolution: "@unique-nft/unique-mainnet-types@npm:937.53.1" +"@unique-nft/unique-mainnet-types@npm:939.54.0": + version: 939.54.0 + resolution: "@unique-nft/unique-mainnet-types@npm:939.54.0" peerDependencies: - "@polkadot/api": ^9.10.2 - "@polkadot/types": ^9.10.2 - checksum: e29eb28371596aa4d92170bc53fde98eec439bdba768d0198c4519d359497f95b4f24344454f19e3bb7d1561665e67d4a0fa9245c10d5ba648cc54272450cef5 + "@polkadot/api": ^10.2.1 + "@polkadot/types": ^10.2.1 + checksum: ece2088a6d0e9f91499dfa227fd315dfea8ff7328dc3137e52cec488ccdaa9a66be91e61092c36420420d812ec1e779f528a76e4adb0d090e0a0d169843d2064 languageName: node linkType: hard @@ -7332,10 +7523,10 @@ __metadata: languageName: node linkType: hard -"electron-log@npm:^5.0.0-beta.16": - version: 5.0.0-beta.16 - resolution: "electron-log@npm:5.0.0-beta.16" - checksum: 669cedf5056068879c85fc236818a5a11a99e9c5d3f26a931e0b2547ddfbeb2926d082d62173dd89a5af71a1f21e9ffbf3f471b42a3bac8ec5a1d3c6c55e9d9a +"electron-log@npm:^5.0.0-beta.23": + version: 5.0.0-beta.23 + resolution: "electron-log@npm:5.0.0-beta.23" + checksum: 20ba2dd6e5dd1125f709276cfbc84c90ff31bd8605ecb7292e7783bd0cf754eba07a157f9230a56feb7e8722b80ef2313662a5d46ea1d2a985268b932658b944 languageName: node linkType: hard @@ -7405,16 +7596,16 @@ __metadata: languageName: node linkType: hard -"electron@npm:^23.2.4": - version: 23.2.4 - resolution: "electron@npm:23.2.4" +"electron@npm:^24.1.2": + version: 24.1.2 + resolution: "electron@npm:24.1.2" dependencies: "@electron/get": ^2.0.0 - "@types/node": ^16.11.26 + "@types/node": ^18.11.18 extract-zip: ^2.0.1 bin: electron: cli.js - checksum: 2fef5dd21faea7884940f0cc4a69076dd543cae78bd4d67c9e278057fa7f1a99ddcd98cfb0c1e346c6849fe6135e5d93f3302b68f37c2d6a3debec7cd1921d4a + checksum: 54b012bed51c0cadcb8cc7bc2bdd9c46969214bc2532d57699da2c9ec6fbfeb8b5752c56c1c05c8d8ab46b3d6856db861a23a1124012024ae0131e5df9acc269 languageName: node linkType: hard @@ -13567,7 +13758,7 @@ fsevents@~2.3.2: concurrently: ^8.0.1 devtron: ^1.4.0 dnslink-cloudflare: ^3.0.0 - electron: ^23.2.4 + electron: ^24.1.2 electron-builder: 23.6.0 electron-builder-notarize: ^1.5.1 i18next-scanner: ^4.2.0 @@ -13575,7 +13766,7 @@ fsevents@~2.3.2: react-dom: ^18.2.0 react-is: ^18.2.0 source-map-explorer: ^2.5.3 - styled-components: ^5.3.9 + styled-components: ^5.3.10 languageName: unknown linkType: soft @@ -14227,9 +14418,9 @@ fsevents@~2.3.2: languageName: node linkType: hard -"react-i18next@npm:^12.2.0": - version: 12.2.0 - resolution: "react-i18next@npm:12.2.0" +"react-i18next@npm:^12.2.2": + version: 12.2.2 + resolution: "react-i18next@npm:12.2.2" dependencies: "@babel/runtime": ^7.20.6 html-parse-stringify: ^3.0.1 @@ -14241,7 +14432,7 @@ fsevents@~2.3.2: optional: true react-native: optional: true - checksum: ed2d6a5bb6746c2ea25cca9531b400d62edef6479631c1113eb7a3c3f6b28d493492171d7dc6d87f61a7d7e9b21d4be3bd7eaf0f7af00392fb546d8c50267345 + checksum: 460e32779f6abba287d63be6054f855202c2e365cbceca36673c8f37a497c2ac5a21a8577d20fcc0b3fcd4825f89427dc4fdf00136365963d27dac7d997c3c74 languageName: node linkType: hard