@use-glyph/sdk-react 1.0.14 → 1.0.17

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.
@@ -0,0 +1 @@
1
+ export default function ExpandItemIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export type NFTsIconProps = React.SVGProps<SVGSVGElement> & {
2
+ selected?: boolean;
3
+ };
4
+ export default function NFTsIcon({ selected, ...props }: NFTsIconProps): JSX.Element;
@@ -6,6 +6,7 @@ export interface ActivityRowProps {
6
6
  value: string;
7
7
  amount: string;
8
8
  amount_currency: string;
9
+ name_on_list: string | null;
9
10
  };
10
11
  }
11
12
  export declare function ActivityRow({ data }: ActivityRowProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function WalletNFTsTab(): import("react/jsx-runtime").JSX.Element;
@@ -13,7 +13,9 @@ export type ActivityItem = {
13
13
  value: string;
14
14
  amount: string;
15
15
  amount_currency: string;
16
+ name_on_list: string | null;
16
17
  allowIdCopy: boolean;
18
+ detail_rows: string[];
17
19
  blockExplorerTxns?: ActivityBlockExplorerItem[];
18
20
  };
19
21
  export type ActivityGroup = {
@@ -21,6 +21,7 @@ export declare enum WalletMainViewTab {
21
21
  HOME = "home",
22
22
  ACTIVITY = "activity",
23
23
  TOKENS = "tokens",
24
+ NFTS = "nfts",
24
25
  LINKED_ACCOUNTS = "linked-accounts"
25
26
  }
26
27
  export declare enum FundView {
@@ -16,6 +16,7 @@ export declare const GlyphViewType: {
16
16
  readonly HOME: WalletMainViewTab.HOME;
17
17
  readonly ACTIVITY: WalletMainViewTab.ACTIVITY;
18
18
  readonly TOKENS: WalletMainViewTab.TOKENS;
19
+ readonly NFTS: WalletMainViewTab.NFTS;
19
20
  readonly LINKED_ACCOUNTS: WalletMainViewTab.LINKED_ACCOUNTS;
20
21
  readonly MAIN: WalletView.MAIN;
21
22
  readonly FUND: WalletView.FUND;
@@ -60,8 +61,24 @@ export type GlyphWidgetTokenBalancesItem = {
60
61
  displayDecimals: number;
61
62
  priceChangePct: number;
62
63
  };
63
- export type GlyphWidgetNFTBalancesItem = GlyphWidgetTokenBalancesItem & {
64
- image: string;
64
+ export type GlyphWidgetNFTBalancesItem = {
65
+ address: Hex;
66
+ name: string;
67
+ symbol: string;
68
+ image: string | null;
69
+ items: {
70
+ tokenId: string;
71
+ name: string;
72
+ balance: string;
73
+ image?: {
74
+ cachedUrl: string;
75
+ thumbnailUrl: string;
76
+ pngUrl: string;
77
+ contentType: string;
78
+ size: number;
79
+ originalUrl: string;
80
+ };
81
+ }[];
65
82
  };
66
83
  export type GlyphWidgetBalances = {
67
84
  tokens: GlyphWidgetTokenBalancesItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@use-glyph/sdk-react",
3
- "version": "1.0.14",
3
+ "version": "1.0.17",
4
4
  "type": "module",
5
5
  "license": "GLYPH-1.0",
6
6
  "sideEffects": false,