@orderly.network/portfolio 2.4.1 → 2.5.0-alpha.1
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.d.mts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +22 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -11
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +18 -17
package/dist/index.d.mts
CHANGED
|
@@ -132,7 +132,29 @@ type AssetHistoryScriptOptions = {
|
|
|
132
132
|
};
|
|
133
133
|
type AssetHistoryScriptReturn = ReturnType<typeof useAssetHistoryScript>;
|
|
134
134
|
declare const useAssetHistoryScript: (options: AssetHistoryScriptOptions) => {
|
|
135
|
-
dataSource:
|
|
135
|
+
dataSource: ({
|
|
136
|
+
decimals: number;
|
|
137
|
+
id: string;
|
|
138
|
+
tx_id: string;
|
|
139
|
+
side: string;
|
|
140
|
+
token: string;
|
|
141
|
+
amount: number;
|
|
142
|
+
fee: number;
|
|
143
|
+
trans_status: string;
|
|
144
|
+
created_time: number;
|
|
145
|
+
updated_time: number;
|
|
146
|
+
chain_id: string;
|
|
147
|
+
} | {
|
|
148
|
+
decimals: number;
|
|
149
|
+
amount: number;
|
|
150
|
+
created_time: number;
|
|
151
|
+
from_account_id: string;
|
|
152
|
+
id: string;
|
|
153
|
+
status: "CREATED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
154
|
+
to_account_id: string;
|
|
155
|
+
token: string;
|
|
156
|
+
updated_time: number;
|
|
157
|
+
})[];
|
|
136
158
|
total: number | undefined;
|
|
137
159
|
isLoading: boolean;
|
|
138
160
|
queryParameter: {
|
package/dist/index.d.ts
CHANGED
|
@@ -132,7 +132,29 @@ type AssetHistoryScriptOptions = {
|
|
|
132
132
|
};
|
|
133
133
|
type AssetHistoryScriptReturn = ReturnType<typeof useAssetHistoryScript>;
|
|
134
134
|
declare const useAssetHistoryScript: (options: AssetHistoryScriptOptions) => {
|
|
135
|
-
dataSource:
|
|
135
|
+
dataSource: ({
|
|
136
|
+
decimals: number;
|
|
137
|
+
id: string;
|
|
138
|
+
tx_id: string;
|
|
139
|
+
side: string;
|
|
140
|
+
token: string;
|
|
141
|
+
amount: number;
|
|
142
|
+
fee: number;
|
|
143
|
+
trans_status: string;
|
|
144
|
+
created_time: number;
|
|
145
|
+
updated_time: number;
|
|
146
|
+
chain_id: string;
|
|
147
|
+
} | {
|
|
148
|
+
decimals: number;
|
|
149
|
+
amount: number;
|
|
150
|
+
created_time: number;
|
|
151
|
+
from_account_id: string;
|
|
152
|
+
id: string;
|
|
153
|
+
status: "CREATED" | "PENDING" | "COMPLETED" | "FAILED";
|
|
154
|
+
to_account_id: string;
|
|
155
|
+
token: string;
|
|
156
|
+
updated_time: number;
|
|
157
|
+
})[];
|
|
136
158
|
total: number | undefined;
|
|
137
159
|
isLoading: boolean;
|
|
138
160
|
queryParameter: {
|