@nexusmutual/sdk 0.4.12 → 0.4.14

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.
package/README.md CHANGED
@@ -12,9 +12,7 @@ This package only exports CommonJS modules. You can import it like this:
12
12
 
13
13
  ```js
14
14
  // Usage with ES6 modules
15
- import products from '@nexusmutual/sdk/products'
16
- import productTypes from '@nexusmutual/sdk/product-types'
17
- // logos?
15
+ import { products, productTypes } from '@nexusmutual/sdk'
18
16
  ```
19
17
 
20
18
  ## Nexus Mutual contract addresses and abis
@@ -30,3 +28,30 @@ Logos should meet the following criteria:
30
28
  - svg format, with 1:1 ratio
31
29
  - no fixed width or height
32
30
  - the image should reach the edge of the viewbox
31
+
32
+ ## Development
33
+
34
+ ### Install dependencies
35
+
36
+ ```
37
+ npm ci
38
+ ```
39
+
40
+ ### Install husky
41
+
42
+ ```bash
43
+ npx husky install
44
+ ```
45
+
46
+ to activate **husky** in project
47
+
48
+ ### ENV variables setup
49
+
50
+ Copy the `.env.example` file into `.env` and populate with the required values.
51
+
52
+
53
+ ### Build locally
54
+
55
+ ```
56
+ npm build
57
+ ```
@@ -2746,7 +2746,7 @@
2746
2746
  "useFixedPrice": true,
2747
2747
  "logo": "request-finance.svg",
2748
2748
  "metadata": {
2749
- "annex": "QmdASKvLn2UvXiEExJNm5yznkBn5PLaZS9xRTTHy4nvZ1q"
2749
+ "annex": "QmVA4Qd8ZGZegfxYBbUpq7UWaG7EUYTNZmdyZskaHS4qTQ"
2750
2750
  },
2751
2751
  "coverAssets": [
2752
2752
  "ETH",
@@ -2754,7 +2754,7 @@
2754
2754
  "USDC"
2755
2755
  ],
2756
2756
  "isPrivate": true,
2757
- "timestamp": 1713884351
2757
+ "timestamp": 1725537203
2758
2758
  },
2759
2759
  {
2760
2760
  "id": 165,
@@ -3672,7 +3672,7 @@
3672
3672
  "USDC"
3673
3673
  ],
3674
3674
  "isPrivate": false,
3675
- "timestamp": 1723127459
3675
+ "timestamp": 1722950807
3676
3676
  },
3677
3677
  {
3678
3678
  "id": 220,
package/dist/index.d.mts CHANGED
@@ -3063,7 +3063,7 @@ var products = [
3063
3063
  useFixedPrice: true,
3064
3064
  logo: "request-finance.svg",
3065
3065
  metadata: {
3066
- annex: "QmdASKvLn2UvXiEExJNm5yznkBn5PLaZS9xRTTHy4nvZ1q"
3066
+ annex: "QmVA4Qd8ZGZegfxYBbUpq7UWaG7EUYTNZmdyZskaHS4qTQ"
3067
3067
  },
3068
3068
  coverAssets: [
3069
3069
  "ETH",
@@ -3071,7 +3071,7 @@ var products = [
3071
3071
  "USDC"
3072
3072
  ],
3073
3073
  isPrivate: true,
3074
- timestamp: 1713884351
3074
+ timestamp: 1725537203
3075
3075
  },
3076
3076
  {
3077
3077
  id: 165,
@@ -4004,7 +4004,7 @@ var products = [
4004
4004
  "USDC"
4005
4005
  ],
4006
4006
  isPrivate: false,
4007
- timestamp: 1723127459
4007
+ timestamp: 1722950807
4008
4008
  },
4009
4009
  {
4010
4010
  id: 220,
package/dist/index.d.ts CHANGED
@@ -3063,7 +3063,7 @@ var products = [
3063
3063
  useFixedPrice: true,
3064
3064
  logo: "request-finance.svg",
3065
3065
  metadata: {
3066
- annex: "QmdASKvLn2UvXiEExJNm5yznkBn5PLaZS9xRTTHy4nvZ1q"
3066
+ annex: "QmVA4Qd8ZGZegfxYBbUpq7UWaG7EUYTNZmdyZskaHS4qTQ"
3067
3067
  },
3068
3068
  coverAssets: [
3069
3069
  "ETH",
@@ -3071,7 +3071,7 @@ var products = [
3071
3071
  "USDC"
3072
3072
  ],
3073
3073
  isPrivate: true,
3074
- timestamp: 1713884351
3074
+ timestamp: 1725537203
3075
3075
  },
3076
3076
  {
3077
3077
  id: 165,
@@ -4004,7 +4004,7 @@ var products = [
4004
4004
  "USDC"
4005
4005
  ],
4006
4006
  isPrivate: false,
4007
- timestamp: 1723127459
4007
+ timestamp: 1722950807
4008
4008
  },
4009
4009
  {
4010
4010
  id: 220,
package/dist/index.js CHANGED
@@ -3776,7 +3776,7 @@ var products_default = [
3776
3776
  useFixedPrice: true,
3777
3777
  logo: "request-finance.svg",
3778
3778
  metadata: {
3779
- annex: "QmdASKvLn2UvXiEExJNm5yznkBn5PLaZS9xRTTHy4nvZ1q"
3779
+ annex: "QmVA4Qd8ZGZegfxYBbUpq7UWaG7EUYTNZmdyZskaHS4qTQ"
3780
3780
  },
3781
3781
  coverAssets: [
3782
3782
  "ETH",
@@ -3784,7 +3784,7 @@ var products_default = [
3784
3784
  "USDC"
3785
3785
  ],
3786
3786
  isPrivate: true,
3787
- timestamp: 1713884351
3787
+ timestamp: 1725537203
3788
3788
  },
3789
3789
  {
3790
3790
  id: 165,
@@ -4702,7 +4702,7 @@ var products_default = [
4702
4702
  "USDC"
4703
4703
  ],
4704
4704
  isPrivate: false,
4705
- timestamp: 1723127459
4705
+ timestamp: 1722950807
4706
4706
  },
4707
4707
  {
4708
4708
  id: 220,