Skip to content

Commit b3d3254

Browse files
committed
chore: update readme
1 parent b3a59c7 commit b3d3254

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
1-
# @unraid/callback
1+
# @unraid/shared-callbacks
22

33
A TypeScript package for handling callbacks in Unraid applications. This package provides a flexible and type-safe way to handle encrypted callbacks between different parts of the Unraid ecosystem.
44

55
## Features
66

77
- Type-safe callback handling
88
- AES encryption/decryption of payloads
9-
- Pinia store integration
109
- Support for various callback types (sign in, sign out, key actions, etc.)
1110
- Flexible URL handling with support for different redirect types
1211

1312
## Installation
1413

1514
```bash
16-
pnpm add @unraid/callback
15+
pnpm add @unraid/shared-callbacks
1716
```
1817

1918
## Usage
2019

2120
```typescript
22-
import { createCallbackStore, CallbackActionsStore } from '@unraid/callback';
21+
import { createCallbackStore, CallbackActionsStore } from '@unraid/shared-callbacks';
2322

2423
// Define your callback actions store
2524
const useCallbackActions = (): CallbackActionsStore => ({
@@ -78,7 +77,3 @@ interface CallbackActionsStore {
7877
sendType: 'fromUpc' | 'forUpc';
7978
}
8079
```
81-
82-
## License
83-
84-
MIT

0 commit comments

Comments
 (0)