@atbash/sdk 0.20.0-dev.0 → 0.22.0-dev.0
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/README.md +91 -16
- package/dist/browser.d.mts +23 -19
- package/dist/browser.mjs +41 -135
- package/dist/index.d.mts +23 -19
- package/dist/index.d.ts +23 -19
- package/dist/index.js +68 -77
- package/dist/index.mjs +68 -74
- package/index.d.ts +0 -4
- package/index.js +54 -56
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -43,32 +43,28 @@ function agentAuthHeaders(auth, blockchainRid) {
|
|
|
43
43
|
return { Authorization: `Bearer ${agentAuthBearer(auth, blockchainRid)}` };
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
// src-ts/constants.ts
|
|
47
|
-
var DEFAULT_ENDPOINT = native.DEFAULT_ENDPOINT;
|
|
48
|
-
var DEFAULT_CHROMIA_NODE_URLS = Object.freeze(
|
|
49
|
-
native.defaultChromiaNodeUrls()
|
|
50
|
-
);
|
|
51
|
-
var DEFAULT_BLOCKCHAIN_RID = native.DEFAULT_BLOCKCHAIN_RID;
|
|
52
|
-
|
|
53
46
|
// src-ts/chain-config.ts
|
|
54
47
|
var DEFAULT_PRIVATE_NODE_URLS = Object.freeze(
|
|
55
48
|
native.defaultPrivateNodeUrls()
|
|
56
49
|
);
|
|
57
50
|
var DEFAULT_PRIVATE_BLOCKCHAIN_RID = native.DEFAULT_PRIVATE_BLOCKCHAIN_RID;
|
|
58
|
-
var PUBLIC_CHAIN = {
|
|
59
|
-
network: "public",
|
|
60
|
-
blockchainRid: DEFAULT_BLOCKCHAIN_RID,
|
|
61
|
-
nodeUrls: DEFAULT_CHROMIA_NODE_URLS
|
|
62
|
-
};
|
|
63
51
|
var PRIVATE_CHAIN = {
|
|
64
52
|
network: "private",
|
|
65
53
|
blockchainRid: DEFAULT_PRIVATE_BLOCKCHAIN_RID,
|
|
66
54
|
nodeUrls: DEFAULT_PRIVATE_NODE_URLS
|
|
67
55
|
};
|
|
68
56
|
function chainForNetwork(network) {
|
|
69
|
-
|
|
57
|
+
if (network !== "private") {
|
|
58
|
+
throw new Error(
|
|
59
|
+
`network must be "private" (the public chain is retired), got ${JSON.stringify(network)}`
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
return PRIVATE_CHAIN;
|
|
70
63
|
}
|
|
71
64
|
|
|
65
|
+
// src-ts/constants.ts
|
|
66
|
+
var DEFAULT_ENDPOINT = native.DEFAULT_ENDPOINT;
|
|
67
|
+
|
|
72
68
|
// src-ts/encrypted-toolcall.ts
|
|
73
69
|
function columnAad(toolCallId, column) {
|
|
74
70
|
return `${toolCallId}:${column}`;
|
|
@@ -617,7 +613,7 @@ import {
|
|
|
617
613
|
import { OTLPLogExporter } from "@opentelemetry/exporter-logs-otlp-http";
|
|
618
614
|
import { BatchLogRecordProcessor, LoggerProvider } from "@opentelemetry/sdk-logs";
|
|
619
615
|
import { createHash } from "crypto";
|
|
620
|
-
var SDK_VERSION = true ? "0.
|
|
616
|
+
var SDK_VERSION = true ? "0.22.0-dev.0" : "";
|
|
621
617
|
var SDK_LANGUAGE = "node";
|
|
622
618
|
function sdkResourceAttributes() {
|
|
623
619
|
const attrs = {
|
|
@@ -878,9 +874,9 @@ function resolve(key, flagValue) {
|
|
|
878
874
|
function forcedChainNetwork(flagValue) {
|
|
879
875
|
const raw = resolve("defaultChainNetwork", flagValue);
|
|
880
876
|
if (!raw) return void 0;
|
|
881
|
-
if (raw !== "
|
|
877
|
+
if (raw !== "private") {
|
|
882
878
|
throw new Error(
|
|
883
|
-
`ATBASH_DEFAULT_CHAIN_NETWORK / defaultChainNetwork must be "
|
|
879
|
+
`ATBASH_DEFAULT_CHAIN_NETWORK / defaultChainNetwork must be "private" (the public chain is retired), got ${JSON.stringify(raw)} \u2014 unset it to let each org's chain decide.`
|
|
884
880
|
);
|
|
885
881
|
}
|
|
886
882
|
return raw;
|
|
@@ -897,15 +893,13 @@ function resolveConstructorChain(options) {
|
|
|
897
893
|
const hasBrid = options.blockchainRid !== void 0;
|
|
898
894
|
if (hasNodeUrls !== hasBrid) {
|
|
899
895
|
throw new Error(
|
|
900
|
-
'nodeUrls and blockchainRid must be provided together \u2014 passing one without the other 404s every chain request. Prefer `chain:
|
|
896
|
+
'nodeUrls and blockchainRid must be provided together \u2014 passing one without the other 404s every chain request. Prefer `chain: PRIVATE_CHAIN` or `network: "private"`.'
|
|
901
897
|
);
|
|
902
898
|
}
|
|
903
899
|
if (hasNodeUrls && hasBrid) {
|
|
904
|
-
const brid = options.blockchainRid;
|
|
905
|
-
const derivedNetwork = options.network ?? (brid === PUBLIC_CHAIN.blockchainRid ? "public" : brid === PRIVATE_CHAIN.blockchainRid ? "private" : "private");
|
|
906
900
|
return {
|
|
907
|
-
network:
|
|
908
|
-
blockchainRid:
|
|
901
|
+
network: "private",
|
|
902
|
+
blockchainRid: options.blockchainRid,
|
|
909
903
|
nodeUrls: options.nodeUrls
|
|
910
904
|
};
|
|
911
905
|
}
|
|
@@ -1045,10 +1039,9 @@ var Atbash = class _Atbash {
|
|
|
1045
1039
|
_Atbash.environmentLogged = true;
|
|
1046
1040
|
const brief = (rid) => rid ? `${rid.slice(0, 8)}\u2026` : "(unset)";
|
|
1047
1041
|
this.logger.info?.(
|
|
1048
|
-
`[atbash] environment \u2014 judge=${this.endpoint}
|
|
1042
|
+
`[atbash] environment \u2014 judge=${this.endpoint} privateChain=${brief(native.DEFAULT_PRIVATE_BLOCKCHAIN_RID)} activeChain=${brief(this.blockchainRid)} responseSignatureCheck=${this.verifyPubKey ? "on" : "off"}`,
|
|
1049
1043
|
{
|
|
1050
1044
|
judgeEndpoint: this.endpoint,
|
|
1051
|
-
publicBlockchainRid: native.DEFAULT_BLOCKCHAIN_RID,
|
|
1052
1045
|
privateBlockchainRid: native.DEFAULT_PRIVATE_BLOCKCHAIN_RID,
|
|
1053
1046
|
activeBlockchainRid: this.blockchainRid,
|
|
1054
1047
|
responseSignatureCheck: Boolean(this.verifyPubKey)
|
|
@@ -1321,7 +1314,9 @@ config.json still holds an "agentKey" (${identity}), but a settings file no long
|
|
|
1321
1314
|
const startedAt = Date.now();
|
|
1322
1315
|
let chainOpts = options.chainOpts;
|
|
1323
1316
|
if (options.orgName && this._explicitChain) {
|
|
1324
|
-
chainOpts = options.chainOpts ?? {
|
|
1317
|
+
chainOpts = options.chainOpts ?? {
|
|
1318
|
+
blockchainRid: this._defaultChain.blockchainRid
|
|
1319
|
+
};
|
|
1325
1320
|
} else if (options.orgName && this.forcedNetwork()) {
|
|
1326
1321
|
chainOpts = { network: this.forcedNetwork() };
|
|
1327
1322
|
} else if (options.orgName) {
|
|
@@ -1331,8 +1326,7 @@ config.json still holds an "agentKey" (${identity}), but a settings file no long
|
|
|
1331
1326
|
} else {
|
|
1332
1327
|
const mapNetwork = await this.getActiveNetworkForOrg(options.orgName);
|
|
1333
1328
|
if (mapNetwork) {
|
|
1334
|
-
|
|
1335
|
-
this._chainCache.set(options.orgName, chain);
|
|
1329
|
+
this._chainCache.set(options.orgName, chainForNetwork(mapNetwork));
|
|
1336
1330
|
chainOpts = { network: mapNetwork };
|
|
1337
1331
|
} else if (!chainOpts?.blockchainRid) {
|
|
1338
1332
|
const resolved = await this.resolveChainFromMap(
|
|
@@ -1678,15 +1672,19 @@ config.json still holds an "agentKey" (${identity}), but a settings file no long
|
|
|
1678
1672
|
}
|
|
1679
1673
|
const parsed = tryParseJson(bytes.toString("utf-8"));
|
|
1680
1674
|
const data = isRecord2(parsed) ? parsed : {};
|
|
1675
|
+
const rawId = data.tool_call_id ?? data.judgmentId;
|
|
1676
|
+
const statedId = wireText(rawId);
|
|
1677
|
+
const sameCall = rawId === void 0 || rawId === null || statedId === judgmentId;
|
|
1681
1678
|
return {
|
|
1682
1679
|
status: normalizeStatus(data.status),
|
|
1683
1680
|
verdict: normalizeVerdict(data.verdict),
|
|
1684
|
-
allow: this.executable(data),
|
|
1681
|
+
allow: sameCall && this.executable(data),
|
|
1685
1682
|
reason: wireText(data.reason),
|
|
1686
|
-
judgmentId:
|
|
1683
|
+
judgmentId: statedId || judgmentId,
|
|
1687
1684
|
onChain: optBool(data.onChain),
|
|
1688
1685
|
cached: optBool(data.cached),
|
|
1689
|
-
responseTimeMs
|
|
1686
|
+
// The Dashboard sends response_time_ms; responseTimeMs is the spec name.
|
|
1687
|
+
responseTimeMs: optNumber(data.responseTimeMs ?? data.response_time_ms)
|
|
1690
1688
|
};
|
|
1691
1689
|
});
|
|
1692
1690
|
}
|
|
@@ -1870,21 +1868,16 @@ config.json still holds an "agentKey" (${identity}), but a settings file no long
|
|
|
1870
1868
|
}
|
|
1871
1869
|
if (resp.status !== 200) throw await this.httpError(resp);
|
|
1872
1870
|
const data = await this.json(resp);
|
|
1873
|
-
if (data?.network === "
|
|
1874
|
-
return data.network;
|
|
1875
|
-
}
|
|
1871
|
+
if (data?.network === "private") return data.network;
|
|
1876
1872
|
return null;
|
|
1877
1873
|
}
|
|
1878
1874
|
/**
|
|
1879
1875
|
* Resolve which chain an org's actions should run against. Cached
|
|
1880
1876
|
* per-client by orgName. Resolution order:
|
|
1881
1877
|
* 1. `org_networks` map (authoritative).
|
|
1882
|
-
* 2.
|
|
1883
|
-
*
|
|
1884
|
-
*
|
|
1885
|
-
* A lookup that names exactly one chain wins outright. Where it names
|
|
1886
|
-
* neither (a brand-new org) or cannot choose between them, the client's
|
|
1887
|
-
* configured default decides.
|
|
1878
|
+
* 2. Subscription fallback — the org's subscription row on the chain.
|
|
1879
|
+
* A lookup that finds the org wins outright. Where it finds nothing (a
|
|
1880
|
+
* brand-new org), the client's configured default decides.
|
|
1888
1881
|
*/
|
|
1889
1882
|
async resolveChainForOrg(orgName) {
|
|
1890
1883
|
const name = orgName.trim();
|
|
@@ -1906,35 +1899,14 @@ config.json still holds an "agentKey" (${identity}), but a settings file no long
|
|
|
1906
1899
|
const cached = this._chainCache.get(orgName);
|
|
1907
1900
|
if (cached) return cached;
|
|
1908
1901
|
if (mapNetwork) {
|
|
1909
|
-
const chain = mapNetwork
|
|
1910
|
-
this._chainCache.set(orgName, chain);
|
|
1911
|
-
return chain;
|
|
1912
|
-
}
|
|
1913
|
-
const [pubRes, privRes] = await Promise.allSettled([
|
|
1914
|
-
this.getOrgSubscription(orgName, "public"),
|
|
1915
|
-
this.getOrgSubscription(orgName, "private")
|
|
1916
|
-
]);
|
|
1917
|
-
const pubSub = pubRes.status === "fulfilled" ? pubRes.value : null;
|
|
1918
|
-
const privSub = privRes.status === "fulfilled" ? privRes.value : null;
|
|
1919
|
-
const failure2 = pubRes.status === "rejected" ? pubRes.reason : privRes.status === "rejected" ? privRes.reason : null;
|
|
1920
|
-
if (pubSub?.is_private_blockchain) {
|
|
1921
|
-
this._chainCache.set(orgName, PRIVATE_CHAIN);
|
|
1922
|
-
return PRIVATE_CHAIN;
|
|
1923
|
-
}
|
|
1924
|
-
if (pubSub && privSub) {
|
|
1925
|
-
const chain = privSub.assigned_at === pubSub.assigned_at ? this._defaultChain : privSub.assigned_at > pubSub.assigned_at ? PRIVATE_CHAIN : PUBLIC_CHAIN;
|
|
1902
|
+
const chain = chainForNetwork(mapNetwork);
|
|
1926
1903
|
this._chainCache.set(orgName, chain);
|
|
1927
1904
|
return chain;
|
|
1928
1905
|
}
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
}
|
|
1933
|
-
if (privSub?.is_private_blockchain) {
|
|
1934
|
-
this._chainCache.set(orgName, PRIVATE_CHAIN);
|
|
1935
|
-
return PRIVATE_CHAIN;
|
|
1936
|
-
}
|
|
1937
|
-
if (failure2) {
|
|
1906
|
+
let privSub;
|
|
1907
|
+
try {
|
|
1908
|
+
privSub = await this.getOrgSubscription(orgName, "private");
|
|
1909
|
+
} catch (failure2) {
|
|
1938
1910
|
const detail = failure2 instanceof Error ? failure2.message : String(failure2);
|
|
1939
1911
|
throw new AtbashAPIError(
|
|
1940
1912
|
failure2 instanceof AtbashAPIError ? failure2.status : 0,
|
|
@@ -1943,6 +1915,10 @@ config.json still holds an "agentKey" (${identity}), but a settings file no long
|
|
|
1943
1915
|
this.endpoint
|
|
1944
1916
|
);
|
|
1945
1917
|
}
|
|
1918
|
+
if (privSub) {
|
|
1919
|
+
this._chainCache.set(orgName, PRIVATE_CHAIN);
|
|
1920
|
+
return PRIVATE_CHAIN;
|
|
1921
|
+
}
|
|
1946
1922
|
this._chainCache.set(orgName, this._defaultChain);
|
|
1947
1923
|
return this._defaultChain;
|
|
1948
1924
|
}
|
|
@@ -1999,8 +1975,7 @@ config.json still holds an "agentKey" (${identity}), but a settings file no long
|
|
|
1999
1975
|
*/
|
|
2000
1976
|
bridFromChainOpts(chainOpts) {
|
|
2001
1977
|
if (chainOpts?.blockchainRid) return chainOpts.blockchainRid;
|
|
2002
|
-
if (chainOpts?.network
|
|
2003
|
-
if (chainOpts?.network === "public") return PUBLIC_CHAIN.blockchainRid;
|
|
1978
|
+
if (chainOpts?.network) return chainForNetwork(chainOpts.network).blockchainRid;
|
|
2004
1979
|
return this.blockchainRid;
|
|
2005
1980
|
}
|
|
2006
1981
|
/**
|
|
@@ -2597,7 +2572,7 @@ function resolveBlockchainRid(chainOpts) {
|
|
|
2597
2572
|
if (chainOpts?.blockchainRid !== void 0) return chainOpts.blockchainRid;
|
|
2598
2573
|
if (chainOpts?.nodeUrls !== void 0) {
|
|
2599
2574
|
throw new Error(
|
|
2600
|
-
'chainOpts.nodeUrls no longer selects a chain on its own \u2014 memory reaches the chain through the Atbash service, not a node. Set `blockchainRid`, or `network: "
|
|
2575
|
+
'chainOpts.nodeUrls no longer selects a chain on its own \u2014 memory reaches the chain through the Atbash service, not a node. Set `blockchainRid`, or `network: "private"`.'
|
|
2601
2576
|
);
|
|
2602
2577
|
}
|
|
2603
2578
|
const config2 = chainForNetwork(
|
|
@@ -2645,14 +2620,15 @@ async function decryptRow(row, key) {
|
|
|
2645
2620
|
updatedAt: parsed.updated_at
|
|
2646
2621
|
};
|
|
2647
2622
|
}
|
|
2648
|
-
async function readRows(action, auth, chainOpts, filePath) {
|
|
2623
|
+
async function readRows(action, auth, chainOpts, filePath, extra = {}) {
|
|
2649
2624
|
const key = await deriveMemoryKey(auth.privkey);
|
|
2650
2625
|
const rows = await memoryQuery(
|
|
2651
2626
|
action,
|
|
2652
2627
|
auth,
|
|
2653
2628
|
resolveBlockchainRid(chainOpts),
|
|
2654
2629
|
chainOpts,
|
|
2655
|
-
filePath
|
|
2630
|
+
filePath,
|
|
2631
|
+
extra
|
|
2656
2632
|
);
|
|
2657
2633
|
return Promise.all((rows ?? []).map((row) => decryptRow(row, key)));
|
|
2658
2634
|
}
|
|
@@ -2672,8 +2648,29 @@ function getRecentAgentMemory(auth, chainOpts, filePath) {
|
|
|
2672
2648
|
function getActiveAgentMemory(auth, chainOpts, filePath) {
|
|
2673
2649
|
return readRows("memory-active", auth, chainOpts, filePath ?? null);
|
|
2674
2650
|
}
|
|
2675
|
-
|
|
2676
|
-
|
|
2651
|
+
var MEMORY_HISTORY_MAX_COUNT = 200;
|
|
2652
|
+
function memoryHistoryPageArgs(page) {
|
|
2653
|
+
const extra = {};
|
|
2654
|
+
for (const [name, value] of [
|
|
2655
|
+
["max_count", page?.maxCount],
|
|
2656
|
+
["before_id", page?.beforeId]
|
|
2657
|
+
]) {
|
|
2658
|
+
if (value === void 0) continue;
|
|
2659
|
+
if (!Number.isSafeInteger(value) || value < 1) {
|
|
2660
|
+
throw new Error(`getMemoryHistory: ${name} must be a positive integer`);
|
|
2661
|
+
}
|
|
2662
|
+
if (name === "max_count" && value > MEMORY_HISTORY_MAX_COUNT) {
|
|
2663
|
+
throw new Error(`getMemoryHistory: max_count must be at most ${MEMORY_HISTORY_MAX_COUNT}`);
|
|
2664
|
+
}
|
|
2665
|
+
extra[name] = value;
|
|
2666
|
+
}
|
|
2667
|
+
return extra;
|
|
2668
|
+
}
|
|
2669
|
+
async function getMemoryHistory(auth, chainOpts, filePath, page) {
|
|
2670
|
+
const rows = await readRows("memory-history", auth, chainOpts, filePath ?? null, memoryHistoryPageArgs(page));
|
|
2671
|
+
const beforeId = page?.beforeId;
|
|
2672
|
+
const older = beforeId === void 0 ? rows : rows.filter((row) => row.id < beforeId);
|
|
2673
|
+
return page?.maxCount === void 0 ? older : older.slice(0, page.maxCount);
|
|
2677
2674
|
}
|
|
2678
2675
|
async function getMemoryById(id, auth, chainOpts) {
|
|
2679
2676
|
native.validateMemoryId(id);
|
|
@@ -3915,8 +3912,6 @@ export {
|
|
|
3915
3912
|
Atbash,
|
|
3916
3913
|
AtbashAPIError,
|
|
3917
3914
|
BOOT_SYNC_HINT,
|
|
3918
|
-
DEFAULT_BLOCKCHAIN_RID,
|
|
3919
|
-
DEFAULT_CHROMIA_NODE_URLS,
|
|
3920
3915
|
DEFAULT_ENDPOINT,
|
|
3921
3916
|
DEFAULT_MEMORY_PATH_PATTERNS,
|
|
3922
3917
|
DEFAULT_MEMORY_READ_TOOL_NAMES,
|
|
@@ -3929,7 +3924,6 @@ export {
|
|
|
3929
3924
|
MemoryGuardManager,
|
|
3930
3925
|
MemoryIntegrityError,
|
|
3931
3926
|
PRIVATE_CHAIN,
|
|
3932
|
-
PUBLIC_CHAIN,
|
|
3933
3927
|
PointerStore,
|
|
3934
3928
|
SignatureVerificationError,
|
|
3935
3929
|
bootSyncFailureLine,
|
package/index.d.ts
CHANGED
|
@@ -88,16 +88,12 @@ export declare function decryptForOrg(payload: Buffer, orgPrivKeyHex: string, aa
|
|
|
88
88
|
|
|
89
89
|
export declare function decryptMemoryContent(ciphertext: Buffer, nonce: Buffer, key: Buffer): string
|
|
90
90
|
|
|
91
|
-
export declare const DEFAULT_BLOCKCHAIN_RID: string
|
|
92
|
-
|
|
93
91
|
export declare const DEFAULT_ENDPOINT: string
|
|
94
92
|
|
|
95
93
|
export declare const DEFAULT_PRIVATE_BLOCKCHAIN_RID: string
|
|
96
94
|
|
|
97
95
|
export declare function defaultAgentHomeDirs(): Array<string>
|
|
98
96
|
|
|
99
|
-
export declare function defaultChromiaNodeUrls(): Array<string>
|
|
100
|
-
|
|
101
97
|
export declare function defaultMemoryPathPatterns(): Array<string>
|
|
102
98
|
|
|
103
99
|
export declare function defaultMemoryReadToolNames(): Array<string>
|
package/index.js
CHANGED
|
@@ -92,8 +92,8 @@ function requireNative() {
|
|
|
92
92
|
try {
|
|
93
93
|
const binding = require('@atbash/sdk-android-arm64')
|
|
94
94
|
const bindingPackageVersion = require('@atbash/sdk-android-arm64/package.json').version
|
|
95
|
-
if (bindingPackageVersion !== '0.
|
|
96
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
95
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
96
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
97
97
|
}
|
|
98
98
|
return binding
|
|
99
99
|
} catch (e) {
|
|
@@ -108,8 +108,8 @@ function requireNative() {
|
|
|
108
108
|
try {
|
|
109
109
|
const binding = require('@atbash/sdk-android-arm-eabi')
|
|
110
110
|
const bindingPackageVersion = require('@atbash/sdk-android-arm-eabi/package.json').version
|
|
111
|
-
if (bindingPackageVersion !== '0.
|
|
112
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
111
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
112
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
113
113
|
}
|
|
114
114
|
return binding
|
|
115
115
|
} catch (e) {
|
|
@@ -129,8 +129,8 @@ function requireNative() {
|
|
|
129
129
|
try {
|
|
130
130
|
const binding = require('@atbash/sdk-win32-x64-gnu')
|
|
131
131
|
const bindingPackageVersion = require('@atbash/sdk-win32-x64-gnu/package.json').version
|
|
132
|
-
if (bindingPackageVersion !== '0.
|
|
133
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
132
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
133
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
134
134
|
}
|
|
135
135
|
return binding
|
|
136
136
|
} catch (e) {
|
|
@@ -145,8 +145,8 @@ function requireNative() {
|
|
|
145
145
|
try {
|
|
146
146
|
const binding = require('@atbash/sdk-win32-x64-msvc')
|
|
147
147
|
const bindingPackageVersion = require('@atbash/sdk-win32-x64-msvc/package.json').version
|
|
148
|
-
if (bindingPackageVersion !== '0.
|
|
149
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
148
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
149
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
150
150
|
}
|
|
151
151
|
return binding
|
|
152
152
|
} catch (e) {
|
|
@@ -162,8 +162,8 @@ function requireNative() {
|
|
|
162
162
|
try {
|
|
163
163
|
const binding = require('@atbash/sdk-win32-ia32-msvc')
|
|
164
164
|
const bindingPackageVersion = require('@atbash/sdk-win32-ia32-msvc/package.json').version
|
|
165
|
-
if (bindingPackageVersion !== '0.
|
|
166
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
165
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
166
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
167
167
|
}
|
|
168
168
|
return binding
|
|
169
169
|
} catch (e) {
|
|
@@ -178,8 +178,8 @@ function requireNative() {
|
|
|
178
178
|
try {
|
|
179
179
|
const binding = require('@atbash/sdk-win32-arm64-msvc')
|
|
180
180
|
const bindingPackageVersion = require('@atbash/sdk-win32-arm64-msvc/package.json').version
|
|
181
|
-
if (bindingPackageVersion !== '0.
|
|
182
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
181
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
182
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
183
183
|
}
|
|
184
184
|
return binding
|
|
185
185
|
} catch (e) {
|
|
@@ -197,8 +197,8 @@ function requireNative() {
|
|
|
197
197
|
try {
|
|
198
198
|
const binding = require('@atbash/sdk-darwin-universal')
|
|
199
199
|
const bindingPackageVersion = require('@atbash/sdk-darwin-universal/package.json').version
|
|
200
|
-
if (bindingPackageVersion !== '0.
|
|
201
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
200
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
201
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
202
202
|
}
|
|
203
203
|
return binding
|
|
204
204
|
} catch (e) {
|
|
@@ -213,8 +213,8 @@ function requireNative() {
|
|
|
213
213
|
try {
|
|
214
214
|
const binding = require('@atbash/sdk-darwin-x64')
|
|
215
215
|
const bindingPackageVersion = require('@atbash/sdk-darwin-x64/package.json').version
|
|
216
|
-
if (bindingPackageVersion !== '0.
|
|
217
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
216
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
217
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
218
218
|
}
|
|
219
219
|
return binding
|
|
220
220
|
} catch (e) {
|
|
@@ -229,8 +229,8 @@ function requireNative() {
|
|
|
229
229
|
try {
|
|
230
230
|
const binding = require('@atbash/sdk-darwin-arm64')
|
|
231
231
|
const bindingPackageVersion = require('@atbash/sdk-darwin-arm64/package.json').version
|
|
232
|
-
if (bindingPackageVersion !== '0.
|
|
233
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
232
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
233
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
234
234
|
}
|
|
235
235
|
return binding
|
|
236
236
|
} catch (e) {
|
|
@@ -249,8 +249,8 @@ function requireNative() {
|
|
|
249
249
|
try {
|
|
250
250
|
const binding = require('@atbash/sdk-freebsd-x64')
|
|
251
251
|
const bindingPackageVersion = require('@atbash/sdk-freebsd-x64/package.json').version
|
|
252
|
-
if (bindingPackageVersion !== '0.
|
|
253
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
252
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
253
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
254
254
|
}
|
|
255
255
|
return binding
|
|
256
256
|
} catch (e) {
|
|
@@ -265,8 +265,8 @@ function requireNative() {
|
|
|
265
265
|
try {
|
|
266
266
|
const binding = require('@atbash/sdk-freebsd-arm64')
|
|
267
267
|
const bindingPackageVersion = require('@atbash/sdk-freebsd-arm64/package.json').version
|
|
268
|
-
if (bindingPackageVersion !== '0.
|
|
269
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
268
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
269
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
270
270
|
}
|
|
271
271
|
return binding
|
|
272
272
|
} catch (e) {
|
|
@@ -286,8 +286,8 @@ function requireNative() {
|
|
|
286
286
|
try {
|
|
287
287
|
const binding = require('@atbash/sdk-linux-x64-musl')
|
|
288
288
|
const bindingPackageVersion = require('@atbash/sdk-linux-x64-musl/package.json').version
|
|
289
|
-
if (bindingPackageVersion !== '0.
|
|
290
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
289
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
290
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
291
291
|
}
|
|
292
292
|
return binding
|
|
293
293
|
} catch (e) {
|
|
@@ -302,8 +302,8 @@ function requireNative() {
|
|
|
302
302
|
try {
|
|
303
303
|
const binding = require('@atbash/sdk-linux-x64-gnu')
|
|
304
304
|
const bindingPackageVersion = require('@atbash/sdk-linux-x64-gnu/package.json').version
|
|
305
|
-
if (bindingPackageVersion !== '0.
|
|
306
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
305
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
306
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
307
307
|
}
|
|
308
308
|
return binding
|
|
309
309
|
} catch (e) {
|
|
@@ -320,8 +320,8 @@ function requireNative() {
|
|
|
320
320
|
try {
|
|
321
321
|
const binding = require('@atbash/sdk-linux-arm64-musl')
|
|
322
322
|
const bindingPackageVersion = require('@atbash/sdk-linux-arm64-musl/package.json').version
|
|
323
|
-
if (bindingPackageVersion !== '0.
|
|
324
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
323
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
324
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
325
325
|
}
|
|
326
326
|
return binding
|
|
327
327
|
} catch (e) {
|
|
@@ -336,8 +336,8 @@ function requireNative() {
|
|
|
336
336
|
try {
|
|
337
337
|
const binding = require('@atbash/sdk-linux-arm64-gnu')
|
|
338
338
|
const bindingPackageVersion = require('@atbash/sdk-linux-arm64-gnu/package.json').version
|
|
339
|
-
if (bindingPackageVersion !== '0.
|
|
340
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
339
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
340
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
341
341
|
}
|
|
342
342
|
return binding
|
|
343
343
|
} catch (e) {
|
|
@@ -354,8 +354,8 @@ function requireNative() {
|
|
|
354
354
|
try {
|
|
355
355
|
const binding = require('@atbash/sdk-linux-arm-musleabihf')
|
|
356
356
|
const bindingPackageVersion = require('@atbash/sdk-linux-arm-musleabihf/package.json').version
|
|
357
|
-
if (bindingPackageVersion !== '0.
|
|
358
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
357
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
358
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
359
359
|
}
|
|
360
360
|
return binding
|
|
361
361
|
} catch (e) {
|
|
@@ -370,8 +370,8 @@ function requireNative() {
|
|
|
370
370
|
try {
|
|
371
371
|
const binding = require('@atbash/sdk-linux-arm-gnueabihf')
|
|
372
372
|
const bindingPackageVersion = require('@atbash/sdk-linux-arm-gnueabihf/package.json').version
|
|
373
|
-
if (bindingPackageVersion !== '0.
|
|
374
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
373
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
374
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
375
375
|
}
|
|
376
376
|
return binding
|
|
377
377
|
} catch (e) {
|
|
@@ -388,8 +388,8 @@ function requireNative() {
|
|
|
388
388
|
try {
|
|
389
389
|
const binding = require('@atbash/sdk-linux-loong64-musl')
|
|
390
390
|
const bindingPackageVersion = require('@atbash/sdk-linux-loong64-musl/package.json').version
|
|
391
|
-
if (bindingPackageVersion !== '0.
|
|
392
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
391
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
392
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
393
393
|
}
|
|
394
394
|
return binding
|
|
395
395
|
} catch (e) {
|
|
@@ -404,8 +404,8 @@ function requireNative() {
|
|
|
404
404
|
try {
|
|
405
405
|
const binding = require('@atbash/sdk-linux-loong64-gnu')
|
|
406
406
|
const bindingPackageVersion = require('@atbash/sdk-linux-loong64-gnu/package.json').version
|
|
407
|
-
if (bindingPackageVersion !== '0.
|
|
408
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
407
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
408
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
409
409
|
}
|
|
410
410
|
return binding
|
|
411
411
|
} catch (e) {
|
|
@@ -422,8 +422,8 @@ function requireNative() {
|
|
|
422
422
|
try {
|
|
423
423
|
const binding = require('@atbash/sdk-linux-riscv64-musl')
|
|
424
424
|
const bindingPackageVersion = require('@atbash/sdk-linux-riscv64-musl/package.json').version
|
|
425
|
-
if (bindingPackageVersion !== '0.
|
|
426
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
425
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
426
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
427
427
|
}
|
|
428
428
|
return binding
|
|
429
429
|
} catch (e) {
|
|
@@ -438,8 +438,8 @@ function requireNative() {
|
|
|
438
438
|
try {
|
|
439
439
|
const binding = require('@atbash/sdk-linux-riscv64-gnu')
|
|
440
440
|
const bindingPackageVersion = require('@atbash/sdk-linux-riscv64-gnu/package.json').version
|
|
441
|
-
if (bindingPackageVersion !== '0.
|
|
442
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
441
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
442
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
443
443
|
}
|
|
444
444
|
return binding
|
|
445
445
|
} catch (e) {
|
|
@@ -455,8 +455,8 @@ function requireNative() {
|
|
|
455
455
|
try {
|
|
456
456
|
const binding = require('@atbash/sdk-linux-ppc64-gnu')
|
|
457
457
|
const bindingPackageVersion = require('@atbash/sdk-linux-ppc64-gnu/package.json').version
|
|
458
|
-
if (bindingPackageVersion !== '0.
|
|
459
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
458
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
459
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
460
460
|
}
|
|
461
461
|
return binding
|
|
462
462
|
} catch (e) {
|
|
@@ -471,8 +471,8 @@ function requireNative() {
|
|
|
471
471
|
try {
|
|
472
472
|
const binding = require('@atbash/sdk-linux-s390x-gnu')
|
|
473
473
|
const bindingPackageVersion = require('@atbash/sdk-linux-s390x-gnu/package.json').version
|
|
474
|
-
if (bindingPackageVersion !== '0.
|
|
475
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
474
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
475
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
476
476
|
}
|
|
477
477
|
return binding
|
|
478
478
|
} catch (e) {
|
|
@@ -491,8 +491,8 @@ function requireNative() {
|
|
|
491
491
|
try {
|
|
492
492
|
const binding = require('@atbash/sdk-openharmony-arm64')
|
|
493
493
|
const bindingPackageVersion = require('@atbash/sdk-openharmony-arm64/package.json').version
|
|
494
|
-
if (bindingPackageVersion !== '0.
|
|
495
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
494
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
495
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
496
496
|
}
|
|
497
497
|
return binding
|
|
498
498
|
} catch (e) {
|
|
@@ -507,8 +507,8 @@ function requireNative() {
|
|
|
507
507
|
try {
|
|
508
508
|
const binding = require('@atbash/sdk-openharmony-x64')
|
|
509
509
|
const bindingPackageVersion = require('@atbash/sdk-openharmony-x64/package.json').version
|
|
510
|
-
if (bindingPackageVersion !== '0.
|
|
511
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
510
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
511
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
512
512
|
}
|
|
513
513
|
return binding
|
|
514
514
|
} catch (e) {
|
|
@@ -523,8 +523,8 @@ function requireNative() {
|
|
|
523
523
|
try {
|
|
524
524
|
const binding = require('@atbash/sdk-openharmony-arm')
|
|
525
525
|
const bindingPackageVersion = require('@atbash/sdk-openharmony-arm/package.json').version
|
|
526
|
-
if (bindingPackageVersion !== '0.
|
|
527
|
-
throw new Error(`Native binding package version mismatch, expected 0.
|
|
526
|
+
if (bindingPackageVersion !== '0.22.0-dev.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
527
|
+
throw new Error(`Native binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
528
528
|
}
|
|
529
529
|
return binding
|
|
530
530
|
} catch (e) {
|
|
@@ -664,8 +664,8 @@ if (!nativeBinding || forceWasi) {
|
|
|
664
664
|
if (!candidateFailed) {
|
|
665
665
|
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
666
666
|
const bindingPackageVersion = require('@atbash/sdk-wasm32-wasi/package.json').version
|
|
667
|
-
if (bindingPackageVersion !== '0.
|
|
668
|
-
throw new Error(`WASI binding package version mismatch, expected 0.
|
|
667
|
+
if (bindingPackageVersion !== '0.22.0-dev.0') {
|
|
668
|
+
throw new Error(`WASI binding package version mismatch, expected 0.22.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
wasiBinding = require('@atbash/sdk-wasm32-wasi')
|
|
@@ -804,11 +804,9 @@ module.exports.containsSecret = nativeBinding.containsSecret
|
|
|
804
804
|
module.exports.createMemorySnapshot = nativeBinding.createMemorySnapshot
|
|
805
805
|
module.exports.decryptForOrg = nativeBinding.decryptForOrg
|
|
806
806
|
module.exports.decryptMemoryContent = nativeBinding.decryptMemoryContent
|
|
807
|
-
module.exports.DEFAULT_BLOCKCHAIN_RID = nativeBinding.DEFAULT_BLOCKCHAIN_RID
|
|
808
807
|
module.exports.DEFAULT_ENDPOINT = nativeBinding.DEFAULT_ENDPOINT
|
|
809
808
|
module.exports.DEFAULT_PRIVATE_BLOCKCHAIN_RID = nativeBinding.DEFAULT_PRIVATE_BLOCKCHAIN_RID
|
|
810
809
|
module.exports.defaultAgentHomeDirs = nativeBinding.defaultAgentHomeDirs
|
|
811
|
-
module.exports.defaultChromiaNodeUrls = nativeBinding.defaultChromiaNodeUrls
|
|
812
810
|
module.exports.defaultMemoryPathPatterns = nativeBinding.defaultMemoryPathPatterns
|
|
813
811
|
module.exports.defaultMemoryReadToolNames = nativeBinding.defaultMemoryReadToolNames
|
|
814
812
|
module.exports.defaultMemoryWriteToolNames = nativeBinding.defaultMemoryWriteToolNames
|