Skip to content

Commit

Permalink
feat!: remove Region type
Browse files Browse the repository at this point in the history
  • Loading branch information
figueredo committed Jul 24, 2024
1 parent e029c59 commit c5358b4
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 @@ -26,13 +26,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 @@ -48,8 +41,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 c5358b4

Please sign in to comment.