mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-30 02:21:06 +00:00
Bump deps (#189)
This commit is contained in:
+2
-2
@@ -26,8 +26,8 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.5.5",
|
||||
"@babel/runtime": "^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",
|
||||
"babel-plugin-transform-vue-template": "^0.4.2",
|
||||
"empty": "^0.10.1",
|
||||
"gh-pages": "^2.1.1",
|
||||
|
||||
@@ -31,7 +31,7 @@ export default class Demo extends React.PureComponent {
|
||||
const rootElement = document.getElementById('demo');
|
||||
|
||||
if (!rootElement) {
|
||||
throw new Error(`Unable to find element with id 'demo'`);
|
||||
throw new Error('Unable to find element with id \'demo\'');
|
||||
}
|
||||
|
||||
ReactDOM.render(<Demo />, rootElement);
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.5.5",
|
||||
"@polkadot/ui-shared": "^0.43.0-beta.0",
|
||||
"react-native-svg": "^9.5.3"
|
||||
"react-native-svg": "^9.7.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "*",
|
||||
"react-native": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"react-native": "^0.60.4"
|
||||
"react-native": "^0.60.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^1.1.1",
|
||||
"@polkadot/types": "^0.90.1",
|
||||
"@polkadot/types": "^0.91.0-beta.2",
|
||||
"@polkadot/util": "^1.1.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -56,7 +56,7 @@ export default class Base {
|
||||
return this._keyring;
|
||||
}
|
||||
|
||||
throw new Error(`Keyring should be initialised via 'loadAll' before use`);
|
||||
throw new Error('Keyring should be initialised via \'loadAll\' before use');
|
||||
}
|
||||
|
||||
public get genesisHash (): string | undefined {
|
||||
|
||||
@@ -282,7 +282,7 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
const json = (available[address] && available[address].json) || {
|
||||
address,
|
||||
meta: {
|
||||
isRecent: void 0,
|
||||
isRecent: undefined,
|
||||
whenCreated: Date.now()
|
||||
}
|
||||
};
|
||||
|
||||
@@ -14,10 +14,12 @@ interface Data {
|
||||
* @description The Beachball identicon
|
||||
*/
|
||||
export const Beachball = Vue.extend({
|
||||
// eslint-disable-next-line quotes
|
||||
template: `<div v-html="html" />`,
|
||||
props: ['address', 'size'],
|
||||
data: function (): Data {
|
||||
return {
|
||||
// eslint-disable-next-line quotes
|
||||
html: `<div />`
|
||||
};
|
||||
},
|
||||
|
||||
@@ -14,10 +14,12 @@ interface Data {
|
||||
* @description The substrate default via Jdenticon
|
||||
*/
|
||||
export const Jdenticon = Vue.extend({
|
||||
// eslint-disable-next-line quotes
|
||||
template: `<div v-html="svgHtml" />`,
|
||||
props: ['publicKey', 'size'],
|
||||
data: function (): Data {
|
||||
return {
|
||||
// eslint-disable-next-line quotes
|
||||
svgHtml: `<svg viewBox="0 0 64 64" />`
|
||||
};
|
||||
},
|
||||
|
||||
@@ -14,10 +14,12 @@ interface Data {
|
||||
* @description The Polkadot default identicon
|
||||
*/
|
||||
export const Polkadot = Vue.extend({
|
||||
// eslint-disable-next-line quotes
|
||||
template: `<div v-html="svgHtml" />`,
|
||||
props: ['address', 'size'],
|
||||
data: function (): Data {
|
||||
return {
|
||||
// eslint-disable-next-line quotes
|
||||
svgHtml: `<svg viewBox="0 0 64 64" />`
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user