bunnyquery 1.9.5 → 1.9.7

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.
Files changed (2) hide show
  1. package/bunnyquery.js +4 -4
  2. package/package.json +1 -1
package/bunnyquery.js CHANGED
@@ -6603,7 +6603,7 @@ Index the REMAINING windows - one record per row/item, looking at any page image
6603
6603
  (function() {
6604
6604
  var MCP_PROD = "https://mcp.broadwayinc.computer";
6605
6605
  var MCP_DEV = "https://mcp-dev.broadwayinc.computer";
6606
- var BQ_VERSION = "1.9.5" ;
6606
+ var BQ_VERSION = "1.9.7" ;
6607
6607
  var ATTACHMENT_URL_EXPIRES_SECONDS = 600;
6608
6608
  var GOOGLE_AUTH_URL = "https://accounts.google.com/o/oauth2/v2/auth";
6609
6609
  var GOOGLE_TOKEN_URL = "https://oauth2.googleapis.com/token";
@@ -6779,8 +6779,8 @@ Index the REMAINING windows - one record per row/item, looking at any page image
6779
6779
  function anonymousAllowed() {
6780
6780
  if (S.opts && typeof S.opts.allowAnonymous === "boolean") return S.opts.allowAnonymous;
6781
6781
  var conf = S.service && S.service.conf || null;
6782
- if (!conf || typeof conf.prevent_anonymous === "undefined") return false;
6783
- return !conf.prevent_anonymous;
6782
+ if (!conf) return false;
6783
+ return conf.require_login === false;
6784
6784
  }
6785
6785
  function isAnonymousSession() {
6786
6786
  return !S.user && anonymousAllowed();
@@ -11045,7 +11045,7 @@ Index the REMAINING windows - one record per row/item, looking at any page image
11045
11045
  // client-side attachment parsers, e.g. [createHwpParser()]
11046
11046
  // Open the chat with no login for visitors without an account.
11047
11047
  // null → follow the project's own "Allow anonymous users" setting
11048
- // (getConnectionInfo().conf.prevent_anonymous); true/false pins it.
11048
+ // (getConnectionInfo().conf.require_login); true/false pins it.
11049
11049
  allowAnonymous: null,
11050
11050
  // Server-driven windowed indexing; read at configureChatEngine time.
11051
11051
  // Listed here so the defaults object is the full opt surface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunnyquery",
3
- "version": "1.9.5",
3
+ "version": "1.9.7",
4
4
  "description": "Embeddable BunnyQuery AI chat widget + its framework-agnostic chat engine",
5
5
  "main": "bunnyquery.js",
6
6
  "exports": {