@magic-ext/avalanche
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -0,1 +1,14 @@ | ||
# v3.0.1 (Tue Jan 25 2022) | ||
#### 🐛 Bug Fix | ||
- Fix CDN build targets [#270](https://github.com/magiclabs/magic-js/pull/270) ([@smithki](https://github.com/smithki)) | ||
- Fix CDN issues related to ESBuild ([@smithki](https://github.com/smithki)) | ||
#### Authors: 1 | ||
- Ian K Smith ([@smithki](https://github.com/smithki)) | ||
--- | ||
# v3.0.0 (Tue Jan 25 2022) | ||
@@ -2,0 +15,0 @@ |
@@ -1,2 +0,2 @@ | ||
var m=Object.create;var i=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var a=r=>i(r,"__esModule",{value:!0});var y=(r,n)=>{a(r);for(var s in n)i(r,s,{get:n[s],enumerable:!0})},A=(r,n,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of d(n))!x.call(r,t)&&t!=="default"&&i(r,t,{get:()=>n[t],enumerable:!(s=g(n,t))||s.enumerable});return r},I=r=>A(a(i(r!=null?m(u(r)):{},"default",r&&r.__esModule&&"default"in r?{get:()=>r.default,enumerable:!0}:{value:r,enumerable:!0})),r);y(exports,{AvalancheExtension:()=>c});var o=I(require("@magic-sdk/commons")),c=class extends o.Extension.Internal{constructor(n){super();this.avalancheConfig=n;this.name="avax";this.config={};this.signTransaction=(n,s,t,e,p)=>this.request({id:42,jsonrpc:"2.0",method:"ava_signTransaction",params:{sendAmount:n,assetId:s,toAddresses:t,fromAddresses:e,changeAddresses:p}});this.config={rpcUrl:n.rpcUrl,chainType:"AVAX",options:{chainId:n.chainId,networkId:n.networkId}}}}; | ||
var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var d=n=>a(n,"__esModule",{value:!0});var u=(n,r)=>{for(var t in r)a(n,t,{get:r[t],enumerable:!0})},x=(n,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of g(r))!m.call(n,i)&&(t||i!=="default")&&a(n,i,{get:()=>r[i],enumerable:!(s=p(r,i))||s.enumerable});return n};var A=(n=>(r,t)=>n&&n.get(r)||(t=x(d({}),r,1),n&&n.set(r,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var y={};u(y,{AvalancheExtension:()=>c});var o=require("@magic-sdk/commons"),c=class extends o.Extension.Internal{constructor(r){super();this.avalancheConfig=r;this.name="avax";this.config={};this.signTransaction=(r,t,s,i,e)=>this.request({id:42,jsonrpc:"2.0",method:"ava_signTransaction",params:{sendAmount:r,assetId:t,toAddresses:s,fromAddresses:i,changeAddresses:e}});this.config={rpcUrl:r.rpcUrl,chainType:"AVAX",options:{chainId:r.chainId,networkId:r.networkId}}}};module.exports=A(y); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import{Extension as a}from"@magic-sdk/commons";var o=class extends a.Internal{constructor(r){super();this.avalancheConfig=r;this.name="avax";this.config={};this.signTransaction=(r,n,s,t,i)=>this.request({id:42,jsonrpc:"2.0",method:"ava_signTransaction",params:{sendAmount:r,assetId:n,toAddresses:s,fromAddresses:t,changeAddresses:i}});this.config={rpcUrl:r.rpcUrl,chainType:"AVAX",options:{chainId:r.chainId,networkId:r.networkId}}}};export{o as AvalancheExtension}; | ||
import{Extension as a}from"@magic-sdk/commons";var o=class extends a.Internal{constructor(r){super();this.avalancheConfig=r;this.name="avax";this.config={};this.signTransaction=(r,n,t,i,s)=>this.request({id:42,jsonrpc:"2.0",method:"ava_signTransaction",params:{sendAmount:r,assetId:n,toAddresses:t,fromAddresses:i,changeAddresses:s}});this.config={rpcUrl:r.rpcUrl,chainType:"AVAX",options:{chainId:r.chainId,networkId:r.networkId}}}};export{o as AvalancheExtension}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,2 @@ | ||
var MagicSolanaExtension=(()=>{var d=Object.create;var o=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var A=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var i=r=>o(r,"__esModule",{value:!0});var y=(r,n)=>()=>(n||r((n={exports:{}}).exports,n),n.exports);var f=(r,n,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of u(n))!l.call(r,t)&&t!=="default"&&o(r,t,{get:()=>n[t],enumerable:!(s=g(n,t))||s.enumerable});return r},h=r=>f(i(o(r!=null?d(A(r)):{},"default",r&&r.__esModule&&"default"in r?{get:()=>r.default,enumerable:!0}:{value:r,enumerable:!0})),r);var c=y((b,e)=>{e.exports=Magic});var v={};i(v);var p=h(c()),a=class extends p.Extension.Internal{constructor(n){super();this.avalancheConfig=n;this.name="avax";this.config={};this.signTransaction=(n,s,t,m,x)=>this.request({id:42,jsonrpc:"2.0",method:"ava_signTransaction",params:{sendAmount:n,assetId:s,toAddresses:t,fromAddresses:m,changeAddresses:x}});this.config={rpcUrl:n.rpcUrl,chainType:"AVAX",options:{chainId:n.chainId,networkId:n.networkId}}}};module.exports=a;return v;})(); | ||
var MagicSolanaExtension=(()=>{var d=Object.create;var o=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var f=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var e=n=>o(n,"__esModule",{value:!0});var y=(n,r)=>()=>(r||n((r={exports:{}}).exports,r),r.exports),h=(n,r)=>{for(var t in r)o(n,t,{get:r[t],enumerable:!0})},c=(n,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of A(r))!l.call(n,i)&&(t||i!=="default")&&o(n,i,{get:()=>r[i],enumerable:!(a=u(r,i))||a.enumerable});return n},I=(n,r)=>c(e(o(n!=null?d(f(n)):{},"default",!r&&n&&n.__esModule?{get:()=>n.default,enumerable:!0}:{value:n,enumerable:!0})),n),v=(n=>(r,t)=>n&&n.get(r)||(t=c(e({}),r,1),n&&n.set(r,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var m=y((w,p)=>{p.exports=Magic});var T={};h(T,{default:()=>b});var x=I(m()),s=class extends x.Extension.Internal{constructor(r){super();this.avalancheConfig=r;this.name="avax";this.config={};this.signTransaction=(r,t,a,i,g)=>this.request({id:42,jsonrpc:"2.0",method:"ava_signTransaction",params:{sendAmount:r,assetId:t,toAddresses:a,fromAddresses:i,changeAddresses:g}});this.config={rpcUrl:r.rpcUrl,chainType:"AVAX",options:{chainId:r.chainId,networkId:r.networkId}}}};var b=s;return v(T);})(); | ||
if (MagicSolanaExtension && MagicSolanaExtension.default != null) { MagicSolanaExtension = Object.assign(MagicSolanaExtension.default, MagicSolanaExtension); delete MagicSolanaExtension.default; } |
@@ -1,2 +0,2 @@ | ||
var m=Object.create;var i=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var a=r=>i(r,"__esModule",{value:!0});var y=(r,n)=>{a(r);for(var s in n)i(r,s,{get:n[s],enumerable:!0})},A=(r,n,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of d(n))!x.call(r,t)&&t!=="default"&&i(r,t,{get:()=>n[t],enumerable:!(s=g(n,t))||s.enumerable});return r},I=r=>A(a(i(r!=null?m(u(r)):{},"default",r&&r.__esModule&&"default"in r?{get:()=>r.default,enumerable:!0}:{value:r,enumerable:!0})),r);y(exports,{AvalancheExtension:()=>c});var o=I(require("@magic-sdk/commons")),c=class extends o.Extension.Internal{constructor(n){super();this.avalancheConfig=n;this.name="avax";this.config={};this.signTransaction=(n,s,t,e,p)=>this.request({id:42,jsonrpc:"2.0",method:"ava_signTransaction",params:{sendAmount:n,assetId:s,toAddresses:t,fromAddresses:e,changeAddresses:p}});this.config={rpcUrl:n.rpcUrl,chainType:"AVAX",options:{chainId:n.chainId,networkId:n.networkId}}}}; | ||
var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var d=n=>a(n,"__esModule",{value:!0});var u=(n,r)=>{for(var t in r)a(n,t,{get:r[t],enumerable:!0})},x=(n,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of g(r))!m.call(n,i)&&(t||i!=="default")&&a(n,i,{get:()=>r[i],enumerable:!(s=p(r,i))||s.enumerable});return n};var A=(n=>(r,t)=>n&&n.get(r)||(t=x(d({}),r,1),n&&n.set(r,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var y={};u(y,{AvalancheExtension:()=>c});var o=require("@magic-sdk/commons"),c=class extends o.Extension.Internal{constructor(r){super();this.avalancheConfig=r;this.name="avax";this.config={};this.signTransaction=(r,t,s,i,e)=>this.request({id:42,jsonrpc:"2.0",method:"ava_signTransaction",params:{sendAmount:r,assetId:t,toAddresses:s,fromAddresses:i,changeAddresses:e}});this.config={rpcUrl:r.rpcUrl,chainType:"AVAX",options:{chainId:r.chainId,networkId:r.networkId}}}};module.exports=A(y); | ||
//# sourceMappingURL=index.native.js.map |
import { AvalancheExtension } from './index'; | ||
export type { AvalancheExtension as default }; | ||
export default AvalancheExtension; |
{ | ||
"name": "@magic-ext/avalanche", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "magic avalanche extension", | ||
@@ -33,3 +33,3 @@ "author": "Magic <team@magic.link> (https://magic.link/)", | ||
}, | ||
"gitHead": "5a1afc093cfec98bdcfb232cb2878510014da70a" | ||
"gitHead": "d438b0b289fd4dd06a19bbb0f9f8d27bb067cea0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14001
43