@zeeshan60/event-processor 1.0.162 → 1.0.163
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 +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Event Processor
|
|
2
2
|
|
|
3
|
-
Shared event sourcing infrastructure for
|
|
3
|
+
Shared event sourcing infrastructure for Money Rabbit projects.
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
|
-
This package provides the core building blocks for implementing event sourcing patterns across multiple projects in the
|
|
7
|
+
This package provides the core building blocks for implementing event sourcing patterns across multiple projects in the Money Rabbit monorepo.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
@@ -20,7 +20,7 @@ This package is used internally within the monorepo. Reference it in your projec
|
|
|
20
20
|
```json
|
|
21
21
|
{
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@
|
|
23
|
+
"@money-rabbit/event-processor": "file:../event-processor"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
```
|
|
@@ -71,7 +71,7 @@ For detailed SDK usage, see [SDK_USAGE.md](./SDK_USAGE.md).
|
|
|
71
71
|
### Basic Event Sourcing
|
|
72
72
|
|
|
73
73
|
```typescript
|
|
74
|
-
import { Event, Model, InMemoryEventStore, InMemoryModelStore } from '@
|
|
74
|
+
import { Event, Model, InMemoryEventStore, InMemoryModelStore } from '@money-rabbit/event-processor';
|
|
75
75
|
|
|
76
76
|
// Define your event
|
|
77
77
|
class MyEvent implements Event {
|