@alleyboss/micropay-solana-x402-paywall 3.1.3 → 3.1.4

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.
@@ -161,8 +161,7 @@ function createX402Middleware(config) {
161
161
  scheme: "exact",
162
162
  payTo: config.walletAddress,
163
163
  amount: config.price?.toString() || "0",
164
- network: config.network === "mainnet-beta" ? "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" : "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
165
- asset: "native"
164
+ network: config.network === "mainnet-beta" ? "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" : "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1"
166
165
  }
167
166
  };
168
167
  return next.withX402(handler, finalConfig, server$2);
@@ -160,8 +160,7 @@ function createX402Middleware(config) {
160
160
  scheme: "exact",
161
161
  payTo: config.walletAddress,
162
162
  amount: config.price?.toString() || "0",
163
- network: config.network === "mainnet-beta" ? "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" : "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
164
- asset: "native"
163
+ network: config.network === "mainnet-beta" ? "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" : "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1"
165
164
  }
166
165
  };
167
166
  return withX402$1(handler, finalConfig, server);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alleyboss/micropay-solana-x402-paywall",
3
- "version": "3.1.3",
3
+ "version": "3.1.4",
4
4
  "description": "Production-ready Solana micropayments library wrapper for official x402 SDK",
5
5
  "author": "AlleyBoss",
6
6
  "license": "MIT",