Skip to content

Commit 182aeb3

Browse files
authored
Rename nameai.dev to nameai.io (#608)
* Rename nameai.dev to nameai.io * Create angry-melons-thank.md
1 parent 6f1d33e commit 182aeb3

7 files changed

Lines changed: 18 additions & 13 deletions

File tree

.changeset/angry-melons-thank.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@namehash/nameai": patch
3+
---
4+
5+
Rename nameai.dev to nameai.io

apps/api.nameai.dev/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
## API
44
The API extends the NameGuard API and is fully compatible with it.
55

6-
NameAI-specific endpoints are under the `https://api.nameai.dev` path prefix and
7-
NameGuard-specific endpoints are under the `https://api.nameai.dev/nameguard` path prefix.
6+
NameAI-specific endpoints are under the `https://api.nameai.io` path prefix and
7+
NameGuard-specific endpoints are under the `https://api.nameai.io/nameguard` path prefix.
88

9-
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.
9+
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.
1010

11-
Lambda is publicly accessible under given domain [api.nameai.dev](https://api.nameai.dev)
11+
Lambda is publicly accessible under given domain [api.nameai.io](https://api.nameai.io)
1212

1313
## SDK
1414
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).

apps/api.nameai.dev/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[tool.poetry]
22
name = "nameai"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
description = "NameHash NameAI API"
55
authors = ["NameHash Team <devops@namehash.io>"]
66
maintainers = ["NameHash Team <devops@namehash.io>"]
7-
homepage = "https://www.nameai.dev/"
7+
homepage = "https://www.nameai.io/"
88
repository = "https://github.com/namehash/nameai"
99
readme = "README.md"
1010
license = "LICENSE"

apps/nameai.dev/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function Page() {
2929
</div>
3030
<div className="flex justify-center gap-2">
3131
<Button asChild>
32-
<Link target="_blank" href="https://api.nameai.dev/docs">
32+
<Link target="_blank" href="https://api.nameai.io/docs">
3333
API docs
3434
</Link>
3535
</Button>

apps/nameai.dev/app/shared-metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const defaultMetaKeywords = [
1414
"nameai",
1515
];
1616

17-
export const baseUrl = "https://nameai.dev";
17+
export const baseUrl = "https://nameai.io";
1818

1919
export const defaultMetaOpengraph: Metadata["openGraph"] = {
2020
title: {

packages/nameai-sdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![NPM Version](https://img.shields.io/npm/v/@namehash/nameai)](https://www.npmjs.com/package/@namehash/nameai)
44

5-
[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.
5+
[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.
66

77
[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.
88

packages/nameai-sdk/src/index.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ describe("inspectName edge cases", () => {
5252
describe("NameAI constructor", () => {
5353
it("should ensure endpoint ends with trailing slash", () => {
5454
const client1 = createClient({
55-
nameaiEndpoint: "https://api.nameai.dev/nameai",
55+
nameaiEndpoint: "https://api.nameai.io/nameai",
5656
});
5757
expect(client1["nameaiEndpoint"].href).toBe(
58-
"https://api.nameai.dev/nameai/",
58+
"https://api.nameai.io/nameai/",
5959
);
6060

6161
const client2 = createClient({
62-
nameaiEndpoint: "https://api.nameai.dev/nameai/",
62+
nameaiEndpoint: "https://api.nameai.io/nameai/",
6363
});
6464
expect(client2["nameaiEndpoint"].href).toBe(
65-
"https://api.nameai.dev/nameai/",
65+
"https://api.nameai.io/nameai/",
6666
);
6767
});
6868
});

0 commit comments

Comments
 (0)