Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.14.0-beta.1"
"version": "0.14.0-beta.2"
}
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.14.0-beta.1",
"version": "0.14.0-beta.2",
"description": "A sample signer extension for the @polkadot/api",
"repository": "https://github.com/polkadot-js/extension",
"author": "Jaco Greeff <jacogr@gmail.com>",
Expand All @@ -12,13 +12,13 @@
"yarn": "^1.10.1"
},
"resolutions": {
"@polkadot/api": "^0.96.0-beta.7",
"@polkadot/keyring": "^1.6.1",
"@polkadot/types": "^0.96.0-beta.7",
"@polkadot/util": "^1.6.1",
"@polkadot/util-crypto": "^1.6.1",
"@polkadot/api": "^0.96.0-beta.34",
"@polkadot/keyring": "^1.7.0-beta.5",
"@polkadot/types": "^0.96.0-beta.34",
"@polkadot/util": "^1.7.0-beta.5",
"@polkadot/util-crypto": "^1.7.0-beta.5",
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.6.4"
"typescript": "^3.7.2"
},
"scripts": {
"build": "NODE_ENV=production polkadot-dev-build-ts",
Expand All @@ -31,8 +31,8 @@
"watch": "cd packages/extension && webpack --config webpack.config.js --watch"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@polkadot/dev-react": "^0.32.0-beta.11",
"@polkadot/ts": "^0.1.82"
"@babel/core": "^7.7.0",
"@polkadot/dev-react": "^0.32.0-beta.13",
"@polkadot/ts": "^0.1.84"
}
}
4 changes: 2 additions & 2 deletions packages/extension-chains/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@polkadot/extension-chains",
"description": "Definitions for all known chains as exposed by the extension.",
"version": "0.14.0-beta.1",
"version": "0.14.0-beta.2",
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"edgeware-node-types": "^1.0.10"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/extension-dapp/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@polkadot/extension-dapp",
"description": "Provides an interfaces around the injected globals for ease of access by dapp developers.",
"version": "0.14.0-beta.1",
"version": "0.14.0-beta.2",
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@polkadot/extension-inject": "^0.14.0-beta.1"
"@babel/runtime": "^7.7.1",
"@polkadot/extension-inject": "^0.14.0-beta.2"
},
"peerDependencies": {
"@polkadot/api": "*"
Expand Down
4 changes: 2 additions & 2 deletions packages/extension-inject/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@polkadot/extension-inject",
"description": "A generic injector (usable to any extension), that populates the base exposed interfaces to be used by dapps.",
"version": "0.14.0-beta.1",
"version": "0.14.0-beta.2",
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {
"@babel/runtime": "^7.6.3"
"@babel/runtime": "^7.7.1"
},
"peerDependencies": {
"@polkadot/api": "*"
Expand Down
10 changes: 5 additions & 5 deletions packages/extension-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@polkadot/extension-ui",
"description": "A sample signer extension for the @polkadot/api",
"version": "0.14.0-beta.1",
"version": "0.14.0-beta.2",
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@polkadot/react-identicon": "^0.47.0-beta.0",
"@polkadot/react-qr": "^0.47.0-beta.0",
"@babel/runtime": "^7.7.1",
"@polkadot/react-identicon": "^0.47.0-beta.3",
"@polkadot/react-qr": "^0.47.0-beta.3",
"@types/react-router": "^5.1.2",
"@types/react-router-dom": "^5.1.0",
"@types/react-router-dom": "^5.1.2",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2"
},
Expand Down
10 changes: 7 additions & 3 deletions packages/extension-ui/src/components/TextInputs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import styled, { css } from 'styled-components';

interface Props {
withError?: boolean;
}

const DefaultTextInputColors = css`
background: ${({ theme }): string => theme.inputBackground};
border-color: ${({ theme }): string => theme.inputBorder};
Expand All @@ -12,7 +16,7 @@ const ErroredTextInputColors = css`
color: ${({ theme }): string => theme.box.error.border};
`;

const TextInput = css<{ withError?: boolean }>`
const TextInput = css<Props>`
box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
border-radius: ${({ theme }): string => theme.borderRadius};
border-style: solid;
Expand All @@ -32,5 +36,5 @@ const TextInput = css<{ withError?: boolean }>`
}
`;

export const TextArea = styled.textarea`${TextInput}`;
export const Input = styled.input`${TextInput}`;
export const TextArea = styled.textarea<Props>`${TextInput}`;
export const Input = styled.input<Props>`${TextInput}`;
12 changes: 6 additions & 6 deletions packages/extension/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@polkadot/extension",
"description": "A sample signer extension for the @polkadot/api",
"version": "0.14.0-beta.1",
"version": "0.14.0-beta.2",
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {
"@polkadot/api": "^0.96.0-beta.7",
"@polkadot/extension-ui": "^0.14.0-beta.1",
"@polkadot/ui-keyring": "^0.47.0-beta.0"
"@polkadot/api": "^0.96.0-beta.34",
"@polkadot/extension-ui": "^0.14.0-beta.2",
"@polkadot/ui-keyring": "^0.47.0-beta.3"
},
"devDependencies": {
"@babel/runtime": "^7.6.3",
"@polkadot/keyring": "^1.6.1",
"@babel/runtime": "^7.7.1",
"@polkadot/keyring": "^1.7.0-beta.5",
"@types/chrome": "^0.0.91",
"@types/firefox-webext-browser": "^70.0.1",
"extensionizer": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/src/background/handlers/Extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function transformAccounts (accounts: SubjectInfo): AccountJson[] {
export default class Extension {
private state: State;

public constructor (state: State) {
constructor (state: State) {
this.state = state;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/extension/src/background/handlers/Tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function transformAccounts (accounts: SubjectInfo): InjectedAccount[] {
export default class Tabs {
private state: State;

public constructor (state: State) {
constructor (state: State) {
this.state = state;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/extension/src/page/Accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { SendRequest } from './types';
let sendRequest: SendRequest;

export default class Accounts implements InjectedAccounts {
public constructor (_sendRequest: SendRequest) {
constructor (_sendRequest: SendRequest) {
sendRequest = _sendRequest;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/extension/src/page/Injected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class implements Injected {

public readonly signer: Signer;

public constructor (sendRequest: SendRequest) {
constructor (sendRequest: SendRequest) {
this.accounts = new Accounts(sendRequest);
this.signer = new Signer(sendRequest);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/src/page/Signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let sendRequest: SendRequest;
let nextId = 0;

export default class Signer implements SignerInterface {
public constructor (_sendRequest: SendRequest) {
constructor (_sendRequest: SendRequest) {
// NOTE We are storing the `sendRequest` as a global to this class, since we don't
// have private members in JS, we err on the side of caution and hide it away so it
// is only available internally to the class.
Expand Down
Loading