@adhese/sdk 0.15.0 → 0.16.1

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 CHANGED
@@ -1,5 +1,26 @@
1
1
  # @adhese/sdk
2
2
 
3
+ ## 0.16.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 1164c2b: Move Zod validators to seperate exports
8
+
9
+ ## 0.16.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 4cb01f8: Move all slot callbacks to the setup function
14
+ - 4cb01f8: Expose cleanElement function to slot
15
+ - dfe44af: Add device field to Adhese instance that shows the current active device that is selected in by the query detector
16
+ - 4cb01f8: Add onBeforeRequest hook to slots
17
+ - 4cb01f8: Rename ad property to data to allow more generic data in slots
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [4cb01f8]
22
+ - @adhese/sdk-shared@0.5.0
23
+
3
24
  ## 0.15.0
4
25
 
5
26
  ### Minor Changes
package/README.md CHANGED
@@ -81,7 +81,6 @@ The `createAdhese` function accepts the following options:
81
81
  | `logUrl` | `boolean` | `true` | Will log the `location.href` to the Adhese API in a `BASE64` string with the `ur` parameter. |'
82
82
  | `eagerRendering` | `boolean` | `false` | Will render the ad as soon as it is fetched. In general it is recommended to keep this `false` for better performance. |
83
83
  | `queries` | `Record<string, string>` | `{mobile: '(max-width: 768px) and (pointer: coarse)',tablet: '(min-width: 769px) and (max-width: 1024px) and (pointer: coarse)',desktop: '(min-width: 1025px) and (pointer: fine)',}` | Will be used to determine the device type and screen size. The matching query key will be passed in the `dt` and `br` parameter. |
84
- | `safeframe` | `boolean` | `false` | Enable Safeframe rendering. See [Safeframe usage](/safeframe) for details |
85
84
  | `plugins` | `ReadonlyArray<(context: AdheseContext) => void>` | `[]` | The plugins that are used for the Adhese instance. These plugins are called with the Adhese context and run during the initialization of the Adhese instance. |
86
85
 
87
86
  \* Required