@x402/paywall 2.5.0 → 2.6.0

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.
@@ -1,4 +1,4 @@
1
- import { P as PaywallNetworkHandler } from '../types-CHiWR9_p.cjs';
1
+ import { P as PaywallNetworkHandler } from '../types-NmgBD8WD.cjs';
2
2
 
3
3
  /**
4
4
  * EVM paywall handler that supports EVM-based networks (CAIP-2 format only)
@@ -1,5 +1,5 @@
1
- import { P as PaywallNetworkHandler, a as PaywallConfig, b as PaywallProvider } from './types-CHiWR9_p.cjs';
2
- export { c as PaymentRequired, d as PaymentRequirements } from './types-CHiWR9_p.cjs';
1
+ import { P as PaywallNetworkHandler, a as PaywallConfig, b as PaywallProvider } from './types-NmgBD8WD.cjs';
2
+ export { c as PaymentRequired, d as PaymentRequirements } from './types-NmgBD8WD.cjs';
3
3
  export { evmPaywall } from './evm/index.cjs';
4
4
  export { svmPaywall } from './svm/index.cjs';
5
5
 
@@ -1,4 +1,4 @@
1
- import { P as PaywallNetworkHandler } from '../types-CHiWR9_p.cjs';
1
+ import { P as PaywallNetworkHandler } from '../types-NmgBD8WD.cjs';
2
2
 
3
3
  /**
4
4
  * SVM paywall handler that supports Solana-based networks (CAIP-2 format only)
@@ -31,8 +31,8 @@ interface PaymentRequired {
31
31
  error?: string;
32
32
  resource?: {
33
33
  url: string;
34
- description: string;
35
- mimeType: string;
34
+ description?: string;
35
+ mimeType?: string;
36
36
  };
37
37
  accepts: PaymentRequirements[];
38
38
  extensions?: Record<string, unknown>;
@@ -1,4 +1,4 @@
1
- import { P as PaywallNetworkHandler } from '../types-CHiWR9_p.js';
1
+ import { P as PaywallNetworkHandler } from '../types-NmgBD8WD.js';
2
2
 
3
3
  /**
4
4
  * EVM paywall handler that supports EVM-based networks (CAIP-2 format only)
@@ -1,5 +1,5 @@
1
- import { P as PaywallNetworkHandler, a as PaywallConfig, b as PaywallProvider } from './types-CHiWR9_p.js';
2
- export { c as PaymentRequired, d as PaymentRequirements } from './types-CHiWR9_p.js';
1
+ import { P as PaywallNetworkHandler, a as PaywallConfig, b as PaywallProvider } from './types-NmgBD8WD.js';
2
+ export { c as PaymentRequired, d as PaymentRequirements } from './types-NmgBD8WD.js';
3
3
  export { evmPaywall } from './evm/index.js';
4
4
  export { svmPaywall } from './svm/index.js';
5
5
 
@@ -1,4 +1,4 @@
1
- import { P as PaywallNetworkHandler } from '../types-CHiWR9_p.js';
1
+ import { P as PaywallNetworkHandler } from '../types-NmgBD8WD.js';
2
2
 
3
3
  /**
4
4
  * SVM paywall handler that supports Solana-based networks (CAIP-2 format only)
@@ -31,8 +31,8 @@ interface PaymentRequired {
31
31
  error?: string;
32
32
  resource?: {
33
33
  url: string;
34
- description: string;
35
- mimeType: string;
34
+ description?: string;
35
+ mimeType?: string;
36
36
  };
37
37
  accepts: PaymentRequirements[];
38
38
  extensions?: Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x402/paywall",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "main": "./dist/cjs/index.js",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -38,15 +38,15 @@
38
38
  "vite": "^6.2.6",
39
39
  "vite-tsconfig-paths": "^5.1.4",
40
40
  "vitest": "^3.0.5",
41
- "@x402/evm": "~2.5.0",
42
- "@x402/svm": "~2.5.0"
41
+ "@x402/evm": "~2.6.0",
42
+ "@x402/svm": "~2.6.0"
43
43
  },
44
44
  "dependencies": {
45
45
  "@scure/base": "^1.2.6",
46
46
  "@solana-program/compute-budget": "^0.8.0",
47
47
  "@solana-program/token": "^0.5.1",
48
48
  "@solana-program/token-2022": "^0.4.2",
49
- "@solana/kit": "^2.1.1",
49
+ "@solana/kit": "^6.1.0",
50
50
  "@solana/transaction-confirmation": "^2.1.1",
51
51
  "@solana/wallet-standard-features": "^1.3.0",
52
52
  "@tanstack/react-query": "^5.90.7",
@@ -58,7 +58,7 @@
58
58
  "viem": "^2.39.3",
59
59
  "wagmi": "^2.17.1",
60
60
  "zod": "^3.24.2",
61
- "@x402/core": "~2.5.0"
61
+ "@x402/core": "~2.6.0"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "react": "^19.0.0",