skapi-js 1.5.1 → 1.5.2-beta.2

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/skapi.d.mts CHANGED
@@ -676,6 +676,10 @@ declare class Skapi {
676
676
  bypassAwaitConnection?: boolean;
677
677
  responseType?: "json" | "blob" | "text" | "arrayBuffer" | "formData" | "document";
678
678
  contentType?: string;
679
+ tokenHeaders?: {
680
+ accessToken?: boolean | string;
681
+ idToken?: boolean | string;
682
+ };
679
683
  }) => any;
680
684
  };
681
685
  private __connection;
@@ -834,6 +838,7 @@ declare class Skapi {
834
838
  clientSecretRequest(params: {
835
839
  url: string;
836
840
  clientSecretName: string;
841
+ poll: boolean;
837
842
  method: 'GET' | 'POST' | 'DELETE' | 'PUT';
838
843
  headers?: {
839
844
  [key: string]: string;
@@ -1326,6 +1331,10 @@ declare class Skapi {
1326
1331
  method?: string;
1327
1332
  responseType?: 'blob' | 'json' | 'text' | 'arrayBuffer' | 'formData' | 'document';
1328
1333
  contentType?: string;
1334
+ tokenHeaders?: {
1335
+ accessToken?: boolean | string;
1336
+ idToken?: boolean | string;
1337
+ };
1329
1338
  progress?: ProgressCallback;
1330
1339
  }): Promise<{
1331
1340
  [key: string]: any;
package/dist/skapi.d.ts CHANGED
@@ -676,6 +676,10 @@ declare class Skapi {
676
676
  bypassAwaitConnection?: boolean;
677
677
  responseType?: "json" | "blob" | "text" | "arrayBuffer" | "formData" | "document";
678
678
  contentType?: string;
679
+ tokenHeaders?: {
680
+ accessToken?: boolean | string;
681
+ idToken?: boolean | string;
682
+ };
679
683
  }) => any;
680
684
  };
681
685
  private __connection;
@@ -834,6 +838,7 @@ declare class Skapi {
834
838
  clientSecretRequest(params: {
835
839
  url: string;
836
840
  clientSecretName: string;
841
+ poll: boolean;
837
842
  method: 'GET' | 'POST' | 'DELETE' | 'PUT';
838
843
  headers?: {
839
844
  [key: string]: string;
@@ -1326,6 +1331,10 @@ declare class Skapi {
1326
1331
  method?: string;
1327
1332
  responseType?: 'blob' | 'json' | 'text' | 'arrayBuffer' | 'formData' | 'document';
1328
1333
  contentType?: string;
1334
+ tokenHeaders?: {
1335
+ accessToken?: boolean | string;
1336
+ idToken?: boolean | string;
1337
+ };
1329
1338
  progress?: ProgressCallback;
1330
1339
  }): Promise<{
1331
1340
  [key: string]: any;