@juhuu/sdk-ts 1.2.48 → 1.2.49
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 +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +109 -109
- package/dist/index.mjs +109 -109
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -522,26 +522,26 @@ declare class Service {
|
|
522
522
|
setAccessToken: (accessToken: string) => Promise<void>;
|
523
523
|
getRefreshToken: () => Promise<string | null>;
|
524
524
|
setRefreshToken: (refreshToken: string) => Promise<void>;
|
525
|
-
sendRequest<T>({ url, method, body,
|
525
|
+
sendRequest<T>({ url, method, body, authenticationNotOptional, }: {
|
526
526
|
method: "GET";
|
527
527
|
url: string;
|
528
528
|
body: undefined;
|
529
|
-
|
529
|
+
authenticationNotOptional: boolean;
|
530
530
|
} | {
|
531
531
|
method: "POST";
|
532
532
|
url: string;
|
533
533
|
body: any;
|
534
|
-
|
534
|
+
authenticationNotOptional: boolean;
|
535
535
|
} | {
|
536
536
|
method: "PATCH";
|
537
537
|
url: string;
|
538
538
|
body: any;
|
539
|
-
|
539
|
+
authenticationNotOptional: boolean;
|
540
540
|
} | {
|
541
541
|
method: "DELETE";
|
542
542
|
url: string;
|
543
543
|
body: undefined;
|
544
|
-
|
544
|
+
authenticationNotOptional: boolean;
|
545
545
|
}, options?: JUHUU.RequestOptions): Promise<JUHUU.HttpResponse<T>>;
|
546
546
|
private sendGetRequest;
|
547
547
|
private sendPostRequest;
|
package/dist/index.d.ts
CHANGED
@@ -522,26 +522,26 @@ declare class Service {
|
|
522
522
|
setAccessToken: (accessToken: string) => Promise<void>;
|
523
523
|
getRefreshToken: () => Promise<string | null>;
|
524
524
|
setRefreshToken: (refreshToken: string) => Promise<void>;
|
525
|
-
sendRequest<T>({ url, method, body,
|
525
|
+
sendRequest<T>({ url, method, body, authenticationNotOptional, }: {
|
526
526
|
method: "GET";
|
527
527
|
url: string;
|
528
528
|
body: undefined;
|
529
|
-
|
529
|
+
authenticationNotOptional: boolean;
|
530
530
|
} | {
|
531
531
|
method: "POST";
|
532
532
|
url: string;
|
533
533
|
body: any;
|
534
|
-
|
534
|
+
authenticationNotOptional: boolean;
|
535
535
|
} | {
|
536
536
|
method: "PATCH";
|
537
537
|
url: string;
|
538
538
|
body: any;
|
539
|
-
|
539
|
+
authenticationNotOptional: boolean;
|
540
540
|
} | {
|
541
541
|
method: "DELETE";
|
542
542
|
url: string;
|
543
543
|
body: undefined;
|
544
|
-
|
544
|
+
authenticationNotOptional: boolean;
|
545
545
|
}, options?: JUHUU.RequestOptions): Promise<JUHUU.HttpResponse<T>>;
|
546
546
|
private sendGetRequest;
|
547
547
|
private sendPostRequest;
|