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

@devprotocol/elements

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devprotocol/elements - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

14

dist/index.d.ts

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

import { TemplateResult } from 'lit';
import { UndefinedOr } from '@devprotocol/util-ts';

@@ -5,5 +6,9 @@ import { Signer, ContractRunner, Eip1193Provider, BrowserProvider, Networkish } from 'ethers';

import { UllrElement } from '@aggre/ullr';
import { TemplateResult } from 'lit';
import { DirectiveResult } from 'lit/directive';
declare const stakeOnButton: ({ address, network, }: {
readonly address?: string | undefined;
readonly network?: string | undefined;
}) => TemplateResult;
/**

@@ -41,13 +46,8 @@ * This Custom Element does not have a UI, so it's specifically excluded from the linting rules and declared a class.

declare const stakeOnButton: ({ address, network, }: {
readonly address?: string | undefined;
readonly network?: string | undefined;
}) => TemplateResult;
declare const showAddress: (addr?: string) => DirectiveResult;
declare const getConnection: (id: string) => Connection;
declare const showAddress: (addr?: string) => DirectiveResult;
declare const showNetwork: (net?: string) => DirectiveResult;
export { Connection, getConnection, showAddress, showNetwork, stakeOnButton };
{
"name": "@devprotocol/elements",
"version": "1.5.0",
"version": "1.5.1",
"description": " Web Components for Dev Protocol",

@@ -15,3 +15,3 @@ "main": "dist/index.js",

"require": "./dist/constants.js",
"types": "./dist/constants.d.ts"
"types": "./constants.d.ts"
}

@@ -37,3 +37,3 @@ },

"watch": "npm run build:rollup:elements -w",
"prebuild": "rimraf dist bundled",
"prebuild": "rimraf dist bundled constants.d.ts",
"lint": "npm run lint:eslint && npm run lint:format",

@@ -40,0 +40,0 @@ "lint:eslint": "eslint . --ext .ts,.js --fix",

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