@playcraft/adsdk 1.0.9 → 1.0.10

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/esm/index.js CHANGED
@@ -1441,7 +1441,7 @@ var _sdk = class _sdk {
1441
1441
  }
1442
1442
  };
1443
1443
  /** Current version of the SDK */
1444
- _sdk.version = "1.0.26";
1444
+ _sdk.version = "1.0.10";
1445
1445
  /** Current maximum width of the playable ad container in pixels */
1446
1446
  _sdk.maxWidth = Math.floor(window.innerWidth);
1447
1447
  /** Current maximum height of the playable ad container in pixels */
@@ -1466,7 +1466,7 @@ _sdk.interactions = 0;
1466
1466
  _sdk.successCount = 0;
1467
1467
  var sdk = _sdk;
1468
1468
  window["console"].log(
1469
- `%c @tencent/playable-sdk %c v${sdk.version} `,
1469
+ `%c @playcraft/adsdk %c v${sdk.version} `,
1470
1470
  "background: #007acc; color: #fff; font-size: 14px; padding: 4px 8px; border-top-left-radius: 4px; border-bottom-left-radius: 4px;",
1471
1471
  "background: #e1e4e8; color: #333; font-size: 14px; padding: 4px 8px; border-top-right-radius: 4px; border-bottom-right-radius: 4px;"
1472
1472
  );
@@ -1443,7 +1443,7 @@
1443
1443
  }
1444
1444
  };
1445
1445
  /** Current version of the SDK */
1446
- _sdk.version = "1.0.26";
1446
+ _sdk.version = "1.0.10";
1447
1447
  /** Current maximum width of the playable ad container in pixels */
1448
1448
  _sdk.maxWidth = Math.floor(window.innerWidth);
1449
1449
  /** Current maximum height of the playable ad container in pixels */
@@ -1468,7 +1468,7 @@
1468
1468
  _sdk.successCount = 0;
1469
1469
  var sdk = _sdk;
1470
1470
  window["console"].log(
1471
- `%c @tencent/playable-sdk %c v${sdk.version} `,
1471
+ `%c @playcraft/adsdk %c v${sdk.version} `,
1472
1472
  "background: #007acc; color: #fff; font-size: 14px; padding: 4px 8px; border-top-left-radius: 4px; border-bottom-left-radius: 4px;",
1473
1473
  "background: #e1e4e8; color: #333; font-size: 14px; padding: 4px 8px; border-top-right-radius: 4px; border-bottom-right-radius: 4px;"
1474
1474
  );
package/dist/index.js CHANGED
@@ -1472,7 +1472,7 @@ var _sdk = class _sdk {
1472
1472
  }
1473
1473
  };
1474
1474
  /** Current version of the SDK */
1475
- _sdk.version = "1.0.26";
1475
+ _sdk.version = "1.0.10";
1476
1476
  /** Current maximum width of the playable ad container in pixels */
1477
1477
  _sdk.maxWidth = Math.floor(window.innerWidth);
1478
1478
  /** Current maximum height of the playable ad container in pixels */
@@ -1497,7 +1497,7 @@ _sdk.interactions = 0;
1497
1497
  _sdk.successCount = 0;
1498
1498
  var sdk = _sdk;
1499
1499
  window["console"].log(
1500
- `%c @tencent/playable-sdk %c v${sdk.version} `,
1500
+ `%c @playcraft/adsdk %c v${sdk.version} `,
1501
1501
  "background: #007acc; color: #fff; font-size: 14px; padding: 4px 8px; border-top-left-radius: 4px; border-bottom-left-radius: 4px;",
1502
1502
  "background: #e1e4e8; color: #333; font-size: 14px; padding: 4px 8px; border-top-right-radius: 4px; border-bottom-right-radius: 4px;"
1503
1503
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playcraft/adsdk",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "统一的 Playable SDK,支持 MRAID、Google、Facebook、Vungle、BigoAds 等多广告渠道",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -15,8 +15,10 @@
15
15
  ],
16
16
  "scripts": {
17
17
  "build": "npx tsup",
18
- "test": "jest"
18
+ "test": "jest",
19
+ "publish": "npm run build && node scripts/publish.js"
19
20
  },
21
+ "author": "Tencent ADS Team",
20
22
  "license": "MIT",
21
23
  "devDependencies": {
22
24
  "@types/jest": "^29.5.14",
@@ -43,5 +45,8 @@
43
45
  "ironsource",
44
46
  "javascript-sdk",
45
47
  "typescript-sdk"
46
- ]
48
+ ],
49
+ "publishConfig": {
50
+ "registry": "https://mirrors.tencent.com/npm/"
51
+ }
47
52
  }