@owney/sdk 0.6.6-beta.2 → 0.6.6-beta.3

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/index.cjs CHANGED
@@ -630,13 +630,13 @@ var ZyfaiAgent = class {
630
630
  chainId: 1,
631
631
  chain: "ETHEREUM",
632
632
  // Zyfai enforces per-asset minimum portfolios on Ethereum mainnet, keyed
633
- // by MIN_PORTFOLIO_BALANCE[1] in @zyfai/sdk (mainnet gas only pays off on
634
- // large positions). USDC: 10,000 (10_000 * 1e6). WETH: 5 (5 * 1e18).
633
+ // by MIN_PORTFOLIO_BALANCE[1] in @zyfai/sdk. Lowered in @zyfai/sdk@0.2.40.
634
+ // USDC: 100 (100 * 1e6). WETH: 0.005 (5 * 1e15).
635
635
  // NOTE: the @zyfai/sdk README claims WETH has no minimum — that's stale;
636
- // the shipped code enforces 5 WETH, so match it or deposits reject on-chain.
636
+ // the shipped code enforces 0.005 WETH, so match it or deposits reject on-chain.
637
637
  assets: [
638
- { symbol: "USDC", minDepositAmount: "10000000000" },
639
- { symbol: "WETH", minDepositAmount: "5000000000000000000" }
638
+ { symbol: "USDC", minDepositAmount: "100000000" },
639
+ { symbol: "WETH", minDepositAmount: "5000000000000000" }
640
640
  ]
641
641
  }
642
642
  ];
package/dist/index.js CHANGED
@@ -598,13 +598,13 @@ var ZyfaiAgent = class {
598
598
  chainId: 1,
599
599
  chain: "ETHEREUM",
600
600
  // Zyfai enforces per-asset minimum portfolios on Ethereum mainnet, keyed
601
- // by MIN_PORTFOLIO_BALANCE[1] in @zyfai/sdk (mainnet gas only pays off on
602
- // large positions). USDC: 10,000 (10_000 * 1e6). WETH: 5 (5 * 1e18).
601
+ // by MIN_PORTFOLIO_BALANCE[1] in @zyfai/sdk. Lowered in @zyfai/sdk@0.2.40.
602
+ // USDC: 100 (100 * 1e6). WETH: 0.005 (5 * 1e15).
603
603
  // NOTE: the @zyfai/sdk README claims WETH has no minimum — that's stale;
604
- // the shipped code enforces 5 WETH, so match it or deposits reject on-chain.
604
+ // the shipped code enforces 0.005 WETH, so match it or deposits reject on-chain.
605
605
  assets: [
606
- { symbol: "USDC", minDepositAmount: "10000000000" },
607
- { symbol: "WETH", minDepositAmount: "5000000000000000000" }
606
+ { symbol: "USDC", minDepositAmount: "100000000" },
607
+ { symbol: "WETH", minDepositAmount: "5000000000000000" }
608
608
  ]
609
609
  }
610
610
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owney/sdk",
3
- "version": "0.6.6-beta.2",
3
+ "version": "0.6.6-beta.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",