Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f08670ba14 | ||
|
|
62f86ab9d8 | ||
|
|
5cc4d12685 | ||
|
|
04c00c675f | ||
|
|
482dcc0ddf | ||
|
|
37f22ae0de | ||
|
|
940bbdf949 | ||
|
|
0f03a8c2bf |
@@ -1,5 +1,19 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 3.8.2 July 22, 2024
|
||||
|
||||
Changes:
|
||||
|
||||
- Fix ledgerApp bug, and remove legacy
|
||||
|
||||
|
||||
## 3.8.1 July 22, 2024
|
||||
|
||||
Changes:
|
||||
|
||||
- Add new ledger app settings
|
||||
|
||||
|
||||
## 3.7.1 July 13, 2024
|
||||
|
||||
Changes:
|
||||
@@ -7,6 +21,7 @@ Changes:
|
||||
- Upgrade polkadot/common 13.0.2
|
||||
- Bump yarn to 4.3.1
|
||||
|
||||
|
||||
## 3.6.6 Apr 17, 2024
|
||||
|
||||
Contributed:
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
735 Jaco Adjust Vue peerDependency, >= 2.7 for defineComponent (#782)
|
||||
9 Tarik Gul 3.7.1 (#795)
|
||||
13 Tarik Gul 3.8.2 (#799)
|
||||
7 YJ fix #224: decrease frame size to 1024, set multipart bool (#225)
|
||||
4 Antoine Estienne Refactor logic to better use prefix (#491)
|
||||
4 kwingram25 fix ff api url issue (#289)
|
||||
|
||||
+3
-3
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "3.7.1",
|
||||
"version": "3.8.2",
|
||||
"versions": {
|
||||
"git": "3.7.1",
|
||||
"npm": "3.7.1"
|
||||
"git": "3.8.2",
|
||||
"npm": "3.8.2"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "3.7.1",
|
||||
"version": "3.8.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^13.0.2",
|
||||
"@polkadot/ui-settings": "3.7.1",
|
||||
"@polkadot/ui-shared": "3.7.1",
|
||||
"@polkadot/ui-settings": "3.8.2",
|
||||
"@polkadot/ui-shared": "3.8.2",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"ethereum-blockies-base64": "^1.0.2",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/react-identicon', path: 'auto', type: 'auto', version: '3.7.1' };
|
||||
export const packageInfo = { name: '@polkadot/react-identicon', path: 'auto', type: 'auto', version: '3.8.2' };
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "3.7.1",
|
||||
"version": "3.8.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/ui-settings": "3.7.1",
|
||||
"@polkadot/ui-settings": "3.8.2",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"qrcode-generator": "^1.4.4",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/react-qr', path: 'auto', type: 'auto', version: '3.7.1' };
|
||||
export const packageInfo = { name: '@polkadot/react-qr', path: 'auto', type: 'auto', version: '3.8.2' };
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "3.7.1",
|
||||
"version": "3.8.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/ui-shared": "3.7.1",
|
||||
"@polkadot/ui-shared": "3.8.2",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"react-native-svg": "^14.1.0",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/reactnative-identicon', path: 'auto', type: 'auto', version: '3.7.1' };
|
||||
export const packageInfo = { name: '@polkadot/reactnative-identicon', path: 'auto', type: 'auto', version: '3.8.2' };
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "3.7.1",
|
||||
"version": "3.8.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^13.0.2",
|
||||
"@polkadot/ui-settings": "3.7.1",
|
||||
"@polkadot/ui-settings": "3.8.2",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"mkdirp": "^3.0.1",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/ui-keyring', path: 'auto', type: 'auto', version: '3.7.1' };
|
||||
export const packageInfo = { name: '@polkadot/ui-keyring', path: 'auto', type: 'auto', version: '3.8.2' };
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "3.7.1",
|
||||
"version": "3.8.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/networks": "^13.0.2",
|
||||
|
||||
@@ -8,7 +8,7 @@ import store from 'store';
|
||||
|
||||
import { hasProcess, isUndefined } from '@polkadot/util';
|
||||
|
||||
import { CAMERA, CAMERA_DEFAULT, CRYPTOS, CRYPTOS_ETH, CRYPTOS_LEDGER, ENDPOINT_DEFAULT, ENDPOINTS, ICON_DEFAULT, ICONS, LANGUAGE_DEFAULT, LEDGER_CONN, LEDGER_CONN_DEFAULT, LOCKING, LOCKING_DEFAULT, METADATA_UP, METADATA_UP_DEFAULT, NOTIFICATION_DEFAULT, PREFIX_DEFAULT, PREFIXES, STORAGE, STORAGE_DEFAULT, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './defaults/index.js';
|
||||
import { CAMERA, CAMERA_DEFAULT, CRYPTOS, CRYPTOS_ETH, CRYPTOS_LEDGER, ENDPOINT_DEFAULT, ENDPOINTS, ICON_DEFAULT, ICONS, LANGUAGE_DEFAULT, LEDGER_APP, LEDGER_APP_DEFAULT, LEDGER_CONN, LEDGER_CONN_DEFAULT, LOCKING, LOCKING_DEFAULT, METADATA_UP, METADATA_UP_DEFAULT, NOTIFICATION_DEFAULT, PREFIX_DEFAULT, PREFIXES, STORAGE, STORAGE_DEFAULT, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './defaults/index.js';
|
||||
|
||||
type ChangeCallback = (settings: SettingsStruct) => void;
|
||||
type OnTypes = 'change';
|
||||
@@ -35,6 +35,8 @@ export class Settings implements SettingsStruct {
|
||||
|
||||
#icon: string;
|
||||
|
||||
#ledgerApp: string;
|
||||
|
||||
#ledgerConn: string;
|
||||
|
||||
#locking: string;
|
||||
@@ -60,6 +62,7 @@ export class Settings implements SettingsStruct {
|
||||
this.#apiUrl = (typeof settings.apiUrl === 'string' && settings.apiUrl) || (hasProcess && process.env?.['WS_URL']) || (ENDPOINT_DEFAULT.value as string);
|
||||
this.#apiType = { param: this.#apiUrl, type: 'json-rpc' as EndpointType };
|
||||
this.#camera = withDefault(CAMERA, settings.camera, CAMERA_DEFAULT);
|
||||
this.#ledgerApp = withDefault(LEDGER_APP, settings.ledgerApp, LEDGER_APP_DEFAULT);
|
||||
this.#ledgerConn = withDefault(LEDGER_CONN, settings.ledgerConn, LEDGER_CONN_DEFAULT);
|
||||
this.#i18nLang = settings.i18nLang || LANGUAGE_DEFAULT;
|
||||
this.#icon = settings.icon || ICON_DEFAULT;
|
||||
@@ -96,6 +99,10 @@ export class Settings implements SettingsStruct {
|
||||
return this.#notification;
|
||||
}
|
||||
|
||||
public get ledgerApp (): string {
|
||||
return this.#ledgerApp;
|
||||
}
|
||||
|
||||
public get ledgerConn (): string {
|
||||
return this.#ledgerConn;
|
||||
}
|
||||
@@ -144,6 +151,10 @@ export class Settings implements SettingsStruct {
|
||||
return ICONS;
|
||||
}
|
||||
|
||||
public get availableLedgerApp (): Option[] {
|
||||
return LEDGER_APP;
|
||||
}
|
||||
|
||||
public get availableLedgerConn (): Option[] {
|
||||
return LEDGER_CONN;
|
||||
}
|
||||
@@ -183,6 +194,7 @@ export class Settings implements SettingsStruct {
|
||||
camera: this.#camera,
|
||||
i18nLang: this.#i18nLang,
|
||||
icon: this.#icon,
|
||||
ledgerApp: this.#ledgerApp,
|
||||
ledgerConn: this.#ledgerConn,
|
||||
locking: this.#locking,
|
||||
metadataUp: this.#metadataUp,
|
||||
@@ -199,6 +211,7 @@ export class Settings implements SettingsStruct {
|
||||
this.#apiUrl = settings.apiUrl || this.#apiUrl;
|
||||
this.#camera = settings.camera || this.#camera;
|
||||
this.#ledgerConn = settings.ledgerConn || this.#ledgerConn;
|
||||
this.#ledgerApp = settings.ledgerApp || this.#ledgerApp;
|
||||
this.#i18nLang = settings.i18nLang || this.#i18nLang;
|
||||
this.#icon = settings.icon || this.#icon;
|
||||
this.#locking = settings.locking || this.#locking;
|
||||
|
||||
@@ -5,7 +5,7 @@ import type { Option } from '../types.js';
|
||||
|
||||
export { CRYPTOS, CRYPTOS_ETH, CRYPTOS_LEDGER } from './crypto.js';
|
||||
export { ENDPOINT_DEFAULT, ENDPOINTS } from './endpoints.js';
|
||||
export { LEDGER_CONN, LEDGER_CONN_DEFAULT } from './ledger.js';
|
||||
export { LEDGER_APP, LEDGER_APP_DEFAULT, LEDGER_CONN, LEDGER_CONN_DEFAULT } from './ledger.js';
|
||||
export { PREFIX_DEFAULT, PREFIXES } from './ss58.js';
|
||||
export { ICON_DEFAULT, ICON_DEFAULT_HOST, ICONS, NOTIFICATION_DEFAULT, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './ui.js';
|
||||
|
||||
|
||||
@@ -28,3 +28,18 @@ export const LEDGER_CONN: Option[] = [
|
||||
value: 'hid'
|
||||
}
|
||||
];
|
||||
|
||||
export const LEDGER_APP_DEFAULT = 'generic';
|
||||
|
||||
export const LEDGER_APP: Option[] = [
|
||||
{
|
||||
info: 'generic',
|
||||
text: 'Use the Ledger Polkadot Generic App',
|
||||
value: 'generic'
|
||||
},
|
||||
{
|
||||
info: 'migration',
|
||||
text: 'Use the Ledger Migration App',
|
||||
value: 'migration'
|
||||
}
|
||||
];
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/ui-settings', path: 'auto', type: 'auto', version: '3.7.1' };
|
||||
export const packageInfo = { name: '@polkadot/ui-settings', path: 'auto', type: 'auto', version: '3.8.2' };
|
||||
|
||||
@@ -14,6 +14,7 @@ export interface SettingsStruct {
|
||||
camera: string;
|
||||
i18nLang: string;
|
||||
icon: string;
|
||||
ledgerApp: string;
|
||||
ledgerConn: string;
|
||||
locking: string;
|
||||
metadataUp: string;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "3.7.1",
|
||||
"version": "3.8.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"colord": "^2.9.3",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/ui-shared', path: 'auto', type: 'auto', version: '3.7.1' };
|
||||
export const packageInfo = { name: '@polkadot/ui-shared', path: 'auto', type: 'auto', version: '3.8.2' };
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "3.7.1",
|
||||
"version": "3.8.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/ui-shared": "3.7.1",
|
||||
"@polkadot/ui-shared": "3.8.2",
|
||||
"@polkadot/util": "^13.0.2",
|
||||
"@polkadot/util-crypto": "^13.0.2",
|
||||
"jdenticon": "3.2.0",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/vue-identicon', path: 'auto', type: 'auto', version: '3.7.1' };
|
||||
export const packageInfo = { name: '@polkadot/vue-identicon', path: 'auto', type: 'auto', version: '3.8.2' };
|
||||
|
||||
@@ -1626,8 +1626,8 @@ __metadata:
|
||||
resolution: "@polkadot/react-identicon@workspace:packages/react-identicon"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^13.0.2"
|
||||
"@polkadot/ui-settings": "npm:3.7.1"
|
||||
"@polkadot/ui-shared": "npm:3.7.1"
|
||||
"@polkadot/ui-settings": "npm:3.8.2"
|
||||
"@polkadot/ui-shared": "npm:3.8.2"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
"@types/react-copy-to-clipboard": "npm:^5.0.7"
|
||||
@@ -1652,7 +1652,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/react-qr@workspace:packages/react-qr"
|
||||
dependencies:
|
||||
"@polkadot/ui-settings": "npm:3.7.1"
|
||||
"@polkadot/ui-settings": "npm:3.8.2"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
"@types/react-qr-reader": "npm:^2.1.7"
|
||||
@@ -1673,7 +1673,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/reactnative-identicon@workspace:packages/reactnative-identicon"
|
||||
dependencies:
|
||||
"@polkadot/ui-shared": "npm:3.7.1"
|
||||
"@polkadot/ui-shared": "npm:3.8.2"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
"@types/react-native": "npm:^0.72.8"
|
||||
@@ -1692,7 +1692,7 @@ __metadata:
|
||||
resolution: "@polkadot/ui-keyring@workspace:packages/ui-keyring"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^13.0.2"
|
||||
"@polkadot/ui-settings": "npm:3.7.1"
|
||||
"@polkadot/ui-settings": "npm:3.8.2"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
"@types/mkdirp": "npm:^2.0.0"
|
||||
@@ -1708,7 +1708,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/ui-settings@npm:3.7.1, @polkadot/ui-settings@workspace:packages/ui-settings":
|
||||
"@polkadot/ui-settings@npm:3.8.2, @polkadot/ui-settings@workspace:packages/ui-settings":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/ui-settings@workspace:packages/ui-settings"
|
||||
dependencies:
|
||||
@@ -1724,7 +1724,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/ui-shared@npm:3.7.1, @polkadot/ui-shared@workspace:packages/ui-shared":
|
||||
"@polkadot/ui-shared@npm:3.8.2, @polkadot/ui-shared@workspace:packages/ui-shared":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/ui-shared@workspace:packages/ui-shared"
|
||||
dependencies:
|
||||
@@ -1779,7 +1779,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/vue-identicon@workspace:packages/vue-identicon"
|
||||
dependencies:
|
||||
"@polkadot/ui-shared": "npm:3.7.1"
|
||||
"@polkadot/ui-shared": "npm:3.8.2"
|
||||
"@polkadot/util": "npm:^13.0.2"
|
||||
"@polkadot/util-crypto": "npm:^13.0.2"
|
||||
jdenticon: "npm:3.2.0"
|
||||
|
||||
Reference in New Issue
Block a user