epistery 1.3.5 → 1.3.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/index.mjs CHANGED
@@ -42,6 +42,15 @@ class EpisteryAttach {
42
42
  this.domain = getDomainConfig(domain);
43
43
  }
44
44
 
45
+ /**
46
+ * Get the server wallet as an ethers.js Signer for the current domain.
47
+ * Used by OAuthServer, MCPServer, and agents that need signing capability.
48
+ */
49
+ get signer() {
50
+ if (!this.domainName) return null;
51
+ return Utils.InitServerWallet(this.domainName) || null;
52
+ }
53
+
45
54
  async attach(app, rootPath) {
46
55
  this.rootPath = rootPath || "/.well-known/epistery";
47
56
  app.locals.epistery = this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epistery",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
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",