jwtbutler 1.9.5 → 1.9.6

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
@@ -70,7 +70,8 @@ const api = new jwtbutler({
70
70
  /* ... */
71
71
  captcha: {
72
72
  provider: 'hcaptcha',
73
- sitekey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
73
+ sitekey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
74
+ theme: 'light'
74
75
  }
75
76
  });
76
77
  ```
@@ -465,7 +465,8 @@ class jwtbutler {
465
465
  return;
466
466
  }
467
467
  captcha.setAttribute('data-widget-id', window.hcaptcha.render(captcha, {
468
- sitekey: this.config.captcha.sitekey
468
+ sitekey: this.config.captcha.sitekey,
469
+ theme: this.config.captcha.theme || 'light'
469
470
  }));
470
471
  resolve();
471
472
  }).catch(error => {
package/package.json CHANGED
@@ -81,7 +81,7 @@
81
81
  "jest-environment-node": "30.4.1"
82
82
  },
83
83
  "name": "jwtbutler",
84
- "version": "1.9.5",
84
+ "version": "1.9.6",
85
85
  "description": "",
86
86
  "main": "_js/_build/script.js",
87
87
  "files": [