rudder-sdk-js 2.45.1 → 2.46.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +13 -0
- package/dist/npm/content-script/index.cjs.js +1 -0
- package/dist/npm/content-script/index.d.ts +472 -0
- package/dist/npm/content-script/index.es.js +1 -0
- package/dist/npm/content-script/index.js +1 -0
- package/dist/npm/index.cjs.js +1 -1
- package/dist/npm/index.es.js +1 -1
- package/dist/npm/index.js +1 -1
- package/package.json +8 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "rudder-sdk-js",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.46.0",
|
4
4
|
"description": "RudderStack Javascript SDK",
|
5
5
|
"main": "dist/npm/index.js",
|
6
6
|
"module": "dist/npm/index.es.js",
|
@@ -9,6 +9,11 @@
|
|
9
9
|
"types": "./dist/npm/index.d.ts",
|
10
10
|
"import": "./dist/npm/index.es.js",
|
11
11
|
"require": "./dist/npm/index.js"
|
12
|
+
},
|
13
|
+
"./content-script": {
|
14
|
+
"types": "./dist/npm/index.d.ts",
|
15
|
+
"require": "./dist/npm/content-script/index.js",
|
16
|
+
"import": "./dist/npm/content-script/index.es.js"
|
12
17
|
}
|
13
18
|
},
|
14
19
|
"typesVersions": {
|
@@ -34,7 +39,8 @@
|
|
34
39
|
"build:browser:modern": "BROWSERSLIST_ENV=modern rollup --config rollup-configs/rollup.sdk.browser.mjs --environment VERSION:$npm_package_version,UGLIFY,PROD_DEBUG,ENV:prod",
|
35
40
|
"build:browser": "rollup --config rollup-configs/rollup.sdk.browser.mjs --environment VERSION:$npm_package_version,UGLIFY,PROD_DEBUG,ENV:prod",
|
36
41
|
"build:npm": "rollup --config rollup-configs/rollup.sdk.npm.mjs --environment VERSION:$npm_package_version,UGLIFY,ENV:prod,NPM",
|
37
|
-
"build:
|
42
|
+
"build:npm:content-script": "NO_EXTERNAL_HOST=true npm run build:npm",
|
43
|
+
"build:package": "npm run build:npm && npm run build:npm:content-script",
|
38
44
|
"build:browser:test": "npm run build:browser && sed 's/var rudderanalytics/rudderanalytics/g' dist/cdn/legacy/rudder-analytics.min.js > __mocks__/cdnSDK.js",
|
39
45
|
"test": "npm run build:browser:test && nx test --maxWorkers=50%",
|
40
46
|
"test:ci": "npm run build:browser:test && nx test --parallel=false --configuration=ci --runInBand --maxWorkers=1 --forceExit",
|