@hasna/domains 0.0.34 → 0.0.36
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 +75 -22
- package/dist/cli/commands/doctor.d.ts.map +1 -1
- package/dist/cli/commands/domain.d.ts.map +1 -1
- package/dist/cli/commands/owner.d.ts.map +1 -1
- package/dist/cli/commands/reconcile-expiry.d.ts +3 -0
- package/dist/cli/commands/reconcile-expiry.d.ts.map +1 -0
- package/dist/cli/index.js +31475 -44126
- package/dist/db/dns-tools.d.ts.map +1 -1
- package/dist/db/monitoring.d.ts +7 -1
- package/dist/db/monitoring.d.ts.map +1 -1
- package/dist/db/store.d.ts +42 -1
- package/dist/db/store.d.ts.map +1 -1
- package/dist/index.js +11717 -24922
- package/dist/lib/brandsight.d.ts.map +1 -1
- package/dist/lib/compact-output.d.ts +12 -1
- package/dist/lib/compact-output.d.ts.map +1 -1
- package/dist/lib/expiry-reconcile.d.ts +164 -0
- package/dist/lib/expiry-reconcile.d.ts.map +1 -0
- package/dist/lib/registrar.js +8 -2
- package/dist/mcp/index.js +33481 -46697
- package/dist/server/index.js +1 -1
- package/dist/test/fixtures/resolve-store-probe.d.ts +2 -0
- package/dist/test/fixtures/resolve-store-probe.d.ts.map +1 -0
- package/dist/test/setup.d.ts +2 -0
- package/dist/test/setup.d.ts.map +1 -0
- package/package.json +11 -4
package/dist/server/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
3
|
|
|
4
|
-
// node_modules
|
|
4
|
+
// node_modules/@hasna/contracts/dist/auth/index.js
|
|
5
5
|
import { createHash, createHmac, randomBytes, timingSafeEqual } from "crypto";
|
|
6
6
|
var API_KEY_TOKEN_VERSION = 1;
|
|
7
7
|
var API_KEY_NAMESPACE = "hasna";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-store-probe.d.ts","sourceRoot":"","sources":["../../../src/test/fixtures/resolve-store-probe.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/test/setup.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/domains",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"description": "Domain portfolio, registrar, marketplace, and DNS management for AI agents — CLI + MCP + HTTP API + SDK, local SQLite or cloud Postgres",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
],
|
|
52
52
|
"scripts": {
|
|
53
53
|
"clean": "rm -rf dist",
|
|
54
|
-
"build": "bun run clean && bun build src/cli/index.ts --outdir dist/cli --target bun --external ink --external react --external chalk --external ink-text-input --external @modelcontextprotocol/sdk --external pg && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk --external pg && bun build src/server/index.ts --outdir dist/server --target bun --external pg && bun build src/sdk/index.ts --outdir dist/sdk --target bun && bun build src/index.ts --outdir dist --target bun --external pg && bun build src/lib/capability.ts src/lib/cloudflare.ts src/lib/cloudflare-auth.ts src/lib/delegate.ts src/lib/registrar.ts src/lib/route53.ts --outdir dist/lib --target node --packages external && tsc --emitDeclarationOnly --outDir dist",
|
|
54
|
+
"build": "bun run clean && bun build src/cli/index.ts --outdir dist/cli --target bun --external ink --external react --external chalk --external ink-text-input --external @modelcontextprotocol/sdk --external @hasna/contacts --external pg && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk --external pg && bun build src/server/index.ts --outdir dist/server --target bun --external pg && bun build src/sdk/index.ts --outdir dist/sdk --target bun && bun build src/index.ts --outdir dist --target bun --external pg && bun build src/lib/capability.ts src/lib/cloudflare.ts src/lib/cloudflare-auth.ts src/lib/delegate.ts src/lib/registrar.ts src/lib/route53.ts --outdir dist/lib --target node --packages external && tsc --emitDeclarationOnly --outDir dist",
|
|
55
55
|
"typecheck": "tsc --noEmit",
|
|
56
56
|
"test": "bun test",
|
|
57
57
|
"sdk:gen": "bun run scripts/gen-sdk.ts",
|
|
@@ -106,11 +106,18 @@
|
|
|
106
106
|
"zod": "^3.24.2"
|
|
107
107
|
},
|
|
108
108
|
"optionalDependencies": {
|
|
109
|
-
"@hasna/contacts": "^0.6.19",
|
|
110
109
|
"@hasna/events": "^0.1.7"
|
|
111
110
|
},
|
|
111
|
+
"peerDependencies": {
|
|
112
|
+
"@hasna/contacts": "^0.6.19"
|
|
113
|
+
},
|
|
114
|
+
"peerDependenciesMeta": {
|
|
115
|
+
"@hasna/contacts": {
|
|
116
|
+
"optional": true
|
|
117
|
+
}
|
|
118
|
+
},
|
|
112
119
|
"devDependencies": {
|
|
113
|
-
"@hasna/mcp-harness": "
|
|
120
|
+
"@hasna/mcp-harness": "0.1.0",
|
|
114
121
|
"@types/bun": "^1.3.14",
|
|
115
122
|
"@types/pg": "^8.20.0",
|
|
116
123
|
"@types/react": "^18.3.18",
|