@kameleoon/react-sdk 7.5.1 → 7.5.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/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/kameleoonClient.js +1 -1
- package/package.json +2 -2
package/dist/constants.d.ts
CHANGED
package/dist/constants.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NUMBER_OF_RETRIES=exports.DELAY_MILLISECONDS=void 0;var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NUMBER_OF_RETRIES=exports.DELAY_MILLISECONDS=void 0;var DELAY_MILLISECONDS=2e3;exports.DELAY_MILLISECONDS=2000;var NUMBER_OF_RETRIES=3;exports.NUMBER_OF_RETRIES=3;
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","names":["
|
|
1
|
+
{"version":3,"file":"constants.js","names":["DELAY_MILLISECONDS","exports","NUMBER_OF_RETRIES"],"sources":["../src/constants.ts"],"sourcesContent":["export const DELAY_MILLISECONDS = 2000;\nexport const NUMBER_OF_RETRIES = 3;\n"],"mappings":"gIAAO,GAAM,CAAAA,kBAAkB,CAAG,GAAI,CAACC,OAAA,CAAAD,kBAAA,MAChC,GAAM,CAAAE,iBAAiB,CAAG,CAAC,CAACD,OAAA,CAAAC,iBAAA"}
|
package/dist/kameleoonClient.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Creates an instance of KameleoonClient
|
|
3
3
|
* @param {string} siteCode - client's siteCode defined on Kameleoon platform
|
|
4
4
|
* @param {Partial<SDKConfigurationType> | undefined} configuration - client's configuration
|
|
5
|
-
*/function createClient(a,b){var c="undefined"!=typeof window&&!!window.document,d=c?new _storage.LocalStorageConstructor:new _storage.NativeStorageConstructor,e=c?new _eventSource.BrowserEventSourceConstructor:new _eventSource.NativeEventSourceConstructor,f=new _requester.RequestDispatcher,g=new _javascriptSdkCore.KameleoonCore({siteCode:a,configuration:b,internalConfiguration:{externalStorage:d,externalEventSource:e,externalRequestDispatcher:f,externalPackageInfo:{type:_javascriptSdkCore.SdkLanguageType.REACT,version:"7.5.
|
|
5
|
+
*/function createClient(a,b){var c="undefined"!=typeof window&&!!window.document,d=c?new _storage.LocalStorageConstructor:new _storage.NativeStorageConstructor,e=c?new _eventSource.BrowserEventSourceConstructor:new _eventSource.NativeEventSourceConstructor,f=new _requester.RequestDispatcher,g=new _javascriptSdkCore.KameleoonCore({siteCode:a,configuration:b,internalConfiguration:{externalStorage:d,externalEventSource:e,externalRequestDispatcher:f,externalPackageInfo:{type:_javascriptSdkCore.SdkLanguageType.REACT,version:"7.5.2"}}});return g}
|
|
6
6
|
//# sourceMappingURL=kameleoonClient.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kameleoon/react-sdk",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.2",
|
|
4
4
|
"description": "Kameleoon React SDK",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@types/validator": "^13.7.14",
|
|
54
54
|
"jest": "^27.3.1",
|
|
55
55
|
"jest-environment-jsdom": "^27.0.0",
|
|
56
|
-
"node-fetch": "2.
|
|
56
|
+
"node-fetch": "2.7.0",
|
|
57
57
|
"react": "^17.0.2",
|
|
58
58
|
"rimraf": "^3.0.2",
|
|
59
59
|
"typescript": "^4.4.4"
|