@1delta/lender-registry 0.0.16 → 0.0.18

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/getters.d.ts CHANGED
@@ -13,6 +13,7 @@ export declare function isVenusType(lender: string): boolean;
13
13
  export declare function isCompoundV2Type(lender: string): boolean;
14
14
  export declare function isCompoundV3Type(lender: string): boolean;
15
15
  export declare function isInit(lender: string): lender is Lender.INIT;
16
+ export declare function isEulerType(lender: string): lender is Lender.EULER_V2;
16
17
  export declare function lenderHasSubAccounts(lender: string): lender is Lender.INIT;
17
18
  export declare function aaveForkCannotPermit(lender: string): boolean;
18
19
  export declare function supportsSameAsset(lender: string): boolean;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export * from './lenders.js';
2
- export { isAaveV2Type, isAaveV3Type, isAaveV32Type, isAaveType, isCompoundV3, extractLenderBeforeLastUnderscore, isMorphoBlue, isListaDao, isMorphoType, isVenusType, isCompoundV2Type, isCompoundV3Type, isInit, lenderHasSubAccounts, aaveForkCannotPermit, supportsSameAsset, isLista, isYLDR, isSumerType, isTectonicType, isBenqiType, isMultiMarket, isAave, isCompoundV2, } from './getters.js';
2
+ export { isAaveV2Type, isAaveV3Type, isAaveV32Type, isAaveType, isCompoundV3, extractLenderBeforeLastUnderscore, isMorphoBlue, isListaDao, isMorphoType, isVenusType, isCompoundV2Type, isCompoundV3Type, isInit, isEulerType, lenderHasSubAccounts, aaveForkCannotPermit, supportsSameAsset, isLista, isYLDR, isSumerType, isTectonicType, isBenqiType, isMultiMarket, isAave, isCompoundV2, } from './getters.js';
package/dist/index.js CHANGED
@@ -52,7 +52,7 @@ var Lender = /* @__PURE__ */ ((Lender2) => {
52
52
  Lender2["U235"] = "U235";
53
53
  Lender2["QUOKKA_LEND"] = "QUOKKA_LEND";
54
54
  Lender2["PRIME_FI"] = "PRIME_FI";
55
- Lender2["PLUTOS"] = "PLUTOS";
55
+ Lender2["PLOUTOS"] = "PLOUTOS";
56
56
  Lender2["YEI"] = "YEI";
57
57
  Lender2["YEI_SOLV"] = "YEI_SOLV";
58
58
  Lender2["NEVERLAND"] = "NEVERLAND";
@@ -218,7 +218,7 @@ var AAVE_V3_LENDERS = [
218
218
  "FATHOM" /* FATHOM */,
219
219
  "U235" /* U235 */,
220
220
  "QUOKKA_LEND" /* QUOKKA_LEND */,
221
- "PLUTOS" /* PLUTOS */,
221
+ "PLOUTOS" /* PLOUTOS */,
222
222
  "YEI" /* YEI */,
223
223
  "YEI_SOLV" /* YEI_SOLV */,
224
224
  "NEVERLAND" /* NEVERLAND */,
@@ -411,6 +411,9 @@ function isCompoundV3Type(lender) {
411
411
  function isInit(lender) {
412
412
  return lender === "INIT" /* INIT */;
413
413
  }
414
+ function isEulerType(lender) {
415
+ return lender === "EULER_V2" /* EULER_V2 */;
416
+ }
414
417
  function lenderHasSubAccounts(lender) {
415
418
  return isInit(lender);
416
419
  }
@@ -474,6 +477,7 @@ exports.isCompoundV2 = isCompoundV2;
474
477
  exports.isCompoundV2Type = isCompoundV2Type;
475
478
  exports.isCompoundV3 = isCompoundV3;
476
479
  exports.isCompoundV3Type = isCompoundV3Type;
480
+ exports.isEulerType = isEulerType;
477
481
  exports.isInit = isInit;
478
482
  exports.isLista = isLista;
479
483
  exports.isListaDao = isListaDao;
package/dist/index.mjs CHANGED
@@ -50,7 +50,7 @@ var Lender = /* @__PURE__ */ ((Lender2) => {
50
50
  Lender2["U235"] = "U235";
51
51
  Lender2["QUOKKA_LEND"] = "QUOKKA_LEND";
52
52
  Lender2["PRIME_FI"] = "PRIME_FI";
53
- Lender2["PLUTOS"] = "PLUTOS";
53
+ Lender2["PLOUTOS"] = "PLOUTOS";
54
54
  Lender2["YEI"] = "YEI";
55
55
  Lender2["YEI_SOLV"] = "YEI_SOLV";
56
56
  Lender2["NEVERLAND"] = "NEVERLAND";
@@ -216,7 +216,7 @@ var AAVE_V3_LENDERS = [
216
216
  "FATHOM" /* FATHOM */,
217
217
  "U235" /* U235 */,
218
218
  "QUOKKA_LEND" /* QUOKKA_LEND */,
219
- "PLUTOS" /* PLUTOS */,
219
+ "PLOUTOS" /* PLOUTOS */,
220
220
  "YEI" /* YEI */,
221
221
  "YEI_SOLV" /* YEI_SOLV */,
222
222
  "NEVERLAND" /* NEVERLAND */,
@@ -409,6 +409,9 @@ function isCompoundV3Type(lender) {
409
409
  function isInit(lender) {
410
410
  return lender === "INIT" /* INIT */;
411
411
  }
412
+ function isEulerType(lender) {
413
+ return lender === "EULER_V2" /* EULER_V2 */;
414
+ }
412
415
  function lenderHasSubAccounts(lender) {
413
416
  return isInit(lender);
414
417
  }
@@ -444,4 +447,4 @@ function isCompoundV2(lender) {
444
447
  return isCompoundV2Type(lender);
445
448
  }
446
449
 
447
- export { AAVE_LENDERS, AAVE_V2_LENDERS, AAVE_V32_LENDERS, AAVE_V3_LENDERS, BENQI_LENDERS, COMPOUND_V2_LENDERS, COMPOUND_V3_LENDERS, Lender, LenderGroups, LenderIds, MORPHO_BLUE_LENDERS, SILO_V2_LENDERS, TECTONIC_LENDERS, VENUS_LENDERS, aaveForkCannotPermit, extractLenderBeforeLastUnderscore, getLenderGroup, getLenderId, isAave, isAaveType, isAaveV2Type, isAaveV32Type, isAaveV3Type, isBenqiType, isCompoundV2, isCompoundV2Type, isCompoundV3, isCompoundV3Type, isInit, isLista, isListaDao, isMorphoBlue, isMorphoType, isMultiMarket, isSumerType, isTectonicType, isVenusType, isYLDR, lenderHasSubAccounts, supportsSameAsset };
450
+ export { AAVE_LENDERS, AAVE_V2_LENDERS, AAVE_V32_LENDERS, AAVE_V3_LENDERS, BENQI_LENDERS, COMPOUND_V2_LENDERS, COMPOUND_V3_LENDERS, Lender, LenderGroups, LenderIds, MORPHO_BLUE_LENDERS, SILO_V2_LENDERS, TECTONIC_LENDERS, VENUS_LENDERS, aaveForkCannotPermit, extractLenderBeforeLastUnderscore, getLenderGroup, getLenderId, isAave, isAaveType, isAaveV2Type, isAaveV32Type, isAaveV3Type, isBenqiType, isCompoundV2, isCompoundV2Type, isCompoundV3, isCompoundV3Type, isEulerType, isInit, isLista, isListaDao, isMorphoBlue, isMorphoType, isMultiMarket, isSumerType, isTectonicType, isVenusType, isYLDR, lenderHasSubAccounts, supportsSameAsset };
package/dist/lenders.d.ts CHANGED
@@ -50,7 +50,7 @@ export declare enum Lender {
50
50
  U235 = "U235",
51
51
  QUOKKA_LEND = "QUOKKA_LEND",
52
52
  PRIME_FI = "PRIME_FI",
53
- PLUTOS = "PLUTOS",
53
+ PLOUTOS = "PLOUTOS",
54
54
  YEI = "YEI",
55
55
  YEI_SOLV = "YEI_SOLV",
56
56
  NEVERLAND = "NEVERLAND",
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.0.16",
7
+ "version": "0.0.18",
8
8
  "description": "Lenders as Enums for convenience",
9
9
  "files": [
10
10
  "dist"