Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@magic-ext/bitcoin

Package Overview
Dependencies
Maintainers
8
Versions
660
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magic-ext/bitcoin - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

dist/cjs/index.js

@@ -71,3 +71,3 @@ "use strict";

return __generator(this, function (_a) {
return [2 /*return*/, this.request(this.utils.createJsonRpcRequestPayload(types_1.BitcoinPayloadMethod.BitcoinSignTransaction, txn))];
return [2 /*return*/, this.request(this.utils.createJsonRpcRequestPayload(types_1.BitcoinPayloadMethod.BitcoinSignTransaction, [txn]))];
});

@@ -74,0 +74,0 @@ });

@@ -68,3 +68,3 @@ var __extends = (this && this.__extends) || (function () {

return __generator(this, function (_a) {
return [2 /*return*/, this.request(this.utils.createJsonRpcRequestPayload(BitcoinPayloadMethod.BitcoinSignTransaction, txn))];
return [2 /*return*/, this.request(this.utils.createJsonRpcRequestPayload(BitcoinPayloadMethod.BitcoinSignTransaction, [txn]))];
});

@@ -71,0 +71,0 @@ });

@@ -1,1 +0,1 @@

var MagicBitcoinExtension=function(t){var n;return function(t){t.BitcoinSignTransaction="btc_signTransaction"}(n||(n={})),function(t){var i,r;function o(n){var i;return(i=t.call(this)||this).bitcoinConfig=n,i.name="bitcoin",i.config={},i.config={rpcUrl:n.rpcUrl,chainType:"BITCOIN"},i}return r=t,(i=o).prototype=Object.create(r.prototype),i.prototype.constructor=i,i.__proto__=r,o.prototype.signTransaction=function(t){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(n.BitcoinSignTransaction,t)))}catch(t){return Promise.reject(t)}},o}(t.Extension.Internal)}(Magic);
var MagicBitcoinExtension=function(t){var n;return function(t){t.BitcoinSignTransaction="btc_signTransaction"}(n||(n={})),function(t){var i,r;function o(n){var i;return(i=t.call(this)||this).bitcoinConfig=n,i.name="bitcoin",i.config={},i.config={rpcUrl:n.rpcUrl,chainType:"BITCOIN"},i}return r=t,(i=o).prototype=Object.create(r.prototype),i.prototype.constructor=i,i.__proto__=r,o.prototype.signTransaction=function(t){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(n.BitcoinSignTransaction,[t])))}catch(t){return Promise.reject(t)}},o}(t.Extension.Internal)}(Magic);
{
"name": "@magic-ext/bitcoin",
"version": "0.1.0",
"version": "0.1.1",
"description": "magic bitcoin extension",

@@ -5,0 +5,0 @@ "author": "Magic <hello@magic.link> (https://magic.link/)",

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