From be7166e1debc1ac4bc65024b46cc4dd406fd34ed Mon Sep 17 00:00:00 2001 From: asim Date: Tue, 26 Oct 2021 15:46:08 +0000 Subject: [PATCH] Commit from GitHub Actions (Publish APIs & Clients) --- clients/go/image/image.go | 3 --- clients/ts/package.json | 2 +- examples/stream/publish/go/publishAMessage.go | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/clients/go/image/image.go b/clients/go/image/image.go index e323614..0eb604d 100755 --- a/clients/go/image/image.go +++ b/clients/go/image/image.go @@ -40,7 +40,6 @@ func (t *ImageService) Upload(request *UploadRequest) (*UploadResponse, error) { type ConvertRequest struct { // base64 encoded image to resize, - // ie. "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" Base64 string `json:"base64"` // output name of the image including extension, ie. "cat.png" Name string `json:"name"` @@ -79,7 +78,6 @@ type Rectangle struct { type ResizeRequest struct { // base64 encoded image to resize, - // ie. "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" Base64 string `json:"base64"` // optional crop options // if provided, after resize, the image @@ -102,7 +100,6 @@ type ResizeResponse struct { type UploadRequest struct { // Base64 encoded image to upload, - // ie. "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" Base64 string `json:"base64"` // Output name of the image including extension, ie. "cat.png" Name string `json:"name"` diff --git a/clients/ts/package.json b/clients/ts/package.json index f8ff816..4676e0a 100644 --- a/clients/ts/package.json +++ b/clients/ts/package.json @@ -76,5 +76,5 @@ "prepare": "npm run build" }, "types": "index.d.ts", - "version": "1.0.567" + "version": "1.0.568" } \ No newline at end of file diff --git a/examples/stream/publish/go/publishAMessage.go b/examples/stream/publish/go/publishAMessage.go index eee4024..7a0d501 100755 --- a/examples/stream/publish/go/publishAMessage.go +++ b/examples/stream/publish/go/publishAMessage.go @@ -12,9 +12,9 @@ func PublishAmessage() { streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN")) rsp, err := streamService.Publish(&stream.PublishRequest{ Message: map[string]interface{}{ + "user": "john", "id": "1", "type": "signup", - "user": "john", }, Topic: "events", })