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

@demox-labs/aleo-wallet-adapter-leo

Package Overview
Dependencies
Maintainers
6
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@demox-labs/aleo-wallet-adapter-leo - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

7

adapter.ts

@@ -55,2 +55,4 @@ import {

appName?: string
isMobile?: boolean
mobileWebviewUrl?: string
}

@@ -62,5 +64,5 @@

name = LeoWalletName;
url = 'https://app.leo.app';
icon =
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAIAAABMXPacAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMC1jMDAwIDc5LjE3MWMyN2ZhYiwgMjAyMi8wOC8xNi0yMjozNTo0MSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI0LjAgK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qTkTobAPzb9/Tx/RJ1AZheebdoA7BfDxOzIAAIAAAIAOeyMwuKIvV/y6t2tmO8Ov4rKDsAi0u6dLXSw5FY97r68BaA7S5fS38qrrOhOzdrd50xQ+eAku5+BYBZEAEAAAEAAAEAAAEAAAEAAAEAAAEAAAEAAAEAAAEAAAEAAAGwrwBculuonp/Fy3/HjYZD37Xcz2I8O/BmpT35nsQ4VhDo5JI7fwRhX58/Tn5pPNbcES2cKGW/m5/ShdleBrCf4xaGevfaoSEo+zFWydH5+V1ft0rZb7OVefSVvzzd4kNerQxQgY3xllkQ01AACAAACAAAyEJ/BRgAJph5IP1XFpwAAAAASUVORK5CYII=';
url: string;
readonly supportedTransactionVersions = null;

@@ -77,3 +79,3 @@

constructor({ appName = 'sample'} : LeoWalletAdapterConfig = {}) {
constructor({ appName = 'sample', isMobile = false, mobileWebviewUrl} : LeoWalletAdapterConfig = {}) {
super();

@@ -84,2 +86,3 @@ this._connecting = false;

this._decryptPermission = DecryptPermission.NoDecrypt;
this.url = isMobile ? `https://app.leo.app/browser?url=${mobileWebviewUrl}`: 'https://app.leo.app'

@@ -86,0 +89,0 @@ if (this._readyState !== WalletReadyState.Unsupported) {

@@ -52,2 +52,4 @@ import { BaseMessageSignerWalletAdapter, EventEmitter, WalletName, WalletReadyState, DecryptPermission, WalletAdapterNetwork, AleoTransaction, AleoDeployment } from '@demox-labs/aleo-wallet-adapter-base';

appName?: string;
isMobile?: boolean;
mobileWebviewUrl?: string;
}

@@ -57,4 +59,4 @@ export declare const LeoWalletName: WalletName<"Leo Wallet">;

name: WalletName<"Leo Wallet">;
icon: string;
url: string;
icon: string;
readonly supportedTransactionVersions: any;

@@ -66,3 +68,3 @@ private _connecting;

private _readyState;
constructor({ appName }?: LeoWalletAdapterConfig);
constructor({ appName, isMobile, mobileWebviewUrl }?: LeoWalletAdapterConfig);
get publicKey(): string;

@@ -69,0 +71,0 @@ get decryptPermission(): string;

@@ -5,4 +5,4 @@ import { BaseMessageSignerWalletAdapter, scopePollingDetectionStrategy, WalletConnectionError, WalletDisconnectionError, WalletNotConnectedError, WalletNotReadyError, WalletReadyState, WalletSignTransactionError, WalletDecryptionNotAllowedError, WalletDecryptionError, WalletRecordsError, DecryptPermission, WalletTransactionError, } from '@demox-labs/aleo-wallet-adapter-base';

name = LeoWalletName;
url = 'https://app.leo.app';
icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAIAAABMXPacAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMC1jMDAwIDc5LjE3MWMyN2ZhYiwgMjAyMi8wOC8xNi0yMjozNTo0MSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI0LjAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjJERjI1N0M3NUFERjExRUQ4OTkyRDkwNjQwODFGMjUwIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkO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AAAEAAAEAAAEAAAEAAAEAAAEAAAEAAAEAAAEAAAGwrwBculuonp/Fy3/HjYZD37Xcz2I8O/BmpT35nsQ4VhDo5JI7fwRhX58/Tn5pPNbcES2cKGW/m5/ShdleBrCf4xaGevfaoSEo+zFWydH5+V1ft0rZb7OVefSVvzzd4kNerQxQgY3xllkQ01AACAAACAAAyEJ/BRgAJph5IP1XFpwAAAAASUVORK5CYII=';
url;
supportedTransactionVersions = null;

@@ -16,3 +16,3 @@ _connecting;

: WalletReadyState.NotDetected;
constructor({ appName = 'sample' } = {}) {
constructor({ appName = 'sample', isMobile = false, mobileWebviewUrl } = {}) {
super();

@@ -23,2 +23,3 @@ this._connecting = false;

this._decryptPermission = DecryptPermission.NoDecrypt;
this.url = isMobile ? `https://app.leo.app/browser?url=${mobileWebviewUrl}` : 'https://app.leo.app';
if (this._readyState !== WalletReadyState.Unsupported) {

@@ -25,0 +26,0 @@ scopePollingDetectionStrategy(() => {

{
"name": "@demox-labs/aleo-wallet-adapter-leo",
"version": "0.0.23",
"version": "0.0.24",
"description": "Aleo wallet adapter for the Leo Wallet.",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

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