@xsolla/backpack-js 1.7.0 → 1.9.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/dist/types.d.ts CHANGED
@@ -188,11 +188,11 @@ export interface BackpackElementConfig {
188
188
  */
189
189
  pageBackground?: string;
190
190
  /**
191
- * Turns on Xsolla Metrika analytics (`enable-analytics` attribute).
192
- * Defaults to off.
191
+ * Xsolla Metrika analytics (`enable-analytics` attribute). Defaults to on;
192
+ * `enable-analytics="false"` turns it off.
193
193
  *
194
194
  * Metrika builds a device fingerprint, and the user's consent belongs to
195
- * the host, so it stays opt-in. If the page already runs Metrika, Backpack
195
+ * the host, so a host without it turns analytics off. If the page already runs Metrika, Backpack
196
196
  * reuses that instance; initialise it before this element mounts.
197
197
  * Otherwise Backpack starts its own without automatic page tracking.
198
198
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/backpack-js",
3
- "version": "1.7.0",
3
+ "version": "1.9.0",
4
4
  "description": "Framework-agnostic Xsolla Backpack Web Component — drop-in custom element for Angular, Vue, or vanilla HTML",
5
5
  "type": "module",
6
6
  "sideEffects": [