@morpho-org/morpho-test 2.2.1-next.0 → 2.3.0-next.0

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.
@@ -4,7 +4,7 @@ exports.randomMarket = exports.markets = void 0;
4
4
  const blue_sdk_1 = require("@morpho-org/blue-sdk");
5
5
  const test_1 = require("@morpho-org/test");
6
6
  const viem_1 = require("viem");
7
- const { adaptiveCurveIrm, wNative, sDai, usdc, wstEth, wbIB01, usdt, dai } = blue_sdk_1.addresses[blue_sdk_1.ChainId.EthMainnet];
7
+ const { adaptiveCurveIrm, wNative, sDai, usdc, wstEth, wbIB01, usdt, dai } = blue_sdk_1.addressesRegistry[blue_sdk_1.ChainId.EthMainnet];
8
8
  exports.markets = {
9
9
  [blue_sdk_1.ChainId.EthMainnet]: {
10
10
  eth_idle: blue_sdk_1.MarketParams.idle(wNative),
@@ -1,4 +1,2 @@
1
- export declare const withSimplePermit: {
2
- readonly 1: Set<"0x6B175474E89094C44Da98b954EedeAC495271d0F" | "0x83F20F44975D03b1b09e64809B757c47f942BEeA" | "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0" | "0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38" | "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48">;
3
- readonly 8453: Set<"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" | "0x59aaF835D34b1E3dF2170e4872B785f11E2a964b">;
4
- };
1
+ import type { Address } from "viem";
2
+ export declare const withSimplePermit: Record<number, Set<Address>>;
@@ -4,14 +4,14 @@ exports.withSimplePermit = void 0;
4
4
  const blue_sdk_1 = require("@morpho-org/blue-sdk");
5
5
  exports.withSimplePermit = {
6
6
  [blue_sdk_1.ChainId.EthMainnet]: new Set([
7
- blue_sdk_1.addresses[blue_sdk_1.ChainId.EthMainnet].wstEth,
8
- blue_sdk_1.addresses[blue_sdk_1.ChainId.EthMainnet].sDai,
9
- blue_sdk_1.addresses[blue_sdk_1.ChainId.EthMainnet].osEth,
10
- blue_sdk_1.addresses[blue_sdk_1.ChainId.EthMainnet].usdc,
11
- blue_sdk_1.addresses[blue_sdk_1.ChainId.EthMainnet].dai,
7
+ blue_sdk_1.addressesRegistry[blue_sdk_1.ChainId.EthMainnet].wstEth,
8
+ blue_sdk_1.addressesRegistry[blue_sdk_1.ChainId.EthMainnet].sDai,
9
+ blue_sdk_1.addressesRegistry[blue_sdk_1.ChainId.EthMainnet].osEth,
10
+ blue_sdk_1.addressesRegistry[blue_sdk_1.ChainId.EthMainnet].usdc,
11
+ blue_sdk_1.addressesRegistry[blue_sdk_1.ChainId.EthMainnet].dai,
12
12
  ]),
13
13
  [blue_sdk_1.ChainId.BaseMainnet]: new Set([
14
- blue_sdk_1.addresses[blue_sdk_1.ChainId.BaseMainnet].usdc,
15
- blue_sdk_1.addresses[blue_sdk_1.ChainId.BaseMainnet].verUsdc,
14
+ blue_sdk_1.addressesRegistry[blue_sdk_1.ChainId.BaseMainnet].usdc,
15
+ blue_sdk_1.addressesRegistry[blue_sdk_1.ChainId.BaseMainnet].verUsdc,
16
16
  ]),
17
17
  };
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.randomVault = exports.vaults = void 0;
4
4
  const blue_sdk_1 = require("@morpho-org/blue-sdk");
5
5
  const test_1 = require("@morpho-org/test");
6
- const { wNative, usdc, dai } = blue_sdk_1.addresses[blue_sdk_1.ChainId.EthMainnet];
6
+ const { wNative, usdc, dai } = blue_sdk_1.addressesRegistry[blue_sdk_1.ChainId.EthMainnet];
7
7
  exports.vaults = {
8
8
  [blue_sdk_1.ChainId.EthMainnet]: {
9
9
  steakUsdc: new blue_sdk_1.VaultConfig({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@morpho-org/morpho-test",
3
3
  "description": "Framework-agnostic extension of `@morpho-org/blue-sdk` that exports test fixtures useful for E2E tests on forks.",
4
- "version": "2.2.1-next.0",
4
+ "version": "2.3.0-next.0",
5
5
  "author": "Morpho Association <contact@morpho.org>",
6
6
  "contributors": [
7
7
  "Rubilmax <rmilon@gmail.com>"
@@ -19,17 +19,17 @@
19
19
  "license": "MIT",
20
20
  "peerDependencies": {
21
21
  "viem": "^2.21.10",
22
- "@morpho-org/blue-sdk": "^2.3.1-next.0",
23
- "@morpho-org/morpho-ts": "^2.0.2-next.0",
24
- "@morpho-org/test": "^2.0.6-next.0"
22
+ "@morpho-org/blue-sdk": "^3.0.0-next.5",
23
+ "@morpho-org/morpho-ts": "^2.2.0-next.0",
24
+ "@morpho-org/test": "^2.0.6"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^22.13.1",
28
28
  "typescript": "^5.7.2",
29
29
  "viem": "^2.23.0",
30
- "@morpho-org/blue-sdk": "^2.3.1-next.0",
31
- "@morpho-org/morpho-ts": "^2.0.2-next.0",
32
- "@morpho-org/test": "^2.0.6-next.0"
30
+ "@morpho-org/morpho-ts": "^2.2.0-next.0",
31
+ "@morpho-org/test": "^2.0.6",
32
+ "@morpho-org/blue-sdk": "^3.0.0-next.5"
33
33
  },
34
34
  "scripts": {
35
35
  "prepublish": "$npm_execpath build",