epistery 1.5.4 → 1.5.5

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/index.mjs +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -75,7 +75,7 @@ class EpisteryAttach {
75
75
  // which is required for internal proxies (MCP loopback fetch).
76
76
  // Falls back to raw Host header for non-proxied requests.
77
77
  const hostname = req.hostname || req.headers.host?.split(":")[0] || "localhost";
78
- if (req.app.locals.epistery.domain?.name !== hostname) {
78
+ if (req.app.locals.epistery.domainName !== hostname) {
79
79
  await req.app.locals.epistery.setDomain(hostname);
80
80
  }
81
81
  next();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epistery",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
4
4
  "description": "Epistery brings blockchain capabilities to mundane web tasks like engagement metrics, authentication and commerce of all sorts.",
5
5
  "author": "Rootz Corp.",
6
6
  "license": "MIT",