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.1 to 0.0.2

7

lib/index.js

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

export const getChainIde = () => window.getChainIde();
export const getChainIde = () => {
if (window.getChainIde) {
return window.getChainIde();
}
throw Error('plugin is not initial');
};
export * from './types/index';

2

lib/types/extensionComponent.d.ts

@@ -10,3 +10,3 @@ /// <reference types="react" />

export interface IBaseExtensionComponent {
componentId: string;
componentId?: string;
position: ComponentPosition;

@@ -13,0 +13,0 @@ componentFunc: () => JSX.Element | JSX.Element[] | null;

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

@@ -8,2 +8,3 @@ "private": false,

"scripts": {
"build": "tsc",
"test": "echo \"Error: no test specified\" && exit 1"

@@ -10,0 +11,0 @@ },

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

@@ -10,3 +10,3 @@ export enum ComponentPosition {

export interface IBaseExtensionComponent {
componentId: string;
componentId?: string;
position: ComponentPosition;

@@ -13,0 +13,0 @@ componentFunc: () => JSX.Element | JSX.Element[] | null;

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