Skip to content

Commit

Permalink
feat!: remove Region type (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
figueredo authored Nov 6, 2024
1 parent 9f09d5d commit 928b724
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions incognia.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ var (
ErrConfigIsNil = errors.New("incognia client config is required")
)

type Region int64

const (
US Region = iota
BR
)

type Client struct {
clientID string
clientSecret string
Expand All @@ -49,8 +42,6 @@ type IncogniaClientConfig struct {
Timeout time.Duration
TokenRouteTimeout time.Duration
HTTPClient *http.Client
// Deprecated: Region is no longer used to determine endpoints
Region Region
}

type Payment struct {
Expand Down

0 comments on commit 928b724

Please sign in to comment.