@defisaver/sdk 1.3.27 → 1.3.28-audit-dev

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.
@@ -1,4 +1,3 @@
1
1
  export * from './EtherFiStakeAction';
2
- export * from './EtherFiStakeFromLidoAction';
3
2
  export * from './EtherFiWrapAction';
4
3
  export * from './EtherFiUnwrapAction';
@@ -1,4 +1,3 @@
1
1
  export * from './EtherFiStakeAction';
2
- export * from './EtherFiStakeFromLidoAction';
3
2
  export * from './EtherFiWrapAction';
4
3
  export * from './EtherFiUnwrapAction';
@@ -256,7 +256,6 @@ export declare const actionAddresses: {
256
256
  MerklClaim: string;
257
257
  RenzoStake: string;
258
258
  EtherFiStake: string;
259
- EtherFiStakeFromLido: string;
260
259
  EtherFiWrap: string;
261
260
  EtherFiUnwrap: string;
262
261
  KingClaim: string;
@@ -556,7 +555,6 @@ export declare const actionAddresses: {
556
555
  EulerV2View?: undefined;
557
556
  RenzoStake?: undefined;
558
557
  EtherFiStake?: undefined;
559
- EtherFiStakeFromLido?: undefined;
560
558
  EtherFiWrap?: undefined;
561
559
  EtherFiUnwrap?: undefined;
562
560
  KingClaim?: undefined;
@@ -862,7 +860,6 @@ export declare const actionAddresses: {
862
860
  EulerV2View?: undefined;
863
861
  RenzoStake?: undefined;
864
862
  EtherFiStake?: undefined;
865
- EtherFiStakeFromLido?: undefined;
866
863
  EtherFiWrap?: undefined;
867
864
  EtherFiUnwrap?: undefined;
868
865
  KingClaim?: undefined;
@@ -1155,7 +1152,6 @@ export declare const actionAddresses: {
1155
1152
  EulerV2View?: undefined;
1156
1153
  RenzoStake?: undefined;
1157
1154
  EtherFiStake?: undefined;
1158
- EtherFiStakeFromLido?: undefined;
1159
1155
  EtherFiWrap?: undefined;
1160
1156
  EtherFiUnwrap?: undefined;
1161
1157
  KingClaim?: undefined;
@@ -1432,7 +1428,6 @@ export declare const actionAddresses: {
1432
1428
  EulerV2View?: undefined;
1433
1429
  RenzoStake?: undefined;
1434
1430
  EtherFiStake?: undefined;
1435
- EtherFiStakeFromLido?: undefined;
1436
1431
  EtherFiWrap?: undefined;
1437
1432
  EtherFiUnwrap?: undefined;
1438
1433
  KingClaim?: undefined;
@@ -1739,7 +1734,6 @@ export declare const actionAddresses: {
1739
1734
  EulerV2View?: undefined;
1740
1735
  RenzoStake?: undefined;
1741
1736
  EtherFiStake?: undefined;
1742
- EtherFiStakeFromLido?: undefined;
1743
1737
  EtherFiWrap?: undefined;
1744
1738
  EtherFiUnwrap?: undefined;
1745
1739
  KingClaim?: undefined;
@@ -292,7 +292,6 @@ export const actionAddresses = {
292
292
  RenzoStake: '0x17DCF7132E30a0dC3d515C605E7c3D750c61E73c',
293
293
  // etherFi
294
294
  EtherFiStake: '0xcadB650B6a60C89f7847Cba555A7eeCC220EA2e8',
295
- EtherFiStakeFromLido: '0xd4815aa46fc39e667fd7ab3194458639b59bcd82',
296
295
  EtherFiWrap: '0x086464be5c73f66cfbe6b64ec23aa5a86749ef58',
297
296
  EtherFiUnwrap: '0x6Eb09948DDf9332d628d156950b9B1C0c091e8D8',
298
297
  KingClaim: '0xd4C4D1Ef0e79389173EBc247972F355c6f2FEC76',
@@ -267,7 +267,6 @@ declare const actionAddressesAllChains: {
267
267
  MerklClaim: string;
268
268
  RenzoStake: string;
269
269
  EtherFiStake: string;
270
- EtherFiStakeFromLido: string;
271
270
  EtherFiWrap: string;
272
271
  EtherFiUnwrap: string;
273
272
  KingClaim: string;
@@ -567,7 +566,6 @@ declare const actionAddressesAllChains: {
567
566
  EulerV2View?: undefined;
568
567
  RenzoStake?: undefined;
569
568
  EtherFiStake?: undefined;
570
- EtherFiStakeFromLido?: undefined;
571
569
  EtherFiWrap?: undefined;
572
570
  EtherFiUnwrap?: undefined;
573
571
  KingClaim?: undefined;
@@ -873,7 +871,6 @@ declare const actionAddressesAllChains: {
873
871
  EulerV2View?: undefined;
874
872
  RenzoStake?: undefined;
875
873
  EtherFiStake?: undefined;
876
- EtherFiStakeFromLido?: undefined;
877
874
  EtherFiWrap?: undefined;
878
875
  EtherFiUnwrap?: undefined;
879
876
  KingClaim?: undefined;
@@ -1166,7 +1163,6 @@ declare const actionAddressesAllChains: {
1166
1163
  EulerV2View?: undefined;
1167
1164
  RenzoStake?: undefined;
1168
1165
  EtherFiStake?: undefined;
1169
- EtherFiStakeFromLido?: undefined;
1170
1166
  EtherFiWrap?: undefined;
1171
1167
  EtherFiUnwrap?: undefined;
1172
1168
  KingClaim?: undefined;
@@ -1443,7 +1439,6 @@ declare const actionAddressesAllChains: {
1443
1439
  EulerV2View?: undefined;
1444
1440
  RenzoStake?: undefined;
1445
1441
  EtherFiStake?: undefined;
1446
- EtherFiStakeFromLido?: undefined;
1447
1442
  EtherFiWrap?: undefined;
1448
1443
  EtherFiUnwrap?: undefined;
1449
1444
  KingClaim?: undefined;
@@ -1750,7 +1745,6 @@ declare const actionAddressesAllChains: {
1750
1745
  EulerV2View?: undefined;
1751
1746
  RenzoStake?: undefined;
1752
1747
  EtherFiStake?: undefined;
1753
- EtherFiStakeFromLido?: undefined;
1754
1748
  EtherFiWrap?: undefined;
1755
1749
  EtherFiUnwrap?: undefined;
1756
1750
  KingClaim?: undefined;
@@ -2033,7 +2027,6 @@ declare const actionAddresses: (chainId?: null) => {
2033
2027
  MerklClaim: string;
2034
2028
  RenzoStake: string;
2035
2029
  EtherFiStake: string;
2036
- EtherFiStakeFromLido: string;
2037
2030
  EtherFiWrap: string;
2038
2031
  EtherFiUnwrap: string;
2039
2032
  KingClaim: string;
@@ -2333,7 +2326,6 @@ declare const actionAddresses: (chainId?: null) => {
2333
2326
  EulerV2View?: undefined;
2334
2327
  RenzoStake?: undefined;
2335
2328
  EtherFiStake?: undefined;
2336
- EtherFiStakeFromLido?: undefined;
2337
2329
  EtherFiWrap?: undefined;
2338
2330
  EtherFiUnwrap?: undefined;
2339
2331
  KingClaim?: undefined;
@@ -2639,7 +2631,6 @@ declare const actionAddresses: (chainId?: null) => {
2639
2631
  EulerV2View?: undefined;
2640
2632
  RenzoStake?: undefined;
2641
2633
  EtherFiStake?: undefined;
2642
- EtherFiStakeFromLido?: undefined;
2643
2634
  EtherFiWrap?: undefined;
2644
2635
  EtherFiUnwrap?: undefined;
2645
2636
  KingClaim?: undefined;
@@ -2932,7 +2923,6 @@ declare const actionAddresses: (chainId?: null) => {
2932
2923
  EulerV2View?: undefined;
2933
2924
  RenzoStake?: undefined;
2934
2925
  EtherFiStake?: undefined;
2935
- EtherFiStakeFromLido?: undefined;
2936
2926
  EtherFiWrap?: undefined;
2937
2927
  EtherFiUnwrap?: undefined;
2938
2928
  KingClaim?: undefined;
@@ -3209,7 +3199,6 @@ declare const actionAddresses: (chainId?: null) => {
3209
3199
  EulerV2View?: undefined;
3210
3200
  RenzoStake?: undefined;
3211
3201
  EtherFiStake?: undefined;
3212
- EtherFiStakeFromLido?: undefined;
3213
3202
  EtherFiWrap?: undefined;
3214
3203
  EtherFiUnwrap?: undefined;
3215
3204
  KingClaim?: undefined;
@@ -3516,7 +3505,6 @@ declare const actionAddresses: (chainId?: null) => {
3516
3505
  EulerV2View?: undefined;
3517
3506
  RenzoStake?: undefined;
3518
3507
  EtherFiStake?: undefined;
3519
- EtherFiStakeFromLido?: undefined;
3520
3508
  EtherFiWrap?: undefined;
3521
3509
  EtherFiUnwrap?: undefined;
3522
3510
  KingClaim?: undefined;
@@ -4036,7 +4024,6 @@ declare const _default: {
4036
4024
  MerklClaim: string;
4037
4025
  RenzoStake: string;
4038
4026
  EtherFiStake: string;
4039
- EtherFiStakeFromLido: string;
4040
4027
  EtherFiWrap: string;
4041
4028
  EtherFiUnwrap: string;
4042
4029
  KingClaim: string;
@@ -4336,7 +4323,6 @@ declare const _default: {
4336
4323
  EulerV2View?: undefined;
4337
4324
  RenzoStake?: undefined;
4338
4325
  EtherFiStake?: undefined;
4339
- EtherFiStakeFromLido?: undefined;
4340
4326
  EtherFiWrap?: undefined;
4341
4327
  EtherFiUnwrap?: undefined;
4342
4328
  KingClaim?: undefined;
@@ -4642,7 +4628,6 @@ declare const _default: {
4642
4628
  EulerV2View?: undefined;
4643
4629
  RenzoStake?: undefined;
4644
4630
  EtherFiStake?: undefined;
4645
- EtherFiStakeFromLido?: undefined;
4646
4631
  EtherFiWrap?: undefined;
4647
4632
  EtherFiUnwrap?: undefined;
4648
4633
  KingClaim?: undefined;
@@ -4935,7 +4920,6 @@ declare const _default: {
4935
4920
  EulerV2View?: undefined;
4936
4921
  RenzoStake?: undefined;
4937
4922
  EtherFiStake?: undefined;
4938
- EtherFiStakeFromLido?: undefined;
4939
4923
  EtherFiWrap?: undefined;
4940
4924
  EtherFiUnwrap?: undefined;
4941
4925
  KingClaim?: undefined;
@@ -5212,7 +5196,6 @@ declare const _default: {
5212
5196
  EulerV2View?: undefined;
5213
5197
  RenzoStake?: undefined;
5214
5198
  EtherFiStake?: undefined;
5215
- EtherFiStakeFromLido?: undefined;
5216
5199
  EtherFiWrap?: undefined;
5217
5200
  EtherFiUnwrap?: undefined;
5218
5201
  KingClaim?: undefined;
@@ -5519,7 +5502,6 @@ declare const _default: {
5519
5502
  EulerV2View?: undefined;
5520
5503
  RenzoStake?: undefined;
5521
5504
  EtherFiStake?: undefined;
5522
- EtherFiStakeFromLido?: undefined;
5523
5505
  EtherFiWrap?: undefined;
5524
5506
  EtherFiUnwrap?: undefined;
5525
5507
  KingClaim?: undefined;
@@ -5802,7 +5784,6 @@ declare const _default: {
5802
5784
  MerklClaim: string;
5803
5785
  RenzoStake: string;
5804
5786
  EtherFiStake: string;
5805
- EtherFiStakeFromLido: string;
5806
5787
  EtherFiWrap: string;
5807
5788
  EtherFiUnwrap: string;
5808
5789
  KingClaim: string;
@@ -6102,7 +6083,6 @@ declare const _default: {
6102
6083
  EulerV2View?: undefined;
6103
6084
  RenzoStake?: undefined;
6104
6085
  EtherFiStake?: undefined;
6105
- EtherFiStakeFromLido?: undefined;
6106
6086
  EtherFiWrap?: undefined;
6107
6087
  EtherFiUnwrap?: undefined;
6108
6088
  KingClaim?: undefined;
@@ -6408,7 +6388,6 @@ declare const _default: {
6408
6388
  EulerV2View?: undefined;
6409
6389
  RenzoStake?: undefined;
6410
6390
  EtherFiStake?: undefined;
6411
- EtherFiStakeFromLido?: undefined;
6412
6391
  EtherFiWrap?: undefined;
6413
6392
  EtherFiUnwrap?: undefined;
6414
6393
  KingClaim?: undefined;
@@ -6701,7 +6680,6 @@ declare const _default: {
6701
6680
  EulerV2View?: undefined;
6702
6681
  RenzoStake?: undefined;
6703
6682
  EtherFiStake?: undefined;
6704
- EtherFiStakeFromLido?: undefined;
6705
6683
  EtherFiWrap?: undefined;
6706
6684
  EtherFiUnwrap?: undefined;
6707
6685
  KingClaim?: undefined;
@@ -6978,7 +6956,6 @@ declare const _default: {
6978
6956
  EulerV2View?: undefined;
6979
6957
  RenzoStake?: undefined;
6980
6958
  EtherFiStake?: undefined;
6981
- EtherFiStakeFromLido?: undefined;
6982
6959
  EtherFiWrap?: undefined;
6983
6960
  EtherFiUnwrap?: undefined;
6984
6961
  KingClaim?: undefined;
@@ -7285,7 +7262,6 @@ declare const _default: {
7285
7262
  EulerV2View?: undefined;
7286
7263
  RenzoStake?: undefined;
7287
7264
  EtherFiStake?: undefined;
7288
- EtherFiStakeFromLido?: undefined;
7289
7265
  EtherFiWrap?: undefined;
7290
7266
  EtherFiUnwrap?: undefined;
7291
7267
  KingClaim?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.3.27",
3
+ "version": "1.3.28-audit-dev",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
@@ -21,13 +21,39 @@
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
+ "eslint": {
32
+ "minimatch": "^3.1.5"
33
+ },
34
+ "@eslint/eslintrc": {
35
+ "minimatch": "^3.1.5"
36
+ },
37
+ "@humanwhocodes/config-array": {
38
+ "minimatch": "^3.1.5"
39
+ },
40
+ "eslint-plugin-import": {
41
+ "minimatch": "^3.1.5"
42
+ },
43
+ "eslint-plugin-jsx-a11y": {
44
+ "minimatch": "^3.1.5"
45
+ },
46
+ "eslint-plugin-react": {
47
+ "minimatch": "^3.1.5"
48
+ }
49
+ },
24
50
  "dependencies": {
25
51
  "@defisaver/eslint-config": "^1.0.0",
26
52
  "@defisaver/tokens": "^1.7.9",
27
53
  "@ethersproject/address": "^5.0.10",
28
54
  "@ethersproject/solidity": "^5.0.9",
29
55
  "@types/web3-eth-abi": "^1.2.2",
30
- "axios": "^0.21.1",
56
+ "axios": "^1.19.0",
31
57
  "decimal.js": "^10.2.1",
32
58
  "web3": "^1.10.1",
33
59
  "web3-eth-abi": "^1.8.0",
@@ -46,8 +72,8 @@
46
72
  "chai": "^4.2.0",
47
73
  "dotenv": "^10.0.0",
48
74
  "eslint": "^8.57.0",
49
- "jsdoc-to-markdown": "^6.0.1",
50
- "mocha": "^8.4.0",
75
+ "jsdoc-to-markdown": "^9.1.3",
76
+ "mocha": "^11.8.0",
51
77
  "ts-node": "^10.9.1",
52
78
  "typedoc": "^0.23.20",
53
79
  "typedoc-plugin-markdown": "^3.13.6",
@@ -1,4 +1,3 @@
1
1
  export * from './EtherFiStakeAction';
2
- export * from './EtherFiStakeFromLidoAction';
3
2
  export * from './EtherFiWrapAction';
4
- export * from './EtherFiUnwrapAction';
3
+ export * from './EtherFiUnwrapAction';
package/src/addresses.ts CHANGED
@@ -358,7 +358,6 @@ export const actionAddresses = {
358
358
 
359
359
  // etherFi
360
360
  EtherFiStake: '0xcadB650B6a60C89f7847Cba555A7eeCC220EA2e8',
361
- EtherFiStakeFromLido: '0xd4815aa46fc39e667fd7ab3194458639b59bcd82',
362
361
  EtherFiWrap: '0x086464be5c73f66cfbe6b64ec23aa5a86749ef58',
363
362
  EtherFiUnwrap: '0x6Eb09948DDf9332d628d156950b9B1C0c091e8D8',
364
363