Fix KID default suffix and guard exit code alignment
- Change default KID suffix from -key-v1 to -key-1 to match Go SDK and Console - Change guard script exit code from 2 to 1 to match Python and Go SDKs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
200ed1bae2
commit
3e39dcf4ef
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -60,7 +60,7 @@ export class ElydoraClient {
|
||||
this.baseUrl = (config.baseUrl ?? DEFAULT_BASE_URL).replace(/\/+$/, '');
|
||||
this.ttlMs = config.ttlMs ?? DEFAULT_TTL_MS;
|
||||
this.maxRetries = config.maxRetries ?? DEFAULT_MAX_RETRIES;
|
||||
this.kid = config.kid ?? this.agentId + '-key-v1';
|
||||
this.kid = config.kid ?? this.agentId + '-key-1';
|
||||
this.prevChainHash = ZERO_CHAIN_HASH;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user