wolverine-ai 5.2.7 → 5.2.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wolverine-ai",
3
- "version": "5.2.7",
3
+ "version": "5.2.8",
4
4
  "description": "Self-healing Node.js server framework powered by AI. Catches crashes, diagnoses errors, generates fixes, verifies, and restarts — automatically.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -1,6 +1,11 @@
1
1
  const fs = require("fs");
2
2
  const path = require("path");
3
3
 
4
+ // Node 18 needs globalThis.crypto for CDP SDK (Ed25519 JWT signing)
5
+ if (!globalThis.crypto) {
6
+ globalThis.crypto = require("crypto").webcrypto;
7
+ }
8
+
4
9
  /**
5
10
  * x402 Fastify Plugin — add crypto payments to any route with one flag.
6
11
  *