@microsoft/ocsdk
Advanced tools
Comparing version 0.3.3-main.3b18e85 to 0.3.3-main.8a81a1c
@@ -0,3 +1,4 @@ | ||
import { RequestTimeoutConfig } from "../Common/RequestTimeoutConfig"; | ||
export default interface ISDKConfiguration { | ||
[key: string]: number | string | boolean | undefined; | ||
[key: string]: number | string | boolean | RequestTimeoutConfig | undefined; | ||
/** | ||
@@ -19,2 +20,10 @@ * Number of times a getchattoken request is retried. | ||
maxRequestRetriesOnFailure: number; | ||
/** | ||
* Default timeout for all requests | ||
*/ | ||
defaultRequestTimeout: number | undefined; | ||
/** | ||
* Individual Request timeouts | ||
*/ | ||
requestTimeoutConfig: RequestTimeoutConfig; | ||
} |
@@ -27,2 +27,3 @@ import FetchChatTokenResponse from "./Model/FetchChatTokenResponse"; | ||
private logger?; | ||
private static defaultRequestTimeoutConfig; | ||
private static defaultConfiguration; | ||
@@ -29,0 +30,0 @@ liveChatVersion: number; |
{ | ||
"name": "@microsoft/ocsdk", | ||
"version": "0.3.3-main.3b18e85", | ||
"version": "0.3.3-main.8a81a1c", | ||
"description": "Microsoft Omnichannel SDK", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
5697623
168
6582