@devprotocol/elements
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -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", |
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
187623
19
3840