@stackone/transport 1.14.0 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -571,6 +571,7 @@ declare class HttpClient<TError extends Error = Error> implements IHttpClient {
571
571
  headers,
572
572
  url,
573
573
  method,
574
+ queryParams,
574
575
  maxRedirects,
575
576
  responseType,
576
577
  cacheTTL,
@@ -585,6 +586,7 @@ declare class HttpClient<TError extends Error = Error> implements IHttpClient {
585
586
  headers?: HttpHeaders;
586
587
  url: string;
587
588
  method?: HttpMethod;
589
+ queryParams?: HttpQueryParams;
588
590
  maxRedirects?: number;
589
591
  responseType?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'text';
590
592
  cacheTTL?: number;
@@ -599,6 +601,7 @@ declare class HttpClient<TError extends Error = Error> implements IHttpClient {
599
601
  get<T>({
600
602
  headers,
601
603
  url,
604
+ queryParams,
602
605
  maxRedirects,
603
606
  cacheTTL,
604
607
  context,
@@ -607,6 +610,7 @@ declare class HttpClient<TError extends Error = Error> implements IHttpClient {
607
610
  }: {
608
611
  headers?: HttpHeaders;
609
612
  url: string;
613
+ queryParams?: HttpQueryParams;
610
614
  maxRedirects?: number;
611
615
  cacheTTL?: number;
612
616
  context?: RequestContext;
@@ -823,6 +827,7 @@ interface IRequestClient {
823
827
  url,
824
828
  method,
825
829
  headers,
830
+ queryParams,
826
831
  body,
827
832
  customErrorConfigs
828
833
  }: {
package/dist/index.d.ts CHANGED
@@ -571,6 +571,7 @@ declare class HttpClient<TError extends Error = Error> implements IHttpClient {
571
571
  headers,
572
572
  url,
573
573
  method,
574
+ queryParams,
574
575
  maxRedirects,
575
576
  responseType,
576
577
  cacheTTL,
@@ -585,6 +586,7 @@ declare class HttpClient<TError extends Error = Error> implements IHttpClient {
585
586
  headers?: HttpHeaders;
586
587
  url: string;
587
588
  method?: HttpMethod;
589
+ queryParams?: HttpQueryParams;
588
590
  maxRedirects?: number;
589
591
  responseType?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'text';
590
592
  cacheTTL?: number;
@@ -599,6 +601,7 @@ declare class HttpClient<TError extends Error = Error> implements IHttpClient {
599
601
  get<T>({
600
602
  headers,
601
603
  url,
604
+ queryParams,
602
605
  maxRedirects,
603
606
  cacheTTL,
604
607
  context,
@@ -607,6 +610,7 @@ declare class HttpClient<TError extends Error = Error> implements IHttpClient {
607
610
  }: {
608
611
  headers?: HttpHeaders;
609
612
  url: string;
613
+ queryParams?: HttpQueryParams;
610
614
  maxRedirects?: number;
611
615
  cacheTTL?: number;
612
616
  context?: RequestContext;
@@ -823,6 +827,7 @@ interface IRequestClient {
823
827
  url,
824
828
  method,
825
829
  headers,
830
+ queryParams,
826
831
  body,
827
832
  customErrorConfigs
828
833
  }: {