@1delta/lender-registry 0.0.16 → 0.0.17

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
@@ -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
@@ -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/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.17",
8
8
  "description": "Lenders as Enums for convenience",
9
9
  "files": [
10
10
  "dist"