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

@magic-ext/tezos

Package Overview
Dependencies
Maintainers
9
Versions
698
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magic-ext/tezos - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

13

CHANGELOG.md

@@ -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 @@

2

dist/cjs/index.js

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

var b=Object.create;var a=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,z=Object.prototype.hasOwnProperty;var p=e=>a(e,"__esModule",{value:!0});var C=(e,n)=>{p(e);for(var r in n)a(e,r,{get:n[r],enumerable:!0})},O=(e,n,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of f(n))!z.call(e,t)&&t!=="default"&&a(e,t,{get:()=>n[t],enumerable:!(r=h(n,t))||r.enumerable});return e},T=e=>O(p(a(e!=null?b(l(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);C(exports,{TezosExtension:()=>g});var d=T(require("@magic-sdk/commons")),g=class extends d.Extension.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,r,t,s)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:r,fee:t,derivationPath:s}});this.sendContractOriginationOperation=(n,r,t,s,i,o,u,c,m)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:r,fee:t,derivationPath:s,storage_limit:i,gas_limit:o,code:u,storage:c,codeFormat:m}});this.sendContractInvocationOperation=(n,r,t,s,i,o,u,c,m)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:r,fee:t,derivationPath:s,storageLimit:i,gasLimit:o,entrypoint:u,parameters:c,parameterFormat:m}});this.sendContractPing=(n,r,t,s,i,o)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:r,fee:t,derivationPath:s,storageLimit:i,gasLimit:o}});this.sendDelegationOperation=(n,r)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:r}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};
var m=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var f=r=>m(r,"__esModule",{value:!0});var l=(r,n)=>{for(var e in n)m(r,e,{get:n[e],enumerable:!0})},z=(r,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of b(n))!h.call(r,t)&&(e||t!=="default")&&m(r,t,{get:()=>n[t],enumerable:!(i=g(n,t))||i.enumerable});return r};var C=(r=>(n,e)=>r&&r.get(n)||(e=z(f({}),n,1),r&&r.set(n,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var O={};l(O,{TezosExtension:()=>d});var p=require("@magic-sdk/commons"),d=class extends p.Extension.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,e,i,t)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:e,fee:i,derivationPath:t}});this.sendContractOriginationOperation=(n,e,i,t,s,o,a,u,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:e,fee:i,derivationPath:t,storage_limit:s,gas_limit:o,code:a,storage:u,codeFormat:c}});this.sendContractInvocationOperation=(n,e,i,t,s,o,a,u,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:e,fee:i,derivationPath:t,storageLimit:s,gasLimit:o,entrypoint:a,parameters:u,parameterFormat:c}});this.sendContractPing=(n,e,i,t,s,o)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:e,fee:i,derivationPath:t,storageLimit:s,gasLimit:o}});this.sendDelegationOperation=(n,e)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:e}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};module.exports=C(O);
//# sourceMappingURL=index.js.map

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

import{Extension as c}from"@magic-sdk/commons";var m=class extends c.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,e,r,t)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:e,fee:r,derivationPath:t}});this.sendContractOriginationOperation=(n,e,r,t,s,i,o,a,u)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:e,fee:r,derivationPath:t,storage_limit:s,gas_limit:i,code:o,storage:a,codeFormat:u}});this.sendContractInvocationOperation=(n,e,r,t,s,i,o,a,u)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:e,fee:r,derivationPath:t,storageLimit:s,gasLimit:i,entrypoint:o,parameters:a,parameterFormat:u}});this.sendContractPing=(n,e,r,t,s,i)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:e,fee:r,derivationPath:t,storageLimit:s,gasLimit:i}});this.sendDelegationOperation=(n,e)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:e}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};export{m as TezosExtension};
import{Extension as c}from"@magic-sdk/commons";var m=class extends c.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,e,r,t)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:e,fee:r,derivationPath:t}});this.sendContractOriginationOperation=(n,e,r,t,i,s,o,a,u)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:e,fee:r,derivationPath:t,storage_limit:i,gas_limit:s,code:o,storage:a,codeFormat:u}});this.sendContractInvocationOperation=(n,e,r,t,i,s,o,a,u)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:e,fee:r,derivationPath:t,storageLimit:i,gasLimit:s,entrypoint:o,parameters:a,parameterFormat:u}});this.sendContractPing=(n,e,r,t,i,s)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:e,fee:r,derivationPath:t,storageLimit:i,gasLimit:s}});this.sendDelegationOperation=(n,e)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:e}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};export{m as TezosExtension};
//# sourceMappingURL=index.js.map

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

