Skip to content

Commit

Permalink
chore(release): 1.0.0-test.4 [skip ci]
Browse files Browse the repository at this point in the history
## [1.0.0-test.4](v1.0.0-test.3...v1.0.0-test.4) (2022-08-25)

### Documentation

* **README:** update readme ([ae4e0ea](ae4e0ea))
  • Loading branch information
semantic-release-bot committed Aug 25, 2022
1 parent 3d70e3c commit e8e6cb2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.0.0-test.4](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/compare/v1.0.0-test.3...v1.0.0-test.4) (2022-08-25)


### Documentation

* **README:** update readme ([ae4e0ea](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/ae4e0ea67c95598f3771cd1e7c89189bab17793e))

## [1.0.0-test.3](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/compare/v1.0.0-test.2...v1.0.0-test.3) (2022-08-24)


Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ Fingerprint Pro Server API provides a way for validating visitors’ data issued
This Go package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 3
- Package version: 1.0.0-test.3
- Package version: 1.0.0-test.4
- Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

## Requirements
## Requirements.

Go 1.17 or higher
Go Lang 1.17 or higher

## Installation & Usage

Expand Down Expand Up @@ -71,12 +71,12 @@ func main() {
cfg := sdk.NewConfiguration()
client := sdk.NewAPIClient(cfg)

// Configure authorization with secret API Key
// Configure authorization, in our case with API Key
auth := context.WithValue(context.Background(), sdk.ContextAPIKey, sdk.APIKey{
Key: "SECRET_API_KEY",
})

// Usually a visitorId comes from your frontend app or webhook
// Usually this data will come from your frontend app
visitorId := "VISITOR_ID"
opts := sdk.FingerprintApiGetVisitsOpts{
RequestId: optional.NewString("REQUEST_ID"),
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"gitUserId": "fingerprintjs",
"packageName": "sdk",
"packageUrl": "https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk",
"packageVersion": "1.0.0-test.3"
"packageVersion": "1.0.0-test.4"
}
2 changes: 1 addition & 1 deletion sdk/api_fingerprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (a *FingerprintApiService) GetVisits(ctx context.Context, visitorId string,
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}

localVarQueryParams.Add("ii", "fingerprint-pro-server-go-sdk/1.0.0-test.3")
localVarQueryParams.Add("ii", "fingerprint-pro-server-go-sdk/1.0.0-test.4")

if localVarOptionals != nil && localVarOptionals.RequestId.IsSet() {
localVarQueryParams.Add("request_id", parameterToString(localVarOptionals.RequestId.Value(), ""))
Expand Down
2 changes: 1 addition & 1 deletion sdk/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (c *Configuration) AddDefaultHeader(key string, value string) {
func NewConfiguration() *Configuration {
cfg := &Configuration{
DefaultHeader: make(map[string]string),
UserAgent: "Swagger-Codegen/1.0.0-test.3/go",
UserAgent: "Swagger-Codegen/1.0.0-test.4/go",
region: RegionUS,
}
cfg.basePath = resolveBasePath(cfg.region)
Expand Down

0 comments on commit e8e6cb2

Please sign in to comment.