wolverine-ai 5.2.5 → 5.2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wolverine-ai",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.6",
|
|
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": {
|
|
@@ -16,7 +16,7 @@ const USDC_BASE = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
|
16
16
|
|
|
17
17
|
let _payTo = null;
|
|
18
18
|
let _network = "eip155:8453";
|
|
19
|
-
let _facilitatorUrl = "https://x402.org/facilitator";
|
|
19
|
+
let _facilitatorUrl = "https://www.x402.org/facilitator";
|
|
20
20
|
|
|
21
21
|
async function x402Plugin(fastify, opts) {
|
|
22
22
|
_network = opts.network || _network;
|
|
@@ -44,8 +44,8 @@ async function x402Plugin(fastify, opts) {
|
|
|
44
44
|
if (!opts.facilitator) {
|
|
45
45
|
const isTestnet = _network.includes("84532") || _network.includes("11155");
|
|
46
46
|
_facilitatorUrl = isTestnet
|
|
47
|
-
? "https://x402.org/facilitator"
|
|
48
|
-
: "https://x402.org/facilitator"; //
|
|
47
|
+
? "https://www.x402.org/facilitator"
|
|
48
|
+
: "https://www.x402.org/facilitator"; // www. avoids 308 redirect from x402.org
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
if (_payTo) {
|