@atbash/sdk 0.3.11-dev.7 → 0.3.11-dev.9
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/index.cjs +4 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/package.json +2 -1
package/dist/index.cjs
CHANGED
|
@@ -193,11 +193,11 @@ async function shutdownTelemetry() {
|
|
|
193
193
|
var { createClient, encryption: encryption2, newSignatureProvider } = import_postchain_client2.default;
|
|
194
194
|
var DEFAULT_ENDPOINT = "https://chromia-verified-ai-dev-two.vercel.app";
|
|
195
195
|
var DEFAULT_CHROMIA_NODE_URLS = [
|
|
196
|
-
"https://
|
|
197
|
-
"https://
|
|
198
|
-
"https://
|
|
196
|
+
"https://node0.testnet.chromia.com:7740",
|
|
197
|
+
"https://node1.testnet.chromia.com:7740",
|
|
198
|
+
"https://node3.testnet.chromia.com:7740"
|
|
199
199
|
];
|
|
200
|
-
var DEFAULT_BLOCKCHAIN_RID = "
|
|
200
|
+
var DEFAULT_BLOCKCHAIN_RID = "269C0751E3B2540AEA851E2D060C890A82AEF380D03C7211138452782394B12A";
|
|
201
201
|
function isValidPrivateKey(hex) {
|
|
202
202
|
return /^[0-9a-fA-F]{64}$/.test(hex);
|
|
203
203
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -193,7 +193,7 @@ interface AtbashClientConfig {
|
|
|
193
193
|
|
|
194
194
|
declare const DEFAULT_ENDPOINT = "https://chromia-verified-ai-dev-two.vercel.app";
|
|
195
195
|
declare const DEFAULT_CHROMIA_NODE_URLS: string[];
|
|
196
|
-
declare const DEFAULT_BLOCKCHAIN_RID = "
|
|
196
|
+
declare const DEFAULT_BLOCKCHAIN_RID = "269C0751E3B2540AEA851E2D060C890A82AEF380D03C7211138452782394B12A";
|
|
197
197
|
declare function isValidPrivateKey(hex: string): boolean;
|
|
198
198
|
declare function derivePublicKey(privKeyHex: string): string;
|
|
199
199
|
declare function generateKeyPair(): {
|
package/dist/index.d.ts
CHANGED
|
@@ -193,7 +193,7 @@ interface AtbashClientConfig {
|
|
|
193
193
|
|
|
194
194
|
declare const DEFAULT_ENDPOINT = "https://chromia-verified-ai-dev-two.vercel.app";
|
|
195
195
|
declare const DEFAULT_CHROMIA_NODE_URLS: string[];
|
|
196
|
-
declare const DEFAULT_BLOCKCHAIN_RID = "
|
|
196
|
+
declare const DEFAULT_BLOCKCHAIN_RID = "269C0751E3B2540AEA851E2D060C890A82AEF380D03C7211138452782394B12A";
|
|
197
197
|
declare function isValidPrivateKey(hex: string): boolean;
|
|
198
198
|
declare function derivePublicKey(privKeyHex: string): string;
|
|
199
199
|
declare function generateKeyPair(): {
|
package/dist/index.js
CHANGED
|
@@ -117,11 +117,11 @@ async function shutdownTelemetry() {
|
|
|
117
117
|
var { createClient, encryption: encryption2, newSignatureProvider } = postchain2;
|
|
118
118
|
var DEFAULT_ENDPOINT = "https://chromia-verified-ai-dev-two.vercel.app";
|
|
119
119
|
var DEFAULT_CHROMIA_NODE_URLS = [
|
|
120
|
-
"https://
|
|
121
|
-
"https://
|
|
122
|
-
"https://
|
|
120
|
+
"https://node0.testnet.chromia.com:7740",
|
|
121
|
+
"https://node1.testnet.chromia.com:7740",
|
|
122
|
+
"https://node3.testnet.chromia.com:7740"
|
|
123
123
|
];
|
|
124
|
-
var DEFAULT_BLOCKCHAIN_RID = "
|
|
124
|
+
var DEFAULT_BLOCKCHAIN_RID = "269C0751E3B2540AEA851E2D060C890A82AEF380D03C7211138452782394B12A";
|
|
125
125
|
function isValidPrivateKey(hex) {
|
|
126
126
|
return /^[0-9a-fA-F]{64}$/.test(hex);
|
|
127
127
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atbash/sdk",
|
|
3
|
-
"version": "0.3.11-dev.
|
|
3
|
+
"version": "0.3.11-dev.9",
|
|
4
4
|
"description": "Atbash SDK — control boundary before the last irreversible step in an agent workflow",
|
|
5
5
|
"homepage": "https://atbash.ai",
|
|
6
6
|
"author": "Atbash",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"ai-safety"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
+
"@atbash/sdk": "^0.3.11-dev.8",
|
|
45
46
|
"@opentelemetry/api": "^1.9.1",
|
|
46
47
|
"@opentelemetry/exporter-metrics-otlp-http": "^0.217.0",
|
|
47
48
|
"@opentelemetry/resources": "^2.7.1",
|