@naviprotocol/lending 2.0.5-dev.0 → 2.0.6

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.
Files changed (56) hide show
  1. package/dist/account-cap.d.ts +1 -1
  2. package/dist/account.d.ts +2 -2
  3. package/dist/config.d.ts +1 -1
  4. package/dist/emode.d.ts +1 -1
  5. package/dist/flashloan.d.ts +1 -1
  6. package/dist/index.d.ts +17 -17
  7. package/dist/index.esm.js +2749 -0
  8. package/dist/index.esm.js.map +1 -0
  9. package/dist/liquidate.d.ts +1 -1
  10. package/dist/market.d.ts +1 -1
  11. package/dist/oracle.d.ts +2 -2
  12. package/dist/oracle.d.ts.map +1 -1
  13. package/dist/pool.d.ts +1 -1
  14. package/dist/pyth.d.ts +1 -1
  15. package/dist/reward.d.ts +1 -1
  16. package/dist/sui.d.ts +1 -1
  17. package/dist/types.d.ts +6 -2
  18. package/dist/types.d.ts.map +1 -1
  19. package/dist/utils.d.ts +2 -2
  20. package/package.json +5 -5
  21. package/dist/account-cap.js +0 -26
  22. package/dist/account-cap.js.map +0 -1
  23. package/dist/account.js +0 -655
  24. package/dist/account.js.map +0 -1
  25. package/dist/bcs.js +0 -137
  26. package/dist/bcs.js.map +0 -1
  27. package/dist/config.js +0 -22
  28. package/dist/config.js.map +0 -1
  29. package/dist/emode.js +0 -90
  30. package/dist/emode.js.map +0 -1
  31. package/dist/flashloan.js +0 -94
  32. package/dist/flashloan.js.map +0 -1
  33. package/dist/index.js +0 -100
  34. package/dist/index.js.map +0 -1
  35. package/dist/liquidate.js +0 -76
  36. package/dist/liquidate.js.map +0 -1
  37. package/dist/market.js +0 -121
  38. package/dist/market.js.map +0 -1
  39. package/dist/oracle.js +0 -198
  40. package/dist/oracle.js.map +0 -1
  41. package/dist/package.json.js +0 -8
  42. package/dist/package.json.js.map +0 -1
  43. package/dist/pool.js +0 -391
  44. package/dist/pool.js.map +0 -1
  45. package/dist/pyth.js +0 -305
  46. package/dist/pyth.js.map +0 -1
  47. package/dist/reward.js +0 -343
  48. package/dist/reward.js.map +0 -1
  49. package/dist/services.js +0 -52
  50. package/dist/services.js.map +0 -1
  51. package/dist/sui.js +0 -121
  52. package/dist/sui.js.map +0 -1
  53. package/dist/ua.js +0 -16
  54. package/dist/ua.js.map +0 -1
  55. package/dist/utils.js +0 -227
  56. package/dist/utils.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { EnvOption } from './types.js';
1
+ import { EnvOption } from './types';
2
2
  import { Transaction, TransactionResult } from '@mysten/sui/transactions';
3
3
 
4
4
  /**
package/dist/account.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { UserLendingInfo, SuiClientOption, EnvOption, Pool, Transaction as NAVITransaction, AssetIdentifier, TransactionResult, CacheOption, AccountCap, MarketOption, LendingPosition, MarketsOption, EModePool, ServiceOption } from './types.js';
1
+ import { UserLendingInfo, SuiClientOption, EnvOption, Pool, Transaction as NAVITransaction, AssetIdentifier, TransactionResult, CacheOption, AccountCap, MarketOption, LendingPosition, MarketsOption, EModePool, ServiceOption } from './types';
2
2
  import { Transaction } from '@mysten/sui/transactions';
3
3
  import { CoinStruct } from '@mysten/sui/jsonRpc';
4
- import { PoolOperator } from './pool.js';
4
+ import { PoolOperator } from './pool';
5
5
 
6
6
  /**
7
7
  * Merges multiple coins into a single coin for transaction building
package/dist/config.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { LendingConfig, EnvOption, CacheOption, MarketOption, ServiceOption } from './types.js';
1
+ import { LendingConfig, EnvOption, CacheOption, MarketOption, ServiceOption } from './types';
2
2
 
3
3
  /**
4
4
  * Fetches lending protocol configuration from the API
package/dist/emode.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { CacheOption, EnvOption, EModeCap, AccountCapOption, MarketOption, TransactionResult, SuiClientOption, EModeIdentity } from './types.js';
1
+ import { CacheOption, EnvOption, EModeCap, AccountCapOption, MarketOption, TransactionResult, SuiClientOption, EModeIdentity } from './types';
2
2
  import { Transaction } from '@mysten/sui/transactions';
3
3
 
4
4
  export declare function enterEModePTB(tx: Transaction, emodeId: number | TransactionResult, options?: Partial<EnvOption & AccountCapOption & MarketOption>): Promise<Transaction>;
@@ -1,5 +1,5 @@
1
1
  import { Transaction } from '@mysten/sui/transactions';
2
- import { EnvOption, AssetIdentifier, CoinObject, CacheOption, FloashloanAsset, TransactionResult, MarketOption, ServiceOption } from './types.js';
2
+ import { EnvOption, AssetIdentifier, CoinObject, CacheOption, FloashloanAsset, TransactionResult, MarketOption, ServiceOption } from './types';
3
3
 
4
4
  /**
5
5
  * Get all available flash loan assets from the API
package/dist/index.d.ts CHANGED
@@ -6,21 +6,21 @@
6
6
  *
7
7
  * @module Lending
8
8
  */
9
- export * from './account.js';
10
- export * from './bcs.js';
11
- export * from './config.js';
12
- export * from './oracle.js';
13
- export * from './flashloan.js';
14
- export * from './liquidate.js';
15
- export * from './pool.js';
16
- export * from './reward.js';
17
- export * from './types.js';
18
- export { withCache, withSingleton, normalizeCoinType, parseTxValue, parsePoolUID } from './utils.js';
19
- export * from './account-cap.js';
20
- export * from './emode.js';
21
- export * from './market.js';
22
- export * from './sui.js';
23
- export * from './pyth.js';
24
- export { buildNaviOpenApiUrl, configureNaviSdk, mergeServiceHeaders, resolveNaviOpenApiEndpoint } from './services.js';
25
- export type { NaviSdkConfig, NaviSdkServiceOptions, NaviServiceEndpoint, ServiceEndpointOption } from './services.js';
9
+ export * from './account';
10
+ export * from './bcs';
11
+ export * from './config';
12
+ export * from './oracle';
13
+ export * from './flashloan';
14
+ export * from './liquidate';
15
+ export * from './pool';
16
+ export * from './reward';
17
+ export * from './types';
18
+ export { withCache, withSingleton, normalizeCoinType, parseTxValue, parsePoolUID } from './utils';
19
+ export * from './account-cap';
20
+ export * from './emode';
21
+ export * from './market';
22
+ export * from './sui';
23
+ export * from './pyth';
24
+ export { buildNaviOpenApiUrl, configureNaviSdk, mergeServiceHeaders, resolveNaviOpenApiEndpoint } from './services';
25
+ export type { NaviSdkConfig, NaviSdkServiceOptions, NaviServiceEndpoint, ServiceEndpointOption } from './services';
26
26
  //# sourceMappingURL=index.d.ts.map