New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@moneybutton/paymail-client

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moneybutton/paymail-client - npm Package Compare versions

Comparing version 0.36.0 to 0.37.0

15

dist/paymail-client.cjs.js

@@ -18,4 +18,4 @@ 'use strict';

publicProfile: brfc.brfc('Public Profile (Name & Avatar)', ['Ryan X. Charles (Money Button)'], '1'),
receiveTransaction: brfc.brfc('Send raw transaction', ['Miguel Duarte (Money Button)', 'Ryan X. Charles (Money Button)', 'Ivan Mlinaric (Handcash)', 'Rafa (Handcash)'], '1'),
p2pPaymentDestination: brfc.brfc('Get no monitored payment destination (p2p payment destination)', ['Miguel Duarte (Money Button)', 'Ryan X. Charles (Money Button)', 'Ivan Mlinaric (Handcash)', 'Rafa (Handcash)'], '1')
receiveTransaction: brfc.brfc('Send raw transaction', ['Miguel Duarte (Money Button)', 'Ryan X. Charles (Money Button)', 'Ivan Mlinaric (Handcash)', 'Rafa (Handcash)'], '1.1'),
p2pPaymentDestination: brfc.brfc('Get no monitored payment destination (p2p payment destination)', ['Miguel Duarte (Money Button)', 'Ryan X. Charles (Money Button)', 'Ivan Mlinaric (Handcash)', 'Rafa (Handcash)'], '1.1')
};

@@ -371,6 +371,7 @@

buildBodySendTx(hexTransaction, metadata) {
buildBodySendTx(hexTransaction, reference, metadata) {
return {
hex: hexTransaction,
metadata
metadata,
reference
};

@@ -594,3 +595,3 @@ }

async sendRawTx(targetPaymail, hexTransaction, metadata = {}) {
async sendRawTx(targetPaymail, hexTransaction, reference, metadata = {}) {
if (!hexTransaction) {

@@ -601,3 +602,3 @@ throw new Error('transaction hex cannot be empty');

let receiveTxUrl = await this.resolver.getSendTxUrlFor(targetPaymail);
const response = await this.http.postJson(receiveTxUrl, this.requestBodyFactory.buildBodySendTx(hexTransaction, metadata));
const response = await this.http.postJson(receiveTxUrl, this.requestBodyFactory.buildBodySendTx(hexTransaction, reference, metadata));

@@ -631,3 +632,3 @@ if (!response.ok) {

return body.outputs;
return body;
}

@@ -634,0 +635,0 @@

@@ -12,4 +12,4 @@ import { brfc } from '@moneybutton/brfc';

publicProfile: brfc('Public Profile (Name & Avatar)', ['Ryan X. Charles (Money Button)'], '1'),
receiveTransaction: brfc('Send raw transaction', ['Miguel Duarte (Money Button)', 'Ryan X. Charles (Money Button)', 'Ivan Mlinaric (Handcash)', 'Rafa (Handcash)'], '1'),
p2pPaymentDestination: brfc('Get no monitored payment destination (p2p payment destination)', ['Miguel Duarte (Money Button)', 'Ryan X. Charles (Money Button)', 'Ivan Mlinaric (Handcash)', 'Rafa (Handcash)'], '1')
receiveTransaction: brfc('Send raw transaction', ['Miguel Duarte (Money Button)', 'Ryan X. Charles (Money Button)', 'Ivan Mlinaric (Handcash)', 'Rafa (Handcash)'], '1.1'),
p2pPaymentDestination: brfc('Get no monitored payment destination (p2p payment destination)', ['Miguel Duarte (Money Button)', 'Ryan X. Charles (Money Button)', 'Ivan Mlinaric (Handcash)', 'Rafa (Handcash)'], '1.1')
};

@@ -365,6 +365,7 @@

buildBodySendTx(hexTransaction, metadata) {
buildBodySendTx(hexTransaction, reference, metadata) {
return {
hex: hexTransaction,
metadata
metadata,
reference
};

@@ -588,3 +589,3 @@ }

async sendRawTx(targetPaymail, hexTransaction, metadata = {}) {
async sendRawTx(targetPaymail, hexTransaction, reference, metadata = {}) {
if (!hexTransaction) {

@@ -595,3 +596,3 @@ throw new Error('transaction hex cannot be empty');

let receiveTxUrl = await this.resolver.getSendTxUrlFor(targetPaymail);
const response = await this.http.postJson(receiveTxUrl, this.requestBodyFactory.buildBodySendTx(hexTransaction, metadata));
const response = await this.http.postJson(receiveTxUrl, this.requestBodyFactory.buildBodySendTx(hexTransaction, reference, metadata));

@@ -625,3 +626,3 @@ if (!response.ok) {

return body.outputs;
return body;
}

@@ -628,0 +629,0 @@

{
"name": "@moneybutton/paymail-client",
"version": "0.36.0",
"version": "0.37.0",
"description": "Money Button isomorphic Paymail utilities.",

@@ -22,3 +22,3 @@ "main": "dist/paymail-client.cjs.js",

},
"repository": "https://github.com/moneybutton/yours",
"repository": "https://github.com/moneybutton/paymail-client",
"author": "Yours Inc.",

@@ -31,3 +31,3 @@ "license": "Open-BSV",

"@babel/runtime": "7.5.5",
"@moneybutton/brfc": "^0.36.0",
"@moneybutton/brfc": "^0.37.0",
"abort-controller": "3.0.0",

@@ -71,3 +71,3 @@ "bsv": "^1.3.0",

},
"gitHead": "ee7ea48e8c215c6c4139d361714eff85a372bf62"
"gitHead": "d7a4673531859ef8983e86477af2670ccbb6f620"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc