x402-bch-axios 1.1.1 → 1.1.2

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.
Files changed (2) hide show
  1. package/index.js +2 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -130,6 +130,8 @@ async function sendPayment (signer, paymentRequirements, bchServerConfig = {}) {
130
130
  interface: apiType,
131
131
  restURL: bchServerURL
132
132
  })
133
+ // console.log(`sendPayment() - interface: ${apiType}, restURL: ${bchServerURL}, wif: ${signer.wif}, payTo: ${paymentRequirements.payTo}, paymentAmountSats: ${paymentAmountSats}`)
134
+ console.log(`Sending ${paymentAmountSats} for x402 API payment to ${paymentRequirements.payTo}`)
133
135
  await bchWallet.initialize()
134
136
 
135
137
  const retryQueue = new dependencies.RetryQueue()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x402-bch-axios",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Axios wrapper for x402 payment protocol with Bitcoin Cash (BCH) support.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "repository": "x402-bch/x402-bch-axios",
27
27
  "dependencies": {
28
28
  "@chris.troutner/retry-queue": "1.0.11",
29
- "minimal-slp-wallet": "6.1.0"
29
+ "minimal-slp-wallet": "7.0.2"
30
30
  },
31
31
  "devDependencies": {
32
32
  "c8": "10.1.3",