@defisaver/sdk 1.3.31 → 1.3.33

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.
@@ -337,7 +337,7 @@ export const actionAddresses = {
337
337
  MidnightPaybackFromOrders: '0x55cd72fB914A60587a88962Efa680117aE900729',
338
338
  MidnightSupplyCollateral: '0x32e25a420cF132832173AFfF7e74a7A0F9EC7430',
339
339
  MidnightWithdrawCollateral: '0x4791Ffa530757AC56Cab7857291557ad3ef8b370',
340
- MidnightView: '0xB64FBf011343961D9AC4A04b714414E35ebE6BE0',
340
+ MidnightView: '0xb8e1dAAd42e18203cfCED7193FE0e2E19d713A56',
341
341
  },
342
342
  [NETWORKS.optimism.chainId]: {
343
343
  DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
@@ -587,7 +587,7 @@ export const actionAddresses = {
587
587
  MidnightPaybackFromOrders: '0x4B0c242195B1C941A2e7a871Bfa242c40dbf032F',
588
588
  MidnightSupplyCollateral: '0xC83C7Ca37203FC30636EDcd3Ef127194542504c5',
589
589
  MidnightWithdrawCollateral: '0x4fA4DA5fDD813279409B4Bf0Bde5Fe9ca8006A9C',
590
- MidnightView: '0x3aa272f329E8B562A3bA56Bb6979a44D23A28839',
590
+ MidnightView: '0xdEab43eb1519bD4314bc99c4019866734103D3Ae',
591
591
  },
592
592
  [NETWORKS.linea.chainId]: {
593
593
  // Basic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.3.31",
3
+ "version": "1.3.33",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
@@ -21,13 +21,41 @@
21
21
  "author": "DeFi Saver",
22
22
  "repository": "https://github.com/DecenterApps/defisaver-sdk",
23
23
  "license": "ISC",
24
+ "overrides": {
25
+ "tar": "^7.5.21",
26
+ "ws": "^8.18.3",
27
+ "form-data": "^4.0.4",
28
+ "tough-cookie": "^4.1.3",
29
+ "qs": "^6.14.0",
30
+ "serialize-javascript": "^7.1.0",
31
+ "fast-uri": "^3.1.6",
32
+ "js-yaml": "^4.3.2",
33
+ "eslint": {
34
+ "minimatch": "^3.1.5"
35
+ },
36
+ "@eslint/eslintrc": {
37
+ "minimatch": "^3.1.5"
38
+ },
39
+ "@humanwhocodes/config-array": {
40
+ "minimatch": "^3.1.5"
41
+ },
42
+ "eslint-plugin-import": {
43
+ "minimatch": "^3.1.5"
44
+ },
45
+ "eslint-plugin-jsx-a11y": {
46
+ "minimatch": "^3.1.5"
47
+ },
48
+ "eslint-plugin-react": {
49
+ "minimatch": "^3.1.5"
50
+ }
51
+ },
24
52
  "dependencies": {
25
53
  "@defisaver/eslint-config": "^1.0.0",
26
54
  "@defisaver/tokens": "^1.7.9",
27
55
  "@ethersproject/address": "^5.0.10",
28
56
  "@ethersproject/solidity": "^5.0.9",
29
57
  "@types/web3-eth-abi": "^1.2.2",
30
- "axios": "^0.21.1",
58
+ "axios": "^1.19.0",
31
59
  "decimal.js": "^10.2.1",
32
60
  "web3": "^1.10.1",
33
61
  "web3-eth-abi": "^1.8.0",
@@ -46,8 +74,8 @@
46
74
  "chai": "^4.2.0",
47
75
  "dotenv": "^10.0.0",
48
76
  "eslint": "^8.57.0",
49
- "jsdoc-to-markdown": "^6.0.1",
50
- "mocha": "^8.4.0",
77
+ "jsdoc-to-markdown": "^9.1.3",
78
+ "mocha": "^11.8.0",
51
79
  "ts-node": "^10.9.1",
52
80
  "typedoc": "^0.23.20",
53
81
  "typedoc-plugin-markdown": "^3.13.6",
package/src/addresses.ts CHANGED
@@ -410,7 +410,7 @@ export const actionAddresses = {
410
410
  MidnightPaybackFromOrders: '0x55cd72fB914A60587a88962Efa680117aE900729',
411
411
  MidnightSupplyCollateral: '0x32e25a420cF132832173AFfF7e74a7A0F9EC7430',
412
412
  MidnightWithdrawCollateral: '0x4791Ffa530757AC56Cab7857291557ad3ef8b370',
413
- MidnightView: '0xB64FBf011343961D9AC4A04b714414E35ebE6BE0',
413
+ MidnightView: '0xb8e1dAAd42e18203cfCED7193FE0e2E19d713A56',
414
414
  },
415
415
  [NETWORKS.optimism.chainId]: {
416
416
  DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
@@ -698,7 +698,7 @@ export const actionAddresses = {
698
698
  MidnightPaybackFromOrders: '0x4B0c242195B1C941A2e7a871Bfa242c40dbf032F',
699
699
  MidnightSupplyCollateral: '0xC83C7Ca37203FC30636EDcd3Ef127194542504c5',
700
700
  MidnightWithdrawCollateral: '0x4fA4DA5fDD813279409B4Bf0Bde5Fe9ca8006A9C',
701
- MidnightView: '0x3aa272f329E8B562A3bA56Bb6979a44D23A28839',
701
+ MidnightView: '0xdEab43eb1519bD4314bc99c4019866734103D3Ae',
702
702
  },
703
703
  [NETWORKS.linea.chainId]: {
704
704
  // Basic