You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -32,75 +32,11 @@ export function disposeAllClients(): void {
32
32
configcatcommon.disposeAllClients();
33
33
}
34
34
35
-
/**
36
-
* Create an instance of ConfigCatClient and setup Auto polling with default options.
37
-
* @param {string} sdkkey - SDK Key to access your configuration.
38
-
* @param options - Options for Auto polling
39
-
* @deprecated This function is obsolete and will be removed from the public API in a future major version. To obtain a ConfigCatClient instance with auto polling for a specific SDK Key, please use the 'getClient(sdkKey, PollingMode.AutoPoll, options, ...)' format.
* Create an instance of ConfigCatClient and setup Auto polling.
47
-
* @param {string} sdkkey - SDK Key to access your configuration.
48
-
* @param options - Options for Auto polling
49
-
* @deprecated This function is obsolete and will be removed from the public API in a future major version. To obtain a ConfigCatClient instance with auto polling for a specific SDK Key, please use the 'getClient(sdkKey, PollingMode.AutoPoll, options, ...)' format.
* Create an instance of ConfigCatClient and setup Manual polling.
65
-
* @param {string} sdkKey - SDK Key to access your configuration.
66
-
* @param options - Options for Manual polling
67
-
* @deprecated This function is obsolete and will be removed from the public API in a future major version. To obtain a ConfigCatClient instance with manual polling for a specific SDK Key, please use the 'getClient(sdkKey, PollingMode.ManualPoll, options, ...)' format.
* Create an instance of ConfigCatClient and setup Lazy loading.
83
-
* @param {string} sdkKey - SDK Key to access your configuration.
84
-
* @param options - Options for Lazy loading
85
-
* @deprecated This function is obsolete and will be removed from the public API in a future major version. To obtain a ConfigCatClient instance with lazy loading for a specific SDK Key, please use the 'getClient(sdkKey, PollingMode.LazyLoad, options, ...)' format.
assert.isDefined(logger.messages.find(([level,msg])=>level===LogLevel.Error&&msg.startsWith("Unexpected HTTP response was received:")));
92
+
assert.isDefined(logger.messages.find(([level,msg])=>level===LogLevel.Error&&msg.startsWith("Unexpected HTTP response was received while trying to fetch config JSON:")));
assert.isDefined(logger.messages.find(([level,msg])=>level===LogLevel.Error&&msg.startsWith("Request failed due to a network or protocol error.")));
122
+
assert.isDefined(logger.messages.find(([level,msg])=>level===LogLevel.Error&&msg.startsWith("Unexpected error occurred while trying to fetch config JSON.")));
0 commit comments