{"_id":"@anypay/client","_rev":"1-cef9b18f993c40df7718e55db775c3bf","name":"@anypay/client","dist-tags":{"latest":"0.8.1"},"versions":{"0.8.0":{"name":"@anypay/client","version":"0.8.0","keywords":[],"author":"","license":"ISC","_id":"@anypay/client@0.8.0","maintainers":[{"name":"stevenzeiler","email":"me@stevenzeiler.com"},{"name":"anypayops","email":"ops@anypayx.com"}],"homepage":"https://github.com/anypay/anypay-sdk#readme","bugs":{"url":"https://github.com/anypay/anypay-sdk/issues"},"dist":{"shasum":"d2e26b105a453221f3ee878a59ec4779773091c3","tarball":"https://registry.npmjs.org/@anypay/client/-/client-0.8.0.tgz","fileCount":95,"integrity":"sha512-HEmlEwialKKoxtY7spBimfEX64EunmW170xtbZUqDu29IvBAiaaCzVEx98FWa6bMM3oVqwCbywt8YURnZBsuFQ==","signatures":[{"sig":"MEUCIF2EcbTpm5CeKT6UxTAeG5o6TBwESGhFOXbGJbXGv3rSAiEA7adjbYcBesOLGnPkpM+qN7grhwGvncF1DyjptjooJfc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":164346},"main":"dist/src/lib/index.js","types":"dist/src/lib/index.d.js","gitHead":"771b51996dcdb947717dba14e6441ca363c1c70e","scripts":{"test":"mocha --require=ts-node/register test/*.ts","build":"tsc","prepublish":"tsc"},"_npmUser":{"name":"stevenzeiler","email":"me@stevenzeiler.com"},"repository":{"url":"git+https://github.com/anypay/anypay-sdk.git","type":"git"},"_npmVersion":"9.8.1","description":"Anypay Enterprise Payments Platform","directories":{},"_nodeVersion":"18.18.2","dependencies":{"ws":"^8.13.0","joi":"^17.2.1","zod":"^3.22.4","chai":"^4.3.6","axios":"^0.27.2","mocha":"^8.1.1","nconf":"^0.12.0","dotenv":"^8.2.0","ts-node":"^9.0.0","@types/joi":"^14.3.4","chai-spies":"^1.0.0","superagent":"^6.0.0","typescript":"^4.0.2","@types/chai":"^4.3.3","@types/node":"^14.6.0","@types/mocha":"^8.0.3","chai-as-promised":"^7.1.1"},"_hasShrinkwrap":false,"devDependencies":{"bsv":"^1.5.6","bitcore-lib":"^10.0.2","@types/chai-as-promised":"^7.1.5"},"_npmOperationalInternal":{"tmp":"tmp/client_0.8.0_1712733652171_0.6316018870934732","host":"s3://npm-registry-packages"}},"0.8.1":{"name":"@anypay/client","version":"0.8.1","description":"Anypay Enterprise Payments Platform","main":"dist/src/lib/index.js","types":"dist/src/lib/index.d.js","repository":{"type":"git","url":"git+https://github.com/anypay/anypay-sdk.git"},"scripts":{"test":"mocha --require=ts-node/register test/*.ts","build":"tsc","prepublish":"tsc"},"keywords":[],"author":"","license":"ISC","dependencies":{"@types/chai":"^4.3.3","@types/joi":"^14.3.4","@types/mocha":"^8.0.3","@types/node":"^14.6.0","axios":"^0.27.2","chai":"^4.3.6","chai-as-promised":"^7.1.1","chai-spies":"^1.0.0","dotenv":"^8.2.0","joi":"^17.2.1","mocha":"^8.1.1","nconf":"^0.12.0","superagent":"^6.0.0","ts-node":"^9.0.0","typescript":"^4.0.2","ws":"^8.13.0","zod":"^3.22.4"},"devDependencies":{"@types/chai-as-promised":"^7.1.5","bitcore-lib":"^10.0.2","bsv":"^1.5.6"},"_id":"@anypay/client@0.8.1","gitHead":"db7855d38c812633638217d6b6b63da68a322305","bugs":{"url":"https://github.com/anypay/anypay-sdk/issues"},"homepage":"https://github.com/anypay/anypay-sdk#readme","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-ooY4AuytcU9PSWFfA5xs1TV+VFIG/0YyBQbROXM+VxXcz3u4ZMf9VCUvOJFXv9zpkQxrr/Wx8JciucWoLzxZfA==","shasum":"d16e57ca836129f11a6d6242781e8bbe36563f0e","tarball":"https://registry.npmjs.org/@anypay/client/-/client-0.8.1.tgz","fileCount":95,"unpackedSize":164596,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAK3/ymZVYG9el3eSu/hB+i58nigH0okAMP0620fAA7gIhAOepl5MozWJzLsMhxfML1UceEucY9wG1RP6dCEqDz9e9"}]},"_npmUser":{"name":"stevenzeiler","email":"me@stevenzeiler.com"},"directories":{},"maintainers":[{"name":"anypayops","email":"ops@anypayx.com"},{"name":"stevenzeiler","email":"me@stevenzeiler.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/client_0.8.1_1736830852181_0.5331909371445673"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-10T07:20:52.060Z","modified":"2025-01-14T05:00:52.550Z","0.8.0":"2024-04-10T07:20:52.351Z","0.8.1":"2025-01-14T05:00:52.360Z"},"bugs":{"url":"https://github.com/anypay/anypay-sdk/issues"},"license":"ISC","homepage":"https://github.com/anypay/anypay-sdk#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/anypay/anypay-sdk.git"},"description":"Anypay Enterprise Payments Platform","maintainers":[{"name":"anypayops","email":"ops@anypayx.com"},{"name":"stevenzeiler","email":"me@stevenzeiler.com"}],"readme":"\n# Anypay SDK For Typescript\n\n## Payment Requests\n\nYou may request payment to any one or more addresses.\n\nAll payments are directly peer to peer meaning anypay\nnever receives nor possesses your funds, nor does any\nother third party. All payments go directly to your desired\ndestination from the payer's wallet.\n\n```\nimport anypay from 'anypay'\n\nlet paymentRequest = await anypay.request([{\n\n  currency: 'BSV'\n\n  to: [{\n    address: '1C9jt1rdpjvhEgT7TirEnxrz2eVpS3vqfZ',\n    amount: 52.00\n    currency: 'USD'\n  }, {\n    address: '123AeiwXiYswoNrNRCvPekkKJYvoUzyxbC',\n    amount: 8.00\n    currency: 'USD'\n  }]\n\n}], {\n\n  webhook_url: 'https://ecommerce.mystore.com/anypay-webhooks',\n\n  redirect_url: 'https://mystore.com/checkout-complete/23if3oio',\n\n  secret: 'my-shared-secret-for-webhook-verification',\n\n  metadata: {\n\n    merchantImageUrl: 'https://bico.media/95a49bbd42717a80d6986181a8a9e8ade30fb9284ef0fb81f61a7de6228108d1.jpg'\n\n  }\n})\n```\n\n## Multi-Coin Requests\n\n```\nimport anypay from 'anypay'\n\nlet paymentRequest = await anypay.request([{\n\n  currency: 'BSV'\n\n  to: [{\n    address: '123AeiwXiYswoNrNRCvPekkKJYvoUzyxbC',\n    amount: 5200,\n    currency: 'ARS'\n  }]\n\n}, {\n\n  currency: 'BCH',\n\n  to: [{\n    address: 'bitcoincash:qz0umvn625yf3yqc3z0zzs86fly7ue7ejs0dkzrrak',\n    amount: 2600,\n    currency: 'ARS'\n  }, {\n    address: 'bitcoincash:qz0umvn625yf3yqc3z0zzs86fly7ue7ejs0dkzrrak',\n    amount: 2600,\n    currency: 'ARS'\n  }]\n\n}])\n\n```\n","readmeFilename":"README.md"}