@alleyboss/micropay-solana-x402-paywall 3.3.9 → 3.3.10

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.
@@ -245,7 +245,6 @@ function createX402Middleware(config) {
245
245
  return async (req, ctx) => {
246
246
  const compatibleReq = new Proxy(req, {
247
247
  get(target, prop) {
248
- console.error(`[ProxyDebug] Access req.${String(prop)}`);
249
248
  if (prop === "url") {
250
249
  return target.nextUrl?.pathname || target.url;
251
250
  }
@@ -253,7 +252,6 @@ function createX402Middleware(config) {
253
252
  const headers = target.headers;
254
253
  return new Proxy(headers, {
255
254
  get(hTarget, hProp) {
256
- console.error(`[ProxyDebug] Access req.headers.${String(hProp)}`);
257
255
  if (typeof hProp === "string" && !["get", "set", "has", "delete", "entries", "keys", "values", "forEach", "append"].includes(hProp) && typeof hTarget[hProp] === "undefined") {
258
256
  return hTarget.get(hProp) || void 0;
259
257
  }
@@ -244,7 +244,6 @@ function createX402Middleware(config) {
244
244
  return async (req, ctx) => {
245
245
  const compatibleReq = new Proxy(req, {
246
246
  get(target, prop) {
247
- console.error(`[ProxyDebug] Access req.${String(prop)}`);
248
247
  if (prop === "url") {
249
248
  return target.nextUrl?.pathname || target.url;
250
249
  }
@@ -252,7 +251,6 @@ function createX402Middleware(config) {
252
251
  const headers = target.headers;
253
252
  return new Proxy(headers, {
254
253
  get(hTarget, hProp) {
255
- console.error(`[ProxyDebug] Access req.headers.${String(hProp)}`);
256
254
  if (typeof hProp === "string" && !["get", "set", "has", "delete", "entries", "keys", "values", "forEach", "append"].includes(hProp) && typeof hTarget[hProp] === "undefined") {
257
255
  return hTarget.get(hProp) || void 0;
258
256
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alleyboss/micropay-solana-x402-paywall",
3
- "version": "3.3.9",
3
+ "version": "3.3.10",
4
4
  "description": "Production-ready Solana micropayments library wrapper for official x402 SDK",
5
5
  "author": "AlleyBoss",
6
6
  "license": "MIT",