@adhese/sdk-devtools 1.0.3-nightly-20260903125128 → 1.0.3
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/CHANGELOG.md +2 -4
- package/dist/cjs/package.json.cjs +1 -1
- package/dist/package.json.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @adhese/sdk-devtools
|
|
2
2
|
|
|
3
|
-
## 1.0.3
|
|
3
|
+
## 1.0.3
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- 3ba4427: Add support for identifying an ad's creative as empty (a no-fill/house banner) while still tracking the slot's position, without rendering it.
|
|
8
8
|
|
|
9
9
|
Call the new `processOnEmpty(ad)` overload from the `onRequest` hook, passing the ad you received, when its content indicates there's nothing real to show. This fires `onEmpty` immediately — as soon as the ad is known to be empty — while keeping the ad's data available so impression and viewability tracking pixels still fire once the slot actually renders; no creative is ever written to the element. `processOnEmpty()` called with no argument keeps its original behaviour: a hard empty (server returned no ad at all), with `status` becoming `empty` and nothing tracked.
|
|
10
10
|
|
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
Also fixes a pending viewability tracking pixel outliving a disposed slot: its dwell-time timer is now cancelled on `dispose()` instead of firing later regardless.
|
|
18
18
|
|
|
19
19
|
When an ad is marked empty, `render()` no longer clears the slot's element. Previously it called `cleanElement()` right before setting `status` to `rendered`, which wiped out any fallback content the app had rendered itself (e.g. from `onEmpty` or `onBeforeRender`) — defeating the purpose of firing `onEmpty` early. The SDK now only skips writing its own creative and leaves the element exactly as the app's hooks left it.
|
|
20
|
-
- Updated dependencies [23c5806]
|
|
21
|
-
- @adhese/sdk@1.12.0-nightly-20260903125128
|
|
22
20
|
|
|
23
21
|
## 1.0.2
|
|
24
22
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const name = "@adhese/sdk-devtools";
|
|
4
|
-
const version = "1.0.
|
|
4
|
+
const version = "1.0.3";
|
|
5
5
|
exports.name = name;
|
|
6
6
|
exports.version = version;
|
|
7
7
|
//# sourceMappingURL=package.json.cjs.map
|
package/dist/package.json.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adhese/sdk-devtools",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.3
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"description": "Adhese SDK Devtools",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"prepareRelease": "npm run build"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@adhese/sdk": "1.
|
|
30
|
+
"@adhese/sdk": ">=1.0.0",
|
|
31
31
|
"react": ">=16.13",
|
|
32
32
|
"react-dom": ">=16.13"
|
|
33
33
|
},
|