Skip to content

Commit 6d012ab

Browse files
committed
updated readme
1 parent 61c9478 commit 6d012ab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ A comprehensive, type-safe real-time notification system for e-commerce applicat
1616

1717
```bash
1818
# NPM
19-
npm install duke @supabase/supabase-js
19+
npm install tendo-notifier @supabase/supabase-js
2020
# or install pre-built version from GitHub
2121
npm install github:Duke-Engineering/duke-notifier#dist
2222

2323
# Yarn
24-
yarn add duke @supabase/supabase-js
24+
yarn add tendo-notifier @supabase/supabase-js
2525
# or install pre-built version from GitHub
2626
yarn add github:Duke-Engineering/duke-notifier#dist
2727

2828
# PNPM
29-
pnpm add duke @supabase/supabase-js
29+
pnpm add tendo-notifier @supabase/supabase-js
3030
# or install pre-built version from GitHub
3131
pnpm add github:Duke-Engineering/duke-notifier#dist
3232
```
@@ -104,7 +104,7 @@ export const supabase = createClient<Database>(
104104
```typescript
105105
// components/OrderDashboard.tsx
106106
import React from 'react';
107-
import { useOrderNotifications } from 'duke/react';
107+
import { useOrderNotifications } from 'tendo-notifier/react';
108108
import { supabase } from '@/lib/supabase';
109109

110110
interface Props {
@@ -156,7 +156,7 @@ export const OrderDashboard: React.FC<Props> = ({ userId, userRole }) => {
156156
157157
```typescript
158158
// lib/notifications.ts
159-
import { OrderNotificationManager } from 'duke';
159+
import { OrderNotificationManager } from 'tendo-notifier';
160160
import { supabase } from './supabase';
161161

162162
export async function notifyOrderCreated(orderData: {
@@ -200,7 +200,7 @@ import type {
200200
SoundConfig,
201201
DispatchNotificationData,
202202
DispatchResult,
203-
} from 'duke';
203+
} from 'tendo-notifier';
204204
```
205205
206206
## 🔐 Environment Variables
@@ -294,7 +294,7 @@ function useOrderNotifications(config: OrderNotificationConfig): {
294294
295295
```bash
296296
# Clone the repository
297-
git clone https://github.com/yourusername/duke.git
297+
git clone https://github.com/yourusername/duke-notifier.git
298298

299299
# Install dependencies
300300
npm install

0 commit comments

Comments
 (0)