@use-glyph/sdk-react 1.0.15 → 1.0.18
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/assets/sdk-react.css +1 -1
- package/dist/glyph-widget.umd.js +38 -38
- package/dist/index.js +3439 -3363
- package/dist/types/assets/svg/ExpandItemIcon.d.ts +1 -0
- package/dist/types/assets/svg/NFTsIcon.d.ts +4 -0
- package/dist/types/components/widget/WalletNFTsTab.d.ts +1 -0
- package/dist/types/lib/constants.d.ts +1 -0
- package/dist/types/types/GlyphWidgetTypes.d.ts +19 -2
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ExpandItemIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function WalletNFTsTab(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -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 =
|
|
64
|
-
|
|
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[];
|