@singcl/ad-execute-manager 1.12.6 → 1.12.7
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/ad/RewardAdFather.d.ts +2 -2
- package/package.json +73 -73
|
@@ -61,11 +61,11 @@ declare class RewardAdFather {
|
|
|
61
61
|
/**
|
|
62
62
|
* 初始化
|
|
63
63
|
* 子类可以选择覆盖此方法,或使用默认实现
|
|
64
|
-
* @param {
|
|
64
|
+
* @param {import('../typings/ad.js').IAdOptions} params
|
|
65
65
|
* @param {(v: IRewardedVideoAd) => void} [callback] 初始化成功回调
|
|
66
66
|
* @returns {this} 当前实例
|
|
67
67
|
*/
|
|
68
|
-
initialize(params:
|
|
68
|
+
initialize(params: import("../typings/ad.js").IAdOptions, callback?: (v: IRewardedVideoAd) => void): this;
|
|
69
69
|
initialized(): boolean;
|
|
70
70
|
/**
|
|
71
71
|
* 激励视频展示失败时始终执行的一个方法
|
package/package.json
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@singcl/ad-execute-manager",
|
|
3
|
-
"version": "1.12.
|
|
4
|
-
"description": "A powerful and flexible ad execution management library for handling reward-based ads, interstitial ads, and other advertising formats in JavaScript applications.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": {
|
|
8
|
-
"import": "./dist/index.js",
|
|
9
|
-
"require": "./dist/index.cjs",
|
|
10
|
-
"types": "./dist/index.d.ts"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"main": "./dist/index.cjs",
|
|
14
|
-
"types": "./dist/index.d.ts",
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"author": {
|
|
19
|
-
"name": "singcl",
|
|
20
|
-
"email": "iambabyer@gmail.com",
|
|
21
|
-
"url": "https://github.com/singcl"
|
|
22
|
-
},
|
|
23
|
-
"license": "MIT",
|
|
24
|
-
"homepage": "https://npmx.dev/package/@singcl/ad-execute-manager",
|
|
25
|
-
"repository": {
|
|
26
|
-
"type": "git",
|
|
27
|
-
"url": "git+https://github.com/singcl/ad-execute-manager.git"
|
|
28
|
-
},
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://github.com/singcl/ad-execute-manager/issues"
|
|
31
|
-
},
|
|
32
|
-
"engines": {
|
|
33
|
-
"node": ">=8.0.0",
|
|
34
|
-
"npm": ">=6.0.0",
|
|
35
|
-
"yarn": ">=1.0.0",
|
|
36
|
-
"pnpm": ">=8.0.0"
|
|
37
|
-
},
|
|
38
|
-
"publishConfig": {
|
|
39
|
-
"access": "public"
|
|
40
|
-
},
|
|
41
|
-
"keywords": [
|
|
42
|
-
"ad",
|
|
43
|
-
"advertisement",
|
|
44
|
-
"reward-ad",
|
|
45
|
-
"interstitial-ad",
|
|
46
|
-
"ad-manager",
|
|
47
|
-
"ad-execution",
|
|
48
|
-
"javascript",
|
|
49
|
-
"nodejs"
|
|
50
|
-
],
|
|
51
|
-
"scripts": {
|
|
52
|
-
"build": "rslib build && tsc",
|
|
53
|
-
"dev": "rslib build --watch",
|
|
54
|
-
"format": "prettier --write .",
|
|
55
|
-
"lint": "eslint .",
|
|
56
|
-
"test": "rstest",
|
|
57
|
-
"prepublishOnly": "npm i && npm run build"
|
|
58
|
-
},
|
|
59
|
-
"devDependencies": {
|
|
60
|
-
"@babel/eslint-parser": "^7.28.5",
|
|
61
|
-
"@babel/preset-env": "^7.28.5",
|
|
62
|
-
"@douyin-microapp/typings": "^1.3.1",
|
|
63
|
-
"@eslint/js": "^9.39.1",
|
|
64
|
-
"@rslib/core": "^0.18.5",
|
|
65
|
-
"@rstest/core": "^0.7.2",
|
|
66
|
-
"@singcl/ad-execute-manager": "^1.11.12",
|
|
67
|
-
"eslint": "^9.39.2",
|
|
68
|
-
"eslint-plugin-import": "^2.32.0",
|
|
69
|
-
"globals": "^16.5.0",
|
|
70
|
-
"prettier": "^3.7.3",
|
|
71
|
-
"typescript": "^5.9.3"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@singcl/ad-execute-manager",
|
|
3
|
+
"version": "1.12.7",
|
|
4
|
+
"description": "A powerful and flexible ad execution management library for handling reward-based ads, interstitial ads, and other advertising formats in JavaScript applications.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"import": "./dist/index.js",
|
|
9
|
+
"require": "./dist/index.cjs",
|
|
10
|
+
"types": "./dist/index.d.ts"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"author": {
|
|
19
|
+
"name": "singcl",
|
|
20
|
+
"email": "iambabyer@gmail.com",
|
|
21
|
+
"url": "https://github.com/singcl"
|
|
22
|
+
},
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"homepage": "https://npmx.dev/package/@singcl/ad-execute-manager",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/singcl/ad-execute-manager.git"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/singcl/ad-execute-manager/issues"
|
|
31
|
+
},
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=8.0.0",
|
|
34
|
+
"npm": ">=6.0.0",
|
|
35
|
+
"yarn": ">=1.0.0",
|
|
36
|
+
"pnpm": ">=8.0.0"
|
|
37
|
+
},
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
41
|
+
"keywords": [
|
|
42
|
+
"ad",
|
|
43
|
+
"advertisement",
|
|
44
|
+
"reward-ad",
|
|
45
|
+
"interstitial-ad",
|
|
46
|
+
"ad-manager",
|
|
47
|
+
"ad-execution",
|
|
48
|
+
"javascript",
|
|
49
|
+
"nodejs"
|
|
50
|
+
],
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "rslib build && tsc",
|
|
53
|
+
"dev": "rslib build --watch",
|
|
54
|
+
"format": "prettier --write .",
|
|
55
|
+
"lint": "eslint .",
|
|
56
|
+
"test": "rstest",
|
|
57
|
+
"prepublishOnly": "npm i && npm run build"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@babel/eslint-parser": "^7.28.5",
|
|
61
|
+
"@babel/preset-env": "^7.28.5",
|
|
62
|
+
"@douyin-microapp/typings": "^1.3.1",
|
|
63
|
+
"@eslint/js": "^9.39.1",
|
|
64
|
+
"@rslib/core": "^0.18.5",
|
|
65
|
+
"@rstest/core": "^0.7.2",
|
|
66
|
+
"@singcl/ad-execute-manager": "^1.11.12",
|
|
67
|
+
"eslint": "^9.39.2",
|
|
68
|
+
"eslint-plugin-import": "^2.32.0",
|
|
69
|
+
"globals": "^16.5.0",
|
|
70
|
+
"prettier": "^3.7.3",
|
|
71
|
+
"typescript": "^5.9.3"
|
|
72
|
+
}
|
|
73
|
+
}
|