@bodhveda/react 0.0.4 → 0.0.5
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/README.md +36 -22
- package/dist/hooks.d.ts +6 -0
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +11 -11
- package/dist/hooks.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
#
|
|
1
|
+
# React SDK for Bodhveda
|
|
2
2
|
|
|
3
3
|
Official React SDK for Bodhveda.
|
|
4
4
|
|
|
5
|
-
It extends the core `bodhveda` SDK with
|
|
5
|
+
It extends the core `bodhveda` SDK to provide you with hooks to make it easy to build custom notification UX with React.
|
|
6
|
+
|
|
7
|
+
> This SDK uses [TanStack Query](https://tanstack.com/query/v5/docs/framework/react/overview) to manage Bodhveda API state for you - including caching and invalidation as well. You will need to add `@tanstack/react-query` and wrap your React app with `QueryClientProvider` and then put `BodhvedaProvider` inside it so that `@bodhveda/react` can use the ReactQuery's `QueryClient`.
|
|
6
8
|
|
|
7
9
|
## Installation
|
|
8
10
|
|
|
@@ -12,33 +14,45 @@ npm install @bodhveda/react @tanstack/react-query
|
|
|
12
14
|
|
|
13
15
|
## Usage
|
|
14
16
|
|
|
15
|
-
Wrap your app with the `BodhvedaProvider`:
|
|
16
|
-
|
|
17
|
-
```tsx
|
|
18
|
-
import { BodhvedaProvider } from "@bodhveda/react";
|
|
19
|
-
|
|
20
|
-
<BodhvedaProvider apiKey="your-api-key" recipientID="user-123">
|
|
21
|
-
<App />
|
|
22
|
-
</BodhvedaProvider>;
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Or provide an existing Bodhveda client:
|
|
26
|
-
|
|
27
17
|
```tsx
|
|
28
|
-
import {
|
|
18
|
+
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
29
19
|
import { BodhvedaProvider } from "@bodhveda/react";
|
|
30
20
|
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
<
|
|
34
|
-
<
|
|
35
|
-
|
|
21
|
+
const queryClient = new QueryClient();
|
|
22
|
+
|
|
23
|
+
<QueryClientProvider client={queryClient}>
|
|
24
|
+
<BodhvedaProvider apiKey="your-api-key" recipientID="user-123">
|
|
25
|
+
<NotificationInbox />
|
|
26
|
+
</BodhvedaProvider>
|
|
27
|
+
</QueryClientProvider>;
|
|
28
|
+
|
|
29
|
+
// src/components/NotificationInbox.tsx
|
|
30
|
+
import { Notification } from "./Notification";
|
|
31
|
+
import { useNotifications } from "@bodhveda/react";
|
|
32
|
+
|
|
33
|
+
function NotificationInbox() {
|
|
34
|
+
// Fetch recipient's notifications.
|
|
35
|
+
const { data } = useNotifications();
|
|
36
|
+
|
|
37
|
+
// ...
|
|
38
|
+
// Handle loading and error states.
|
|
39
|
+
// ...
|
|
40
|
+
|
|
41
|
+
// Render the notifications however you want.
|
|
42
|
+
return (
|
|
43
|
+
<ul>
|
|
44
|
+
{data.notifications.map((notification) => (
|
|
45
|
+
<li key={notification.id}>
|
|
46
|
+
<Notification notification={notification} />
|
|
47
|
+
</li>
|
|
48
|
+
))}
|
|
49
|
+
</ul>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
36
52
|
```
|
|
37
53
|
|
|
38
54
|
## Hooks
|
|
39
55
|
|
|
40
|
-
All hooks must be used within a `BodhvedaProvider`.
|
|
41
|
-
|
|
42
56
|
### `useBodhveda()`
|
|
43
57
|
|
|
44
58
|
Returns the Bodhveda client instance.
|
package/dist/hooks.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ import { AnyUseMutationOptions, AnyUseQueryOptions, UseQueryResult } from "@tans
|
|
|
2
2
|
import { ListNotificationsResponse, ListPreferencesResponse, UpdateNotificationsStateRequest, UpdateNotificationsStateResponse, SetPreferenceRequest, SetPreferenceResponse, DeleteNotificationsResponse, DeleteNotificationsRequest, Target, CheckPreferenceResponse } from "bodhveda";
|
|
3
3
|
type QueryOptions = Omit<AnyUseQueryOptions, "queryKey">;
|
|
4
4
|
type MutationOptions = AnyUseMutationOptions;
|
|
5
|
+
export declare const QueryKeys: {
|
|
6
|
+
useNotifications: string[];
|
|
7
|
+
useNotificationsUnreadCount: string[];
|
|
8
|
+
useCheckPreference: string[];
|
|
9
|
+
usePreferences: string[];
|
|
10
|
+
};
|
|
5
11
|
/**
|
|
6
12
|
* Returns the Bodhveda client instance.
|
|
7
13
|
*
|
package/dist/hooks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,qBAAqB,EACrB,kBAAkB,EAIlB,cAAc,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACH,yBAAyB,EACzB,uBAAuB,EACvB,+BAA+B,EAC/B,gCAAgC,EAChC,oBAAoB,EACpB,qBAAqB,EACrB,2BAA2B,EAC3B,0BAA0B,EAC1B,MAAM,EACN,uBAAuB,EAC1B,MAAM,UAAU,CAAC;AAIlB,KAAK,YAAY,GAAG,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;AACzD,KAAK,eAAe,GAAG,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,qBAAqB,EACrB,kBAAkB,EAIlB,cAAc,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACH,yBAAyB,EACzB,uBAAuB,EACvB,+BAA+B,EAC/B,gCAAgC,EAChC,oBAAoB,EACpB,qBAAqB,EACrB,2BAA2B,EAC3B,0BAA0B,EAC1B,MAAM,EACN,uBAAuB,EAC1B,MAAM,UAAU,CAAC;AAIlB,KAAK,YAAY,GAAG,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;AACzD,KAAK,eAAe,GAAG,qBAAqB,CAAC;AAE7C,eAAO,MAAM,SAAS;;;;;CAKrB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,WAAW,gCAQ1B;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,WAQ7B;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC5B,OAAO,GAAE,YAAiB,GAC3B,cAAc,CAAC,yBAAyB,CAAC,CAS3C;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACvC,OAAO,GAAE,YAAiB,GAC3B,cAAc,CAAC;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC,CAU1C;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,GAAE,eAAoB,0IA6BxE;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,GAAE,eAAoB,gIA0BnE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC1B,OAAO,GAAE,YAAiB,GAC3B,cAAc,CAAC,uBAAuB,CAAC,CASzC;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,eAAoB,oHA0BhE;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAC9B,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,YAAiB,GAC3B,cAAc,CAAC,uBAAuB,CAAC,CAUzC"}
|
package/dist/hooks.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useMutation, useQuery, useQueryClient, } from "@tanstack/react-query";
|
|
3
3
|
import { BodhvedaContext } from "./context";
|
|
4
|
-
const
|
|
4
|
+
export const QueryKeys = {
|
|
5
5
|
useNotifications: ["useNotifications"],
|
|
6
6
|
useNotificationsUnreadCount: ["useNotificationsUnreadCount"],
|
|
7
7
|
useCheckPreference: ["useCheckPreference"],
|
|
@@ -43,7 +43,7 @@ export function useNotifications(options = {}) {
|
|
|
43
43
|
const bodhveda = useBodhveda();
|
|
44
44
|
const recipientID = useRecipientID();
|
|
45
45
|
return useQuery({
|
|
46
|
-
queryKey: [
|
|
46
|
+
queryKey: [QueryKeys.useNotifications],
|
|
47
47
|
queryFn: () => bodhveda.recipients.notifications.list(recipientID),
|
|
48
48
|
...options,
|
|
49
49
|
});
|
|
@@ -58,7 +58,7 @@ export function useNotificationsUnreadCount(options = {}) {
|
|
|
58
58
|
const bodhveda = useBodhveda();
|
|
59
59
|
const recipientID = useRecipientID();
|
|
60
60
|
return useQuery({
|
|
61
|
-
queryKey: [
|
|
61
|
+
queryKey: [QueryKeys.useNotificationsUnreadCount],
|
|
62
62
|
queryFn: () => bodhveda.recipients.notifications.unreadCount(recipientID),
|
|
63
63
|
...options,
|
|
64
64
|
});
|
|
@@ -80,10 +80,10 @@ export function useUpdateNotificationsState(options = {}) {
|
|
|
80
80
|
},
|
|
81
81
|
onSuccess: (...args) => {
|
|
82
82
|
queryClient.invalidateQueries({
|
|
83
|
-
queryKey: [
|
|
83
|
+
queryKey: [QueryKeys.useNotifications],
|
|
84
84
|
});
|
|
85
85
|
queryClient.invalidateQueries({
|
|
86
|
-
queryKey: [
|
|
86
|
+
queryKey: [QueryKeys.useNotificationsUnreadCount],
|
|
87
87
|
});
|
|
88
88
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(...args);
|
|
89
89
|
},
|
|
@@ -107,10 +107,10 @@ export function useDeleteNotifications(options = {}) {
|
|
|
107
107
|
},
|
|
108
108
|
onSuccess: (...args) => {
|
|
109
109
|
queryClient.invalidateQueries({
|
|
110
|
-
queryKey: [
|
|
110
|
+
queryKey: [QueryKeys.useNotifications],
|
|
111
111
|
});
|
|
112
112
|
queryClient.invalidateQueries({
|
|
113
|
-
queryKey: [
|
|
113
|
+
queryKey: [QueryKeys.useNotificationsUnreadCount],
|
|
114
114
|
});
|
|
115
115
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(...args);
|
|
116
116
|
},
|
|
@@ -127,7 +127,7 @@ export function usePreferences(options = {}) {
|
|
|
127
127
|
const bodhveda = useBodhveda();
|
|
128
128
|
const recipientID = useRecipientID();
|
|
129
129
|
return useQuery({
|
|
130
|
-
queryKey: [
|
|
130
|
+
queryKey: [QueryKeys.usePreferences],
|
|
131
131
|
queryFn: () => bodhveda.recipients.preferences.list(recipientID),
|
|
132
132
|
...options,
|
|
133
133
|
});
|
|
@@ -149,10 +149,10 @@ export function useUpdatePreference(options = {}) {
|
|
|
149
149
|
},
|
|
150
150
|
onSuccess: (...args) => {
|
|
151
151
|
queryClient.invalidateQueries({
|
|
152
|
-
queryKey: [
|
|
152
|
+
queryKey: [QueryKeys.usePreferences],
|
|
153
153
|
});
|
|
154
154
|
queryClient.invalidateQueries({
|
|
155
|
-
queryKey: [
|
|
155
|
+
queryKey: [QueryKeys.useCheckPreference, args[0].target],
|
|
156
156
|
});
|
|
157
157
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(...args);
|
|
158
158
|
},
|
|
@@ -170,7 +170,7 @@ export function useCheckPreference(target, options = {}) {
|
|
|
170
170
|
const bodhveda = useBodhveda();
|
|
171
171
|
const recipientID = useRecipientID();
|
|
172
172
|
return useQuery({
|
|
173
|
-
queryKey: [
|
|
173
|
+
queryKey: [QueryKeys.useCheckPreference, target],
|
|
174
174
|
queryFn: () => bodhveda.recipients.preferences.check(recipientID, { target }),
|
|
175
175
|
...options,
|
|
176
176
|
});
|
package/dist/hooks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../src/hooks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAGH,WAAW,EACX,QAAQ,EACR,cAAc,GAEjB,MAAM,uBAAuB,CAAC;AAc/B,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAK5C,MAAM,
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../src/hooks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,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"0.0.5",
|
|
4
4
|
"description": "React SDK for Bodhveda",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
"typescript": "^5.9.2"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"bodhveda": "^0.0.
|
|
53
|
+
"bodhveda": "^0.0.5"
|
|
54
54
|
}
|
|
55
55
|
}
|