diff --git a/index.d.ts b/index.d.ts
index 5780dea..3d6551a 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -1,4 +1,5 @@
///
+///
export namespace expectedVersion {
const any: number;
@@ -6,6 +7,11 @@ export namespace expectedVersion {
const emptyStream: number;
}
+export interface Position {
+ readonly commitPosition: Long;
+ readonly preparePosition: Long;
+}
+
export namespace positions {
const start: Position;
const end: Position;
diff --git a/package.json b/package.json
index e3756b6..de4e89a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "eventstore-node",
- "version": "0.0.25",
+ "version": "0.0.26",
"description": "A port of the EventStore .Net ClientAPI to Node.js",
"main": "index.js",
"types": "index.d.ts",
@@ -40,6 +40,7 @@
},
"homepage": "https://github.com/nicdex/eventstore-node#readme",
"dependencies": {
+ "@types/long": "^3.0.31",
"@types/node": "^6.0.47",
"long": "^3.2",
"protobufjs": "^5.0",