tsv2-library 1.0.61-alpha.43 → 1.0.61-alpha.44
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.
|
@@ -6,6 +6,6 @@ export interface ServiceOptions {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const API: ({ headers, params, }?: ServiceOptions) => AxiosInstance;
|
|
8
8
|
declare const _default: {
|
|
9
|
-
reportTag: (
|
|
9
|
+
reportTag: (body: ReportTagBody) => Promise<AxiosResponse<any, any>>;
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
package/dist/tsv2-library.es.js
CHANGED
|
@@ -65947,8 +65947,8 @@ const API = ({
|
|
|
65947
65947
|
});
|
|
65948
65948
|
return instance;
|
|
65949
65949
|
};
|
|
65950
|
-
const reportTag = (
|
|
65951
|
-
return API().put(
|
|
65950
|
+
const reportTag = (body) => {
|
|
65951
|
+
return API().put("/report/bulk", body);
|
|
65952
65952
|
};
|
|
65953
65953
|
const TagTransactionAPIs = {
|
|
65954
65954
|
reportTag
|
|
@@ -66017,7 +66017,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
66017
66017
|
emit("update:visible", false);
|
|
66018
66018
|
}
|
|
66019
66019
|
} else {
|
|
66020
|
-
const { data: data30 } = await TagTransactionAPIs.reportTag(
|
|
66020
|
+
const { data: data30 } = await TagTransactionAPIs.reportTag({
|
|
66021
|
+
data: [{ asset: props.id, reportData: body }]
|
|
66022
|
+
});
|
|
66021
66023
|
if (data30) {
|
|
66022
66024
|
toast2.add({ message: props.successMessage ?? message2 });
|
|
66023
66025
|
emit("reported", body);
|