@ad-execute-manager/core 2.0.4 → 2.0.6

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.
@@ -115,6 +115,14 @@ export type ITaskResult = {
115
115
  * 广告结束类型
116
116
  */
117
117
  end_type?: "finished" | "halfway";
118
+ /**
119
+ * 是否看完广告
120
+ */
121
+ isEnded?: boolean;
122
+ /**
123
+ * 完整观看广告次数
124
+ */
125
+ count?: number;
118
126
  };
119
127
  declare class AdExecuteManager {
120
128
  /**
package/package.json CHANGED
@@ -1,69 +1,68 @@
1
- {
2
- "name": "@ad-execute-manager/core",
3
- "version": "2.0.4",
4
- "description": "Core functionality for ad execution management including AdExecuteManager, utility functions, and middleware composition.",
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://npmjs.com/package/@ad-execute-manager/core",
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": ">=14.0.0"
34
- },
35
- "keywords": [
36
- "core",
37
- "ad-manager",
38
- "ad-execution",
39
- "middleware",
40
- "compose",
41
- "utilities",
42
- "javascript",
43
- "nodejs"
44
- ],
45
- "scripts": {
46
- "build": "rslib build && tsc",
47
- "dev": "rslib build --watch",
48
- "format": "prettier --write .",
49
- "lint": "eslint .",
50
- "test": "rstest",
51
- "prepublishOnly": "npm run build"
52
- },
53
-
54
- "peerDependencies": {
55
- "@ad-execute-manager/logger": "^2.0.4"
56
- },
57
- "devDependencies": {
58
- "@babel/eslint-parser": "^7.28.5",
59
- "@babel/preset-env": "^7.28.5",
60
- "@eslint/js": "^9.39.1",
61
- "@rslib/core": "^0.18.5",
62
- "@rstest/core": "^0.7.2",
63
- "eslint": "^9.39.2",
64
- "eslint-plugin-import": "^2.32.0",
65
- "globals": "^16.5.0",
66
- "prettier": "^3.7.3",
67
- "typescript": "^5.9.3"
68
- }
69
- }
1
+ {
2
+ "name": "@ad-execute-manager/core",
3
+ "version": "2.0.6",
4
+ "description": "Core functionality for ad execution management including AdExecuteManager, utility functions, and middleware composition.",
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/@ad-execute-manager/core",
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": ">=14.0.0"
34
+ },
35
+ "keywords": [
36
+ "core",
37
+ "ad-manager",
38
+ "ad-execution",
39
+ "middleware",
40
+ "compose",
41
+ "utilities",
42
+ "javascript",
43
+ "nodejs"
44
+ ],
45
+ "scripts": {
46
+ "build": "rslib build && tsc",
47
+ "dev": "rslib build --watch",
48
+ "format": "prettier --write .",
49
+ "lint": "eslint .",
50
+ "test": "rstest",
51
+ "prepublishOnly": "npm i && npm run build"
52
+ },
53
+ "peerDependencies": {
54
+ "@ad-execute-manager/logger": "^2.0.5"
55
+ },
56
+ "devDependencies": {
57
+ "@babel/eslint-parser": "^7.28.5",
58
+ "@babel/preset-env": "^7.28.5",
59
+ "@eslint/js": "^9.39.1",
60
+ "@rslib/core": "^0.18.5",
61
+ "@rstest/core": "^0.7.2",
62
+ "eslint": "^9.39.2",
63
+ "eslint-plugin-import": "^2.32.0",
64
+ "globals": "^16.5.0",
65
+ "prettier": "^3.7.3",
66
+ "typescript": "^5.9.3"
67
+ }
68
+ }