Bump 3rdparty deps (#10114)

* Bump 3rdparty deps

* Bump additional
This commit is contained in:
Jaco 2023-12-19 13:03:03 +02:00 committed by GitHub
parent cf8fdd93b8
commit 2576d6410b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 4549 additions and 1025 deletions

View File

@ -69,7 +69,7 @@
"devDependencies": {
"@crustio/crust-pin": "^1.0.0",
"@pinata/sdk": "^1.2.1",
"@polkadot/dev": "^0.78.1",
"@polkadot/dev": "^0.78.4",
"@types/chart.js": "^2.9.41",
"@types/file-saver": "^2.0.7",
"@types/react-beautiful-dnd": "^13.1.7",
@ -80,10 +80,10 @@
"concurrently": "^8.2.2",
"devtron": "^1.4.0",
"dnslink-cloudflare": "^3.0.0",
"electron": "25.0.1",
"electron-builder": "23.6.0",
"electron": "28.0.0",
"electron-builder": "24.10.0",
"electron-builder-notarize": "^1.5.1",
"extensionless": "^1.7.3",
"extensionless": "^1.9.6",
"i18next-scanner": "^4.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",

View File

@ -17,7 +17,7 @@
"main": "index.js",
"dependencies": {
"@acala-network/type-definitions": "5.1.2",
"@bifrost-finance/type-definitions": "1.8.4",
"@bifrost-finance/type-definitions": "1.11.3",
"@crustio/type-definitions": "1.3.0",
"@darwinia/types": "2.8.10",
"@darwinia/types-known": "2.8.10",
@ -28,14 +28,14 @@
"@fragnova/api-augment": "0.1.0-spec-1.0.4-mainnet",
"@frequency-chain/api-augment": "1.9.0",
"@interlay/interbtc-types": "1.13.0",
"@kiltprotocol/type-definitions": "0.33.1",
"@kiltprotocol/type-definitions": "0.34.0",
"@laminar/type-definitions": "0.3.1",
"@logion/node-api": "0.19.0-2",
"@mangata-finance/type-definitions": "^2.0.0",
"@logion/node-api": "0.27.0-4",
"@mangata-finance/type-definitions": "^2.1.2",
"@metaverse-network-sdk/type-definitions": "0.0.1-16",
"@parallel-finance/type-definitions": "2.0.0",
"@parallel-finance/type-definitions": "2.0.1",
"@peaqnetwork/type-definitions": "0.0.4",
"@pendulum-chain/type-definitions": "0.3.7",
"@pendulum-chain/type-definitions": "0.3.8",
"@phala/typedefs": "0.2.33",
"@polkadot/api": "^10.11.2",
"@polkadot/api-derive": "^10.11.2",
@ -47,14 +47,14 @@
"@polkadot/wasm-util": "^7.3.2",
"@polkadot/x-fetch": "^12.6.2",
"@polkadot/x-ws": "^12.6.2",
"@polymeshassociation/polymesh-types": "5.5.2",
"@polymeshassociation/polymesh-types": "5.7.0",
"@snowfork/snowbridge-types": "0.2.7",
"@sora-substrate/type-definitions": "1.20.1",
"@subsocial/definitions": "0.8.13",
"@unique-nft/opal-testnet-types": "942.57.0",
"@unique-nft/quartz-mainnet-types": "942.57.0",
"@unique-nft/sapphire-mainnet-types": "942.57.0",
"@unique-nft/unique-mainnet-types": "942.57.0",
"@sora-substrate/type-definitions": "1.27.7",
"@subsocial/definitions": "0.8.14",
"@unique-nft/opal-testnet-types": "1003.70.0",
"@unique-nft/quartz-mainnet-types": "1003.70.0",
"@unique-nft/sapphire-mainnet-types": "1003.70.0",
"@unique-nft/unique-mainnet-types": "1001.63.0",
"@zeitgeistpm/type-defs": "1.0.0",
"@zeroio/type-definitions": "0.0.14",
"moonbeam-types-bundle": "2.0.10",

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
// Copyright 2017-2023 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Empty template, auto-generated by @polkadot/dev
export default [];

View File

@ -2,10 +2,10 @@
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// (packageInfo imports will be kept as-is, user-editable)
import { detectPackage } from '@polkadot/util';
import others from './detectOther.js';
import { packageInfo } from './packageInfo.js';
detectPackage(packageInfo, null, others);
detectPackage(packageInfo, null, []);

View File

@ -18,15 +18,15 @@
"version": "0.133.2-32-x",
"main": "build/electron.js",
"dependencies": {
"electron-log": "^5.0.0-beta.23",
"electron-updater": "^5.3.0"
"electron-log": "^5.0.1",
"electron-updater": "^6.1.7"
},
"devDependencies": {
"@polkadot/dev": "^0.78.1",
"@polkadot/dev": "^0.78.4",
"@types/tmp": "^0.2.6",
"copy-webpack-plugin": "^11.0.0",
"electron": "25.0.1",
"electron-builder": "23.6.0",
"electron": "28.0.0",
"electron-builder": "24.10.0",
"electron-builder-notarize": "^1.5.1",
"html-webpack-plugin": "^5.5.4",
"tmp": "^0.2.1"

View File

@ -18,7 +18,7 @@
"dependencies": {
"@polkadot/apps-config": "^0.133.2-32-x",
"@polkadot/apps-routing": "^0.133.2-32-x",
"@polkadot/dev": "^0.78.1",
"@polkadot/dev": "^0.78.4",
"@polkadot/react-api": "^0.133.2-32-x",
"@polkadot/react-components": "^0.133.2-32-x",
"@polkadot/react-hooks": "^0.133.2-32-x",

View File

@ -1,6 +0,0 @@
// Copyright 2017-2023 @polkadot/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Empty template, auto-generated by @polkadot/dev
export default [];

View File

@ -2,10 +2,10 @@
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
// (packageInfo imports will be kept as-is, user-editable)
import { detectPackage } from '@polkadot/util';
import others from './detectOther.js';
import { packageInfo } from './packageInfo.js';
detectPackage(packageInfo, null, others);
detectPackage(packageInfo, null, []);

View File

@ -30,7 +30,7 @@
"@polkadot/util-crypto": "^12.6.2",
"chart.js": "^4.4.1",
"chartjs-plugin-annotation": "^3.0.1",
"chartjs-plugin-crosshair": "^1.2.0",
"chartjs-plugin-crosshair": "^2.0.0",
"codeflask": "^1.4.1",
"i18next": "^23.7.11",
"i18next-browser-languagedetector": "^7.2.0",
@ -40,11 +40,11 @@
"react-copy-to-clipboard": "^5.1.0",
"react-dropzone": "^14.2.3",
"react-i18next": "^13.5.0",
"react-markdown": "^8.0.7",
"react-markdown": "^9.0.1",
"react-router": "^6.21.0",
"react-router-dom": "^6.21.0",
"react-tooltip": "^4.5.1",
"rehype-raw": "^6.1.1",
"rehype-raw": "^7.0.0",
"semantic-ui-css": "^2.5.0",
"semantic-ui-react": "^0.88.2",
"store": "^2.0.12",

View File

@ -17,7 +17,7 @@
"version": "0.133.2-32-x",
"dependencies": {
"@polkadot/react-components": "^0.133.2-32-x",
"multiformats": "^11.0.2"
"multiformats": "^12.1.3"
},
"peerDependencies": {
"react": "*",

View File

@ -7,7 +7,7 @@ import React, { useCallback, useEffect, useRef, useState } from 'react';
import { Dropdown } from '@polkadot/react-components';
import { GenericVote } from '@polkadot/types';
import { isBn } from '@polkadot/util';
import { isBn, isNumber } from '@polkadot/util';
import { useTranslation } from '../translate.js';
import Bare from './Bare.js';
@ -17,6 +17,7 @@ interface VoteParts {
conviction: number;
}
const AYE_MASK = 0b10000000;
const EMPTY_VOTE: VoteParts = { aye: true, conviction: 0 };
function Vote ({ className = '', defaultValue: { value }, isDisabled, isError, onChange, withLabel }: Props): React.ReactElement<Props> {
@ -53,10 +54,12 @@ function Vote ({ className = '', defaultValue: { value }, isDisabled, isError, o
]);
const defaultVote = isBn(value)
? (value.toNumber() !== 0)
: value instanceof GenericVote
? value.isAye
: (value as number !== 0);
? !!(value.toNumber() & AYE_MASK)
: isNumber(value)
? !!(value & AYE_MASK)
: value instanceof GenericVote
? value.isAye
: !!value;
const defaultConv = value instanceof GenericVote
? value.conviction.index
: 0;

1847
yarn.lock

File diff suppressed because it is too large Load Diff