Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getSubnames api updates #18987

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

pchrysochoidis
Copy link
Contributor

  • use query instead of body params
  • add status to subnames response

Description

Describe the changes or additions included in this PR.

Test plan

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • REST API:

* use query instead of body params
* add status to subnames response
@pchrysochoidis pchrysochoidis requested a review from a team as a code owner August 14, 2024 13:11
Copy link

vercel bot commented Aug 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2024 1:15pm
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2024 1:15pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Skipped (Inspect) Aug 14, 2024 1:15pm
sui-kiosk ⬜️ Skipped (Inspect) Aug 14, 2024 1:15pm

@@ -93,6 +94,7 @@ export interface GetSubnamesApiInput {
export interface GetSubnamesApiResponse {
subnames: {
name: string;
status: EnokiSubanameStatus;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added it in case we need to show the pending status

Copy link
Contributor

⚠️ 🦋 Changesets Warning: This PR has changes to public npm packages, but does not contain a changeset. You can create a changeset easily by running pnpm changeset in the root of the Sui repo, and following the prompts. If your change does not need a changeset (e.g. a documentation-only change), you can ignore this message. This warning will be removed when a changeset is added to this pull request.

Learn more about Changesets.

@pchrysochoidis pchrysochoidis merged commit d52ec13 into mh--enoki-subnames-api Aug 15, 2024
46 of 48 checks passed
@pchrysochoidis pchrysochoidis deleted the pc-enoki-subnames-api-update branch August 15, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants