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

@magic-ext/algorand

Package Overview
Dependencies
Maintainers
4
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.0 to 0.1.1

4

dist/commonjs/index.d.ts
import { Extension } from 'magic-sdk';
import { AlgorandConfig } from './types';
export declare class AlgorandExtension extends Extension.Internal<'algorand', any> {
export declare class AlgorandExtension extends Extension.Internal<'algod', any> {
algorandConfig: AlgorandConfig;
name: "algorand";
name: "algod";
config: any;

@@ -7,0 +7,0 @@ constructor(algorandConfig: AlgorandConfig);

@@ -60,3 +60,3 @@ "use strict";

_this.algorandConfig = algorandConfig;
_this.name = 'algorand';
_this.name = 'algod';
_this.config = {};

@@ -63,0 +63,0 @@ _this.config = {

@@ -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="algorand",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(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);
import { Extension } from 'magic-sdk';
import { AlgorandConfig } from './types';
export declare class AlgorandExtension extends Extension.Internal<'algorand', any> {
export declare class AlgorandExtension extends Extension.Internal<'algod', any> {
algorandConfig: AlgorandConfig;
name: "algorand";
name: "algod";
config: any;

@@ -7,0 +7,0 @@ constructor(algorandConfig: AlgorandConfig);

@@ -57,3 +57,3 @@ var __extends = (this && this.__extends) || (function () {

_this.algorandConfig = algorandConfig;
_this.name = 'algorand';
_this.name = 'algod';
_this.config = {};

@@ -60,0 +60,0 @@ _this.config = {

{
"name": "@magic-ext/algorand",
"version": "0.1.0",
"version": "0.1.1",
"description": "magic algorand 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

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