auth-agents 0.1.2 → 0.1.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # auth-agents
2
2
 
3
- Verify AI agent identities with [Auth-Agents](https://auth-agents.com). DID-based authentication using Ed25519 and Verifiable Credentials.
3
+ Verify AI agent identities with [Agent Auth](https://getagentauth.com). DID-based authentication using Ed25519 and Verifiable Credentials.
4
4
 
5
5
  ## Install
6
6
 
@@ -118,7 +118,7 @@ const auth = await client.authenticate({
118
118
 
119
119
  ### `new AuthAgents(config?)`
120
120
 
121
- - `config.baseUrl` — API base URL (default: `https://auth.auth-agents.com`)
121
+ - `config.baseUrl` — API base URL (default: `https://auth.getagentauth.com`)
122
122
 
123
123
  ### `client.verify(credential)` — Verify a VC-JWT credential
124
124
 
@@ -130,8 +130,8 @@ const auth = await client.authenticate({
130
130
 
131
131
  ## Documentation
132
132
 
133
- Full API reference at [auth-agents.com/docs](https://auth-agents.com/docs/)
133
+ Full API reference at [getagentauth.com/docs](https://getagentauth.com/docs/)
134
134
 
135
135
  ## License
136
136
 
137
- MIT - Auth-Agents
137
+ MIT - Agent Auth
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  interface AuthAgentsConfig {
2
- /** Base URL of the Auth-Agents API. Defaults to https://auth.auth-agents.com */
2
+ /** Base URL of the Agent Auth API. Defaults to https://auth.getagentauth.com */
3
3
  baseUrl?: string;
4
4
  }
5
5
  interface VerifyResult {
@@ -76,7 +76,7 @@ declare class AuthAgents {
76
76
  private baseUrl;
77
77
  constructor(config?: AuthAgentsConfig);
78
78
  /**
79
- * Verify a VC-JWT credential issued by Auth-Agents.
79
+ * Verify a VC-JWT credential issued by Agent Auth.
80
80
  *
81
81
  * @param credential - The VC-JWT string from the agent
82
82
  * @returns Verified agent identity or error details
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  interface AuthAgentsConfig {
2
- /** Base URL of the Auth-Agents API. Defaults to https://auth.auth-agents.com */
2
+ /** Base URL of the Agent Auth API. Defaults to https://auth.getagentauth.com */
3
3
  baseUrl?: string;
4
4
  }
5
5
  interface VerifyResult {
@@ -76,7 +76,7 @@ declare class AuthAgents {
76
76
  private baseUrl;
77
77
  constructor(config?: AuthAgentsConfig);
78
78
  /**
79
- * Verify a VC-JWT credential issued by Auth-Agents.
79
+ * Verify a VC-JWT credential issued by Agent Auth.
80
80
  *
81
81
  * @param credential - The VC-JWT string from the agent
82
82
  * @returns Verified agent identity or error details
package/dist/index.js CHANGED
@@ -24,14 +24,14 @@ __export(index_exports, {
24
24
  verify: () => verify
25
25
  });
26
26
  module.exports = __toCommonJS(index_exports);
27
- var DEFAULT_BASE_URL = "https://auth.auth-agents.com";
27
+ var DEFAULT_BASE_URL = "https://auth.getagentauth.com";
28
28
  var AuthAgents = class {
29
29
  constructor(config) {
30
30
  this.baseUrl = (config?.baseUrl ?? DEFAULT_BASE_URL).replace(/\/+$/, "");
31
31
  }
32
32
  // ---- Credential Verification (for websites) ----------------------------
33
33
  /**
34
- * Verify a VC-JWT credential issued by Auth-Agents.
34
+ * Verify a VC-JWT credential issued by Agent Auth.
35
35
  *
36
36
  * @param credential - The VC-JWT string from the agent
37
37
  * @returns Verified agent identity or error details
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  // src/index.ts
2
- var DEFAULT_BASE_URL = "https://auth.auth-agents.com";
2
+ var DEFAULT_BASE_URL = "https://auth.getagentauth.com";
3
3
  var AuthAgents = class {
4
4
  constructor(config) {
5
5
  this.baseUrl = (config?.baseUrl ?? DEFAULT_BASE_URL).replace(/\/+$/, "");
6
6
  }
7
7
  // ---- Credential Verification (for websites) ----------------------------
8
8
  /**
9
- * Verify a VC-JWT credential issued by Auth-Agents.
9
+ * Verify a VC-JWT credential issued by Agent Auth.
10
10
  *
11
11
  * @param credential - The VC-JWT string from the agent
12
12
  * @returns Verified agent identity or error details
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "auth-agents",
3
- "version": "0.1.2",
4
- "description": "Verify AI agent identities with Auth-Agents. DID-based authentication using Ed25519 and Verifiable Credentials.",
3
+ "version": "0.1.3",
4
+ "description": "Verify AI agent identities with Agent Auth. DID-based authentication using Ed25519 and Verifiable Credentials.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -21,6 +21,8 @@
21
21
  "prepublishOnly": "npm run build"
22
22
  },
23
23
  "keywords": [
24
+ "agent-auth",
25
+ "getagentauth",
24
26
  "auth-agents",
25
27
  "ai-agent",
26
28
  "did",
@@ -36,7 +38,7 @@
36
38
  "type": "git",
37
39
  "url": "https://github.com/AgenthAgent/auth-agents-sdk-node"
38
40
  },
39
- "homepage": "https://auth-agents.com",
41
+ "homepage": "https://getagentauth.com",
40
42
  "devDependencies": {
41
43
  "tsup": "^8.0.0",
42
44
  "typescript": "^5.0.0"