var MagicTezosExtension=(()=>{var l=Object.create;var p=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty;var d=e=>p(e,"__esModule",{value:!0});var O=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var x=(e,n,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of z(n))!T.call(e,r)&&r!=="default"&&p(e,r,{get:()=>n[r],enumerable:!(t=h(n,r))||t.enumerable});return e},y=e=>x(d(p(e!=null?l(C(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var b=O((_,g)=>{g.exports=Magic});var j={};d(j);var f=y(b()),c=class extends f.Extension.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,t,r,s)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:t,fee:r,derivationPath:s}});this.sendContractOriginationOperation=(n,t,r,s,i,o,a,u,m)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:t,fee:r,derivationPath:s,storage_limit:i,gas_limit:o,code:a,storage:u,codeFormat:m}});this.sendContractInvocationOperation=(n,t,r,s,i,o,a,u,m)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:t,fee:r,derivationPath:s,storageLimit:i,gasLimit:o,entrypoint:a,parameters:u,parameterFormat:m}});this.sendContractPing=(n,t,r,s,i,o)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:t,fee:r,derivationPath:s,storageLimit:i,gasLimit:o}});this.sendDelegationOperation=(n,t)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:t}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};module.exports=c;return j;})();
var MagicTezosExtension=(()=>{var l=Object.create;var a=Object.defineProperty;var z=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty;var d=e=>a(e,"__esModule",{value:!0});var j=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),q=(e,n)=>{for(var r in n)a(e,r,{get:n[r],enumerable:!0})},g=(e,n,r,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of C(n))!T.call(e,t)&&(r||t!=="default")&&a(e,t,{get:()=>n[t],enumerable:!(i=z(n,t))||i.enumerable});return e},x=(e,n)=>g(d(a(e!=null?l(O(e)):{},"default",!n&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),_=(e=>(n,r)=>e&&e.get(n)||(r=g(d({}),n,1),e&&e.set(n,r),r))(typeof WeakMap!="undefined"?new WeakMap:0);var f=j((I,b)=>{b.exports=Magic});var P={};q(P,{default:()=>y});var h=x(f()),m=class extends h.Extension.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,r,i,t)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:r,fee:i,derivationPath:t}});this.sendContractOriginationOperation=(n,r,i,t,s,o,u,p,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:r,fee:i,derivationPath:t,storage_limit:s,gas_limit:o,code:u,storage:p,codeFormat:c}});this.sendContractInvocationOperation=(n,r,i,t,s,o,u,p,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:r,fee:i,derivationPath:t,storageLimit:s,gasLimit:o,entrypoint:u,parameters:p,parameterFormat:c}});this.sendContractPing=(n,r,i,t,s,o)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:r,fee:i,derivationPath:t,storageLimit:s,gasLimit:o}});this.sendDelegationOperation=(n,r)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:r}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};var y=m;return _(P);})();
if (MagicTezosExtension && MagicTezosExtension.default != null) { MagicTezosExtension = Object.assign(MagicTezosExtension.default, MagicTezosExtension); delete MagicTezosExtension.default; }

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

var b=Object.create;var a=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,z=Object.prototype.hasOwnProperty;var p=e=>a(e,"__esModule",{value:!0});var C=(e,n)=>{p(e);for(var r in n)a(e,r,{get:n[r],enumerable:!0})},O=(e,n,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of f(n))!z.call(e,t)&&t!=="default"&&a(e,t,{get:()=>n[t],enumerable:!(r=h(n,t))||r.enumerable});return e},T=e=>O(p(a(e!=null?b(l(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);C(exports,{TezosExtension:()=>g});var d=T(require("@magic-sdk/commons")),g=class extends d.Extension.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,r,t,s)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:r,fee:t,derivationPath:s}});this.sendContractOriginationOperation=(n,r,t,s,i,o,u,c,m)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:r,fee:t,derivationPath:s,storage_limit:i,gas_limit:o,code:u,storage:c,codeFormat:m}});this.sendContractInvocationOperation=(n,r,t,s,i,o,u,c,m)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:r,fee:t,derivationPath:s,storageLimit:i,gasLimit:o,entrypoint:u,parameters:c,parameterFormat:m}});this.sendContractPing=(n,r,t,s,i,o)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:r,fee:t,derivationPath:s,storageLimit:i,gasLimit:o}});this.sendDelegationOperation=(n,r)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:r}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};
var m=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var f=r=>m(r,"__esModule",{value:!0});var l=(r,n)=>{for(var e in n)m(r,e,{get:n[e],enumerable:!0})},z=(r,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of b(n))!h.call(r,t)&&(e||t!=="default")&&m(r,t,{get:()=>n[t],enumerable:!(i=g(n,t))||i.enumerable});return r};var C=(r=>(n,e)=>r&&r.get(n)||(e=z(f({}),n,1),r&&r.set(n,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var O={};l(O,{TezosExtension:()=>d});var p=require("@magic-sdk/commons"),d=class extends p.Extension.Internal{constructor(n){super();this.tezosConfig=n;this.name="tezos";this.sendTransactionOperation=(n,e,i,t)=>this.request({id:42,method:"tezos_sendTransaction",jsonrpc:"2.0",params:{to:n,amount:e,fee:i,derivationPath:t}});this.sendContractOriginationOperation=(n,e,i,t,s,o,a,u,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractOriginationOperation",params:{amount:n,delegate:e,fee:i,derivationPath:t,storage_limit:s,gas_limit:o,code:a,storage:u,codeFormat:c}});this.sendContractInvocationOperation=(n,e,i,t,s,o,a,u,c)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractInvocationOperation",params:{contract:n,amount:e,fee:i,derivationPath:t,storageLimit:s,gasLimit:o,entrypoint:a,parameters:u,parameterFormat:c}});this.sendContractPing=(n,e,i,t,s,o)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendContractPing",params:{contract:n,amount:e,fee:i,derivationPath:t,storageLimit:s,gasLimit:o}});this.sendDelegationOperation=(n,e)=>this.request({id:42,jsonrpc:"2.0",method:"tezos_sendDelegationOperation",params:{to:n,amount:e}});this.getAccount=()=>this.request({id:42,jsonrpc:"2.0",method:"tezos_getAccount",params:[]});this.config={rpcUrl:n.rpcUrl,chainType:"TEZOS"}}};module.exports=C(O);
//# sourceMappingURL=index.native.js.map
import { TezosExtension } from './index';
export type { TezosExtension as default };
export default TezosExtension;
{
"name": "@magic-ext/tezos",
"version": "3.0.0",
"version": "3.0.1",
"description": "magic tezos 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

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