@ensofinance/checkout-widget 0.0.2 → 0.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ensofinance/checkout-widget",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "homepage": "https://www.enso.build/",
6
6
  "repository": {
@@ -16,7 +16,7 @@ import ExchangeFlow from "./steps/ExchangeFlow";
16
16
  import { useAppStore } from "@/store";
17
17
  import { TxTracker } from "@/util/tx-tracker";
18
18
  import ChakraProvider from "./ChakraProvider";
19
- import { CheckoutConfig, SupportedExchanges } from "@/types";
19
+ import { type CheckoutConfig, type SupportedExchanges } from "@/types";
20
20
 
21
21
  type ICheckoutContext = {
22
22
  step: string;
@@ -1,7 +1,7 @@
1
1
  import { useCallback } from "react";
2
2
  import { Checkout } from "./Checkout";
3
3
  import Modal from "./modal";
4
- import { CheckoutModalProps } from "@/types";
4
+ import { type CheckoutModalProps } from "@/types";
5
5
 
6
6
  export const CheckoutModal = ({
7
7
  config,
@@ -1,9 +1,5 @@
1
- import {
2
- useAccount,
3
- useCapabilities,
4
- useSendCalls,
5
- useWalletClient,
6
- } from "wagmi";
1
+ import { useAccount, useWalletClient } from "wagmi";
2
+ import { useCapabilities, useSendCalls } from "wagmi/experimental";
7
3
  import { Address } from "viem";
8
4
  import { useCallback, useMemo } from "react";
9
5
  import { useEnsoToken, useEnsoPrice, useEnsoData } from "@/enso-api/api";