@peax/consent-core 0.9.3 → 0.10.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.
@@ -253,7 +253,7 @@ function createXhrInterceptor(target, rules, permissions, report) {
253
253
  if (args.length < 2) return Reflect.apply(nativeOpen, this, args);
254
254
  const method = domString(args[0]);
255
255
  const urlInput = domString(args[1]);
256
- const rest = args.slice(2, 5).map((value, index) => index === 0 ? value === void 0 || Boolean(value) : value == null ? null : domString(value));
256
+ const rest = args.slice(2, 5).map((value, index) => index === 0 ? Boolean(value) : value == null ? null : domString(value));
257
257
  let url;
258
258
  try {
259
259
  url = new target.URL(urlInput, target.document.baseURI);
package/dist/index.js CHANGED
@@ -355,7 +355,7 @@ function indexSnapshot({ currentAppPolicy, state }) {
355
355
  function snapshotRequirements(snapshot) {
356
356
  return Object.freeze(getMismatchedConsent(snapshot).map((requirement) => Object.freeze(requirement)));
357
357
  }
358
- var maxReentrantCommits = 100;
358
+ var maxReentrantCommits = 1e3;
359
359
  /** Creates an isolated runtime from decoded data; invalid input creates no instance. */
360
360
  function createConsent(input) {
361
361
  const result = validateWithSchema(createConsentOptionsSchema, input);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peax/consent-core",
3
- "version": "0.9.3",
3
+ "version": "0.10.0",
4
4
  "description": "Framework-independent consent state and runtime primitives.",
5
5
  "keywords": [
6
6
  "consent-management",