chain-db-ts 1.0.0-rc.2 → 1.0.0-rc.3
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/CHANGELOG.md +6 -0
- package/dist/cjs/features/table.d.ts +3 -0
- package/dist/cjs/features/table.js +3 -1
- package/features/table.d.ts +3 -0
- package/features/table.js +3 -1
- package/package.json +1 -1
- package/readme.md +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -268,7 +268,9 @@ var Table = /** @class */ (function () {
|
|
|
268
268
|
* Get the current document ID
|
|
269
269
|
*/
|
|
270
270
|
Table.prototype.getCurrentDocId = function () {
|
|
271
|
-
|
|
271
|
+
var _doc = this.currentDoc;
|
|
272
|
+
// Support to applications using older versions
|
|
273
|
+
return _doc.doc_id ? _doc.doc_id : '';
|
|
272
274
|
};
|
|
273
275
|
/**
|
|
274
276
|
* Get a specific document by its ID
|
package/features/table.d.ts
CHANGED
package/features/table.js
CHANGED
|
@@ -263,7 +263,9 @@ var Table = /** @class */ (function () {
|
|
|
263
263
|
* Get the current document ID
|
|
264
264
|
*/
|
|
265
265
|
Table.prototype.getCurrentDocId = function () {
|
|
266
|
-
|
|
266
|
+
var _doc = this.currentDoc;
|
|
267
|
+
// Support to applications using older versions
|
|
268
|
+
return _doc.doc_id ? _doc.doc_id : '';
|
|
267
269
|
};
|
|
268
270
|
/**
|
|
269
271
|
* Get a specific document by its ID
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Chain DB
|
|
1
|
+
# Chain DB TS / JS Client (Node)
|
|
2
2
|
|
|
3
|
-
A TypeScript client for [Chain DB](https://github.com/wpdas/chain-db), a
|
|
3
|
+
A TypeScript / JavaScript client for [Chain DB](https://github.com/wpdas/chain-db), a secure database system with built-in history tracking, offering AES-256-GCM encryption, atomic operations with rollback capability, and automatic backups.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|