refactor: rename LookUpName to LookupName for correct capitalization

Renamed the method `LookUpName` to `LookupName` in the SDK (`sdk.go`) and updated its call in the webclient (`main_js.go`) to fix the capitalization, removing the extra capital 'U' in "LookUp" to match standard spelling conventions. This improves code consistency and readability without altering functionality.

lemon-mint committed Nov 4, 2025 at 12:26 UTC 2e88a8c9f0026ced2bea68c068d62cfaf8428e90
2 files changed +2 -2
cmd/webclient/main_js.go
+1 -1
@@ -36,7 +36,7 @@ var rdDialer = func(ctx context.Context, network, address string) (net.Conn, err
36 address = strings.TrimSuffix(address, ":80")
37 address = strings.TrimSuffix(address, ":443")
38
39 - lease, err := rdClient.LookUpName(address)
39 + lease, err := rdClient.LookupName(address)
40 if err == nil && lease != nil {
41 address = lease.Identity.Id
42 log.Debug().Str("name", address).Str("id", lease.Identity.Id).Msg("[SDK] Found lease")
sdk/sdk.go
+1 -1
@@ -784,7 +784,7 @@ func (g *RDClient) GetRelays() []string {
784 return relays
785 }
786
787 -func (g *RDClient) LookUpName(name string) (*rdverb.Lease, error) {
787 +func (g *RDClient) LookupName(name string) (*rdverb.Lease, error) {
788 log.Debug().Str("name", name).Msg("[SDK] Looking up name")
789 var relays []*rdRelay
790