diff --git a/PROGRESSIVE_API.md b/PROGRESSIVE_API.md index 3ca9de0..3d170f6 100644 --- a/PROGRESSIVE_API.md +++ b/PROGRESSIVE_API.md @@ -232,8 +232,8 @@ resp, err := client. package main import ( - "bifrost-for-developers/sdk" - "bifrost-for-developers/sdk/utils" + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk" + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" "context" "fmt" ) diff --git a/README.md b/README.md index c8bdc2f..bc1faf5 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Go SDK for Hyperfluid data access with **two fluent APIs**: ```bash # Install -go get bifrost-for-developers/sdk +go get github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk ``` ## Two APIs, Choose Your Style @@ -48,8 +48,8 @@ Jump directly to tables when you just need data: import ( "context" "fmt" - "bifrost-for-developers/sdk" - "bifrost-for-developers/sdk/utils" + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk" + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" ) func main() { diff --git a/go.mod b/go.mod index 34cd287..4b0a64b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module bifrost-for-developers +module github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev go 1.25.1 diff --git a/integration_tests/integration_test.go b/integration_tests/integration_test.go index 6822f1d..973df74 100644 --- a/integration_tests/integration_test.go +++ b/integration_tests/integration_test.go @@ -1,11 +1,12 @@ package developpementtests import ( - "bifrost-for-developers/sdk" - "bifrost-for-developers/sdk/utils" "context" "os" "testing" + + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk" + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" ) func TestIntegration_GetData(t *testing.T) { diff --git a/integration_tests/testhelper_test.go b/integration_tests/testhelper_test.go index d24fff1..c663d59 100644 --- a/integration_tests/testhelper_test.go +++ b/integration_tests/testhelper_test.go @@ -1,7 +1,7 @@ package developpementtests import ( - "bifrost-for-developers/sdk/utils" + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" "os" "strconv" "time" diff --git a/sdk/auth.go b/sdk/auth.go index 96c657f..d81e8a4 100644 --- a/sdk/auth.go +++ b/sdk/auth.go @@ -1,7 +1,6 @@ package sdk import ( - "bifrost-for-developers/sdk/utils" "context" "crypto/tls" "encoding/json" @@ -11,6 +10,8 @@ import ( "net/url" "strings" "sync" + + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" // "time" // time import is no longer needed ) diff --git a/sdk/client.go b/sdk/client.go index ecaf933..78760bb 100644 --- a/sdk/client.go +++ b/sdk/client.go @@ -1,7 +1,7 @@ package sdk import ( - "bifrost-for-developers/sdk/utils" + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" "net/http" ) diff --git a/sdk/client_test.go b/sdk/client_test.go index 79a88dd..a095e97 100644 --- a/sdk/client_test.go +++ b/sdk/client_test.go @@ -1,13 +1,14 @@ package sdk import ( - "bifrost-for-developers/sdk/utils" "context" "errors" "io" "net/http" "strings" "testing" + + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" ) func TestNewClient(t *testing.T) { diff --git a/sdk/progressive_builders.go b/sdk/progressive_builders.go index 34263f4..3ad208d 100644 --- a/sdk/progressive_builders.go +++ b/sdk/progressive_builders.go @@ -1,10 +1,11 @@ package sdk import ( - "bifrost-for-developers/sdk/utils" "context" "fmt" "net/url" + + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" ) // Progressive Builders - Each level has its own type with specific methods diff --git a/sdk/query_builder.go b/sdk/query_builder.go index f63c90f..974ab8c 100644 --- a/sdk/query_builder.go +++ b/sdk/query_builder.go @@ -1,12 +1,13 @@ package sdk import ( - "bifrost-for-developers/sdk/utils" "context" "fmt" "net/url" "strconv" "strings" + + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" ) // QueryBuilder provides a fluent interface for building and executing queries. diff --git a/sdk/query_builder_test.go b/sdk/query_builder_test.go index bd0cdf8..a84e649 100644 --- a/sdk/query_builder_test.go +++ b/sdk/query_builder_test.go @@ -1,12 +1,13 @@ package sdk import ( - "bifrost-for-developers/sdk/utils" "context" "io" "net/http" "strings" "testing" + + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" ) func TestQueryBuilder_BasicChaining(t *testing.T) { diff --git a/sdk/request.go b/sdk/request.go index 8da21a1..f4ae645 100644 --- a/sdk/request.go +++ b/sdk/request.go @@ -1,7 +1,6 @@ package sdk import ( - "bifrost-for-developers/sdk/utils" "bytes" "context" "encoding/json" @@ -10,6 +9,8 @@ import ( "math" "net/http" "time" + + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" ) func (c *Client) do(ctx context.Context, method, url string, body []byte) (*utils.Response, error) { diff --git a/usage_examples/fluent_api_examples.go b/usage_examples/fluent_api_examples.go index f1babab..8b64195 100644 --- a/usage_examples/fluent_api_examples.go +++ b/usage_examples/fluent_api_examples.go @@ -1,12 +1,13 @@ package main import ( - "bifrost-for-developers/sdk" - "bifrost-for-developers/sdk/utils" "context" "fmt" "os" "time" + + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk" + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils" ) // This file demonstrates the new fluent API for the Bifrost SDK. diff --git a/usage_examples/progressive_api_examples.go b/usage_examples/progressive_api_examples.go index b843f43..43ae81e 100644 --- a/usage_examples/progressive_api_examples.go +++ b/usage_examples/progressive_api_examples.go @@ -1,9 +1,10 @@ package main import ( - "bifrost-for-developers/sdk" "context" "fmt" + + "github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk" ) // This file demonstrates the NEW progressive fluent API