mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-20 21:01:06 +00:00
Bumps
This commit is contained in:
@@ -4,9 +4,7 @@
|
||||
"description": "A very basic example with ui-* & react-* packages",
|
||||
"main": "index.js",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5"
|
||||
|
||||
@@ -4,9 +4,7 @@
|
||||
"description": "A very basic example with ui-* & vue-* packages",
|
||||
"main": "index.js",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5"
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^4.0.2-8",
|
||||
"@polkadot/keyring": "^4.0.2-11",
|
||||
"@polkadot/reactnative-identicon": "0.62.2-5",
|
||||
"@polkadot/ui-keyring": "0.62.2-5",
|
||||
"@polkadot/ui-settings": "0.62.2-5",
|
||||
"@polkadot/util": "^4.0.2-8",
|
||||
"@polkadot/util-crypto": "^4.0.2-8",
|
||||
"@polkadot/util": "^4.0.2-11",
|
||||
"@polkadot/util-crypto": "^4.0.2-11",
|
||||
"@react-native-community/async-storage": "^1.12.1",
|
||||
"fast-text-encoding": "^1.0.3",
|
||||
"get-yarn-workspaces": "^1.0.2",
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
"version": "0.62.2-5",
|
||||
"repository": "https://github.com/polkadot-js/ui.git",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"main": "node.js",
|
||||
@@ -16,7 +14,7 @@
|
||||
"@ledgerhq/hw-transport-webusb": "^5.28.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "^2.6.2-4",
|
||||
"@polkadot/types": "^2.6.2-5",
|
||||
"@types/ledgerhq__hw-transport-node-hid": "^4.22.2",
|
||||
"@types/ledgerhq__hw-transport-webusb": "^4.70.1"
|
||||
},
|
||||
|
||||
@@ -3,22 +3,20 @@
|
||||
"version": "0.62.2-5",
|
||||
"repository": "https://github.com/polkadot-js/ui.git",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"main": "index.js",
|
||||
"module": "index.mjs",
|
||||
"module": "esm/index.js",
|
||||
"sideEffects": false,
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/ledger-transports": "0.62.2-5",
|
||||
"@polkadot/util": "^4.0.2-8",
|
||||
"@polkadot/util": "^4.0.2-11",
|
||||
"@zondax/ledger-polkadot": "^0.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "^2.6.2-4"
|
||||
"@polkadot/types": "^2.6.2-5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "*"
|
||||
|
||||
@@ -3,20 +3,18 @@
|
||||
"version": "0.62.2-5",
|
||||
"description": "Renders an SVG picture representing an address",
|
||||
"main": "index.js",
|
||||
"module": "index.mjs",
|
||||
"module": "esm/index.js",
|
||||
"sideEffects": false,
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/keyring": "^4.0.2-8",
|
||||
"@polkadot/keyring": "^4.0.2-11",
|
||||
"@polkadot/ui-settings": "0.62.2-5",
|
||||
"@polkadot/ui-shared": "0.62.2-5",
|
||||
"@polkadot/util": "^4.0.2-8",
|
||||
"@polkadot/util-crypto": "^4.0.2-8",
|
||||
"@polkadot/util": "^4.0.2-11",
|
||||
"@polkadot/util-crypto": "^4.0.2-11",
|
||||
"color": "^3.1.3",
|
||||
"ethereum-blockies-base64": "^1.0.2",
|
||||
"jdenticon": "2.2.0",
|
||||
|
||||
@@ -3,17 +3,15 @@
|
||||
"version": "0.62.2-5",
|
||||
"description": "Generates and reads QR codes",
|
||||
"main": "index.js",
|
||||
"module": "index.mjs",
|
||||
"module": "esm/index.js",
|
||||
"sideEffects": false,
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/util": "^4.0.2-8",
|
||||
"@polkadot/util-crypto": "^4.0.2-8",
|
||||
"@polkadot/util": "^4.0.2-11",
|
||||
"@polkadot/util-crypto": "^4.0.2-11",
|
||||
"qrcode-generator": "^1.4.4",
|
||||
"react-qr-reader": "^2.2.1",
|
||||
"styled-components": "^5.2.1"
|
||||
|
||||
@@ -3,18 +3,16 @@
|
||||
"version": "0.62.2-5",
|
||||
"description": "Renders an SVG picture representing an address",
|
||||
"main": "index.js",
|
||||
"module": "index.mjs",
|
||||
"module": "esm/index.js",
|
||||
"sideEffects": false,
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/ui-shared": "0.62.2-5",
|
||||
"@polkadot/util": "^4.0.2-8",
|
||||
"@polkadot/util-crypto": "^4.0.2-8",
|
||||
"@polkadot/util": "^4.0.2-11",
|
||||
"@polkadot/util-crypto": "^4.0.2-11",
|
||||
"react-native-svg": "^12.1.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -4,9 +4,7 @@
|
||||
"description": "Static assets shared accross projects",
|
||||
"main": "index.js",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5"
|
||||
|
||||
@@ -2,27 +2,25 @@
|
||||
"name": "@polkadot/ui-keyring",
|
||||
"version": "0.62.2-5",
|
||||
"main": "index.js",
|
||||
"module": "index.mjs",
|
||||
"module": "esm/index.js",
|
||||
"sideEffects": false,
|
||||
"repository": "https://github.com/polkadot-js/apps.git",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"contributors": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/keyring": "^4.0.2-8",
|
||||
"@polkadot/keyring": "^4.0.2-11",
|
||||
"@polkadot/ledger": "^0.62.2-5",
|
||||
"@polkadot/ui-settings": "0.62.2-5",
|
||||
"@polkadot/util": "^4.0.2-8",
|
||||
"@polkadot/util": "^4.0.2-11",
|
||||
"mkdirp": "^1.0.4",
|
||||
"rxjs": "^6.6.3",
|
||||
"store": "^2.0.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "^2.6.2-4",
|
||||
"@polkadot/types": "^2.6.2-5",
|
||||
"@types/mkdirp": "^1.0.1",
|
||||
"@types/store": "^2.0.2"
|
||||
},
|
||||
|
||||
@@ -15,7 +15,7 @@ import { base64Decode, createKeyMulti } from '@polkadot/util-crypto';
|
||||
import env from './observable/development';
|
||||
import Base from './Base';
|
||||
import { accountKey, addressKey, accountRegex, addressRegex, contractKey, contractRegex } from './defaults';
|
||||
import keyringOption from './options';
|
||||
import { KeyringOption } from './options';
|
||||
|
||||
const RECENT_EXPIRY = 24 * 60 * 60;
|
||||
|
||||
@@ -23,6 +23,8 @@ const RECENT_EXPIRY = 24 * 60 * 60;
|
||||
// Chain determination occurs outside of Keyring. Loading `keyring.loadAll({ type: 'ed25519' | 'sr25519' })` is triggered
|
||||
// from the API after the chain is received
|
||||
export class Keyring extends Base implements KeyringStruct {
|
||||
#keyringOption = new KeyringOption();
|
||||
|
||||
#stores = {
|
||||
account: (): AddressSubject => this.accounts,
|
||||
address: (): AddressSubject => this.addresses,
|
||||
@@ -277,7 +279,7 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
}
|
||||
});
|
||||
|
||||
keyringOption.init(this);
|
||||
this.#keyringOption.init(this);
|
||||
}
|
||||
|
||||
public restoreAccount (json: KeyringPair$Json, password: string): KeyringPair {
|
||||
@@ -364,7 +366,3 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
return this.addresses.subject.getValue()[address];
|
||||
}
|
||||
}
|
||||
|
||||
const keyringInstance = new Keyring();
|
||||
|
||||
export default keyringInstance;
|
||||
|
||||
@@ -3,10 +3,12 @@
|
||||
|
||||
import './detectPackage';
|
||||
|
||||
import keyring, { Keyring } from './Keyring';
|
||||
import { Keyring } from './Keyring';
|
||||
|
||||
export { default as Ledger } from '@polkadot/ledger';
|
||||
|
||||
const keyring = new Keyring();
|
||||
|
||||
export default keyring;
|
||||
|
||||
export { Keyring };
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { KeyringStruct } from '../types';
|
||||
import keyringOptionInstance from '.';
|
||||
import { KeyringOption } from '.';
|
||||
|
||||
const keyringOptionInstance = new KeyringOption();
|
||||
|
||||
describe('KeyringOption', (): void => {
|
||||
it('should not allow initOptions to be called more than once', (): void => {
|
||||
|
||||
@@ -34,7 +34,7 @@ const sortByCreated = (a: SingleAddress, b: SingleAddress): number => {
|
||||
return 0;
|
||||
};
|
||||
|
||||
class KeyringOption implements KeyringOptionInstance {
|
||||
export class KeyringOption implements KeyringOptionInstance {
|
||||
public readonly optionsSubject: BehaviorSubject<KeyringOptions> = new BehaviorSubject(this.emptyOptions());
|
||||
|
||||
public createOptionHeader (name: string): KeyringSectionOption {
|
||||
@@ -138,7 +138,3 @@ class KeyringOption implements KeyringOptionInstance {
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
const keyringOptionInstance = new KeyringOption();
|
||||
|
||||
export default keyringOptionInstance;
|
||||
|
||||
@@ -3,17 +3,15 @@
|
||||
"version": "0.62.2-5",
|
||||
"description": "Manages app settings",
|
||||
"main": "index.js",
|
||||
"module": "index.mjs",
|
||||
"module": "esm/index.js",
|
||||
"sideEffects": false,
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/networks": "^4.0.2-8",
|
||||
"@polkadot/util": "^4.0.2-8",
|
||||
"@polkadot/networks": "^4.0.2-11",
|
||||
"@polkadot/util": "^4.0.2-11",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"store": "^2.0.12"
|
||||
},
|
||||
|
||||
@@ -3,12 +3,10 @@
|
||||
"version": "0.62.2-5",
|
||||
"description": "Shared logic that is usable accross all frameworks-specific areas",
|
||||
"main": "index.js",
|
||||
"module": "index.mjs",
|
||||
"module": "esm/index.js",
|
||||
"sideEffects": false,
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
@@ -19,8 +17,8 @@
|
||||
"@polkadot/util-crypto": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^4.0.2-8",
|
||||
"@polkadot/util-crypto": "^4.0.2-8",
|
||||
"@polkadot/util": "^4.0.2-11",
|
||||
"@polkadot/util-crypto": "^4.0.2-11",
|
||||
"@types/color": "^3.0.1",
|
||||
"@types/xmlserializer": "^0.6.1"
|
||||
}
|
||||
|
||||
@@ -3,18 +3,16 @@
|
||||
"version": "0.62.2-5",
|
||||
"description": "Renders an SVG picture representing an address",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [
|
||||
"Jaco Greeff <jacogr@gmail.com>"
|
||||
],
|
||||
"maintainers": [],
|
||||
"main": "index.js",
|
||||
"module": "index.mjs",
|
||||
"module": "esm/index.js",
|
||||
"sideEffects": false,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/ui-shared": "0.62.2-5",
|
||||
"@polkadot/util": "^4.0.2-8",
|
||||
"@polkadot/util-crypto": "^4.0.2-8",
|
||||
"@polkadot/util": "^4.0.2-11",
|
||||
"@polkadot/util-crypto": "^4.0.2-11",
|
||||
"jdenticon": "2.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user