Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ updates:
prefix-development: chore

- package-ecosystem: docker
directory: "/test/shared/docker/eventsourcingdb"
directory: "/test/docker"
schedule:
interval: weekly
open-pull-requests-limit: 10
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# eventsourcingdb

eventsourcingdb is the official client for EventSourcingDB.
The official JavaScript client SDK for EventSourcingDB.
3 changes: 3 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"enabled": true,
"rules": {
"all": true,
"complexity": {
"noExcessiveCognitiveComplexity": "off"
},
"correctness": {
"noNodejsModules": "off"
},
Expand Down
2,553 changes: 515 additions & 2,038 deletions package-lock.json

Large diffs are not rendered by default.

39 changes: 19 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,47 @@
{
"name": "eventsourcingdb",
"version": "0.9.1",
"description": "eventsourcingdb is the official client for EventSourcingDB.",
"contributors": [
{
"name": "the native web GmbH",
"email": "[email protected]"
}
],
"description": "The official JavaScript client SDK for EventSourcingDB.",
"author": {
"name": "the native web GmbH",
"email": "[email protected]"
},
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"types": "./dist/index.d.ts",
"dependencies": {
"axios": "1.8.4",
"http-status-codes": "2.3.0",
"stream-to-async-iterator": "1.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/express": "5.0.1",
"@types/node": "22.14.0",
"@types/shelljs": "0.8.15",
"express": "5.1.0",
"shelljs": "0.9.2",
"get-port": "7.1.0",
"tsup": "8.4.0",
"tsx": "4.19.3",
"typescript": "5.8.3"
},
"scripts": {
"analyze": "npx biome check .",
"analyze": "npx biome check --error-on-warnings .",
"build": "npx tsc --noEmit && npx tsup --clean --dts --format cjs,esm --minify --out-dir=./dist/ ./src/index.ts",
"format": "npx biome format --write .",
"qa": "npm run analyze && npm run test",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "node --test --import tsx \"./test/unit/**/*.ts\"",
"test:integration": "node --test --import tsx \"./test/integration/**/*.ts\""
"test:unit": "node --test --import tsx \"./src/**/*.test.ts\"",
"test:integration": "node --test --import tsx \"./test/**/*.test.ts\""
},
"repository": {
"type": "git",
"url": "git://github.com/thenativeweb/eventsourcingdb-client-javascript.git"
},
"license": "MIT"
"license": "MIT",
"keywords": [
"eventsourcingdb",
"esdb",
"event",
"events",
"event sourcing",
"event store",
"cqrs"
]
}
8 changes: 8 additions & 0 deletions src/Bound.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type BoundType = 'inclusive' | 'exclusive';

interface Bound {
id: string;
type: BoundType;
}

export type { BoundType, Bound };
Loading