anymal-protocol 1.0.16 → 1.0.17
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -63,7 +63,7 @@ declare function useUploadAnymalImage(): (imageFile: File, type: string, idToken
|
|
|
63
63
|
declare function useCreateUserAppData(): (appId: string, pid: string, dbAuthToken: string, endpoint: string) => Promise<{
|
|
64
64
|
success: boolean;
|
|
65
65
|
data: any;
|
|
66
|
-
}
|
|
66
|
+
}>;
|
|
67
67
|
|
|
68
68
|
declare function useFetchBalance(): (publicClient: any, walletAddress: string, kibbleTokenAddress: string) => Promise<number | undefined>;
|
|
69
69
|
|
package/dist/index.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ declare function useUploadAnymalImage(): (imageFile: File, type: string, idToken
|
|
|
63
63
|
declare function useCreateUserAppData(): (appId: string, pid: string, dbAuthToken: string, endpoint: string) => Promise<{
|
|
64
64
|
success: boolean;
|
|
65
65
|
data: any;
|
|
66
|
-
}
|
|
66
|
+
}>;
|
|
67
67
|
|
|
68
68
|
declare function useFetchBalance(): (publicClient: any, walletAddress: string, kibbleTokenAddress: string) => Promise<number | undefined>;
|
|
69
69
|
|
package/dist/index.js
CHANGED
|
@@ -1242,7 +1242,11 @@ var import_uuid = require("uuid");
|
|
|
1242
1242
|
function useCreateUserAppData() {
|
|
1243
1243
|
return (0, import_react15.useCallback)(
|
|
1244
1244
|
async (appId, pid, dbAuthToken, endpoint) => {
|
|
1245
|
-
if (!dbAuthToken || !pid || !dbAuthToken || !endpoint)
|
|
1245
|
+
if (!dbAuthToken || !pid || !dbAuthToken || !endpoint)
|
|
1246
|
+
return {
|
|
1247
|
+
success: false,
|
|
1248
|
+
data: null
|
|
1249
|
+
};
|
|
1246
1250
|
const appValues = {
|
|
1247
1251
|
id: (0, import_uuid.v4)(),
|
|
1248
1252
|
userPid: pid,
|
package/dist/index.mjs
CHANGED
|
@@ -1201,7 +1201,11 @@ import { v4 as uuid } from "uuid";
|
|
|
1201
1201
|
function useCreateUserAppData() {
|
|
1202
1202
|
return useCallback15(
|
|
1203
1203
|
async (appId, pid, dbAuthToken, endpoint) => {
|
|
1204
|
-
if (!dbAuthToken || !pid || !dbAuthToken || !endpoint)
|
|
1204
|
+
if (!dbAuthToken || !pid || !dbAuthToken || !endpoint)
|
|
1205
|
+
return {
|
|
1206
|
+
success: false,
|
|
1207
|
+
data: null
|
|
1208
|
+
};
|
|
1205
1209
|
const appValues = {
|
|
1206
1210
|
id: uuid(),
|
|
1207
1211
|
userPid: pid,
|
package/package.json
CHANGED