@devprotocol/elements
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -1,2 +0,1 @@ | ||
import { TemplateResult } from 'lit'; | ||
import { UndefinedOr } from '@devprotocol/util-ts'; | ||
@@ -7,8 +6,4 @@ import { ethers } from 'ethers'; | ||
import { DirectiveResult } from 'lit/directive'; | ||
import { TemplateResult } from 'lit'; | ||
declare const stakeOnButton: ({ address, network, }: { | ||
readonly address?: string | undefined; | ||
readonly network?: string | undefined; | ||
}) => TemplateResult; | ||
/** | ||
@@ -34,8 +29,13 @@ * This Custom Element does not have a UI, so it's specifically excluded from the linting rules and declared a class. | ||
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 showNetwork: (net?: string) => DirectiveResult; | ||
declare const getConnection: (id: string) => Connection; | ||
export { Connection, getConnection, showAddress, showNetwork, stakeOnButton }; |
{ | ||
"name": "@devprotocol/elements", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": " Web Components for Dev Protocol", | ||
@@ -33,3 +33,3 @@ "main": "dist/index.js", | ||
"lint:format": "prettier --write '**/*.{ts,js,json,md,yml}'", | ||
"prepack": " npm run build", | ||
"prepack": "npm run test && npm run build", | ||
"prepare": "husky install" | ||
@@ -50,7 +50,7 @@ }, | ||
"@types/dotenv": "8.2.0", | ||
"@types/glob": "7.2.0", | ||
"@types/glob": "8.0.0", | ||
"@types/node": "17.0.25", | ||
"@types/ramda": "0.28.15", | ||
"@typescript-eslint/eslint-plugin": "5.35.1", | ||
"@typescript-eslint/parser": "5.35.1", | ||
"@typescript-eslint/eslint-plugin": "5.36.1", | ||
"@typescript-eslint/parser": "5.36.1", | ||
"@web/dev-server-esbuild": "0.3.2", | ||
@@ -61,4 +61,4 @@ "@web/test-runner": "0.14.0", | ||
"bundled-ethers": "https://github.com/dev-protocol/bundled-ethers.git", | ||
"dotenv": "16.0.1", | ||
"eslint": "8.22.0", | ||
"dotenv": "16.0.2", | ||
"eslint": "8.23.0", | ||
"eslint-config-prettier": "8.5.0", | ||
@@ -75,3 +75,3 @@ "eslint-plugin-functional": "4.2.2", | ||
"rimraf": "3.0.2", | ||
"rollup": "2.78.1", | ||
"rollup": "2.79.0", | ||
"rollup-plugin-dts": "4.2.2", | ||
@@ -81,3 +81,3 @@ "rxjs": "7.5.6", | ||
"type-fest": "2.19.0", | ||
"typescript": "4.7.4", | ||
"typescript": "4.8.2", | ||
"typescript-lit-html-plugin": "0.9.0", | ||
@@ -84,0 +84,0 @@ "vite": "3.0.9" |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
267133