@magic-ext/bitcoin
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15270