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

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

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.0.10 to 0.0.11

6

adapter.ts
import EventEmitter from 'eventemitter3';
import type { WalletError } from './errors';
import type { SupportedTransactionVersions, DecryptPermission } from './types';
import type { SupportedTransactionVersions, DecryptPermission, WalletAdapterNetwork } from './types';

@@ -29,3 +29,3 @@ export { EventEmitter };

connect(decryptPermission: DecryptPermission): Promise<void>;
connect(decryptPermission: DecryptPermission, network: WalletAdapterNetwork): Promise<void>;
disconnect(): Promise<void>;

@@ -82,3 +82,3 @@ }

abstract connect(decryptPermission: DecryptPermission): Promise<void>;
abstract connect(decryptPermission: DecryptPermission, network: WalletAdapterNetwork): Promise<void>;
abstract disconnect(): Promise<void>;

@@ -85,0 +85,0 @@ }

import EventEmitter from 'eventemitter3';
import type { WalletError } from './errors';
import type { SupportedTransactionVersions, DecryptPermission } from './types';
import type { SupportedTransactionVersions, DecryptPermission, WalletAdapterNetwork } from './types';
export { EventEmitter };

@@ -24,3 +24,3 @@ export interface WalletAdapterEvents {

supportedTransactionVersions: SupportedTransactionVersions;
connect(decryptPermission: DecryptPermission): Promise<void>;
connect(decryptPermission: DecryptPermission, network: WalletAdapterNetwork): Promise<void>;
disconnect(): Promise<void>;

@@ -67,5 +67,5 @@ }

get connected(): boolean;
abstract connect(decryptPermission: DecryptPermission): Promise<void>;
abstract connect(decryptPermission: DecryptPermission, network: WalletAdapterNetwork): Promise<void>;
abstract disconnect(): Promise<void>;
}
export declare function scopePollingDetectionStrategy(detect: () => boolean): void;

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

export declare const WalletAdapterNetwork: {
Mainnet: string;
Testnet: string;
Devnet: string;
};
export declare enum WalletAdapterNetwork {
Mainnet = "mainnet",
Testnet = "testnet3",
Localnet = "localnet"
}
export declare type SupportedTransactionVersions = ReadonlySet<any> | null;

@@ -7,0 +7,0 @@ export declare type TransactionOrVersionedTransaction<S extends SupportedTransactionVersions> = S extends null ? any : any | any;

@@ -1,6 +0,8 @@

export const WalletAdapterNetwork = {
Mainnet: 'mainnet-beta',
Testnet: 'testnet3',
Devnet: 'devnet',
};
export var WalletAdapterNetwork;
(function (WalletAdapterNetwork) {
WalletAdapterNetwork["Mainnet"] = "mainnet";
WalletAdapterNetwork["Testnet"] = "testnet3";
WalletAdapterNetwork["Localnet"] = "localnet";
})(WalletAdapterNetwork || (WalletAdapterNetwork = {}));
;
export var DecryptPermission;

@@ -7,0 +9,0 @@ (function (DecryptPermission) {

{
"name": "@demox-labs/aleo-wallet-adapter-base",
"version": "0.0.10",
"version": "0.0.11",
"description": "Core infrastructure for connecting aleo-compatible wallets to your dApp.",

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

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

export const WalletAdapterNetwork = {
Mainnet: 'mainnet-beta',
Testnet: 'testnet3',
Devnet: 'devnet',
export enum WalletAdapterNetwork {
Mainnet = 'mainnet',
Testnet = 'testnet3',
Localnet = 'localnet',
};

@@ -6,0 +6,0 @@

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