New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.7 to 0.0.8

docs/.nojekyll

4

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

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

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

@@ -32,0 +32,0 @@ }

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

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

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

@@ -27,0 +27,0 @@ }

@@ -8,1 +8,7 @@ export declare const WalletAdapterNetwork: {

export declare type TransactionOrVersionedTransaction<S extends SupportedTransactionVersions> = S extends null ? any : any | any;
export declare type DecryptPermission = {
NoDecrypt: 'NO_DECRYPT';
UponRequest: 'DECRYPT_UPON_REQUEST';
AutoDecrypt: 'AUTO_DECRYPT';
ViewKeyAccess: 'VIEW_KEY_ACCESS';
};
{
"name": "@demox-labs/aleo-wallet-adapter-base",
"version": "0.0.7",
"version": "0.0.8",
"description": "Core infrastructure for connecting aleo-compatible wallets to your dApp.",

@@ -8,3 +8,4 @@ "module": "dist/index.js",

"scripts": {
"build": "tsc"
"build": "tsc",
"doc": "typedoc --tsconfig ./tsconfig.json --plugin typedoc-plugin-markdown --entryPoints index.ts"
},

@@ -18,2 +19,4 @@ "repository": "https://github.com/demox-labs/aleo-wallet-adapter",

"devDependencies": {
"typedoc": "^0.23.18",
"typedoc-plugin-markdown": "^3.13.6",
"typescript": "^4.8.4"

@@ -20,0 +23,0 @@ },

@@ -12,1 +12,8 @@ export const WalletAdapterNetwork = {

: any | any;
export type DecryptPermission = {
NoDecrypt: 'NO_DECRYPT', // The App cannot decrypt any records
UponRequest: 'DECRYPT_UPON_REQUEST',
AutoDecrypt: 'AUTO_DECRYPT', // The App can decrypt any requested records
ViewKeyAccess: 'VIEW_KEY_ACCESS' // The App gets the View Key of the connected wallet
}
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