anymal-protocol 1.0.22 → 1.0.24

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 CHANGED
@@ -22,6 +22,26 @@ declare function useUpdateUserName(): (dbAuthToken: string, docID: string, name:
22
22
  success: boolean;
23
23
  }>;
24
24
 
25
+ /**
26
+ * Custom hook to fetch notifications from a GraphQL endpoint.
27
+ * Allows filtering notifications by `pid` and optionally other fields.
28
+ *
29
+ * @example
30
+ * const fetchNotifications = useFetchNotifications();
31
+ * const notifications = await fetchNotifications(
32
+ * "user_pid",
33
+ * "auth_token",
34
+ * "https://api.endpoint.com/graphql",
35
+ * {
36
+ * read: { _eq: false }, // Additional filter: unread notifications
37
+ * type: { _in: ["type1", "type2"] }, // Filter by types
38
+ * }
39
+ * );
40
+ *
41
+ * @returns {Promise<Array|Object|null>} A list of notifications if found, null otherwise.
42
+ */
43
+ declare function useFetchNotifications(): (pid: string, dbAuthToken: string, endpoint: string, additionalFilters?: Record<string, any>) => Promise<any>;
44
+
25
45
  declare function useMintAnymalNFT(): (pid: string, nftId: string, dbAuthToken: string, validationContractAddress: string, smartAccount: any, bundlerClient: any) => Promise<{
26
46
  success: boolean;
27
47
  message: string;
@@ -79,4 +99,4 @@ declare function useCreateUserAppData(): (appId: string, pid: string, dbAuthToke
79
99
 
80
100
  declare function useFetchBalance(): (publicClient: any, walletAddress: string, kibbleTokenAddress: string) => Promise<number | undefined>;
81
101
 
82
- export { type AnymalNftMetadataInputData, type CreateAnymalInputData, generateBytes32Nonce, useAddAnymalToDatabase, useApproveKibbleToken, useCreateUserAppData, useCreateWeb3Account, useDeleteAnymalFromDatabase, useFetchBalance, useFetchUserData, useMintAnymalNFT, useProcessPartialKibblePayment, useSaveAnymalMetadata, useUpdateAnymalWithNFT, useUpdateUserAsVerified, useUpdateUserEmail, useUpdateUserName, useUpdateUserPid, useUploadAnymalImage, useVerifyAccount, useVerifyWeb3AuthSession };
102
+ export { type AnymalNftMetadataInputData, type CreateAnymalInputData, generateBytes32Nonce, useAddAnymalToDatabase, useApproveKibbleToken, useCreateUserAppData, useCreateWeb3Account, useDeleteAnymalFromDatabase, useFetchBalance, useFetchNotifications, useFetchUserData, useMintAnymalNFT, useProcessPartialKibblePayment, useSaveAnymalMetadata, useUpdateAnymalWithNFT, useUpdateUserAsVerified, useUpdateUserEmail, useUpdateUserName, useUpdateUserPid, useUploadAnymalImage, useVerifyAccount, useVerifyWeb3AuthSession };
package/dist/index.d.ts CHANGED
@@ -22,6 +22,26 @@ declare function useUpdateUserName(): (dbAuthToken: string, docID: string, name:
22
22
  success: boolean;
23
23
  }>;
24
24
 
25
+ /**
26
+ * Custom hook to fetch notifications from a GraphQL endpoint.
27
+ * Allows filtering notifications by `pid` and optionally other fields.
28
+ *
29
+ * @example
30
+ * const fetchNotifications = useFetchNotifications();
31
+ * const notifications = await fetchNotifications(
32
+ * "user_pid",
33
+ * "auth_token",
34
+ * "https://api.endpoint.com/graphql",
35
+ * {
36
+ * read: { _eq: false }, // Additional filter: unread notifications
37
+ * type: { _in: ["type1", "type2"] }, // Filter by types
38
+ * }
39
+ * );
40
+ *
41
+ * @returns {Promise<Array|Object|null>} A list of notifications if found, null otherwise.
42
+ */
43
+ declare function useFetchNotifications(): (pid: string, dbAuthToken: string, endpoint: string, additionalFilters?: Record<string, any>) => Promise<any>;
44
+
25
45
  declare function useMintAnymalNFT(): (pid: string, nftId: string, dbAuthToken: string, validationContractAddress: string, smartAccount: any, bundlerClient: any) => Promise<{
26
46
  success: boolean;
27
47
  message: string;
@@ -79,4 +99,4 @@ declare function useCreateUserAppData(): (appId: string, pid: string, dbAuthToke
79
99
 
80
100
  declare function useFetchBalance(): (publicClient: any, walletAddress: string, kibbleTokenAddress: string) => Promise<number | undefined>;
81
101
 
82
- export { type AnymalNftMetadataInputData, type CreateAnymalInputData, generateBytes32Nonce, useAddAnymalToDatabase, useApproveKibbleToken, useCreateUserAppData, useCreateWeb3Account, useDeleteAnymalFromDatabase, useFetchBalance, useFetchUserData, useMintAnymalNFT, useProcessPartialKibblePayment, useSaveAnymalMetadata, useUpdateAnymalWithNFT, useUpdateUserAsVerified, useUpdateUserEmail, useUpdateUserName, useUpdateUserPid, useUploadAnymalImage, useVerifyAccount, useVerifyWeb3AuthSession };
102
+ export { type AnymalNftMetadataInputData, type CreateAnymalInputData, generateBytes32Nonce, useAddAnymalToDatabase, useApproveKibbleToken, useCreateUserAppData, useCreateWeb3Account, useDeleteAnymalFromDatabase, useFetchBalance, useFetchNotifications, useFetchUserData, useMintAnymalNFT, useProcessPartialKibblePayment, useSaveAnymalMetadata, useUpdateAnymalWithNFT, useUpdateUserAsVerified, useUpdateUserEmail, useUpdateUserName, useUpdateUserPid, useUploadAnymalImage, useVerifyAccount, useVerifyWeb3AuthSession };
package/dist/index.js CHANGED
@@ -27,6 +27,7 @@ __export(index_exports, {
27
27
  useCreateWeb3Account: () => useCreateWeb3Account,
28
28
  useDeleteAnymalFromDatabase: () => useDeleteAnymalFromDatabase,
29
29
  useFetchBalance: () => useFetchBalance,
30
+ useFetchNotifications: () => useFetchNotifications,
30
31
  useFetchUserData: () => useFetchUserData,
31
32
  useMintAnymalNFT: () => useMintAnymalNFT,
32
33
  useProcessPartialKibblePayment: () => useProcessPartialKibblePayment,
@@ -901,11 +902,70 @@ function useUpdateUserName() {
901
902
  );
902
903
  }
903
904
 
905
+ // src/utils/account/useFetchNotifications.ts
906
+ var import_react9 = require("react");
907
+ function useFetchNotifications() {
908
+ return (0, import_react9.useCallback)(
909
+ async (pid, dbAuthToken, endpoint, additionalFilters) => {
910
+ if (!pid) {
911
+ throw new Error("The 'pid' field is required.");
912
+ }
913
+ try {
914
+ const query = `
915
+ query Notification($filter: NotificationFilterArg) {
916
+ Notification(filter: $filter) {
917
+ _docID
918
+ action
919
+ id
920
+ pid
921
+ read
922
+ source
923
+ tags
924
+ text
925
+ timeAddedUtc
926
+ timeUpdatedUtc
927
+ type
928
+ }
929
+ }
930
+ `;
931
+ const filter = {
932
+ pid: {
933
+ _eq: pid
934
+ },
935
+ ...additionalFilters || {}
936
+ };
937
+ const variables = { filter };
938
+ const response = await fetch(endpoint, {
939
+ method: "POST",
940
+ headers: {
941
+ "Content-Type": "application/json",
942
+ Authorization: `Bearer ${dbAuthToken}`
943
+ },
944
+ body: JSON.stringify({ query, variables })
945
+ });
946
+ if (!response.ok) {
947
+ throw new Error(`HTTP error! Status: ${response.status}`);
948
+ }
949
+ const data = await response.json();
950
+ if (data?.data?.Notification?.length > 0) {
951
+ return data.data.Notification;
952
+ } else {
953
+ return null;
954
+ }
955
+ } catch (error) {
956
+ console.error("Error fetching notifications:", error);
957
+ return null;
958
+ }
959
+ },
960
+ []
961
+ );
962
+ }
963
+
904
964
  // src/utils/anymals/useMintAnymalNFT.ts
905
965
  var import_viem2 = require("viem");
906
- var import_react9 = require("react");
966
+ var import_react10 = require("react");
907
967
  function useMintAnymalNFT() {
908
- return (0, import_react9.useCallback)(
968
+ return (0, import_react10.useCallback)(
909
969
  async (pid, nftId, dbAuthToken, validationContractAddress, smartAccount, bundlerClient) => {
910
970
  if (!dbAuthToken || !nftId || !bundlerClient || !smartAccount || !pid || !validationContractAddress) {
911
971
  return {
@@ -944,9 +1004,9 @@ function useMintAnymalNFT() {
944
1004
  }
945
1005
 
946
1006
  // src/utils/anymals/useAddAnymalToDatabase.ts
947
- var import_react10 = require("react");
1007
+ var import_react11 = require("react");
948
1008
  function useAddAnymalToDatabase() {
949
- return (0, import_react10.useCallback)(
1009
+ return (0, import_react11.useCallback)(
950
1010
  async (dbAuthToken, endpoint, anymalData) => {
951
1011
  if (!dbAuthToken) {
952
1012
  return {
@@ -1011,9 +1071,9 @@ function useAddAnymalToDatabase() {
1011
1071
  }
1012
1072
 
1013
1073
  // src/utils/anymals/useDeleteAnymalFromDatabase.ts
1014
- var import_react11 = require("react");
1074
+ var import_react12 = require("react");
1015
1075
  function useDeleteAnymalFromDatabase() {
1016
- return (0, import_react11.useCallback)(
1076
+ return (0, import_react12.useCallback)(
1017
1077
  async (dbAuthToken, endpoint, anymalDocID) => {
1018
1078
  if (!dbAuthToken || !endpoint || !anymalDocID) return;
1019
1079
  try {
@@ -1051,9 +1111,9 @@ function useDeleteAnymalFromDatabase() {
1051
1111
  }
1052
1112
 
1053
1113
  // src/utils/anymals/useSaveAnymalMetadata.ts
1054
- var import_react12 = require("react");
1114
+ var import_react13 = require("react");
1055
1115
  function useSaveAnymalMetadata() {
1056
- return (0, import_react12.useCallback)(
1116
+ return (0, import_react13.useCallback)(
1057
1117
  async (idToken, publicKey, nftMetadataInput, authServiceBaseUrl) => {
1058
1118
  const response = await fetch(`${authServiceBaseUrl}/process-nft`, {
1059
1119
  method: "POST",
@@ -1080,9 +1140,9 @@ function useSaveAnymalMetadata() {
1080
1140
  }
1081
1141
 
1082
1142
  // src/utils/anymals/useUpdateAnymalWithNFT.ts
1083
- var import_react13 = require("react");
1143
+ var import_react14 = require("react");
1084
1144
  function useUpdateAnymalWithNFT() {
1085
- return (0, import_react13.useCallback)(
1145
+ return (0, import_react14.useCallback)(
1086
1146
  async (anymalPassportId, anymalDocId, dbAuthToken, endpoint) => {
1087
1147
  if (!dbAuthToken || !anymalPassportId || !anymalDocId || !endpoint) {
1088
1148
  return {
@@ -1129,7 +1189,7 @@ function useUpdateAnymalWithNFT() {
1129
1189
  }
1130
1190
 
1131
1191
  // src/utils/anymals/useUploadAnymalImage.ts
1132
- var import_react14 = require("react");
1192
+ var import_react15 = require("react");
1133
1193
 
1134
1194
  // src/helpers/UploadImageHelper.tsx
1135
1195
  function resizeImage(file, maxWidth = 800, maxHeight = 800, quality = 0.7) {
@@ -1186,7 +1246,7 @@ function toBase64(file) {
1186
1246
 
1187
1247
  // src/utils/anymals/useUploadAnymalImage.ts
1188
1248
  function useUploadAnymalImage() {
1189
- return (0, import_react14.useCallback)(
1249
+ return (0, import_react15.useCallback)(
1190
1250
  async (imageFile, type, idToken, publicKey, authServiceBaseUrl) => {
1191
1251
  if (!imageFile || !idToken) {
1192
1252
  return {
@@ -1242,9 +1302,9 @@ function useUploadAnymalImage() {
1242
1302
 
1243
1303
  // src/utils/marketplace/useProcessPartialKibblePayment.ts
1244
1304
  var import_viem3 = require("viem");
1245
- var import_react15 = require("react");
1305
+ var import_react16 = require("react");
1246
1306
  function useProcessPartialKibblePayment() {
1247
- return (0, import_react15.useCallback)(
1307
+ return (0, import_react16.useCallback)(
1248
1308
  async (pid, nftId, orderId, dbAuthToken, marketplaceContract, smartAccount, bundlerClient, amountInTokens, maxTokenPayment, nonce, deadline, backendSignature) => {
1249
1309
  if (!orderId || !dbAuthToken || !nftId || !bundlerClient || !smartAccount || !pid || !marketplaceContract || !amountInTokens || !maxTokenPayment || !nonce || !deadline) {
1250
1310
  return {
@@ -1304,9 +1364,9 @@ function useProcessPartialKibblePayment() {
1304
1364
 
1305
1365
  // src/utils/marketplace/useApproveKibbleToken.ts
1306
1366
  var import_viem4 = require("viem");
1307
- var import_react16 = require("react");
1367
+ var import_react17 = require("react");
1308
1368
  function useApproveKibbleToken() {
1309
- return (0, import_react16.useCallback)(
1369
+ return (0, import_react17.useCallback)(
1310
1370
  async (kibbleTokenAddress, marketplaceContract, amount, smartAccount, bundlerClient) => {
1311
1371
  try {
1312
1372
  const callData = (0, import_viem4.encodeFunctionData)({
@@ -1352,10 +1412,10 @@ var generateBytes32Nonce = () => {
1352
1412
  };
1353
1413
 
1354
1414
  // src/utils/application/useCreateUserAppData.ts
1355
- var import_react17 = require("react");
1415
+ var import_react18 = require("react");
1356
1416
  var import_uuid2 = require("uuid");
1357
1417
  function useCreateUserAppData() {
1358
- return (0, import_react17.useCallback)(
1418
+ return (0, import_react18.useCallback)(
1359
1419
  async (appId, pid, dbAuthToken, endpoint) => {
1360
1420
  if (!dbAuthToken || !pid || !dbAuthToken || !endpoint) return;
1361
1421
  const appValues = {
@@ -1408,10 +1468,10 @@ function useCreateUserAppData() {
1408
1468
  }
1409
1469
 
1410
1470
  // src/utils/balance/useFetchBalance.ts
1411
- var import_react18 = require("react");
1471
+ var import_react19 = require("react");
1412
1472
  var import_viem6 = require("viem");
1413
1473
  function useFetchBalance() {
1414
- return (0, import_react18.useCallback)(
1474
+ return (0, import_react19.useCallback)(
1415
1475
  async (publicClient, walletAddress, kibbleTokenAddress) => {
1416
1476
  try {
1417
1477
  const balance = await publicClient.readContract({
@@ -1437,6 +1497,7 @@ function useFetchBalance() {
1437
1497
  useCreateWeb3Account,
1438
1498
  useDeleteAnymalFromDatabase,
1439
1499
  useFetchBalance,
1500
+ useFetchNotifications,
1440
1501
  useFetchUserData,
1441
1502
  useMintAnymalNFT,
1442
1503
  useProcessPartialKibblePayment,
package/dist/index.mjs CHANGED
@@ -857,11 +857,70 @@ function useUpdateUserName() {
857
857
  );
858
858
  }
859
859
 
860
+ // src/utils/account/useFetchNotifications.ts
861
+ import { useCallback as useCallback9 } from "react";
862
+ function useFetchNotifications() {
863
+ return useCallback9(
864
+ async (pid, dbAuthToken, endpoint, additionalFilters) => {
865
+ if (!pid) {
866
+ throw new Error("The 'pid' field is required.");
867
+ }
868
+ try {
869
+ const query = `
870
+ query Notification($filter: NotificationFilterArg) {
871
+ Notification(filter: $filter) {
872
+ _docID
873
+ action
874
+ id
875
+ pid
876
+ read
877
+ source
878
+ tags
879
+ text
880
+ timeAddedUtc
881
+ timeUpdatedUtc
882
+ type
883
+ }
884
+ }
885
+ `;
886
+ const filter = {
887
+ pid: {
888
+ _eq: pid
889
+ },
890
+ ...additionalFilters || {}
891
+ };
892
+ const variables = { filter };
893
+ const response = await fetch(endpoint, {
894
+ method: "POST",
895
+ headers: {
896
+ "Content-Type": "application/json",
897
+ Authorization: `Bearer ${dbAuthToken}`
898
+ },
899
+ body: JSON.stringify({ query, variables })
900
+ });
901
+ if (!response.ok) {
902
+ throw new Error(`HTTP error! Status: ${response.status}`);
903
+ }
904
+ const data = await response.json();
905
+ if (data?.data?.Notification?.length > 0) {
906
+ return data.data.Notification;
907
+ } else {
908
+ return null;
909
+ }
910
+ } catch (error) {
911
+ console.error("Error fetching notifications:", error);
912
+ return null;
913
+ }
914
+ },
915
+ []
916
+ );
917
+ }
918
+
860
919
  // src/utils/anymals/useMintAnymalNFT.ts
861
920
  import { encodeFunctionData as encodeFunctionData2, parseGwei as parseGwei2 } from "viem";
862
- import { useCallback as useCallback9 } from "react";
921
+ import { useCallback as useCallback10 } from "react";
863
922
  function useMintAnymalNFT() {
864
- return useCallback9(
923
+ return useCallback10(
865
924
  async (pid, nftId, dbAuthToken, validationContractAddress, smartAccount, bundlerClient) => {
866
925
  if (!dbAuthToken || !nftId || !bundlerClient || !smartAccount || !pid || !validationContractAddress) {
867
926
  return {
@@ -900,9 +959,9 @@ function useMintAnymalNFT() {
900
959
  }
901
960
 
902
961
  // src/utils/anymals/useAddAnymalToDatabase.ts
903
- import { useCallback as useCallback10 } from "react";
962
+ import { useCallback as useCallback11 } from "react";
904
963
  function useAddAnymalToDatabase() {
905
- return useCallback10(
964
+ return useCallback11(
906
965
  async (dbAuthToken, endpoint, anymalData) => {
907
966
  if (!dbAuthToken) {
908
967
  return {
@@ -967,9 +1026,9 @@ function useAddAnymalToDatabase() {
967
1026
  }
968
1027
 
969
1028
  // src/utils/anymals/useDeleteAnymalFromDatabase.ts
970
- import { useCallback as useCallback11 } from "react";
1029
+ import { useCallback as useCallback12 } from "react";
971
1030
  function useDeleteAnymalFromDatabase() {
972
- return useCallback11(
1031
+ return useCallback12(
973
1032
  async (dbAuthToken, endpoint, anymalDocID) => {
974
1033
  if (!dbAuthToken || !endpoint || !anymalDocID) return;
975
1034
  try {
@@ -1007,9 +1066,9 @@ function useDeleteAnymalFromDatabase() {
1007
1066
  }
1008
1067
 
1009
1068
  // src/utils/anymals/useSaveAnymalMetadata.ts
1010
- import { useCallback as useCallback12 } from "react";
1069
+ import { useCallback as useCallback13 } from "react";
1011
1070
  function useSaveAnymalMetadata() {
1012
- return useCallback12(
1071
+ return useCallback13(
1013
1072
  async (idToken, publicKey, nftMetadataInput, authServiceBaseUrl) => {
1014
1073
  const response = await fetch(`${authServiceBaseUrl}/process-nft`, {
1015
1074
  method: "POST",
@@ -1036,9 +1095,9 @@ function useSaveAnymalMetadata() {
1036
1095
  }
1037
1096
 
1038
1097
  // src/utils/anymals/useUpdateAnymalWithNFT.ts
1039
- import { useCallback as useCallback13 } from "react";
1098
+ import { useCallback as useCallback14 } from "react";
1040
1099
  function useUpdateAnymalWithNFT() {
1041
- return useCallback13(
1100
+ return useCallback14(
1042
1101
  async (anymalPassportId, anymalDocId, dbAuthToken, endpoint) => {
1043
1102
  if (!dbAuthToken || !anymalPassportId || !anymalDocId || !endpoint) {
1044
1103
  return {
@@ -1085,7 +1144,7 @@ function useUpdateAnymalWithNFT() {
1085
1144
  }
1086
1145
 
1087
1146
  // src/utils/anymals/useUploadAnymalImage.ts
1088
- import { useCallback as useCallback14 } from "react";
1147
+ import { useCallback as useCallback15 } from "react";
1089
1148
 
1090
1149
  // src/helpers/UploadImageHelper.tsx
1091
1150
  function resizeImage(file, maxWidth = 800, maxHeight = 800, quality = 0.7) {
@@ -1142,7 +1201,7 @@ function toBase64(file) {
1142
1201
 
1143
1202
  // src/utils/anymals/useUploadAnymalImage.ts
1144
1203
  function useUploadAnymalImage() {
1145
- return useCallback14(
1204
+ return useCallback15(
1146
1205
  async (imageFile, type, idToken, publicKey, authServiceBaseUrl) => {
1147
1206
  if (!imageFile || !idToken) {
1148
1207
  return {
@@ -1198,9 +1257,9 @@ function useUploadAnymalImage() {
1198
1257
 
1199
1258
  // src/utils/marketplace/useProcessPartialKibblePayment.ts
1200
1259
  import { encodeFunctionData as encodeFunctionData3, parseGwei as parseGwei3 } from "viem";
1201
- import { useCallback as useCallback15 } from "react";
1260
+ import { useCallback as useCallback16 } from "react";
1202
1261
  function useProcessPartialKibblePayment() {
1203
- return useCallback15(
1262
+ return useCallback16(
1204
1263
  async (pid, nftId, orderId, dbAuthToken, marketplaceContract, smartAccount, bundlerClient, amountInTokens, maxTokenPayment, nonce, deadline, backendSignature) => {
1205
1264
  if (!orderId || !dbAuthToken || !nftId || !bundlerClient || !smartAccount || !pid || !marketplaceContract || !amountInTokens || !maxTokenPayment || !nonce || !deadline) {
1206
1265
  return {
@@ -1260,9 +1319,9 @@ function useProcessPartialKibblePayment() {
1260
1319
 
1261
1320
  // src/utils/marketplace/useApproveKibbleToken.ts
1262
1321
  import { encodeFunctionData as encodeFunctionData4, erc20Abi, parseGwei as parseGwei4 } from "viem";
1263
- import { useCallback as useCallback16 } from "react";
1322
+ import { useCallback as useCallback17 } from "react";
1264
1323
  function useApproveKibbleToken() {
1265
- return useCallback16(
1324
+ return useCallback17(
1266
1325
  async (kibbleTokenAddress, marketplaceContract, amount, smartAccount, bundlerClient) => {
1267
1326
  try {
1268
1327
  const callData = encodeFunctionData4({
@@ -1308,10 +1367,10 @@ var generateBytes32Nonce = () => {
1308
1367
  };
1309
1368
 
1310
1369
  // src/utils/application/useCreateUserAppData.ts
1311
- import { useCallback as useCallback17 } from "react";
1370
+ import { useCallback as useCallback18 } from "react";
1312
1371
  import { v4 as uuid } from "uuid";
1313
1372
  function useCreateUserAppData() {
1314
- return useCallback17(
1373
+ return useCallback18(
1315
1374
  async (appId, pid, dbAuthToken, endpoint) => {
1316
1375
  if (!dbAuthToken || !pid || !dbAuthToken || !endpoint) return;
1317
1376
  const appValues = {
@@ -1364,10 +1423,10 @@ function useCreateUserAppData() {
1364
1423
  }
1365
1424
 
1366
1425
  // src/utils/balance/useFetchBalance.ts
1367
- import { useCallback as useCallback18 } from "react";
1426
+ import { useCallback as useCallback19 } from "react";
1368
1427
  import { erc20Abi as erc20Abi2, getAddress } from "viem";
1369
1428
  function useFetchBalance() {
1370
- return useCallback18(
1429
+ return useCallback19(
1371
1430
  async (publicClient, walletAddress, kibbleTokenAddress) => {
1372
1431
  try {
1373
1432
  const balance = await publicClient.readContract({
@@ -1392,6 +1451,7 @@ export {
1392
1451
  useCreateWeb3Account,
1393
1452
  useDeleteAnymalFromDatabase,
1394
1453
  useFetchBalance,
1454
+ useFetchNotifications,
1395
1455
  useFetchUserData,
1396
1456
  useMintAnymalNFT,
1397
1457
  useProcessPartialKibblePayment,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anymal-protocol",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "A React/TypeScript-based utility library for reusable functions and hooks inside of the Anymal Ecosystem.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",