parent
b1bb579d01
commit
afb8aedb0a
@ -12,9 +12,9 @@
|
|||||||
"yarn": "^1.10.1"
|
"yarn": "^1.10.1"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@polkadot/api": "^0.90.1",
|
"@polkadot/api": "^0.91.0-beta.2",
|
||||||
"@polkadot/keyring": "^1.1.1",
|
"@polkadot/keyring": "^1.1.1",
|
||||||
"@polkadot/types": "^0.90.1",
|
"@polkadot/types": "^0.91.0-beta.2",
|
||||||
"@polkadot/util": "^1.1.1",
|
"@polkadot/util": "^1.1.1",
|
||||||
"@polkadot/util-crypto": "^1.1.1",
|
"@polkadot/util-crypto": "^1.1.1",
|
||||||
"babel-core": "^7.0.0-bridge.0",
|
"babel-core": "^7.0.0-bridge.0",
|
||||||
@ -32,7 +32,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.5.5",
|
"@babel/core": "^7.5.5",
|
||||||
"@polkadot/dev-react": "^0.31.0-beta.3",
|
"@polkadot/dev-react": "^0.31.0-beta.4",
|
||||||
"@polkadot/ts": "^0.1.64"
|
"@polkadot/ts": "^0.1.68"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,7 +47,7 @@ function injectSingleSource (win: SingleWindow): void {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// decorate the compat interface
|
// decorate the compat interface
|
||||||
win.injectedWeb3['SingleSource'] = {
|
win.injectedWeb3.SingleSource = {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
enable: async (origin: string): Promise<Injected> => ({
|
enable: async (origin: string): Promise<Injected> => ({
|
||||||
accounts: {
|
accounts: {
|
||||||
|
|||||||
@ -6,9 +6,9 @@
|
|||||||
"license": "Apache-2",
|
"license": "Apache-2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.5.5",
|
"@babel/runtime": "^7.5.5",
|
||||||
"@polkadot/react-identicon": "^0.42.1",
|
"@polkadot/react-identicon": "^0.43.0-beta.1",
|
||||||
"@types/react-router": "^5.0.3",
|
"@types/react-router": "^5.0.3",
|
||||||
"@types/react-router-dom": "^4.3.4",
|
"@types/react-router-dom": "^4.3.5",
|
||||||
"react-router": "^5.0.1",
|
"react-router": "^5.0.1",
|
||||||
"react-router-dom": "^5.0.1"
|
"react-router-dom": "^5.0.1"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -43,7 +43,7 @@ function Create ({ onAction }: Props): React.ReactElement<Props> {
|
|||||||
<>
|
<>
|
||||||
<TextArea
|
<TextArea
|
||||||
isReadOnly
|
isReadOnly
|
||||||
label={`generated 12-word mnemonic seed`}
|
label='generated 12-word mnemonic seed'
|
||||||
value={account.seed}
|
value={account.seed}
|
||||||
/>
|
/>
|
||||||
<Name
|
<Name
|
||||||
|
|||||||
@ -41,7 +41,7 @@ function Import ({ onAction }: Props): React.ReactElement<Props> {
|
|||||||
<TextArea
|
<TextArea
|
||||||
isError={!account}
|
isError={!account}
|
||||||
isFocussed
|
isFocussed
|
||||||
label={`existing 12 or 24-word mnemonic seed`}
|
label='existing 12 or 24-word mnemonic seed'
|
||||||
onChange={onChangeSeed}
|
onChange={onChangeSeed}
|
||||||
/>
|
/>
|
||||||
{account && <Name onChange={setName} />}
|
{account && <Name onChange={setName} />}
|
||||||
|
|||||||
@ -11,7 +11,7 @@ const defaults = {
|
|||||||
borderRadius: '0.25rem',
|
borderRadius: '0.25rem',
|
||||||
btnBg: TEXT_COLOR, // LINK_COLOR,
|
btnBg: TEXT_COLOR, // LINK_COLOR,
|
||||||
btnBgDanger: DANGER_COLOR,
|
btnBgDanger: DANGER_COLOR,
|
||||||
btnBorder: `0 solid `,
|
btnBorder: '0 solid ',
|
||||||
btnColor: '#f5f6f7',
|
btnColor: '#f5f6f7',
|
||||||
btnColorDanger: '#f5f6f7',
|
btnColorDanger: '#f5f6f7',
|
||||||
btnPadding: '0.75rem 1rem',
|
btnPadding: '0.75rem 1rem',
|
||||||
|
|||||||
@ -5,9 +5,9 @@
|
|||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||||
"license": "Apache-2",
|
"license": "Apache-2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "^0.90.1",
|
"@polkadot/api": "^0.91.0-beta.2",
|
||||||
"@polkadot/extension-ui": "^0.8.2",
|
"@polkadot/extension-ui": "^0.8.2",
|
||||||
"@polkadot/ui-keyring": "^0.42.1"
|
"@polkadot/ui-keyring": "^0.43.0-beta.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/runtime": "^7.5.5",
|
"@babel/runtime": "^7.5.5",
|
||||||
|
|||||||
@ -29,13 +29,13 @@ function createWebpack ({ alias = {}, context }) {
|
|||||||
background: './src/background/index.ts',
|
background: './src/background/index.ts',
|
||||||
content: './src/content.ts',
|
content: './src/content.ts',
|
||||||
page: './src/page/index.ts',
|
page: './src/page/index.ts',
|
||||||
popup: `./src/popup.ts`
|
popup: './src/popup.ts'
|
||||||
},
|
},
|
||||||
mode: ENV,
|
mode: ENV,
|
||||||
output: {
|
output: {
|
||||||
chunkFilename: `[name].js`,
|
chunkFilename: '[name].js',
|
||||||
filename: `[name].js`,
|
filename: '[name].js',
|
||||||
globalObject: `(typeof self !== 'undefined' ? self : this)`,
|
globalObject: '(typeof self !== \'undefined\' ? self : this)',
|
||||||
path: path.join(context, 'build')
|
path: path.join(context, 'build')
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user