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

@white-matrix/chainide

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@white-matrix/chainide - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

lib/index.d.ts
import { IChainIdeProxyImpl } from './types/chainIdeProxyImpl';
export declare const getChainIde: () => IChainIdeProxyImpl;
export declare const chainIDE: IChainIdeProxyImpl;
export * from './types/index';

@@ -1,7 +0,2 @@

export const getChainIde = () => {
if (window.getChainIde) {
return window.getChainIde();
}
throw Error('plugin is not initial');
};
export const chainIDE = window.getChainIde();
export * from './types/index';
import { IPluginStorage } from './extensionsStorage';
import { PluginConfigurations, IChainIdeProxyImpl } from './index';
import { PluginConfigurations } from './index';
export interface ExtensionProperty {

@@ -11,4 +11,4 @@ active: () => void;

export interface Plugin {
activate: (ctx: PluginContext, Impl: IChainIdeProxyImpl) => void;
deactivate: (ctx: PluginContext, Impl: IChainIdeProxyImpl) => void;
activate: (ctx: PluginContext) => void;
deactivate: (ctx: PluginContext) => void;
store: IPluginStorage;

@@ -15,0 +15,0 @@ config: PluginConfigurations;

{
"name": "@white-matrix/chainide",
"version": "0.0.2",
"version": "0.0.3",
"description": "chainIDE extension implements",

@@ -5,0 +5,0 @@ "private": false,

import { IChainIdeProxyImpl } from './types/chainIdeProxyImpl';
export const getChainIde = () => {
if (window.getChainIde) {
return window.getChainIde() as IChainIdeProxyImpl;
}
export const chainIDE = window.getChainIde() as IChainIdeProxyImpl
throw Error('plugin is not initial');
};
export * from './types/index';
export * from './types/index';
import { IPluginStorage } from './extensionsStorage';
import { PluginConfigurations, IChainIdeProxyImpl } from './index';
import { PluginConfigurations } from './index';
export interface ExtensionProperty {

@@ -13,4 +13,4 @@ active: () => void;

export interface Plugin {
activate: (ctx: PluginContext, Impl: IChainIdeProxyImpl) => void;
deactivate: (ctx: PluginContext, Impl: IChainIdeProxyImpl) => void;
activate: (ctx: PluginContext) => void;
deactivate: (ctx: PluginContext) => void;
// 动态更新 store

@@ -17,0 +17,0 @@ store: IPluginStorage;

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