mcard-js 2.1.39 → 2.1.41
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/AbstractSqlEngine-BSfp8S_Y.d.cts +451 -0
- package/dist/AbstractSqlEngine-BSfp8S_Y.d.ts +451 -0
- package/dist/CardCollection-MXTUJV4J.js +9 -0
- package/dist/EventProducer-AWD6YMZR.js +47 -0
- package/dist/Handle-3N4QOA3U.js +13 -0
- package/dist/IndexedDBEngine-2G5KCISA.js +11 -0
- package/dist/LLMRuntime-LBWUJ7ON.js +16 -0
- package/dist/LambdaRuntime-B6D6IQKZ.js +18 -0
- package/dist/Loader-3LSJXJQG.js +11 -0
- package/dist/MCard-H56VOJLR.js +8 -0
- package/dist/NetworkRuntime-IAFHPQSX.js +1570 -0
- package/dist/OllamaProvider-QPX2JXL2.js +8 -0
- package/dist/chunk-2R4ESMZB.js +110 -0
- package/dist/chunk-3EIBJPNF.js +17 -0
- package/dist/chunk-3LPY36OG.js +355 -0
- package/dist/chunk-3MMMJ7NH.js +1068 -0
- package/dist/chunk-42VF42KH.js +273 -0
- package/dist/chunk-4PDYHPR6.js +297 -0
- package/dist/chunk-ADV52544.js +95 -0
- package/dist/chunk-FIE4LAJG.js +215 -0
- package/dist/chunk-PNKVD2UK.js +26 -0
- package/dist/chunk-RSTKX7WM.js +907 -0
- package/dist/chunk-VXV35I5J.js +2315 -0
- package/dist/index.browser.cjs +375 -276
- package/dist/index.browser.d.cts +4 -4
- package/dist/index.browser.d.ts +4 -4
- package/dist/index.browser.js +18 -13
- package/dist/index.cjs +382 -453
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +26 -21
- package/dist/storage/SqliteNodeEngine.cjs +395 -270
- package/dist/storage/SqliteNodeEngine.d.cts +9 -94
- package/dist/storage/SqliteNodeEngine.d.ts +9 -94
- package/dist/storage/SqliteNodeEngine.js +6 -5
- package/dist/storage/SqliteWasmEngine.cjs +382 -252
- package/dist/storage/SqliteWasmEngine.d.cts +8 -29
- package/dist/storage/SqliteWasmEngine.d.ts +8 -29
- package/dist/storage/SqliteWasmEngine.js +6 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StorageEngine, M as MCard } from './
|
|
2
|
-
export { P as Page } from './
|
|
1
|
+
import { S as StorageEngine, M as MCard } from './AbstractSqlEngine-BSfp8S_Y.cjs';
|
|
2
|
+
export { P as Page } from './AbstractSqlEngine-BSfp8S_Y.cjs';
|
|
3
3
|
import { CardCollection, Either, IO, Maybe } from './index.browser.cjs';
|
|
4
4
|
export { ALGORITHM_HIERARCHY, ContentHandle, ContentTypeInterpreter, EVENT_CONSTANTS, ErrorCodes, ExecutionResult, FaroSidecar, FaroSidecarConfig, GTime, HandleValidationError, HashValidator, IndexedDBEngine, JsonRpcRequest, JsonRpcResponse, LensProtocol, LivenessMetric, MCardStore, PolynomialTerm, PrimeHash, Reader, SafetyViolation, ServiceWorkerPTR, State, ValidationRegistry, VerificationStatus, Writer, computeHash, validateHandle, validationRegistry } from './index.browser.cjs';
|
|
5
5
|
export { SqliteWasmEngine } from './storage/SqliteWasmEngine.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StorageEngine, M as MCard } from './
|
|
2
|
-
export { P as Page } from './
|
|
1
|
+
import { S as StorageEngine, M as MCard } from './AbstractSqlEngine-BSfp8S_Y.js';
|
|
2
|
+
export { P as Page } from './AbstractSqlEngine-BSfp8S_Y.js';
|
|
3
3
|
import { CardCollection, Either, IO, Maybe } from './index.browser.js';
|
|
4
4
|
export { ALGORITHM_HIERARCHY, ContentHandle, ContentTypeInterpreter, EVENT_CONSTANTS, ErrorCodes, ExecutionResult, FaroSidecar, FaroSidecarConfig, GTime, HandleValidationError, HashValidator, IndexedDBEngine, JsonRpcRequest, JsonRpcResponse, LensProtocol, LivenessMetric, MCardStore, PolynomialTerm, PrimeHash, Reader, SafetyViolation, ServiceWorkerPTR, State, ValidationRegistry, VerificationStatus, Writer, computeHash, validateHandle, validationRegistry } from './index.browser.js';
|
|
5
5
|
export { SqliteWasmEngine } from './storage/SqliteWasmEngine.js';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FileIO_exports,
|
|
3
3
|
Loader_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3LPY36OG.js";
|
|
5
5
|
import {
|
|
6
6
|
LLMRuntime,
|
|
7
7
|
chatMonad,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
storeTerm,
|
|
56
56
|
termExists,
|
|
57
57
|
termToMCard
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-VXV35I5J.js";
|
|
59
59
|
import {
|
|
60
60
|
ErrorCodes,
|
|
61
61
|
FaroSidecar,
|
|
@@ -70,6 +70,9 @@ import {
|
|
|
70
70
|
computeHash,
|
|
71
71
|
validationRegistry
|
|
72
72
|
} from "./chunk-4EUEU4SM.js";
|
|
73
|
+
import {
|
|
74
|
+
IndexedDBEngine
|
|
75
|
+
} from "./chunk-42VF42KH.js";
|
|
73
76
|
import {
|
|
74
77
|
IO
|
|
75
78
|
} from "./chunk-MPMRBT5R.js";
|
|
@@ -78,11 +81,18 @@ import {
|
|
|
78
81
|
} from "./chunk-2KADE3SE.js";
|
|
79
82
|
import {
|
|
80
83
|
SqliteNodeEngine
|
|
81
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-FIE4LAJG.js";
|
|
82
85
|
import {
|
|
83
86
|
SqliteWasmEngine
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import "./chunk-
|
|
87
|
+
} from "./chunk-2R4ESMZB.js";
|
|
88
|
+
import "./chunk-RSTKX7WM.js";
|
|
89
|
+
import "./chunk-3EIBJPNF.js";
|
|
90
|
+
import {
|
|
91
|
+
ContentHandle,
|
|
92
|
+
HandleValidationError,
|
|
93
|
+
init_Handle,
|
|
94
|
+
validateHandle
|
|
95
|
+
} from "./chunk-ADV52544.js";
|
|
86
96
|
import {
|
|
87
97
|
ALGORITHM_HIERARCHY,
|
|
88
98
|
EVENT_CONSTANTS
|
|
@@ -90,28 +100,23 @@ import {
|
|
|
90
100
|
import {
|
|
91
101
|
CardCollection,
|
|
92
102
|
Maybe
|
|
93
|
-
} from "./chunk-
|
|
94
|
-
import {
|
|
95
|
-
IndexedDBEngine
|
|
96
|
-
} from "./chunk-7V37AAPK.js";
|
|
97
|
-
import {
|
|
98
|
-
ContentHandle,
|
|
99
|
-
HandleValidationError,
|
|
100
|
-
validateHandle
|
|
101
|
-
} from "./chunk-NZ6OQ7UT.js";
|
|
103
|
+
} from "./chunk-4PDYHPR6.js";
|
|
102
104
|
import {
|
|
103
105
|
ContentTypeInterpreter,
|
|
104
106
|
MCard,
|
|
105
107
|
createPCardDOTSMetadata,
|
|
106
108
|
createVCardDOTSMetadata
|
|
107
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-3MMMJ7NH.js";
|
|
108
110
|
import {
|
|
109
111
|
GTime,
|
|
110
112
|
HashValidator
|
|
111
113
|
} from "./chunk-7NKII2JA.js";
|
|
112
114
|
import {
|
|
113
115
|
__export
|
|
114
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-PNKVD2UK.js";
|
|
117
|
+
|
|
118
|
+
// src/index.ts
|
|
119
|
+
init_Handle();
|
|
115
120
|
|
|
116
121
|
// src/storage/EngineRegistry.ts
|
|
117
122
|
var EngineType = /* @__PURE__ */ ((EngineType2) => {
|
|
@@ -146,7 +151,7 @@ var ENGINE_INFO = {
|
|
|
146
151
|
async function createEngine(type, options = {}) {
|
|
147
152
|
switch (type) {
|
|
148
153
|
case "indexeddb" /* INDEXED_DB */: {
|
|
149
|
-
const { IndexedDBEngine: IndexedDBEngine2 } = await import("./IndexedDBEngine-
|
|
154
|
+
const { IndexedDBEngine: IndexedDBEngine2 } = await import("./IndexedDBEngine-2G5KCISA.js");
|
|
150
155
|
const engine = new IndexedDBEngine2();
|
|
151
156
|
await engine.init();
|
|
152
157
|
return engine;
|
|
@@ -1541,8 +1546,8 @@ async function runVersionExamples(examples) {
|
|
|
1541
1546
|
}
|
|
1542
1547
|
async function executeVersionSingle(handle, versions) {
|
|
1543
1548
|
const { SqliteNodeEngine: SqliteNodeEngine2 } = await import("./storage/SqliteNodeEngine.js");
|
|
1544
|
-
const { CardCollection: CardCollection2 } = await import("./CardCollection-
|
|
1545
|
-
const { MCard: MCard2 } = await import("./MCard-
|
|
1549
|
+
const { CardCollection: CardCollection2 } = await import("./CardCollection-MXTUJV4J.js");
|
|
1550
|
+
const { MCard: MCard2 } = await import("./MCard-H56VOJLR.js");
|
|
1546
1551
|
const engine = await SqliteNodeEngine2.create(":memory:");
|
|
1547
1552
|
const collection = new CardCollection2(engine);
|
|
1548
1553
|
try {
|
|
@@ -1602,8 +1607,8 @@ async function runPruneExamples(examples) {
|
|
|
1602
1607
|
}
|
|
1603
1608
|
async function executePruneSingle(handle, versions, pruneType, olderThanSeconds) {
|
|
1604
1609
|
const { SqliteNodeEngine: SqliteNodeEngine2 } = await import("./storage/SqliteNodeEngine.js");
|
|
1605
|
-
const { CardCollection: CardCollection2 } = await import("./CardCollection-
|
|
1606
|
-
const { MCard: MCard2 } = await import("./MCard-
|
|
1610
|
+
const { CardCollection: CardCollection2 } = await import("./CardCollection-MXTUJV4J.js");
|
|
1611
|
+
const { MCard: MCard2 } = await import("./MCard-H56VOJLR.js");
|
|
1607
1612
|
const engine = await SqliteNodeEngine2.create(":memory:");
|
|
1608
1613
|
const collection = new CardCollection2(engine);
|
|
1609
1614
|
try {
|