@atbash/sdk 0.3.14 → 0.3.16

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 CHANGED
@@ -175,7 +175,7 @@ var DEFAULT_CHROMIA_NODE_URLS = [
175
175
  "https://node7.testnet.chromia.com:7740",
176
176
  "https://node8.testnet.chromia.com:7740"
177
177
  ];
178
- var DEFAULT_BLOCKCHAIN_RID = "25B41DF620C489349C54944496FF5C6E58CFCEFED0C51658780B67299D40E8ED";
178
+ var DEFAULT_BLOCKCHAIN_RID = "3CF2566BF0E606C8D6F9360566DB2FE3BC254C39451BAEB6D736E916D677486A";
179
179
  function isValidPrivateKey(hex) {
180
180
  return /^[0-9a-fA-F]{64}$/.test(hex);
181
181
  }
@@ -648,7 +648,8 @@ async function getSafetyStats(opts) {
648
648
  // src/config.ts
649
649
  var ALLOWED_JUDGE_HOSTS = /* @__PURE__ */ new Set([
650
650
  "atbash.ai",
651
- "www.atbash.ai"
651
+ "www.atbash.ai",
652
+ "chromia-verified-ai-dev-two.vercel.app"
652
653
  ]);
653
654
  function validateJudgeEndpoint(judge) {
654
655
  const policy = judge?.policy === "self-hosted" ? "self-hosted" : "default";
package/dist/index.d.cts CHANGED
@@ -150,7 +150,7 @@ interface AtbashClientConfig {
150
150
 
151
151
  declare const DEFAULT_ENDPOINT = "https://atbash.ai";
152
152
  declare const DEFAULT_CHROMIA_NODE_URLS: string[];
153
- declare const DEFAULT_BLOCKCHAIN_RID = "25B41DF620C489349C54944496FF5C6E58CFCEFED0C51658780B67299D40E8ED";
153
+ declare const DEFAULT_BLOCKCHAIN_RID = "3CF2566BF0E606C8D6F9360566DB2FE3BC254C39451BAEB6D736E916D677486A";
154
154
  declare function isValidPrivateKey(hex: string): boolean;
155
155
  declare function derivePublicKey(privKeyHex: string): string;
156
156
  declare function generateKeyPair(): {
package/dist/index.d.ts CHANGED
@@ -150,7 +150,7 @@ interface AtbashClientConfig {
150
150
 
151
151
  declare const DEFAULT_ENDPOINT = "https://atbash.ai";
152
152
  declare const DEFAULT_CHROMIA_NODE_URLS: string[];
153
- declare const DEFAULT_BLOCKCHAIN_RID = "25B41DF620C489349C54944496FF5C6E58CFCEFED0C51658780B67299D40E8ED";
153
+ declare const DEFAULT_BLOCKCHAIN_RID = "3CF2566BF0E606C8D6F9360566DB2FE3BC254C39451BAEB6D736E916D677486A";
154
154
  declare function isValidPrivateKey(hex: string): boolean;
155
155
  declare function derivePublicKey(privKeyHex: string): string;
156
156
  declare function generateKeyPair(): {
package/dist/index.js CHANGED
@@ -105,7 +105,7 @@ var DEFAULT_CHROMIA_NODE_URLS = [
105
105
  "https://node7.testnet.chromia.com:7740",
106
106
  "https://node8.testnet.chromia.com:7740"
107
107
  ];
108
- var DEFAULT_BLOCKCHAIN_RID = "25B41DF620C489349C54944496FF5C6E58CFCEFED0C51658780B67299D40E8ED";
108
+ var DEFAULT_BLOCKCHAIN_RID = "3CF2566BF0E606C8D6F9360566DB2FE3BC254C39451BAEB6D736E916D677486A";
109
109
  function isValidPrivateKey(hex) {
110
110
  return /^[0-9a-fA-F]{64}$/.test(hex);
111
111
  }
@@ -578,7 +578,8 @@ async function getSafetyStats(opts) {
578
578
  // src/config.ts
579
579
  var ALLOWED_JUDGE_HOSTS = /* @__PURE__ */ new Set([
580
580
  "atbash.ai",
581
- "www.atbash.ai"
581
+ "www.atbash.ai",
582
+ "chromia-verified-ai-dev-two.vercel.app"
582
583
  ]);
583
584
  function validateJudgeEndpoint(judge) {
584
585
  const policy = judge?.policy === "self-hosted" ? "self-hosted" : "default";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atbash/sdk",
3
- "version": "0.3.14",
3
+ "version": "0.3.16",
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",