@magic-ext/conflux
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -1,2 +0,2 @@ | ||
var x=Object.create;var s=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var G=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var l=t=>s(t,"__esModule",{value:!0});var y=(t,a)=>{l(t);for(var e in a)s(t,e,{get:a[e],enumerable:!0})},S=(t,a,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of g(a))!h.call(t,n)&&n!=="default"&&s(t,n,{get:()=>a[n],enumerable:!(e=b(a,n))||e.enumerable});return t},T=t=>S(l(s(t!=null?x(G(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var d=(t,a,e)=>new Promise((n,u)=>{var m=r=>{try{o(e.next(r))}catch(c){u(c)}},R=r=>{try{o(e.throw(r))}catch(c){u(c)}},o=r=>r.done?n(r.value):Promise.resolve(r.value).then(m,R);o((e=e.apply(t,a)).next())});y(exports,{ConfluxExtension:()=>p});var f=T(require("@magic-sdk/commons"));var i;(function(a){a.ConfluxSendTransaction="cfx_sendTransaction"})(i||(i={}));var p=class extends f.Extension.Internal{constructor(a){super();this.confluxConfig=a;this.name="conflux";this.config={};this.config={chainType:"CONFLUX",options:{rpcUrl:a.rpcUrl,chainId:a.chainId,defaultGasPrice:a.defaultGasPrice,defaultGasRatio:a.defaultGasRatio,defaultStorageRatio:a.defaultStorageRatio}}}sendTransaction(a){return d(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(i.ConfluxSendTransaction,a))})}}; | ||
var c=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var h=t=>c(t,"__esModule",{value:!0});var b=(t,a)=>{for(var e in a)c(t,e,{get:a[e],enumerable:!0})},y=(t,a,e,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of x(a))!R.call(t,n)&&(e||n!=="default")&&c(t,n,{get:()=>a[n],enumerable:!(o=m(a,n))||o.enumerable});return t};var G=(t=>(a,e)=>t&&t.get(a)||(e=y(h({}),a,1),t&&t.set(a,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var u=(t,a,e)=>new Promise((o,n)=>{var f=r=>{try{i(e.next(r))}catch(s){n(s)}},p=r=>{try{i(e.throw(r))}catch(s){n(s)}},i=r=>r.done?o(r.value):Promise.resolve(r.value).then(f,p);i((e=e.apply(t,a)).next())});var g={};b(g,{ConfluxExtension:()=>d});var l=require("@magic-sdk/commons");var d=class extends l.Extension.Internal{constructor(a){super();this.confluxConfig=a;this.name="conflux";this.config={};this.config={chainType:"CONFLUX",options:{rpcUrl:a.rpcUrl,chainId:a.chainId,defaultGasPrice:a.defaultGasPrice,defaultGasRatio:a.defaultGasRatio,defaultStorageRatio:a.defaultStorageRatio}}}sendTransaction(a){return u(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("cfx_sendTransaction",a))})}};module.exports=G(g); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
var c=(i,a,e)=>new Promise((u,o)=>{var l=t=>{try{r(e.next(t))}catch(s){o(s)}},d=t=>{try{r(e.throw(t))}catch(s){o(s)}},r=t=>t.done?u(t.value):Promise.resolve(t.value).then(l,d);r((e=e.apply(i,a)).next())});import{Extension as f}from"@magic-sdk/commons";var n;(function(a){a.ConfluxSendTransaction="cfx_sendTransaction"})(n||(n={}));var p=class extends f.Internal{constructor(a){super();this.confluxConfig=a;this.name="conflux";this.config={};this.config={chainType:"CONFLUX",options:{rpcUrl:a.rpcUrl,chainId:a.chainId,defaultGasPrice:a.defaultGasPrice,defaultGasRatio:a.defaultGasRatio,defaultStorageRatio:a.defaultStorageRatio}}}sendTransaction(a){return c(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(n.ConfluxSendTransaction,a))})}};export{p as ConfluxExtension}; | ||
var s=(o,a,e)=>new Promise((c,i)=>{var u=t=>{try{n(e.next(t))}catch(r){i(r)}},l=t=>{try{n(e.throw(t))}catch(r){i(r)}},n=t=>t.done?c(t.value):Promise.resolve(t.value).then(u,l);n((e=e.apply(o,a)).next())});import{Extension as d}from"@magic-sdk/commons";var f=class extends d.Internal{constructor(a){super();this.confluxConfig=a;this.name="conflux";this.config={};this.config={chainType:"CONFLUX",options:{rpcUrl:a.rpcUrl,chainId:a.chainId,defaultGasPrice:a.defaultGasPrice,defaultGasRatio:a.defaultGasRatio,defaultStorageRatio:a.defaultStorageRatio}}}sendTransaction(a){return s(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("cfx_sendTransaction",a))})}};export{f as ConfluxExtension}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,2 @@ | ||
var MagicConfluxExtension=(()=>{var b=Object.create;var s=Object.defineProperty;var G=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty;var f=t=>s(t,"__esModule",{value:!0});var T=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports),C=(t,a)=>{f(t);for(var e in a)s(t,e,{get:a[e],enumerable:!0})},I=(t,a,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of h(a))!S.call(t,n)&&n!=="default"&&s(t,n,{get:()=>a[n],enumerable:!(e=G(a,n))||e.enumerable});return t},U=t=>I(f(s(t!=null?b(y(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var p=(t,a,e)=>new Promise((n,l)=>{var R=r=>{try{o(e.next(r))}catch(c){l(c)}},g=r=>{try{o(e.throw(r))}catch(c){l(c)}},o=r=>r.done?n(r.value):Promise.resolve(r.value).then(R,g);o((e=e.apply(t,a)).next())});var m=T((P,d)=>{d.exports=Magic});var q={};C(q,{default:()=>u});var x=U(m());var i;(function(a){a.ConfluxSendTransaction="cfx_sendTransaction"})(i||(i={}));var u=class extends x.Extension.Internal{constructor(a){super();this.confluxConfig=a;this.name="conflux";this.config={};this.config={chainType:"CONFLUX",options:{rpcUrl:a.rpcUrl,chainId:a.chainId,defaultGasPrice:a.defaultGasPrice,defaultGasRatio:a.defaultGasRatio,defaultStorageRatio:a.defaultStorageRatio}}}sendTransaction(a){return p(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(i.ConfluxSendTransaction,a))})}};return q;})(); | ||
var MagicConfluxExtension=(()=>{var b=Object.create;var i=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,G=Object.prototype.hasOwnProperty;var l=t=>i(t,"__esModule",{value:!0});var S=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports),T=(t,a)=>{for(var e in a)i(t,e,{get:a[e],enumerable:!0})},f=(t,a,e,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of y(a))!G.call(t,n)&&(e||n!=="default")&&i(t,n,{get:()=>a[n],enumerable:!(o=g(a,n))||o.enumerable});return t},I=(t,a)=>f(l(i(t!=null?b(C(t)):{},"default",!a&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t),P=(t=>(a,e)=>t&&t.get(a)||(e=f(l({}),a,1),t&&t.set(a,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var d=(t,a,e)=>new Promise((o,n)=>{var R=r=>{try{s(e.next(r))}catch(u){n(u)}},h=r=>{try{s(e.throw(r))}catch(u){n(u)}},s=r=>r.done?o(r.value):Promise.resolve(r.value).then(R,h);s((e=e.apply(t,a)).next())});var x=S((E,p)=>{p.exports=Magic});var U={};T(U,{default:()=>c});var m=I(x());var c=class extends m.Extension.Internal{constructor(a){super();this.confluxConfig=a;this.name="conflux";this.config={};this.config={chainType:"CONFLUX",options:{rpcUrl:a.rpcUrl,chainId:a.chainId,defaultGasPrice:a.defaultGasPrice,defaultGasRatio:a.defaultGasRatio,defaultStorageRatio:a.defaultStorageRatio}}}sendTransaction(a){return d(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("cfx_sendTransaction",a))})}};return P(U);})(); | ||
if (MagicConfluxExtension && MagicConfluxExtension.default != null) { MagicConfluxExtension = Object.assign(MagicConfluxExtension.default, MagicConfluxExtension); delete MagicConfluxExtension.default; } |
@@ -1,2 +0,2 @@ | ||
var x=Object.create;var s=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var G=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var l=t=>s(t,"__esModule",{value:!0});var y=(t,a)=>{l(t);for(var e in a)s(t,e,{get:a[e],enumerable:!0})},S=(t,a,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of g(a))!h.call(t,n)&&n!=="default"&&s(t,n,{get:()=>a[n],enumerable:!(e=b(a,n))||e.enumerable});return t},T=t=>S(l(s(t!=null?x(G(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var d=(t,a,e)=>new Promise((n,u)=>{var m=r=>{try{o(e.next(r))}catch(c){u(c)}},R=r=>{try{o(e.throw(r))}catch(c){u(c)}},o=r=>r.done?n(r.value):Promise.resolve(r.value).then(m,R);o((e=e.apply(t,a)).next())});y(exports,{ConfluxExtension:()=>p});var f=T(require("@magic-sdk/commons"));var i;(function(a){a.ConfluxSendTransaction="cfx_sendTransaction"})(i||(i={}));var p=class extends f.Extension.Internal{constructor(a){super();this.confluxConfig=a;this.name="conflux";this.config={};this.config={chainType:"CONFLUX",options:{rpcUrl:a.rpcUrl,chainId:a.chainId,defaultGasPrice:a.defaultGasPrice,defaultGasRatio:a.defaultGasRatio,defaultStorageRatio:a.defaultStorageRatio}}}sendTransaction(a){return d(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload(i.ConfluxSendTransaction,a))})}}; | ||
var c=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var h=t=>c(t,"__esModule",{value:!0});var b=(t,a)=>{for(var e in a)c(t,e,{get:a[e],enumerable:!0})},y=(t,a,e,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of x(a))!R.call(t,n)&&(e||n!=="default")&&c(t,n,{get:()=>a[n],enumerable:!(o=m(a,n))||o.enumerable});return t};var G=(t=>(a,e)=>t&&t.get(a)||(e=y(h({}),a,1),t&&t.set(a,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var u=(t,a,e)=>new Promise((o,n)=>{var f=r=>{try{i(e.next(r))}catch(s){n(s)}},p=r=>{try{i(e.throw(r))}catch(s){n(s)}},i=r=>r.done?o(r.value):Promise.resolve(r.value).then(f,p);i((e=e.apply(t,a)).next())});var g={};b(g,{ConfluxExtension:()=>d});var l=require("@magic-sdk/commons");var d=class extends l.Extension.Internal{constructor(a){super();this.confluxConfig=a;this.name="conflux";this.config={};this.config={chainType:"CONFLUX",options:{rpcUrl:a.rpcUrl,chainId:a.chainId,defaultGasPrice:a.defaultGasPrice,defaultGasRatio:a.defaultGasRatio,defaultStorageRatio:a.defaultStorageRatio}}}sendTransaction(a){return u(this,null,function*(){return this.request(this.utils.createJsonRpcRequestPayload("cfx_sendTransaction",a))})}};module.exports=G(g); | ||
//# sourceMappingURL=index.native.js.map |
{ | ||
"name": "@magic-ext/conflux", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "magic conflux extension", | ||
@@ -31,5 +31,5 @@ "author": "Magic <team@magic.link> (https://magic.link/)", | ||
"devDependencies": { | ||
"@magic-sdk/commons": "^4.0.0" | ||
"@magic-sdk/commons": "^4.1.0" | ||
}, | ||
"gitHead": "5a1afc093cfec98bdcfb232cb2878510014da70a" | ||
"gitHead": "6aa5a25b33865cfe27444ca6094efade16a82f9f" | ||
} |
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
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
14102
49