Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Nov 28, 2024
1 parent d40cbbe commit 347f26c
Show file tree
Hide file tree
Showing 27 changed files with 719 additions and 692 deletions.
4 changes: 2 additions & 2 deletions DISCLAIMER.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ This disclaimer is subject to updates or changes. It is your responsibility to r

*Further Agree with:*

* General RunOnFlux.io Privacy Policy: <https://runonflux.io/privacyPolicy>
* General RunOnFlux.com Privacy Policy: <https://runonflux.com/privacyPolicy>

* General RunOnFlux.io Terms of Service: <https://runonflux.io/termsandconditions>
* General RunOnFlux.com Terms of Service: <https://runonflux.com/termsandconditions>

* [Not Being Evil](https://www.youtube.com/watch?v=GJVk_LfASxk&ab_channel=FluxLabs)
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,6 @@ if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.

Copyright (c) 2023 InFlux Technologies Limited
RunonFlux.io Team
Copyright (c) 2024 InFlux Technologies Limited
RunOnFlux.com Team
SSP Community
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SSP Wallet
Secure. Simple. Powerful.

<https://sspwallet.io>
<https://runonflux.io>
<https://runonflux.com>

SSP Wallet:
Google Chrome: <https://chromewebstore.google.com/u/3/detail/ssp-wallet/mgfbabcnedcejkfibpafadgkhmkifhbd>
Expand Down
47 changes: 23 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ssp-wallet",
"description": "Secure. Simple. Powerful.",
"private": true,
"version": "1.8.0",
"version": "1.8.1",
"type": "module",
"scripts": {
"dev": "vite --host",
Expand All @@ -17,24 +17,24 @@
"dependencies": {
"@alchemy/aa-core": "~3.19.0",
"@metamask/browser-passworder": "~5.0.1",
"@noble/hashes": "~1.5.0",
"@noble/hashes": "~1.6.1",
"@reduxjs/toolkit": "~2.3.0",
"@runonflux/aa-schnorr-multisig-sdk": "~1.0.4",
"@runonflux/flux-sdk": "~1.0.3",
"@runonflux/utxo-lib": "~1.0.0",
"@scure/bip32": "~1.5.0",
"@scure/bip39": "~1.4.0",
"@runonflux/utxo-lib": "~1.0.1",
"@scure/bip32": "~1.6.0",
"@scure/bip39": "~1.5.0",
"@ant-design/icons": "~5.5.1",
"antd": "~5.21.6",
"antd": "~5.22.2",
"assert": "~2.1.0",
"axios": "~1.7.7",
"axios": "~1.7.8",
"bchaddrjs": "~0.5.2",
"bignumber.js": "~9.1.2",
"buffer": "~6.0.3",
"crypto-browserify": "~3.12.1",
"currency-symbol-map": "~5.1.0",
"events": "~3.3.0",
"i18next": "~23.16.5",
"i18next": "~24.0.2",
"localforage": "~1.10.0",
"lru-cache": "~11.0.2",
"patch-package": "~8.0.0",
Expand All @@ -43,44 +43,43 @@
"react": "~18.3.1",
"react-countdown-circle-timer": "~3.2.1",
"react-dom": "~18.3.1",
"react-i18next": "~15.1.1",
"react-i18next": "~15.1.2",
"react-redux": "~9.1.2",
"react-router-dom": "~6.28.0",
"react-router": "~7.0.1",
"react-secure-storage": "~1.3.2",
"socket.io-client": "~4.8.1",
"stream-browserify": "~3.0.0",
"util": "~0.12.5",
"export-to-csv": "~1.4.0",
"viem": "~2.21.44"
"viem": "~2.21.51"
},
"devDependencies": {
"@eslint/js": "~9.14.0",
"@eslint/js": "~9.15.0",
"@types/bchaddrjs": "~0.4.3",
"@types/chrome": "~0.0.280",
"@types/node": "~22.9.0",
"@types/chrome": "~0.0.287",
"@types/node": "~22.10.0",
"@types/react": "~18.3.12",
"@types/react-dom": "~18.3.1",
"@types/react-redux": "~7.1.34",
"@types/react-router-dom": "~5.3.3",
"@types/chai": "~4.3.20",
"@types/mocha": "~10.0.9",
"@typescript-eslint/eslint-plugin": "~8.13.0",
"@typescript-eslint/parser": "~8.13.0",
"@vitejs/plugin-react-swc": "~3.7.1",
"eslint": "~9.14.0",
"@types/mocha": "~10.0.10",
"@typescript-eslint/eslint-plugin": "~8.16.0",
"@typescript-eslint/parser": "~8.16.0",
"@vitejs/plugin-react-swc": "~3.7.2",
"eslint": "~9.15.0",
"eslint-config-prettier": "~9.1.0",
"eslint-plugin-prettier": "~5.2.1",
"eslint-plugin-react": "~7.37.2",
"eslint-plugin-react-hooks": "~5.0.0",
"eslint-plugin-react-refresh": "~0.4.14",
"globals": "~15.12.0",
"mocha": "~10.8.2",
"prettier": "~3.3.3",
"prettier": "~3.4.1",
"tsx": "~4.19.2",
"typescript": "~5.6.3",
"typescript-eslint": "~8.13.0",
"typescript": "~5.7.2",
"typescript-eslint": "~8.16.0",
"chai": "~4.5.0",
"vite": "~5.4.10",
"vite": "~6.0.1",
"nyc": "~17.1.0",
"ts-mocha": "~10.0.0",
"sinon": "~19.0.2",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { RouterProvider } from 'react-router-dom';
import { RouterProvider } from 'react-router';
import { ConfigProvider, theme } from 'antd';
import router from './router';

Expand Down
2 changes: 1 addition & 1 deletion src/components/AutoLogout/AutoLogout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useRef } from 'react';

import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';

import {
setSSPInitialState,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Headerbar/Headerbar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { Row, Col, Image } from 'antd';
import './Headerbar.css';

Expand Down
2 changes: 1 addition & 1 deletion src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect, useState } from 'react';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { NoticeType } from 'antd/es/message/interface';
import localForage from 'localforage';
import { useAppDispatch } from '../../hooks';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { Button, Space } from 'antd';
import { ArrowUpOutlined, ArrowDownOutlined } from '@ant-design/icons';
import Receive from '../Receive/Receive';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Nodes/NodesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function NodesTable(props: {
{t('home:nodesTable.no_nodes')}
<br />
<a
href="https://runonflux.io/nodes"
href="https://runonflux.com/nodes"
target="_blank"
rel="noreferrer"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/PaymentRequest/PaymentRequest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import localForage from 'localforage';
const { Text } = Typography;
import { NoticeType } from 'antd/es/message/interface';
import BigNumber from 'bignumber.js';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { useTranslation } from 'react-i18next';
import { blockchains, Token } from '@storage/blockchains';
import secureLocalStorage from 'react-secure-storage';
Expand Down
2 changes: 1 addition & 1 deletion src/components/PoweredByFlux/PoweredByFlux.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function PoweredByFlux({ isClickeable = false }: Props) {
height={18}
preview={false}
src={`/powered_by_${themeStyle}.svg`}
onClick={() => open('https://runonflux.io')}
onClick={() => open('https://runonflux.com')}
style={{ cursor: 'pointer' }}
/>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Settings/Settings.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect, useState } from 'react';
import { Link } from 'react-router-dom';
import { Link } from 'react-router';
import { Button, Modal, Input, Space, message, Select } from 'antd';
import { NoticeType } from 'antd/es/message/interface';
import localForage from 'localforage';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Transactions/TransactionsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from 'antd';
import { QuestionCircleOutlined } from '@ant-design/icons';
import { useEffect, useState } from 'react';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
const { Column } = Table;
import BigNumber from 'bignumber.js';
import { NoticeType } from 'antd/es/message/interface';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Create/Create.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState, useEffect, useRef } from 'react';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { Input, Button, Checkbox, Form, Divider, message, Modal } from 'antd';
import type { CheckboxChangeEvent } from 'antd/es/checkbox';
import { useTranslation } from 'react-i18next';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Home/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState, useEffect, useRef } from 'react';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { NoticeType } from 'antd/es/message/interface';
import localForage from 'localforage';
import { useAppSelector, useAppDispatch } from '../../hooks';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Login/Login.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState, useEffect, useRef } from 'react';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { Input, Image, Button, Form, message, Spin } from 'antd';
import localForage from 'localforage';
import {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Restore/Restore.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState, useEffect } from 'react';
import { useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router';
import { Input, Button, Checkbox, Form, Divider, message, Modal } from 'antd';
import type { CheckboxChangeEvent } from 'antd/es/checkbox';
import { useTranslation } from 'react-i18next';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Send/Send.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect, useState, useRef } from 'react';
import { useNavigate, useLocation } from 'react-router-dom';
import { useNavigate, useLocation } from 'react-router';
import {
Form,
message,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/SendEVM/SendEVM.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect, useState, useRef } from 'react';
import { useNavigate, useLocation } from 'react-router-dom';
import { useNavigate, useLocation } from 'react-router';
import {
Form,
message,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Welcome/Welcome.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState, useEffect, useRef } from 'react';
import { Link, useNavigate } from 'react-router-dom';
import { Link, useNavigate } from 'react-router';
import secureLocalStorage from 'react-secure-storage';
import { Button, Image, Space, Spin } from 'antd';
import { useTranslation } from 'react-i18next';
Expand Down
2 changes: 1 addition & 1 deletion src/router.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Navigate, createBrowserRouter } from 'react-router-dom';
import { Navigate, createBrowserRouter } from 'react-router';

