@pancakeswap/sdk 5.7.2 → 5.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1811,7 +1811,7 @@ exports.pancakePairV2ABI = pancakePairV2ABI;
1811
1811
  exports.tradeComparator = tradeComparator;
1812
1812
  exports.validateAndParseAddress = validateAndParseAddress;
1813
1813
  Object.keys(swapSdkCore).forEach(function (k) {
1814
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
1814
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
1815
1815
  enumerable: true,
1816
1816
  get: function () { return swapSdkCore[k]; }
1817
1817
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pancakeswap/sdk",
3
3
  "license": "MIT",
4
- "version": "5.7.2",
4
+ "version": "5.7.4",
5
5
  "description": "🛠 An SDK for building applications on top of Pancakeswap.",
6
6
  "main": "dist/index.js",
7
7
  "typings": "dist/index.d.ts",
@@ -29,11 +29,11 @@
29
29
  "dependencies": {
30
30
  "big.js": "^5.2.2",
31
31
  "decimal.js-light": "^2.5.0",
32
- "tiny-invariant": "^1.1.0",
32
+ "tiny-invariant": "^1.3.0",
33
33
  "tiny-warning": "^1.0.3",
34
34
  "toformat": "^2.0.0",
35
- "viem": "^1.15.1",
36
- "@pancakeswap/chains": "^0.3.0",
35
+ "viem": "1.19.11",
36
+ "@pancakeswap/chains": "^0.3.1",
37
37
  "@pancakeswap/swap-sdk-core": "1.0.0"
38
38
  },
39
39
  "devDependencies": {