From dc3eb070c94a5f193d7d4e50d39bc014e380e482 Mon Sep 17 00:00:00 2001 From: djstrong Date: Wed, 5 Feb 2025 23:29:43 +0100 Subject: [PATCH 1/2] Rename nameai.dev to nameai.io --- apps/api.nameai.dev/README.md | 8 ++++---- apps/api.nameai.dev/pyproject.toml | 4 ++-- apps/nameai.dev/app/page.tsx | 2 +- apps/nameai.dev/app/shared-metadata.ts | 2 +- packages/nameai-sdk/README.md | 2 +- packages/nameai-sdk/src/index.test.ts | 8 ++++---- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/apps/api.nameai.dev/README.md b/apps/api.nameai.dev/README.md index b7eb3d338..ab5ec117c 100644 --- a/apps/api.nameai.dev/README.md +++ b/apps/api.nameai.dev/README.md @@ -3,12 +3,12 @@ ## API The API extends the NameGuard API and is fully compatible with it. -NameAI-specific endpoints are under the `https://api.nameai.dev` path prefix and -NameGuard-specific endpoints are under the `https://api.nameai.dev/nameguard` path prefix. +NameAI-specific endpoints are under the `https://api.nameai.io` path prefix and +NameGuard-specific endpoints are under the `https://api.nameai.io/nameguard` path prefix. -API documentation is available at [api.nameai.dev/docs](https://api.nameai.dev/docs) for NameAI and [api.nameai.dev/nameguard/docs](https://api.nameai.dev/nameguard/docs) for NameGuard. +API documentation is available at [api.nameai.io/docs](https://api.nameai.io/docs) for NameAI and [api.nameai.io/nameguard/docs](https://api.nameai.io/nameguard/docs) for NameGuard. -Lambda is publicly accessible under given domain [api.nameai.dev](https://api.nameai.dev) +Lambda is publicly accessible under given domain [api.nameai.io](https://api.nameai.io) ## SDK The NameAI SDK provides a convenient way to interact with the NameAI API in your JavaScript/TypeScript applications. You can find the SDK implementation and documentation at [github.com/namehash/namekit/tree/main/packages/nameai-sdk](https://github.com/namehash/namekit/tree/main/packages/nameai-sdk). diff --git a/apps/api.nameai.dev/pyproject.toml b/apps/api.nameai.dev/pyproject.toml index 35fd97b6b..52e5b6cd3 100644 --- a/apps/api.nameai.dev/pyproject.toml +++ b/apps/api.nameai.dev/pyproject.toml @@ -1,10 +1,10 @@ [tool.poetry] name = "nameai" -version = "0.1.6" +version = "0.1.7" description = "NameHash NameAI API" authors = ["NameHash Team "] maintainers = ["NameHash Team "] -homepage = "https://www.nameai.dev/" +homepage = "https://www.nameai.io/" repository = "https://github.com/namehash/nameai" readme = "README.md" license = "LICENSE" diff --git a/apps/nameai.dev/app/page.tsx b/apps/nameai.dev/app/page.tsx index 2550fb369..a910d5a0d 100644 --- a/apps/nameai.dev/app/page.tsx +++ b/apps/nameai.dev/app/page.tsx @@ -29,7 +29,7 @@ export default function Page() {
diff --git a/apps/nameai.dev/app/shared-metadata.ts b/apps/nameai.dev/app/shared-metadata.ts index f01b87764..45298f039 100644 --- a/apps/nameai.dev/app/shared-metadata.ts +++ b/apps/nameai.dev/app/shared-metadata.ts @@ -14,7 +14,7 @@ export const defaultMetaKeywords = [ "nameai", ]; -export const baseUrl = "https://nameai.dev"; +export const baseUrl = "https://nameai.io"; export const defaultMetaOpengraph: Metadata["openGraph"] = { title: { diff --git a/packages/nameai-sdk/README.md b/packages/nameai-sdk/README.md index a76b57055..76eec1f5c 100644 --- a/packages/nameai-sdk/README.md +++ b/packages/nameai-sdk/README.md @@ -2,7 +2,7 @@ [![NPM Version](https://img.shields.io/npm/v/@namehash/nameai)](https://www.npmjs.com/package/@namehash/nameai) -[NameAI](https://nameai.dev) extends [NameGuard](https://nameguard.io) with sophisticated natural language processing capabilities to help evaluate and understand Ethereum Name Service (ENS) names. +[NameAI](https://nameai.io) extends [NameGuard](https://nameguard.io) with sophisticated natural language processing capabilities to help evaluate and understand Ethereum Name Service (ENS) names. [NameGuard](https://nameguard.io) is designed to inspect and prevent malicious use of ENS names by providing comprehensive security checks. See the [NameGuard SDK documentation](../nameguard-sdk/README.md) for details about the base security features. diff --git a/packages/nameai-sdk/src/index.test.ts b/packages/nameai-sdk/src/index.test.ts index a86427bf5..78db4ea8c 100644 --- a/packages/nameai-sdk/src/index.test.ts +++ b/packages/nameai-sdk/src/index.test.ts @@ -52,17 +52,17 @@ describe("inspectName edge cases", () => { describe("NameAI constructor", () => { it("should ensure endpoint ends with trailing slash", () => { const client1 = createClient({ - nameaiEndpoint: "https://api.nameai.dev/nameai", + nameaiEndpoint: "https://api.nameai.io/nameai", }); expect(client1["nameaiEndpoint"].href).toBe( - "https://api.nameai.dev/nameai/", + "https://api.nameai.io/nameai/", ); const client2 = createClient({ - nameaiEndpoint: "https://api.nameai.dev/nameai/", + nameaiEndpoint: "https://api.nameai.io/nameai/", }); expect(client2["nameaiEndpoint"].href).toBe( - "https://api.nameai.dev/nameai/", + "https://api.nameai.io/nameai/", ); }); }); From 38735b62690beb4b83866e1befce5c7ea76d785f Mon Sep 17 00:00:00 2001 From: "kwrobel.eth" Date: Wed, 5 Feb 2025 23:30:56 +0100 Subject: [PATCH 2/2] Create angry-melons-thank.md --- .changeset/angry-melons-thank.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/angry-melons-thank.md diff --git a/.changeset/angry-melons-thank.md b/.changeset/angry-melons-thank.md new file mode 100644 index 000000000..a96a28b28 --- /dev/null +++ b/.changeset/angry-melons-thank.md @@ -0,0 +1,5 @@ +--- +"@namehash/nameai": patch +--- + +Rename nameai.dev to nameai.io