Skip to content

Commit

Permalink
Merge pull request #36 from multiversx/development
Browse files Browse the repository at this point in the history
2.1.1 (#35)
  • Loading branch information
arhtudormorar authored Oct 24, 2024
2 parents 3c9d8fe + d1c508d commit c8b5178
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 26 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [[2.1.0](https://github.com/multiversx/mx-sdk-dapp-swap/pull/36)] - 2024-10-24
- [Remove network-providers dependency](https://github.com/multiversx/mx-sdk-dapp-swap/pull/35)

## [[2.1.0](https://github.com/multiversx/mx-sdk-dapp-swap/pull/34)] - 2024-10-21
- [Upgrade sdk-dapp](https://github.com/multiversx/mx-sdk-dapp-swap/pull/31)

Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@multiversx/sdk-dapp-swap",
"version": "2.1.0",
"version": "2.1.1",
"description": "A library to hold the main logic for swapping between tokens on the MultiversX blockchain",
"author": "MultiversX",
"license": "GPL-3.0-or-later",
Expand All @@ -27,8 +27,7 @@
"devDependencies": {
"@apollo/client": ">=3.8.6",
"graphql": ">=16.9.0",
"@multiversx/sdk-network-providers": ">=2.8.0",
"@multiversx/sdk-core": ">=13.5.0",
"@multiversx/sdk-core": ">=13.12.0",
"@multiversx/sdk-dapp": ">=3.0.0",
"@size-limit/preset-small-lib": "7.0.8",
"@testing-library/jest-dom": "5.16.4",
Expand Down Expand Up @@ -89,10 +88,9 @@
"transaction"
],
"peerDependencies": {
"@multiversx/sdk-core": ">=13.5.0",
"@multiversx/sdk-core": ">=13.12.0",
"@multiversx/sdk-dapp": ">=3.0.0",
"@apollo/client": ">=3.8.6",
"@multiversx/sdk-network-providers": ">=2.8.0",
"react": ">=18",
"react-dom": ">=18",
"graphql": ">=16.9.0"
Expand Down
3 changes: 1 addition & 2 deletions src/utils/getTransactionFee.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { IPlainTransactionObject } from '@multiversx/sdk-core';
import { IPlainTransactionObject, NetworkConfig } from '@multiversx/sdk-core';
import {
GAS_LIMIT,
GAS_PER_DATA_BYTE,
GAS_PRICE_MODIFIER
} from '@multiversx/sdk-dapp/constants';
import { NetworkConfig } from '@multiversx/sdk-network-providers';
import { createTransactionFromRaw } from './createTransactionFromRaw';

export const getTransactionFee = (rawTransaction: IPlainTransactionObject) => {
Expand Down
34 changes: 15 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2145,17 +2145,28 @@
resolved "https://registry.yarnpkg.com/@multiversx/sdk-bls-wasm/-/sdk-bls-wasm-0.3.5.tgz#2e83308fdc7a0928c6d5a7f910d796fd8eb2d90b"
integrity sha512-c0tIdQUnbBLSt6NYU+OpeGPYdL0+GV547HeHT8Xc0BKQ7Cj0v82QUoA2QRtWrR1G4MNZmLsIacZSsf6DrIS2Bw==

"@multiversx/sdk-core@>=13.5.0":
version "13.9.0"
resolved "https://registry.yarnpkg.com/@multiversx/sdk-core/-/sdk-core-13.9.0.tgz#9a4cce2d355d376917fa78d05a515ee0bd8f3e96"
integrity sha512-WYA5fssMt/jTRTT+dkZW6V0ykCrkczhJ3BbZni6LhHjwFti7lMboVdoUMCIyPbecWZIEdmLq0OTcjOLy9tZX0g==
"@multiversx/sdk-core@>=13.12.0":
version "13.12.0"
resolved "https://registry.yarnpkg.com/@multiversx/sdk-core/-/sdk-core-13.12.0.tgz#0e5ab98c2f65cb7c6db78c3fd24660bee20d468d"
integrity sha512-mzXNQ5NJKQc2GqIy24zpoppbSF00JXGBI1HesQ15KvfH5w7qejceX4MSF58GBoqQ3v2cneeRB48DE4uY3RBnBA==
dependencies:
"@multiversx/sdk-transaction-decoder" "1.0.2"
"@noble/ed25519" "1.7.3"
"@noble/hashes" "1.3.0"
bech32 "1.1.4"
blake2b "2.1.3"
buffer "6.0.3"
ed25519-hd-key "1.1.2"
ed2curve "0.3.0"
json-bigint "1.0.0"
keccak "3.0.2"
scryptsy "2.1.0"
tweetnacl "1.0.3"
uuid "8.3.2"
optionalDependencies:
"@multiversx/sdk-bls-wasm" "0.3.5"
axios "^1.7.4"
bip39 "3.1.0"

"@multiversx/[email protected]":
version "1.0.0"
Expand Down Expand Up @@ -2241,16 +2252,6 @@
dependencies:
axios "^1.7.4"

"@multiversx/sdk-network-providers@>=2.8.0":
version "2.8.0"
resolved "https://registry.yarnpkg.com/@multiversx/sdk-network-providers/-/sdk-network-providers-2.8.0.tgz#549d19090c536c77f03951367d4da2a72b8486bc"
integrity sha512-p28NVS+uKpfPH4O0yR2LJtCNBHi1o95a3L51pCco1F4UN5seYEXYqOgP0GBxPd0WtajMXR1r5dnCrX9CFHDGcA==
dependencies:
bech32 "1.1.4"
bignumber.js "9.0.1"
buffer "6.0.3"
json-bigint "1.0.0"

"@multiversx/[email protected]":
version "1.0.0-alpha.1"
resolved "https://registry.yarnpkg.com/@multiversx/sdk-opera-provider/-/sdk-opera-provider-1.0.0-alpha.1.tgz#2beebd5423fdc2e667b33660f17cbff325449097"
Expand Down Expand Up @@ -4763,11 +4764,6 @@ big.js@^5.2.2:
resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328"
integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==

[email protected]:
version "9.0.1"
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.1.tgz#8d7ba124c882bfd8e43260c67475518d0689e4e5"
integrity sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==

[email protected], bignumber.js@^9.0.0:
version "9.1.2"
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c"
Expand Down

0 comments on commit c8b5178

Please sign in to comment.