@hmscore/analytics-web
Advanced tools
Comparing version 5.2.0-300 to 5.3.1-300
@@ -53,2 +53,6 @@ export interface EventBody { | ||
setAppVersion(version: string): Promise<void>; | ||
getAAID(): Promise<string>; | ||
addDefaultEventParams(params?: { | ||
[key: string]: string | number | boolean | null; | ||
}): Promise<void>; | ||
} | ||
@@ -55,0 +59,0 @@ export interface Callback { |
{ | ||
"version": "5.2.0-300", | ||
"version": "5.3.1-300", | ||
"name": "@hmscore/analytics-web", | ||
@@ -8,3 +8,5 @@ "description": "HMS Analytics SDK", | ||
"quickapp": "./dist/openness/index.quickapp.js", | ||
"quickgame": "./dist/openness/index.quickgame.js", | ||
"miniprogram": "./dist/openness/index.miniprogram.js", | ||
"alipayminiprogram": "./dist/openness/index.alipayminiprogram.js", | ||
"umd": "./dist/openness/HiAnalytics.js", | ||
@@ -14,8 +16,12 @@ "scripts": { | ||
"prebuild": "npm run clean", | ||
"build": "rollup -c --environment version:openness,plat:web", | ||
"build": "rollup -c src/plugins/web/rollup.config.js --environment version:openness,plat:web", | ||
"prebuild:quickapp": "npm run clean", | ||
"build:quickapp": "rollup -c --environment version:openness,plat:quickapp", | ||
"build:quickapp": "rollup -c src/plugins/quickapp/rollup.config.js --environment version:openness,plat:quickapp", | ||
"postbuild:quickapp": "cp README-quickapp.md dist/openness/README.md", | ||
"prebuild:quickgame": "npm run clean", | ||
"build:quickgame": "rollup -c src/plugins/quickgame/rollup.config.js --environment version:openness,plat:quickgame", | ||
"prebuild:miniprogram": "npm run clean", | ||
"build:miniprogram": "rollup -c --environment version:openness,plat:miniprogram", | ||
"build:miniprogram": "rollup -c src/plugins/miniprogram/rollup.config.js --environment version:openness,plat:miniprogram", | ||
"prebuild:alipayminiprogram": "npm run clean", | ||
"build:alipayminiprogram": "rollup -c src/plugins/alipayminiprogram/rollup.config.js --environment version:openness,plat:alipayminiprogram", | ||
"build:OW": "rollup -c --environment version:openness,plat:web", | ||
@@ -31,4 +37,8 @@ "build:IW": "rollup -c --environment version:inner,plat:web", | ||
"dist/openness/index.quickapp.d.ts", | ||
"dist/openness/index.quickgame.js", | ||
"dist/openness/index.quickgame.d.ts", | ||
"dist/openness/index.miniprogram.js", | ||
"dist/openness/index.miniprogram.d.ts", | ||
"dist/openness/index.alipayminiprogram.js", | ||
"dist/openness/index.alipayminiprogram.d.ts", | ||
"dist/openness/src/openness/types.d.ts" | ||
@@ -58,8 +68,8 @@ ], | ||
"dependencies": { | ||
"babel-polyfill": "6.26.0", | ||
"@agconnect/api": "^1.2.1", | ||
"@agconnect/auth": "^1.2.1", | ||
"@agconnect/core": "^1.2.1", | ||
"@agconnect/instance": "^1.2.1", | ||
"babel-polyfill": "6.26.0" | ||
"@agconnect/instance": "^1.2.1" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
95700
9
539