@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.
@@ -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 () => (await (await fetch(
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()).length === 0,
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<boolean, Error, boolean, string[]>, "queryFn"> & {
2
- queryFn?: import('@tanstack/query-core').QueryFunction<boolean, string[], never> | undefined;
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]: boolean;
11
+ [dataTagSymbol]: {
12
+ exists: boolean;
13
+ };
6
14
  [dataTagErrorSymbol]: Error;
7
15
  };
8
16
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ecency/sdk",
3
3
  "private": false,
4
- "version": "1.0.33",
4
+ "version": "1.0.34",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "./dist/ecency-sdk.umd.js",