import Welcome from './pages/Welcome/Welcome.tsx';
import Create from './pages/Create/Create.tsx';
Expand Down
2 changes: 1 addition & 1 deletion src/translations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void i18n.use(initReactI18next).init({
interpolation: {
escapeValue: false, // not needed for react as it escapes by default
},
compatibilityJSON: 'v3',
compatibilityJSON: 'v4',
});

export default i18n;
6 changes: 3 additions & 3 deletions tests/lib/balances.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('Balances Lib', function () {
describe('Verifies balances', function () {
it('should return fetchAddressBalance data when value is flux', async function () {
const res = await fetchAddressBalance(
't1ex3ZyD2gYqztumQpgG6uPDGK5iHFY6aEd',
't3ZQQsd8hJNw6UQKYLwfofdL3ntPmgkwofH',
'flux',
);
expect(res).to.not.be.null;
Expand All @@ -24,7 +24,7 @@ describe('Balances Lib', function () {
expect(res.unconfirmed).to.not.be.undefined;
expect(res.totalTransactions).to.not.be.null;
expect(res.totalTransactions).to.not.be.undefined;
assert.equal(res.address, 't1ex3ZyD2gYqztumQpgG6uPDGK5iHFY6aEd');
assert.equal(res.address, 't3ZQQsd8hJNw6UQKYLwfofdL3ntPmgkwofH');
});

it('should return fetchAddressBalance data when value is blockbook type', async function () {
Expand Down Expand Up @@ -60,7 +60,7 @@ describe('Balances Lib', function () {

it('should return fetchAddressTokenBalances data when value is invalid', async function () {
await fetchAddressTokenBalances(
't1ex3ZyD2gYqztumQpgG6uPDGK5iHFY6aEd',
't3ZQQsd8hJNw6UQKYLwfofdL3ntPmgkwofH',
'flux',
[],
).catch((r) => {
Expand Down
4 changes: 2 additions & 2 deletions tests/lib/nodes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('Nodes Lib', function () {
describe('Verifies nodes', function () {
it('should return fetchNodesUtxos data when value is valid', async function () {
const res = await fetchNodesUtxos(
't1ex3ZyD2gYqztumQpgG6uPDGK5iHFY6aEd',
't3ZQQsd8hJNw6UQKYLwfofdL3ntPmgkwofH',
'flux',
);
expect(res[0]).to.not.be.null;
Expand All @@ -37,7 +37,7 @@ describe('Nodes Lib', function () {

it('should return getNodesOnNetwork data when value is valid', async function () {
const res = await getNodesOnNetwork(
't1ex3ZyD2gYqztumQpgG6uPDGK5iHFY6aEd',
't3ZQQsd8hJNw6UQKYLwfofdL3ntPmgkwofH',
'flux',
);
expect(res[0]).to.not.be.null;
Expand Down
Loading

0 comments on commit 347f26c

Please sign in to comment.