mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-20 22:05:43 +00:00
Bump deps (#769)
This commit is contained in:
@@ -21,11 +21,11 @@
|
||||
"version": "3.5.2-1-x",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/networks": "^12.3.2",
|
||||
"@polkadot/util": "^12.3.2",
|
||||
"@polkadot/networks": "^12.4.1",
|
||||
"@polkadot/util": "^12.4.1",
|
||||
"eventemitter3": "^5.0.1",
|
||||
"store": "^2.0.12",
|
||||
"tslib": "^2.6.0"
|
||||
"tslib": "^2.6.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/store": "^2.0.2"
|
||||
|
||||
@@ -57,7 +57,7 @@ export class Settings implements SettingsStruct {
|
||||
this.#emitter = new EventEmitter();
|
||||
|
||||
// will become deprecated for supporting substrate connect light clients. apiType structure should be used instead
|
||||
this.#apiUrl = (typeof settings.apiUrl === 'string' && settings.apiUrl) || (hasProcess && process.env && process.env['WS_URL']) || (ENDPOINT_DEFAULT.value as string);
|
||||
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.#ledgerConn = withDefault(LEDGER_CONN, settings.ledgerConn, LEDGER_CONN_DEFAULT);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2023 @polkadot/ui-settings authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export type Option = {
|
||||
export interface Option {
|
||||
disabled?: boolean;
|
||||
info: string;
|
||||
text: string;
|
||||
|
||||
Reference in New Issue
Block a user