@kameleoon/react-sdk 4.0.3 → 4.1.0
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/README.md +56 -0
- package/dist/Feature.js +1 -1
- package/dist/Feature.js.map +1 -1
- package/dist/KameleoonContext.d.ts +1 -1
- package/dist/KameleoonProvider.d.ts +1 -1
- package/dist/KameleoonProvider.js +1 -1
- package/dist/KameleoonProvider.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/kameleoonClient.d.ts +2 -2
- package/dist/kameleoonClient.js +73 -5
- package/dist/kameleoonClient.js.map +1 -1
- package/dist/useActivateFeature.js +2 -4
- package/dist/useActivateFeature.js.map +1 -1
- package/dist/useAddData.d.ts +1 -1
- package/dist/useAsyncVisitorCode.d.ts +12 -0
- package/dist/useAsyncVisitorCode.js +56 -0
- package/dist/useAsyncVisitorCode.js.map +1 -0
- package/dist/useBrowser.d.ts +1 -1
- package/dist/useBrowser.js +3 -3
- package/dist/useBrowser.js.map +1 -1
- package/dist/useConversion.d.ts +1 -1
- package/dist/useConversion.js +2 -2
- package/dist/useConversion.js.map +1 -1
- package/dist/useCustomData.d.ts +1 -1
- package/dist/useCustomData.js +2 -2
- package/dist/useCustomData.js.map +1 -1
- package/dist/useDevice.d.ts +1 -1
- package/dist/useDevice.js +2 -2
- package/dist/useDevice.js.map +1 -1
- package/dist/useFeature.js +8 -11
- package/dist/useFeature.js.map +1 -1
- package/dist/useKameleoon.d.ts +1 -1
- package/dist/usePageView.d.ts +1 -1
- package/dist/usePageView.js +2 -2
- package/dist/usePageView.js.map +1 -1
- package/dist/withActivateFeature.js +1 -1
- package/dist/withActivateFeature.js.map +1 -1
- package/dist/withAddData.d.ts +1 -1
- package/dist/withAddData.js +3 -40
- package/dist/withAddData.js.map +1 -1
- package/dist/withAsyncVisitorCode.d.ts +15 -0
- package/dist/withAsyncVisitorCode.js +75 -0
- package/dist/withAsyncVisitorCode.js.map +1 -0
- package/dist/withBrowser.d.ts +1 -1
- package/dist/withBrowser.js +4 -4
- package/dist/withBrowser.js.map +1 -1
- package/dist/withConversion.d.ts +1 -1
- package/dist/withConversion.js +3 -3
- package/dist/withConversion.js.map +1 -1
- package/dist/withCustomData.d.ts +1 -1
- package/dist/withCustomData.js +3 -3
- package/dist/withCustomData.js.map +1 -1
- package/dist/withDevice.d.ts +1 -1
- package/dist/withDevice.js +3 -3
- package/dist/withDevice.js.map +1 -1
- package/dist/withFeature.js +1 -1
- package/dist/withFeature.js.map +1 -1
- package/dist/withFeatureVariable.js +1 -1
- package/dist/withFeatureVariable.js.map +1 -1
- package/dist/withFlush.js +1 -1
- package/dist/withFlush.js.map +1 -1
- package/dist/withKameleoon.d.ts +1 -1
- package/dist/withKameleoon.js +1 -1
- package/dist/withKameleoon.js.map +1 -1
- package/dist/withPageView.d.ts +1 -1
- package/dist/withPageView.js +3 -3
- package/dist/withPageView.js.map +1 -1
- package/dist/withRetrieveDataFromRemoteSource.js +1 -1
- package/dist/withRetrieveDataFromRemoteSource.js.map +1 -1
- package/dist/withRunWhenReady.js +1 -1
- package/dist/withRunWhenReady.js.map +1 -1
- package/dist/withTrackingConversion.js +1 -1
- package/dist/withTrackingConversion.js.map +1 -1
- package/dist/withTriggerExperiment.js +1 -1
- package/dist/withTriggerExperiment.js.map +1 -1
- package/dist/withVariationAssociatedData.js +1 -1
- package/dist/withVariationAssociatedData.js.map +1 -1
- package/dist/withVisitorCode.js +1 -1
- package/dist/withVisitorCode.js.map +1 -1
- package/package.json +7 -9
package/package.json
CHANGED
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kameleoon/react-sdk",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Kameleoon React SDK",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"build": "npm run clear && tsc",
|
|
10
|
+
"clean": "rimraf dist && rimraf tsconfig.tsbuildinfo",
|
|
11
|
+
"build": "npm run clean && tsc",
|
|
13
12
|
"deploy": "npm publish --tag latest --access public",
|
|
14
13
|
"deploy-nexus": "npm publish --registry=https://nexus.kameleoon.net/repository/npm-kameleoon/",
|
|
15
|
-
"release": "../../scripts/release.sh react-sdk",
|
|
16
|
-
"update-documentation": "../../scripts/update_documentation.sh react",
|
|
14
|
+
"release": "/bin/bash ../../scripts/release.sh react-sdk",
|
|
15
|
+
"update-documentation": "/bin/bash ../../scripts/update_documentation.sh react",
|
|
17
16
|
"test": "jest",
|
|
18
17
|
"test:watch": "jest --watch",
|
|
19
|
-
"test:coverage": "jest --coverage"
|
|
20
|
-
"test:update": "jest --updateSnapshot"
|
|
18
|
+
"test:coverage": "jest --coverage"
|
|
21
19
|
},
|
|
22
20
|
"homepage": "https://developers.kameleoon.com/react-js-sdk.html",
|
|
23
21
|
"publishConfig": {
|
|
@@ -36,7 +34,7 @@
|
|
|
36
34
|
},
|
|
37
35
|
"dependencies": {
|
|
38
36
|
"@types/validator": "^13.6.3",
|
|
39
|
-
"kameleoon-
|
|
37
|
+
"@kameleoon/javascript-sdk-core": "*",
|
|
40
38
|
"validator": "^13.6.0"
|
|
41
39
|
},
|
|
42
40
|
"devDependencies": {
|