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

@magic-ext/algorand

Package Overview
Dependencies
Maintainers
6
Versions
721
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magic-ext/algorand - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

dist/cjs/index.cdn.d.ts

2

dist/extension.js

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

var MagicAlgorandExtension=function(t){var r;return function(t){t.AlgorandSignTransaction="algod_signTransaction",t.AlgorandSignBid="algod_signBid",t.AlgorandGetWallet="algod_getWallet"}(r||(r={})),function(t){var e,n;function o(r){var e;return(e=t.call(this)||this).algorandConfig=r,e.name="algod",e.config={},e.config={rpcUrl:r.rpcUrl,chainType:"ALOGD"},e}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=o.prototype;return a.signTransaction=function(t){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(r.AlgorandSignTransaction,t)))}catch(t){return Promise.reject(t)}},a.signBid=function(t){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(r.AlgorandSignBid,t)))}catch(t){return Promise.reject(t)}},a.getWallet=function(){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(r.AlgorandGetWallet,[])))}catch(t){return Promise.reject(t)}},o}(t.Extension.Internal)}(Magic);
var MagicAlgorandExtension=function(r){var t;return function(r){r.AlgorandSignTransaction="algod_signTransaction",r.AlgorandSignBid="algod_signBid",r.AlgorandGetWallet="algod_getWallet",r.AlgorandSignGroupTransaction="algod_signGroupTransaction"}(t||(t={})),function(r){var n,e;function o(t){var n;return(n=r.call(this)||this).algorandConfig=t,n.name="algod",n.config={},n.config={rpcUrl:t.rpcUrl,chainType:"ALOGD"},n}e=r,(n=o).prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e;var a=o.prototype;return a.signTransaction=function(r){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(t.AlgorandSignTransaction,r)))}catch(r){return Promise.reject(r)}},a.signBid=function(r){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(t.AlgorandSignBid,r)))}catch(r){return Promise.reject(r)}},a.getWallet=function(){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(t.AlgorandGetWallet,[])))}catch(r){return Promise.reject(r)}},a.signGroupTransaction=function(r){try{return Promise.resolve(this.request(this.utils.createJsonRpcRequestPayload(t.AlgorandSignGroupTransaction,r)))}catch(r){return Promise.reject(r)}},o}(r.Extension.Internal)}(Magic);
{
"name": "@magic-ext/algorand",
"version": "0.1.1",
"version": "0.2.0",
"description": "magic algorand extension",

@@ -17,9 +17,6 @@ "author": "Magic <hello@magic.link> (https://magic.link/)",

"umdGlobal": "MagicAlgorandExtension",
"main": "dist/commonjs/index.js",
"main": "dist/cjs/index.js",
"umd:main": "dist/extension.js",
"module": "dist/module/index.js",
"types": "dist/commonjs/index.d.ts",
"scripts": {
"precommit": "lint-staged"
},
"module": "dist/es/index.js",
"types": "dist/cjs/index.d.ts",
"devDependencies": {

@@ -26,0 +23,0 @@ "magic-sdk": "^2.6.0"

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