Socket
Socket
Sign inDemoInstall

@web3auth/base-plugin

Package Overview
Dependencies
97
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0 to 8.0.1

22

dist/basePlugin.cjs.js

@@ -54,3 +54,8 @@ /******/ (() => { // webpackBootstrap

__webpack_require__.d(__webpack_exports__, {
PLUGIN_NAMESPACES: () => (/* reexport */ PLUGIN_NAMESPACES)
EVM_PLUGINS: () => (/* reexport */ EVM_PLUGINS),
PLUGIN_EVENTS: () => (/* reexport */ PLUGIN_EVENTS),
PLUGIN_NAMESPACES: () => (/* reexport */ PLUGIN_NAMESPACES),
PLUGIN_STATUS: () => (/* reexport */ PLUGIN_STATUS),
SOLANA_PLUGINS: () => (/* reexport */ SOLANA_PLUGINS),
WALLET_PLUGINS: () => (/* reexport */ WALLET_PLUGINS)
});

@@ -69,2 +74,17 @@

});
const PLUGIN_STATUS = {
READY: "ready",
CONNECTING: "connecting",
CONNECTED: "connected",
DISCONNECTED: "disconnected",
ERRORED: "errored"
};
const PLUGIN_EVENTS = objectSpread2_default()({}, PLUGIN_STATUS);
const EVM_PLUGINS = {
WALLET_SERVICES: "wallet-services"
};
const SOLANA_PLUGINS = {
SOLANA: "solana"
};
const WALLET_PLUGINS = objectSpread2_default()(objectSpread2_default()({}, EVM_PLUGINS), SOLANA_PLUGINS);
;// CONCATENATED MODULE: ./src/index.ts

@@ -71,0 +91,0 @@

@@ -7,4 +7,19 @@ import _objectSpread from '@babel/runtime/helpers/objectSpread2';

});
const PLUGIN_STATUS = {
READY: "ready",
CONNECTING: "connecting",
CONNECTED: "connected",
DISCONNECTED: "disconnected",
ERRORED: "errored"
};
const PLUGIN_EVENTS = _objectSpread({}, PLUGIN_STATUS);
const EVM_PLUGINS = {
WALLET_SERVICES: "wallet-services"
};
const SOLANA_PLUGINS = {
SOLANA: "solana"
};
const WALLET_PLUGINS = _objectSpread(_objectSpread({}, EVM_PLUGINS), SOLANA_PLUGINS);
export { PLUGIN_NAMESPACES };
export { EVM_PLUGINS, PLUGIN_EVENTS, PLUGIN_NAMESPACES, PLUGIN_STATUS, SOLANA_PLUGINS, WALLET_PLUGINS };
//# sourceMappingURL=basePlugin.esm.js.map

4

dist/basePlugin.umd.min.js.LICENSE.txt

@@ -10,6 +10,2 @@ /*!

/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */

@@ -10,3 +10,27 @@ import { IProvider, IWeb3Auth, UserInfo, WALLET_ADAPTER_TYPE } from "@web3auth/base";

};
export declare const PLUGIN_STATUS: {
readonly READY: "ready";
readonly CONNECTING: "connecting";
readonly CONNECTED: "connected";
readonly DISCONNECTED: "disconnected";
readonly ERRORED: "errored";
};
export declare const PLUGIN_EVENTS: {
readonly READY: "ready";
readonly CONNECTING: "connecting";
readonly CONNECTED: "connected";
readonly DISCONNECTED: "disconnected";
readonly ERRORED: "errored";
};
export type PluginNamespace = (typeof PLUGIN_NAMESPACES)[keyof typeof PLUGIN_NAMESPACES];
export declare const EVM_PLUGINS: {
readonly WALLET_SERVICES: "wallet-services";
};
export declare const SOLANA_PLUGINS: {
readonly SOLANA: "solana";
};
export declare const WALLET_PLUGINS: {
readonly SOLANA: "solana";
readonly WALLET_SERVICES: "wallet-services";
};
export interface IPlugin {

@@ -13,0 +37,0 @@ name: string;

{
"name": "@web3auth/base-plugin",
"version": "8.0.0",
"version": "8.0.1",
"description": "Base plugin for web3auth plugins",

@@ -57,3 +57,3 @@ "keywords": [

},
"gitHead": "0428ae575ef36e3ad783f37d14a10a78e66e2909"
"gitHead": "40e3cdde5360e5bba4ef7fdd23c221b0f2bc3c83"
}

@@ -8,4 +8,29 @@ import { CHAIN_NAMESPACES, IProvider, IWeb3Auth, UserInfo, WALLET_ADAPTER_TYPE } from "@web3auth/base";

export const PLUGIN_STATUS = {
READY: "ready",
CONNECTING: "connecting",
CONNECTED: "connected",
DISCONNECTED: "disconnected",
ERRORED: "errored",
} as const;
export const PLUGIN_EVENTS = {
...PLUGIN_STATUS,
} as const;
export type PluginNamespace = (typeof PLUGIN_NAMESPACES)[keyof typeof PLUGIN_NAMESPACES];
export const EVM_PLUGINS = {
WALLET_SERVICES: "wallet-services",
} as const;
export const SOLANA_PLUGINS = {
SOLANA: "solana",
} as const;
export const WALLET_PLUGINS = {
...EVM_PLUGINS,
...SOLANA_PLUGINS,
} as const;
export interface IPlugin {

@@ -12,0 +37,0 @@ name: string;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc