Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
leecchh committed Dec 17, 2024
1 parent 3689a6b commit c07e544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/suins-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export class SuinsClient {
return discountMap;
}

async getNameRecord(name: string): Promise<any> {
async getNameRecord(name: string): Promise<NameRecord | null> {
if (!isValidSuiNSName(name)) throw new Error('Invalid SuiNS name');
if (!this.config.registryTableId) throw new Error('Suins package ID is not set');

Expand Down

0 comments on commit c07e544

Please sign in to comment.