@ecency/sdk 1.0.33 → 1.0.34
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/ecency-sdk.es.js
CHANGED
@@ -228,7 +228,7 @@ function U(e, t = 5, n = []) {
|
|
228
228
|
function W(e) {
|
229
229
|
return f({
|
230
230
|
queryKey: ["accounts", "check-wallet-pending", e],
|
231
|
-
queryFn: async () =>
|
231
|
+
queryFn: async () => await (await fetch(
|
232
232
|
o.privateApiHost + "/private-api/wallets-chkuser",
|
233
233
|
{
|
234
234
|
method: "POST",
|
@@ -239,7 +239,7 @@ function W(e) {
|
|
239
239
|
username: e
|
240
240
|
})
|
241
241
|
}
|
242
|
-
)).json()
|
242
|
+
)).json(),
|
243
243
|
enabled: !!e,
|
244
244
|
refetchOnMount: !0
|
245
245
|
});
|
@@ -1,8 +1,16 @@
|
|
1
|
-
export declare function checkUsernameWalletsPendingQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<
|
2
|
-
|
1
|
+
export declare function checkUsernameWalletsPendingQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
|
2
|
+
exists: boolean;
|
3
|
+
}, Error, {
|
4
|
+
exists: boolean;
|
5
|
+
}, string[]>, "queryFn"> & {
|
6
|
+
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
7
|
+
exists: boolean;
|
8
|
+
}, string[], never> | undefined;
|
3
9
|
} & {
|
4
10
|
queryKey: string[] & {
|
5
|
-
[dataTagSymbol]:
|
11
|
+
[dataTagSymbol]: {
|
12
|
+
exists: boolean;
|
13
|
+
};
|
6
14
|
[dataTagErrorSymbol]: Error;
|
7
15
|
};
|
8
16
|
};
|