@spicenet-io/spiceflow-ui 4.2.0-satsuma.0 → 4.2.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.
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- import{P as g}from"./privy-BeOm0JvD.js";import"react/jsx-runtime";import"react";import"@spicenet-io/spiceflow-core";import"viem";import"viem/actions";import"@privy-io/react-auth";import"wagmi";import"@tanstack/react-query";export{g as PrivyLogin};
2
+ import{P as g}from"./privy-CJe6d9DR.js";import"react/jsx-runtime";import"react";import"@spicenet-io/spiceflow-core";import"viem";import"viem/actions";import"@privy-io/react-auth";import"wagmi";import"@tanstack/react-query";export{g as PrivyLogin};
@@ -2,7 +2,6 @@ import React from "react";
2
2
  interface AccountActionsProps {
3
3
  onDepositClick?: () => void;
4
4
  onWithdrawClick?: () => void;
5
- onDisconnectClick: () => void;
6
5
  depositDisabled?: boolean;
7
6
  withdrawDisabled?: boolean;
8
7
  primaryColor?: string;
@@ -17,7 +17,6 @@ interface AccountPanelProps {
17
17
  notice?: AccountNotice | null;
18
18
  onDepositClick?: () => void;
19
19
  onWithdrawClick?: () => void;
20
- onDisconnectClick: () => void;
21
20
  depositDisabled?: boolean;
22
21
  onCompleteDeposit?: (deposit: VerifiedPendingDeposit) => void;
23
22
  primaryColor?: string;
@@ -1,6 +1,6 @@
1
1
  import { type Address } from "viem";
2
2
  import type { Asset } from "../types/assets";
3
- export declare function isSupportedSupplyAsset(asset: Pick<Asset, "address" | "chainTokens" | "isNative">, supportedSourceAssets?: string[]): boolean;
3
+ export declare function isSupportedSupplyAsset(asset: Pick<Asset, "address" | "chainTokens">, supportedSourceAssets?: string[]): boolean;
4
4
  type DestinationToken = {
5
5
  address: Address;
6
6
  decimals: number;
@@ -14,11 +14,9 @@ export declare function useSupplyAssets(opts: {
14
14
  supportedSourceAssets?: string[];
15
15
  sourceChains?: number[];
16
16
  enabled: boolean;
17
- includeExternalWalletAssets?: boolean;
18
17
  }): {
19
18
  displayAssets: (Asset & {
20
19
  _source: "wallet" | "spice";
21
- _fundingWallet?: "embedded" | "external";
22
20
  })[];
23
21
  filteredSpiceAssets: Asset[];
24
22
  walletAssets: Asset[];