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