@nexusmutual/sdk 0.4.11 → 0.4.13
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/dist/data/product-types.json +1 -1
- package/dist/data/products.json +2 -2
- package/dist/index.d.mts +29 -9
- package/dist/index.d.ts +29 -9
- package/dist/index.js +26 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -944,7 +944,7 @@ var product_types_default = [
|
|
|
944
944
|
{
|
|
945
945
|
id: 13,
|
|
946
946
|
coverWordingURL: "https://api.nexusmutual.io/ipfs/QmWRir4JSeSv3oKbHyDRz1xFKXh1d8wgew5Rr4koCMeYYu",
|
|
947
|
-
name: "
|
|
947
|
+
name: "OpenCover Transaction",
|
|
948
948
|
gracePeriod: 3024e3,
|
|
949
949
|
claimMethod: 0
|
|
950
950
|
},
|
|
@@ -3720,7 +3720,7 @@ var products_default = [
|
|
|
3720
3720
|
useFixedPrice: true,
|
|
3721
3721
|
logo: "request-finance.svg",
|
|
3722
3722
|
metadata: {
|
|
3723
|
-
annex: "
|
|
3723
|
+
annex: "QmVA4Qd8ZGZegfxYBbUpq7UWaG7EUYTNZmdyZskaHS4qTQ"
|
|
3724
3724
|
},
|
|
3725
3725
|
coverAssets: [
|
|
3726
3726
|
"ETH",
|
|
@@ -3728,7 +3728,7 @@ var products_default = [
|
|
|
3728
3728
|
"USDC"
|
|
3729
3729
|
],
|
|
3730
3730
|
isPrivate: true,
|
|
3731
|
-
timestamp:
|
|
3731
|
+
timestamp: 1725537203
|
|
3732
3732
|
},
|
|
3733
3733
|
{
|
|
3734
3734
|
id: 165,
|
|
@@ -4792,6 +4792,7 @@ var products_default = [
|
|
|
4792
4792
|
// generated/types.ts
|
|
4793
4793
|
var types_exports2 = {};
|
|
4794
4794
|
__export(types_exports2, {
|
|
4795
|
+
ProductTypes: () => ProductTypes,
|
|
4795
4796
|
allLogoFileNames: () => allLogoFileNames,
|
|
4796
4797
|
allLogoNames: () => allLogoNames
|
|
4797
4798
|
});
|
|
@@ -5361,6 +5362,26 @@ var allLogoNames = [
|
|
|
5361
5362
|
"vesper-veth",
|
|
5362
5363
|
"zksync"
|
|
5363
5364
|
];
|
|
5365
|
+
var ProductTypes = /* @__PURE__ */ ((ProductTypes2) => {
|
|
5366
|
+
ProductTypes2[ProductTypes2["protocol"] = 0] = "protocol";
|
|
5367
|
+
ProductTypes2[ProductTypes2["custody"] = 1] = "custody";
|
|
5368
|
+
ProductTypes2[ProductTypes2["yieldToken"] = 2] = "yieldToken";
|
|
5369
|
+
ProductTypes2[ProductTypes2["sherlockExcess"] = 3] = "sherlockExcess";
|
|
5370
|
+
ProductTypes2[ProductTypes2["stakewiseEthStaking"] = 4] = "stakewiseEthStaking";
|
|
5371
|
+
ProductTypes2[ProductTypes2["liquidCollectiveEthStaking"] = 5] = "liquidCollectiveEthStaking";
|
|
5372
|
+
ProductTypes2[ProductTypes2["ethSlashing"] = 6] = "ethSlashing";
|
|
5373
|
+
ProductTypes2[ProductTypes2["sherlockQuotaShare"] = 7] = "sherlockQuotaShare";
|
|
5374
|
+
ProductTypes2[ProductTypes2["nativeProtocol"] = 8] = "nativeProtocol";
|
|
5375
|
+
ProductTypes2[ProductTypes2["theRetailMutual"] = 9] = "theRetailMutual";
|
|
5376
|
+
ProductTypes2[ProductTypes2["unoReQuotaShare"] = 10] = "unoReQuotaShare";
|
|
5377
|
+
ProductTypes2[ProductTypes2["bundledProtocol"] = 11] = "bundledProtocol";
|
|
5378
|
+
ProductTypes2[ProductTypes2["ethSlashingUmbrella"] = 12] = "ethSlashingUmbrella";
|
|
5379
|
+
ProductTypes2[ProductTypes2["openCoverTransaction"] = 13] = "openCoverTransaction";
|
|
5380
|
+
ProductTypes2[ProductTypes2["fundPortfolio"] = 14] = "fundPortfolio";
|
|
5381
|
+
ProductTypes2[ProductTypes2["sherlockBugBounty"] = 15] = "sherlockBugBounty";
|
|
5382
|
+
ProductTypes2[ProductTypes2["deFiPass"] = 16] = "deFiPass";
|
|
5383
|
+
return ProductTypes2;
|
|
5384
|
+
})(ProductTypes || {});
|
|
5364
5385
|
|
|
5365
5386
|
// src/index.ts
|
|
5366
5387
|
export * from "@nexusmutual/deployments";
|
|
@@ -5386,6 +5407,7 @@ export {
|
|
|
5386
5407
|
MINIMUM_COVER_PERIOD,
|
|
5387
5408
|
NEXUS_MUTUAL_DAO_TREASURY_ADDRESS,
|
|
5388
5409
|
ProductCategoryEnum,
|
|
5410
|
+
ProductTypes,
|
|
5389
5411
|
SLIPPAGE_DENOMINATOR,
|
|
5390
5412
|
TARGET_PRICE_DENOMINATOR,
|
|
5391
5413
|
allLogoFileNames,
|