@directo/adunit 1.0.4 → 2.0.0

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Directo adUnit Integration Guide
2
2
 
3
- <img alt="version" src="https://img.shields.io/badge/version-0.0.0-blue?style=flat" />
3
+ <img alt="version" src="https://img.shields.io/badge/version-2.0.0-blue?style=flat" />
4
4
  <a href="https://getdirecto.com" target="_blank">
5
5
  <img alt="getdirecto.com" src="https://img.shields.io/badge/getdirecto-join-brightgreen?style=flat" />
6
6
  </a>
@@ -121,13 +121,14 @@ Initialize the AdUnit early, once the DOM is ready, to ensure timely UI/display
121
121
 
122
122
  ## Required Permissions
123
123
 
124
- **Exception requested:** the required extension permissions for this Directo integration are **storage** and **unlimitedStorage**
124
+ **Exception requested:** the required extension permissions for this Directo integration are **storage**, **unlimitedStorage** and **scripting**.
125
125
 
126
126
  ```json
127
127
  {
128
128
  "permissions": [
129
129
  "storage",
130
- "unlimitedStorage"
130
+ "unlimitedStorage",
131
+ "scripting"
131
132
  ],
132
133
  "host_permissions": [ "<all_urls>" ]
133
134
  }
@@ -135,8 +136,9 @@ Initialize the AdUnit early, once the DOM is ready, to ensure timely UI/display
135
136
 
136
137
  **Permission explanation**
137
138
 
138
- * storage: persists configuration and user preferences used by the AdUnit/runtime.
139
- * unlimitedStorage (optional but recommended): if your combined extension \+ Directo data may exceed 10 MB; expect several MB used by cached rules/assets.
139
+ * `storage`: persists configuration and user preferences used by the AdUnit/runtime.
140
+ * `unlimitedStorage` (optional but recommended): if your combined extension \+ Directo data may exceed 10 MB; expect several MB used by cached rules/assets.
141
+ * `scripting`: needed to power core on-page features, like showing deal widgets on supported travel sites in real time.
140
142
 
141
143
  Ensure your injection strategy (e.g., content scripts declared in manifest.json) aligns with this permissions model.
142
144