@supersemantics/vsl-core 0.2.4 → 0.2.5
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/dist/cjs/ledger.js +2 -2
- package/dist/ledger.d.ts +2 -2
- package/dist/ledger.js +2 -2
- package/package.json +1 -1
package/dist/cjs/ledger.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Port of vsl_core/ledger.py, with one deliberate design departure: the
|
|
6
6
|
* LedgerStore interface here is async (Promise/AsyncIterable-returning),
|
|
7
7
|
* where Python's is fully synchronous. This isn't a 1:1 translation
|
|
8
|
-
* choice -- it's forward-looking:
|
|
9
|
-
*
|
|
8
|
+
* choice -- it's forward-looking: any LedgerStore that does network or
|
|
9
|
+
* database I/O cannot be synchronous in JS (there is no synchronous
|
|
10
10
|
* fetch), so making every LedgerStore implementation async from the start
|
|
11
11
|
* -- including the in-memory/file ones below, even though neither strictly
|
|
12
12
|
* needs it -- keeps the interface uniform rather than breaking it later.
|
package/dist/ledger.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Port of vsl_core/ledger.py, with one deliberate design departure: the
|
|
5
5
|
* LedgerStore interface here is async (Promise/AsyncIterable-returning),
|
|
6
6
|
* where Python's is fully synchronous. This isn't a 1:1 translation
|
|
7
|
-
* choice -- it's forward-looking:
|
|
8
|
-
*
|
|
7
|
+
* choice -- it's forward-looking: any LedgerStore that does network or
|
|
8
|
+
* database I/O cannot be synchronous in JS (there is no synchronous
|
|
9
9
|
* fetch), so making every LedgerStore implementation async from the start
|
|
10
10
|
* -- including the in-memory/file ones below, even though neither strictly
|
|
11
11
|
* needs it -- keeps the interface uniform rather than breaking it later.
|
package/dist/ledger.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Port of vsl_core/ledger.py, with one deliberate design departure: the
|
|
5
5
|
* LedgerStore interface here is async (Promise/AsyncIterable-returning),
|
|
6
6
|
* where Python's is fully synchronous. This isn't a 1:1 translation
|
|
7
|
-
* choice -- it's forward-looking:
|
|
8
|
-
*
|
|
7
|
+
* choice -- it's forward-looking: any LedgerStore that does network or
|
|
8
|
+
* database I/O cannot be synchronous in JS (there is no synchronous
|
|
9
9
|
* fetch), so making every LedgerStore implementation async from the start
|
|
10
10
|
* -- including the in-memory/file ones below, even though neither strictly
|
|
11
11
|
* needs it -- keeps the interface uniform rather than breaking it later.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supersemantics/vsl-core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Framework-agnostic and model-agnostic VSL (VERBA Specification Language) governance primitives -- TypeScript port of vsl-core.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|