@morpho-org/blue-sdk 2.0.0-next.27 → 2.0.0-next.28

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.
@@ -2,7 +2,6 @@ import type { ChainId } from "../chain.js";
2
2
  import type { Address, BigIntish } from "../types.js";
3
3
  export interface InputVaultConfig {
4
4
  address: Address;
5
- decimals: BigIntish;
6
5
  decimalsOffset: BigIntish;
7
6
  symbol: string;
8
7
  name: string;
@@ -18,5 +17,5 @@ export declare class VaultConfig implements InputVaultConfig {
18
17
  readonly symbol: string;
19
18
  readonly name: string;
20
19
  readonly asset: Address;
21
- constructor({ address, decimals, decimalsOffset, symbol, name, asset, }: InputVaultConfig, chainId?: number | undefined);
20
+ constructor({ address, decimalsOffset, symbol, name, asset }: InputVaultConfig, chainId?: number | undefined);
22
21
  }
@@ -17,10 +17,10 @@ class VaultConfig {
17
17
  symbol;
18
18
  name;
19
19
  asset;
20
- constructor({ address, decimals, decimalsOffset, symbol, name, asset, }, chainId) {
20
+ constructor({ address, decimalsOffset, symbol, name, asset }, chainId) {
21
21
  this.chainId = chainId;
22
22
  this.address = address;
23
- this.decimals = Number(decimals);
23
+ this.decimals = 18;
24
24
  this.decimalsOffset = BigInt(decimalsOffset);
25
25
  this.symbol = symbol;
26
26
  this.name = name;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@morpho-org/blue-sdk",
3
3
  "description": "Framework-agnostic package that defines Morpho-related entity classes (such as `Market`, `Token`, `Vault`).",
4
- "version": "2.0.0-next.27",
4
+ "version": "2.0.0-next.28",
5
5
  "author": "Morpho Association <contact@morpho.org>",
6
6
  "contributors": [
7
7
  "Rubilmax <rmilon@gmail.com>"