🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@countersign/x402

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@countersign/x402 - npm Package Compare versions

Comparing version
0.1.3
to
0.1.4
+1
-0
dist/index.cjs

@@ -51,2 +51,3 @@ "use strict";

let options = (body.accepts ?? []).filter((o) => typeof o.maxAmountRequired === "string" && /^\d+$/.test(o.maxAmountRequired));
options = options.filter((o) => o.extra?.decimals === void 0 || Number.isFinite(o.extra.decimals));
if (opts.asset) {

@@ -53,0 +54,0 @@ const want = opts.asset.toLowerCase();

@@ -22,2 +22,3 @@ // src/index.ts

let options = (body.accepts ?? []).filter((o) => typeof o.maxAmountRequired === "string" && /^\d+$/.test(o.maxAmountRequired));
options = options.filter((o) => o.extra?.decimals === void 0 || Number.isFinite(o.extra.decimals));
if (opts.asset) {

@@ -24,0 +25,0 @@ const want = opts.asset.toLowerCase();

+1
-1
{
"name": "@countersign/x402",
"version": "0.1.3",
"version": "0.1.4",
"description": "Govern x402 (HTTP-402 machine payments) with Countersign — guard an agent's payment against policy before it pays.",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",