From 30d191c6c69e8a8d4fd9d42bdded7aafc3942a80 Mon Sep 17 00:00:00 2001 From: okjiang <819421878@qq.com> Date: Wed, 28 Oct 2026 16:54:27 +0800 Subject: [PATCH] refactor(sdk): remove unused internal HTTP helpers --- typescript/src/http.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/typescript/src/http.ts b/typescript/src/http.ts index ff19c11..0573bc0 100644 --- a/typescript/src/http.ts +++ b/typescript/src/http.ts @@ -267,14 +267,6 @@ export class HttpClient { return this.response(path, { ...options, method: "PATCH", body }); } - put( - path: string, - body: unknown, - options?: Pick, - ): Promise { - return this.request(path, { ...options, method: "PUT", body }); - } - deleteResponse( path: string, options?: Pick, @@ -282,13 +274,6 @@ export class HttpClient { return this.response(path, { ...options, method: "DELETE" }); } - delete( - path: string, - options?: Pick, - ): Promise { - return this.request(path, { ...options, method: "DELETE" }); - } - async request(path: string, options: RequestOptions = {}): Promise { return (await this.response(path, options)).data; }