@folklore/ads 0.0.116 → 0.0.118

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/cjs.js CHANGED
@@ -1264,6 +1264,7 @@ function Ad({
1264
1264
  [emptyClassName]: emptyClassName !== null && isEmpty && !keepSize
1265
1265
  }]),
1266
1266
  style: !withoutStyle ? containerStyle : null,
1267
+ suppressHydrationWarning: true,
1267
1268
  ref: refObserver,
1268
1269
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
1269
1270
  className: adClassName,
@@ -1272,11 +1273,13 @@ function Ad({
1272
1273
  ...adStyle
1273
1274
  },
1274
1275
  ref: adContainerRef,
1276
+ suppressHydrationWarning: true,
1275
1277
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
1276
1278
  id: id,
1277
1279
  className: classNames([{
1278
1280
  [richAdIframeClassName]: richAdIframeClassName !== null && isRendered && richAd !== null
1279
- }])
1281
+ }]),
1282
+ suppressHydrationWarning: true
1280
1283
  }), isRendered && richAd !== null ? /*#__PURE__*/jsxRuntime.jsx(RichAd, {
1281
1284
  richAd: richAd,
1282
1285
  isFluid: isFluid,
package/dist/es.js CHANGED
@@ -1262,6 +1262,7 @@ function Ad({
1262
1262
  [emptyClassName]: emptyClassName !== null && isEmpty && !keepSize
1263
1263
  }]),
1264
1264
  style: !withoutStyle ? containerStyle : null,
1265
+ suppressHydrationWarning: true,
1265
1266
  ref: refObserver,
1266
1267
  children: /*#__PURE__*/jsxs("div", {
1267
1268
  className: adClassName,
@@ -1270,11 +1271,13 @@ function Ad({
1270
1271
  ...adStyle
1271
1272
  },
1272
1273
  ref: adContainerRef,
1274
+ suppressHydrationWarning: true,
1273
1275
  children: [/*#__PURE__*/jsx("div", {
1274
1276
  id: id,
1275
1277
  className: classNames([{
1276
1278
  [richAdIframeClassName]: richAdIframeClassName !== null && isRendered && richAd !== null
1277
- }])
1279
+ }]),
1280
+ suppressHydrationWarning: true
1278
1281
  }), isRendered && richAd !== null ? /*#__PURE__*/jsx(RichAd, {
1279
1282
  richAd: richAd,
1280
1283
  isFluid: isFluid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@folklore/ads",
3
- "version": "0.0.116",
3
+ "version": "0.0.118",
4
4
  "description": "Ads library",
5
5
  "keywords": [
6
6
  "javascript",
@@ -53,7 +53,7 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "729e543ff89bac05964cdafb710eeb79d8e09362",
56
+ "gitHead": "e71e78fd794191d8db9b055b6f129815064155ea",
57
57
  "dependencies": {
58
58
  "@folklore/hooks": "^0.0.76",
59
59
  "@folklore/tracking": "^0.0.33",
package/types/Ad.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Ref } from 'react';
2
- import { AdSize, AdSizeMapping, AdsTargeting } from './types';
3
2
  import AdSlot from './AdSlot';
3
+ import { AdSize, AdSizeMapping, AdsTargeting } from './types';
4
4
  export interface AdProps {
5
5
  slot: string;
6
6
  path?: string | null;