@alleyboss/micropay-solana-x402-paywall 3.1.2 → 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.
- package/README.md +1 -0
- package/dist/next/index.cjs +1 -2
- package/dist/next/index.js +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/next/index.cjs
CHANGED
|
@@ -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);
|
package/dist/next/index.js
CHANGED
|
@@ -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