Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PROGRESSIVE_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module bifrost-for-developers
module github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev

go 1.25.1

Expand Down
5 changes: 3 additions & 2 deletions integration_tests/integration_test.go
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/testhelper_test.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
3 changes: 2 additions & 1 deletion sdk/auth.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package sdk

import (
"bifrost-for-developers/sdk/utils"
"context"
"crypto/tls"
"encoding/json"
Expand All @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion sdk/client.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package sdk

import (
"bifrost-for-developers/sdk/utils"
"github.com/nudibranches-tech/bifrost-hyperfluid-sdk-dev/sdk/utils"
"net/http"
)

Expand Down
3 changes: 2 additions & 1 deletion sdk/client_test.go
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
3 changes: 2 additions & 1 deletion sdk/progressive_builders.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion sdk/query_builder.go
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion sdk/query_builder_test.go
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
3 changes: 2 additions & 1 deletion sdk/request.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package sdk

import (
"bifrost-for-developers/sdk/utils"
"bytes"
"context"
"encoding/json"
Expand All @@ -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) {
Expand Down
5 changes: 3 additions & 2 deletions usage_examples/fluent_api_examples.go
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion usage_examples/progressive_api_examples.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down