@unsource/ui 2.8.11 → 2.8.13
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/module.json
CHANGED
|
@@ -35,6 +35,7 @@ const deliverPayments = computed(() => [
|
|
|
35
35
|
avatar: e.coin?.icon,
|
|
36
36
|
title: e.coin?.name,
|
|
37
37
|
unit: e.coin?.unit,
|
|
38
|
+
info: e.coin?.info,
|
|
38
39
|
description: ["\u0645\u0627\u0646\u062F\u0647:", _ceil(e.balance || 0, e.coin?.precision || 0)?.toLocaleString("en"), e.coin?.isFiat ? "\u062A\u0648\u0645\u0627\u0646" : e.coin?.unit].join(" "),
|
|
39
40
|
value: gateways.filter((e2, i) => gatewayFilter?.(e2, i) ?? true)?.length + index,
|
|
40
41
|
type: "wallet"
|
|
@@ -21,7 +21,7 @@ export declare const verifyPayment: (txId?: string) => Promise<{
|
|
|
21
21
|
trx: undefined;
|
|
22
22
|
status: boolean;
|
|
23
23
|
message: string;
|
|
24
|
-
}
|
|
24
|
+
}>;
|
|
25
25
|
export declare const submitInviteCode: (code: string) => Promise<void>;
|
|
26
26
|
export declare const normalizePersian: (text: string) => string;
|
|
27
27
|
export declare const unNormalizePersian: (text: string) => string;
|
|
@@ -169,13 +169,11 @@ export const verifyPayment = async (txId = "") => {
|
|
|
169
169
|
const { result } = await useGet(`/transaction/${txId || route.query.txId}`);
|
|
170
170
|
if (result) {
|
|
171
171
|
if (["SUCCESS", "ACCEPTED"].includes(result.status || "")) {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
};
|
|
178
|
-
}
|
|
172
|
+
return {
|
|
173
|
+
trx: result,
|
|
174
|
+
status: true,
|
|
175
|
+
message: "\u0645\u0639\u0627\u0645\u0644\u0647 \u062B\u0628\u062A \u0634\u062F"
|
|
176
|
+
};
|
|
179
177
|
} else {
|
|
180
178
|
return {
|
|
181
179
|
trx: result,
|