From 756b62b87a215ef9b4f708e38dcda56ef7c3bc14 Mon Sep 17 00:00:00 2001 From: Michael Kawano Date: Thu, 9 Nov 2023 16:59:31 -0500 Subject: [PATCH 1/2] Change rewarded ads position to make it appear above other banners --- src/runtime/audience-action-local-flow.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/audience-action-local-flow.ts b/src/runtime/audience-action-local-flow.ts index eebaee5010..5979f58a27 100644 --- a/src/runtime/audience-action-local-flow.ts +++ b/src/runtime/audience-action-local-flow.ts @@ -151,7 +151,7 @@ export class AudienceActionLocalFlow implements AudienceActionFlow { 'transition': 'opacity 0.5s', 'top': '0', 'width': '100%', - 'z-index': '2147483646', + 'z-index': '2147483647', }); const shadow = wrapper.attachShadow({mode: 'open'}); @@ -642,7 +642,7 @@ export class AudienceActionLocalFlow implements AudienceActionFlow { async start() { this.renderLoadingView_(); - this.doc_.body.appendChild(this.wrapper_); + this.doc_.documentElement.appendChild(this.wrapper_); setStyle(this.doc_.body, 'overflow', 'hidden'); this.wrapper_.offsetHeight; // Trigger a repaint (to prepare the CSS transition). setImportantStyles(this.wrapper_, {'opacity': '1.0'}); From 7e79222e5e2bb5e77e79f34390964efcab9e9016 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 10 Nov 2023 19:15:59 +0000 Subject: [PATCH 2/2] Update Node.js to v20 (#3270) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7643742e01..5a93ec9e9d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -91,7 +91,7 @@ "watchify": "4.0.0" }, "engines": { - "node": "^18.0.0", + "node": "^20.0.0", "npm": "^10.0.0" }, "optionalDependencies": { diff --git a/package.json b/package.json index e79cfdd168..05e2ab578f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "Subscribe with Google", "main": "index.js", "engines": { - "node": "^18.0.0", + "node": "^20.0.0", "npm": "^10.0.0" }, "author": "Subscribe with Google Authors",