diff --git a/RELEASES.md b/RELEASES.md index 070630b..11ee1f5 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -54,4 +54,12 @@ Based on: - OpenAPI Doc 0.1.1 https://raw.githubusercontent.com/resendlabs/resend-openapi/main/resend.yaml - Speakeasy CLI 1.8.2 https://github.com/speakeasy-api/speakeasy ### Releases -- [Go v1.3.0] https://github.com/resendlabs/resend-go/releases/tag/v1.3.0 - . \ No newline at end of file +- [Go v1.3.0] https://github.com/resendlabs/resend-go/releases/tag/v1.3.0 - . + +## 2023-03-04 19:29:59 +### Changes +Based on: +- OpenAPI Doc 0.1.1 https://raw.githubusercontent.com/resendlabs/resend-openapi/main/resend.yaml +- Speakeasy CLI 1.8.2 https://github.com/speakeasy-api/speakeasy +### Releases +- [Go v1.3.1] https://github.com/resendlabs/resend-go/releases/tag/v1.3.1 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 5c65046..2ab83bd 100755 --- a/USAGE.md +++ b/USAGE.md @@ -1,3 +1,4 @@ + ```go package main @@ -18,10 +19,14 @@ func main() { req := operations.SendEmailRequest{ Request: shared.Email{ - From: "hello@resend.com", - To: "thefuture@yourcompany.com", - Subject: "Welcome to Resend!", - Text: "Hello, World!", + Bcc: "unde", + Cc: "deserunt", + From: "porro", + HTML: "nulla", + ReplyTo: "id", + Subject: "vero", + Text: "perspiciatis", + To: "nulla", }, } @@ -35,4 +40,5 @@ func main() { // handle response } } -``` \ No newline at end of file +``` + \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index c331bd3..426db5c 100644 --- a/gen.yaml +++ b/gen.yaml @@ -8,5 +8,5 @@ generation: sdkClassName: resend sdkFlattening: true go: - version: 1.3.0 + version: 1.3.1 packageName: github.com/resendlabs/resend-go diff --git a/resend.go b/resend.go index 498bc6c..962b0b7 100755 --- a/resend.go +++ b/resend.go @@ -65,7 +65,7 @@ func WithSecurity(security shared.Security) SDKOption { func New(opts ...SDKOption) *Resend { sdk := &Resend{ _language: "go", - _sdkVersion: "1.3.0", + _sdkVersion: "1.3.1", _genVersion: "1.8.2", } for _, opt := range opts {