From 290dadbfea0b54163979a973539313b1a6db23da Mon Sep 17 00:00:00 2001 From: SaladTechnologies <415806+seniorquico@users.noreply.github.com> Date: Sat, 5 Oct 2024 04:01:01 +0000 Subject: [PATCH] liblab SDK update for version v0.9.0-alpha.4 --- .manifest.json | 23 +++++++++++----------- README.md | 4 ++-- internal/clients/rest/hooks/custom_hook.go | 6 ------ 3 files changed, 14 insertions(+), 19 deletions(-) diff --git a/.manifest.json b/.manifest.json index 96cbaaf..1d3edb6 100644 --- a/.manifest.json +++ b/.manifest.json @@ -1,11 +1,11 @@ { - "liblabVersion": "2.4.0", - "date": "2024-09-17T04:36:03.787Z", + "liblabVersion": "2.5.1", + "date": "2024-10-05T04:00:41.763Z", "config": { "language": "go", "apiId": 1126, "sdkName": "salad-cloud-imds-sdk", - "sdkVersion": "0.9.0-alpha.3", + "sdkVersion": "0.9.0-alpha.4", "liblabVersion": "2", "deliveryMethods": ["zip"], "languages": ["go"], @@ -34,7 +34,7 @@ "githubRepoName": "salad-cloud-imds-sdk-go", "ignoreFiles": [".gitignore", "./LICENSE"], "liblabVersion": "2", - "sdkVersion": "0.9.0-alpha.3", + "sdkVersion": "0.9.0-alpha.4", "targetBranch": "main" }, "java": { @@ -58,11 +58,11 @@ "homepage": "https://github.com/saladtechnologies/salad-cloud-imds-sdk-java", "ignoreFiles": [".gitignore", "./LICENSE"], "liblabVersion": "2", - "sdkVersion": "0.9.0-alpha.3", + "sdkVersion": "0.9.0-alpha.4", "targetBranch": "main" }, "python": { - "alwaysInitializeOptionals": true, + "alwaysInitializeOptionals": false, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", @@ -101,7 +101,7 @@ "githubRepoName": "salad-cloud-imds-sdk-python", "ignoreFiles": [".gitignore", "./LICENSE"], "liblabVersion": "2", - "sdkVersion": "0.9.0-alpha.3", + "sdkVersion": "0.9.0-alpha.4", "targetBranch": "main" }, "typescript": { @@ -124,8 +124,9 @@ "homepage": "https://github.com/saladtechnologies/salad-cloud-imds-sdk-javascript", "ignoreFiles": [".gitignore", "./LICENSE"], "liblabVersion": "2", - "sdkVersion": "0.9.0-alpha.3", - "targetBranch": "main" + "sdkVersion": "0.9.0-alpha.4", + "targetBranch": "main", + "generateEnumAs": "enum" } }, "publishing": { @@ -156,7 +157,7 @@ }, "multiTenant": true, "hooksLocation": { - "bucketKey": "7207/hooks.zip", + "bucketKey": "7538/hooks.zip", "bucketName": "prod-liblab-api-stack-hooks" }, "includeWatermark": false, @@ -176,7 +177,7 @@ "httpLibrary": { "name": "axios", "packages": { - "axios": "^1.7.4" + "axios": "^1.7.7" }, "languages": ["typescript"] }, diff --git a/README.md b/README.md index 800576d..70c8307 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# SaladCloudImdsSdk Go SDK 0.9.0-alpha.3 +# SaladCloudImdsSdk Go SDK 0.9.0-alpha.4 Welcome to the SaladCloudImdsSdk SDK documentation. This guide will help you get started with integrating and using the SaladCloudImdsSdk SDK in your project. ## Versions - API version: `0.9.0-alpha.1` -- SDK version: `0.9.0-alpha.3` +- SDK version: `0.9.0-alpha.4` ## About the API diff --git a/internal/clients/rest/hooks/custom_hook.go b/internal/clients/rest/hooks/custom_hook.go index 757a305..94d5ff4 100644 --- a/internal/clients/rest/hooks/custom_hook.go +++ b/internal/clients/rest/hooks/custom_hook.go @@ -1,9 +1,5 @@ package hooks -import ( - "fmt" -) - type CustomHook struct{} func NewCustomHook() Hook { @@ -16,11 +12,9 @@ func (h *CustomHook) BeforeRequest(req Request, params map[string]string) Reques } func (h *CustomHook) AfterResponse(req Request, resp Response, params map[string]string) Response { - fmt.Printf("AfterResponse: %#v\n", resp) return resp } func (h *CustomHook) OnError(req Request, resp ErrorResponse, params map[string]string) ErrorResponse { - fmt.Printf("On Error: %#v\n", resp) return resp }