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

@devprotocol/elements

Package Overview
Dependencies
Maintainers
5
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 0.1.1 to 0.2.0

4

bundled/src/dev-connection/index.d.ts

@@ -16,2 +16,6 @@ /**

private _providerSubscription;
private _previousProviderSubscription;
private _chainChangedListener;
private _accountsChangedListener;
private _disconnectListener;
get signer(): BehaviorSubject<UndefinedOr<ethers.Signer>>;

@@ -18,0 +22,0 @@ get provider(): BehaviorSubject<UndefinedOr<ethers.providers.BaseProvider>>;

24

dist/index.d.ts

@@ -0,1 +1,3 @@

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

@@ -5,5 +7,10 @@ import { ethers } from 'ethers';

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

@@ -21,2 +28,6 @@ * This Custom Element does not have a UI, so it's specifically excluded from the linting rules and declared a class.

private _providerSubscription;
private _previousProviderSubscription;
private _chainChangedListener;
private _accountsChangedListener;
private _disconnectListener;
get signer(): BehaviorSubject<UndefinedOr<ethers.Signer>>;

@@ -30,13 +41,6 @@ get provider(): BehaviorSubject<UndefinedOr<ethers.providers.BaseProvider>>;

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

@@ -43,39 +43,39 @@ "main": "dist/index.js",

"@esm-bundle/chai": "4.3.4-fix.0",
"@rollup/plugin-commonjs": "22.0.2",
"@rollup/plugin-multi-entry": "4.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-typescript": "8.4.0",
"@rollup/pluginutils": "4.2.1",
"@rollup/plugin-commonjs": "23.0.3",
"@rollup/plugin-multi-entry": "6.0.0",
"@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-typescript": "10.0.1",
"@rollup/pluginutils": "5.0.2",
"@types/dotenv": "8.2.0",
"@types/glob": "8.0.0",
"@types/node": "17.0.25",
"@types/ramda": "0.28.15",
"@typescript-eslint/eslint-plugin": "5.36.1",
"@typescript-eslint/parser": "5.36.1",
"@web/dev-server-esbuild": "0.3.2",
"@web/test-runner": "0.14.0",
"@web/test-runner-puppeteer": "0.10.5",
"autoprefixer": "10.4.8",
"@types/node": "18.11.11",
"@types/ramda": "0.28.20",
"@typescript-eslint/eslint-plugin": "5.45.1",
"@typescript-eslint/parser": "5.45.1",
"@web/dev-server-esbuild": "0.3.3",
"@web/test-runner": "0.15.0",
"@web/test-runner-puppeteer": "0.11.0",
"autoprefixer": "10.4.13",
"bundled-ethers": "https://github.com/dev-protocol/bundled-ethers.git",
"dotenv": "16.0.2",
"eslint": "8.23.0",
"dotenv": "16.0.3",
"eslint": "8.29.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-functional": "4.2.2",
"ethers": "5.7.0",
"eslint-plugin-functional": "4.4.1",
"ethers": "5.7.2",
"glob": "8.0.3",
"husky": "8.0.1",
"lit": "2.3.1",
"husky": "8.0.2",
"lit": "2.4.1",
"npm-run-all": "4.1.5",
"postcss": "8.4.16",
"prettier": "2.7.1",
"postcss": "8.4.19",
"prettier": "2.8.0",
"ramda": "0.28.0",
"rimraf": "3.0.2",
"rollup": "2.79.0",
"rollup-plugin-dts": "4.2.2",
"rxjs": "7.5.6",
"tailwindcss": "3.1.8",
"type-fest": "2.19.0",
"typescript": "4.8.2",
"rollup": "2.79.1",
"rollup-plugin-dts": "4.2.3",
"rxjs": "7.6.0",
"tailwindcss": "3.2.4",
"type-fest": "3.3.0",
"typescript": "4.9.3",
"typescript-lit-html-plugin": "0.9.0",
"vite": "3.0.9"
"vite": "3.2.5"
},

@@ -82,0 +82,0 @@ "repository": "git+https://github.com/dev-protocol/dev-elements.git",

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc