summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2025-04-13 22:54:31 +0300
committerAsko Nõmm <asko@nmm.ee>2025-04-13 22:54:31 +0300
commit517e45f01af67a22677ae99ca44593f8f0d52057 (patch)
tree5b10da3c4799578de16d00081bf652c29b8cf1c0
parent1eb3d02ade6276809181903e2dfcb6c09a5b312c (diff)
Update package version and fix import name in docs
-rw-r--r--README.md4
-rw-r--r--package.json2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index f81e7f7..64c1942 100644
--- a/README.md
+++ b/README.md
@@ -51,13 +51,13 @@ npm i @askonmm/eventx
At the core of your application is state. You start by initiating EventX with some initial state, like so:
```typescript
-import eventx from "@askonmm/eventx";
+import EventX from "@askonmm/eventx";
type AppState = {
counter: number;
};
-const $ = eventx<AppState>({
+const $ = EventX<AppState>({
counter: 1,
});
```
diff --git a/package.json b/package.json
index a7216aa..785e2e8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@askonmm/eventx",
- "version": "1.0.1",
+ "version": "1.0.3",
"description": "A scalable event-driven application framework.",
"main": "dist/eventx.cjs",
"module": "dist/eventx.js",