@@ -41,19 +41,19 @@ export abstract class APIClient {
41
41
this . maxRetries = validatePositiveInteger ( 'maxRetries' , maxRetries ) ;
42
42
this . timeout = validatePositiveInteger ( 'timeout' , timeout ) ;
43
43
}
44
- protected get < Req , Rsp > ( path : string , opts ?: RequestOptions < Req > ) : Promise < Rsp > {
44
+ get < Req , Rsp > ( path : string , opts ?: RequestOptions < Req > ) : Promise < Rsp > {
45
45
return this . makeRequest ( 'get' , path , opts ) ;
46
46
}
47
47
48
- protected post < Req , Rsp > ( path : string , opts ?: RequestOptions < Req > ) : Promise < Rsp > {
48
+ post < Req , Rsp > ( path : string , opts ?: RequestOptions < Req > ) : Promise < Rsp > {
49
49
return this . makeRequest ( 'post' , path , opts ) ;
50
50
}
51
51
52
- protected put < Req , Rsp > ( path : string , opts ?: RequestOptions < Req > ) : Promise < Rsp > {
52
+ put < Req , Rsp > ( path : string , opts ?: RequestOptions < Req > ) : Promise < Rsp > {
53
53
return this . makeRequest ( 'put' , path , opts ) ;
54
54
}
55
55
56
- protected delete < Req , Rsp > ( path : string , opts ?: RequestOptions < Req > ) : Promise < Rsp > {
56
+ delete < Req , Rsp > ( path : string , opts ?: RequestOptions < Req > ) : Promise < Rsp > {
57
57
return this . makeRequest ( 'delete' , path , opts ) ;
58
58
}
59
59
0 commit comments