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