@puga-labs/x402-mantle-sdk 0.3.5 → 0.3.7

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/dist/react.d.ts CHANGED
@@ -44,7 +44,7 @@ declare function useMantleX402(opts?: UseMantleX402Options): MantleClient;
44
44
  interface UseEthersWalletOptions {
45
45
  /**
46
46
  * Auto-connect to existing MetaMask connection on mount.
47
- * @default true
47
+ * @default false
48
48
  */
49
49
  autoConnect?: boolean;
50
50
  }
package/dist/react.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  useEthersWallet,
3
3
  useMantleX402
4
- } from "./chunk-23QNUJIB.js";
5
- import "./chunk-E46A7I6B.js";
4
+ } from "./chunk-26OQ36EN.js";
5
+ import "./chunk-7SOCLVGM.js";
6
6
  import "./chunk-HEZZ74SI.js";
7
7
  export {
8
8
  useEthersWallet,
@@ -109,7 +109,7 @@ function usdCentsToAtomic(cents, decimals) {
109
109
  }
110
110
 
111
111
  // src/server/constants.ts
112
- var DEFAULT_TELEMETRY_ENDPOINT = void 0;
112
+ var DEFAULT_TELEMETRY_ENDPOINT = "https://x402mantlesdk.xyz/api/telemetry/settled";
113
113
 
114
114
  // src/server/telemetry.ts
115
115
  function createTelemetryEvent(entry, config) {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createPaymentMiddleware,
3
3
  mantlePaywall
4
- } from "./chunk-QWQUSRLY.js";
5
- import "./chunk-ZLCKBFVJ.js";
4
+ } from "./chunk-MBJTUNDL.js";
5
+ import "./chunk-EKEVUVF3.js";
6
6
  import {
7
7
  MANTLE_DEFAULTS
8
8
  } from "./chunk-HEZZ74SI.js";
@@ -112,7 +112,7 @@ function usdCentsToAtomic(cents, decimals) {
112
112
  }
113
113
 
114
114
  // src/server/constants.ts
115
- var DEFAULT_TELEMETRY_ENDPOINT = void 0;
115
+ var DEFAULT_TELEMETRY_ENDPOINT = "https://x402mantlesdk.xyz/api/telemetry/settled";
116
116
 
117
117
  // src/server/telemetry.ts
118
118
  function createTelemetryEvent(entry, config) {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  isPaywallErrorResponse,
3
3
  mantlePaywall
4
- } from "./chunk-IT6VV6YL.js";
5
- import "./chunk-ZLCKBFVJ.js";
4
+ } from "./chunk-5TTSYEOF.js";
5
+ import "./chunk-EKEVUVF3.js";
6
6
  import {
7
7
  MANTLE_DEFAULTS
8
8
  } from "./chunk-HEZZ74SI.js";
@@ -108,7 +108,7 @@ function usdCentsToAtomic(cents, decimals) {
108
108
  }
109
109
 
110
110
  // src/server/constants.ts
111
- var DEFAULT_TELEMETRY_ENDPOINT = void 0;
111
+ var DEFAULT_TELEMETRY_ENDPOINT = "https://x402mantlesdk.xyz/api/telemetry/settled";
112
112
 
113
113
  // src/server/telemetry.ts
114
114
  function createTelemetryEvent(entry, config) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  mantlePaywall
3
- } from "./chunk-ZROK2XOB.js";
4
- import "./chunk-ZLCKBFVJ.js";
3
+ } from "./chunk-F2OTZ3BB.js";
4
+ import "./chunk-EKEVUVF3.js";
5
5
  import {
6
6
  MANTLE_DEFAULTS
7
7
  } from "./chunk-HEZZ74SI.js";
package/dist/server.cjs CHANGED
@@ -118,7 +118,7 @@ function usdCentsToAtomic(cents, decimals) {
118
118
  }
119
119
 
120
120
  // src/server/constants.ts
121
- var DEFAULT_TELEMETRY_ENDPOINT = void 0;
121
+ var DEFAULT_TELEMETRY_ENDPOINT = "https://x402mantlesdk.xyz/api/telemetry/settled";
122
122
 
123
123
  // src/server/telemetry.ts
124
124
  function createTelemetryEvent(entry, config) {
package/dist/server.js CHANGED
@@ -3,13 +3,13 @@ import {
3
3
  createPaymentMiddleware,
4
4
  express_exports,
5
5
  mantlePaywall
6
- } from "./chunk-QWQUSRLY.js";
6
+ } from "./chunk-MBJTUNDL.js";
7
7
  import {
8
8
  nextjs_exports
9
- } from "./chunk-IT6VV6YL.js";
9
+ } from "./chunk-5TTSYEOF.js";
10
10
  import {
11
11
  web_standards_exports
12
- } from "./chunk-ZROK2XOB.js";
12
+ } from "./chunk-F2OTZ3BB.js";
13
13
  import {
14
14
  DEFAULT_TELEMETRY_ENDPOINT,
15
15
  buildRouteKey,
@@ -18,7 +18,7 @@ import {
18
18
  decodePaymentHeader,
19
19
  sendTelemetry,
20
20
  validateAddress
21
- } from "./chunk-ZLCKBFVJ.js";
21
+ } from "./chunk-EKEVUVF3.js";
22
22
  import "./chunk-HEZZ74SI.js";
23
23
  export {
24
24
  DEFAULT_TELEMETRY_ENDPOINT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@puga-labs/x402-mantle-sdk",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "x402 payments SDK for Mantle (USDC, gasless, facilitator-based)",
5
5
  "license": "MIT",
6
6
  "author": "Evgenii Pugachev <cyprus.pugamuga@gmail.com>",