diff --git a/.github/workflows/deploy-devnet.yml b/.github/workflows/deploy-devnet.yml index e1f6dfef..776aff71 100644 --- a/.github/workflows/deploy-devnet.yml +++ b/.github/workflows/deploy-devnet.yml @@ -18,7 +18,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: '16.x' + node-version: '18.x' - name: Setup yarn run: npm install -g yarn - run: yarn install diff --git a/.github/workflows/deploy-integration.yml b/.github/workflows/deploy-integration.yml index 902477f3..8e868a32 100644 --- a/.github/workflows/deploy-integration.yml +++ b/.github/workflows/deploy-integration.yml @@ -18,7 +18,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: '16.x' + node-version: '18.x' - name: Setup yarn run: npm install -g yarn - run: yarn install diff --git a/.github/workflows/deploy-mainnet.yml b/.github/workflows/deploy-mainnet.yml index 688c6f8f..6e0280a7 100644 --- a/.github/workflows/deploy-mainnet.yml +++ b/.github/workflows/deploy-mainnet.yml @@ -18,7 +18,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: '16.x' + node-version: '18.x' - name: Setup yarn run: npm install -g yarn - run: yarn install diff --git a/.github/workflows/deploy-testnet.yml b/.github/workflows/deploy-testnet.yml index 986fd63b..18c48b56 100644 --- a/.github/workflows/deploy-testnet.yml +++ b/.github/workflows/deploy-testnet.yml @@ -18,7 +18,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: '16.x' + node-version: '18.x' - name: Setup yarn run: npm install -g yarn - run: yarn install diff --git a/cypress/constants/enums.ts b/cypress/constants/enums.ts index 6d7ad424..8c5feb39 100644 --- a/cypress/constants/enums.ts +++ b/cypress/constants/enums.ts @@ -45,10 +45,3 @@ export const enum GlobalDataEnum { confirmedToast = 'transactions successful', cancelToast = 'Transaction canceled' } - -export const enum GlobalSelectorsEnum { - connect = 'Connect', - signAutoSend = 'sign-auto-send', - sendTransactions = 'send-transactions', - swapLock = 'swap-lock' -} diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 0f415237..59715fb9 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -23,7 +23,7 @@ Cypress.Commands.add('login', (walletID, selector) => { } cy.getSelector(GlobalSelectorsEnum.keystoreBtn).click(); cy.checkUrl(RoutesEnum.keystoreRoute); - cy.getSelector(GlobalSelectorsEnum.submitButton)).click(); + cy.getSelector(GlobalSelectorsEnum.submitButton).click(); cy.get('input[type=file]').selectFile('./cypress/assets/testKeystore.json', { force: true diff --git a/package.json b/package.json index d0b90231..9a70240e 100644 --- a/package.json +++ b/package.json @@ -6,13 +6,13 @@ "license": "GPL-3.0-or-later", "repository": "@multiversx/mx-template-dapp", "dependencies": { - "@fortawesome/fontawesome-svg-core": "6.4.0", - "@fortawesome/free-solid-svg-icons": "6.4.0", + "@fortawesome/fontawesome-svg-core": "6.5.1", + "@fortawesome/free-solid-svg-icons": "6.5.1", "@fortawesome/react-fontawesome": "0.2.0", - "@multiversx/sdk-core": "12.16.0", - "@multiversx/sdk-dapp": "2.25.2", - "@multiversx/sdk-network-providers": "2.2.0", - "axios": "1.6.2", + "@multiversx/sdk-core": "13.0.0-beta.4", + "@multiversx/sdk-dapp": "2.29.0-beta.3", + "@multiversx/sdk-network-providers": "2.2.1", + "axios": "1.6.5", "classnames": "2.3.2", "moment": "2.29.4", "react": "18.2.0", diff --git a/src/components/Card/Card.tsx b/src/components/Card/Card.tsx index 6eb72c74..4a2daeb8 100644 --- a/src/components/Card/Card.tsx +++ b/src/components/Card/Card.tsx @@ -7,15 +7,17 @@ interface CardType extends PropsWithChildren, WithClassnameType { title: string; description?: string; reference: string; + anchor?: string; } export const Card = (props: CardType) => { - const { title, children, description, reference } = props; + const { title, children, description, reference, anchor } = props; return (