Use Long for int64

This commit is contained in:
Nicolas Dextraze
2016-03-16 23:18:48 -07:00
parent ae1ddbe266
commit 6cdf9a64a6
4 changed files with 28 additions and 29 deletions

View File

@ -12,12 +12,13 @@ function EventStoreTransaction(transactionId, userCredentials, connection) {
this._isCommitted = false;
this._isRolledBack = false;
Object.defineProperties(this, {
transactionId: {
enumerable: true, get: function() { return this._transactionId; }
}
});
}
Object.defineProperty(EventStoreTransaction.prototype, 'transactionId', {
get: function() {
return this._transactionId;
}
});
/**
* Commit (async)