mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-30 03:48:03 +00:00
fix: update extension packages and fix type compatibility for pezkuwi-sdk
- Update @pezkuwi/extension-inject to ^0.62.13 with proper /types exports - Update @pezkuwi/extension-dapp to ^0.62.13 - Update @pezkuwi/extension-compat-metamask to ^0.62.13 - Fix IconTheme type to include 'bizinikiwi' and 'pezkuwi' themes - Fix endpoint array issues (getTeleports -> direct array references) - Add type assertions for external package compatibility (acala, moonbeam, parallel) - Fix subspace.ts dynamic class typing - Fix conviction type in page-referenda - Update Pallet type names to Pezpallet prefix across codebase - Define InjectedExtension types locally for module resolution - Add styled-components DefaultTheme augmentation - Add react-copy-to-clipboard type declaration for React 18 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,6 @@ import type { EndpointOption } from './types.js';
|
||||
|
||||
import { DICLE_GENESIS } from '../api/constants.js';
|
||||
import { chainsDicleSVG } from '../ui/logos/chains/index.js';
|
||||
import { getTeleports } from './util.js';
|
||||
|
||||
// Dicle Network Endpoints (Canary Network)
|
||||
// Dicle is the canary network for Pezkuwi
|
||||
@@ -92,10 +91,9 @@ export const prodRelayDicle: EndpointOption = {
|
||||
isPeopleForIdentity: true,
|
||||
isRelay: true,
|
||||
linked: [
|
||||
...getTeleports(prodParasDicle)
|
||||
...prodParasDicle
|
||||
],
|
||||
providers: {
|
||||
Local: 'ws://127.0.0.1:9944',
|
||||
'Pezkuwi Foundation': 'wss://dicle-rpc.pezkuwichain.io'
|
||||
},
|
||||
teleport: [1000],
|
||||
|
||||
@@ -5,7 +5,6 @@ import type { EndpointOption } from './types.js';
|
||||
|
||||
import { PEZKUWI_GENESIS } from '../api/constants.js';
|
||||
import { chainsPezkuwiSVG } from '../ui/logos/chains/index.js';
|
||||
import { getTeleports } from './util.js';
|
||||
|
||||
// Pezkuwi Network Endpoints
|
||||
// These are the official PezkuwiChain network endpoints
|
||||
@@ -92,12 +91,10 @@ export const prodRelayPezkuwi: EndpointOption = {
|
||||
isPeopleForIdentity: true,
|
||||
isRelay: true,
|
||||
linked: [
|
||||
...getTeleports(prodParasPezkuwi)
|
||||
...prodParasPezkuwi
|
||||
],
|
||||
providers: {
|
||||
Local: 'ws://127.0.0.1:9944',
|
||||
'Pezkuwi Foundation': 'wss://rpc.pezkuwichain.io',
|
||||
'Pezkuwi Zagros': 'wss://zagros-rpc.pezkuwichain.io'
|
||||
'Pezkuwi Foundation': 'wss://rpc.pezkuwichain.io'
|
||||
},
|
||||
teleport: [1000],
|
||||
text: 'Pezkuwi',
|
||||
|
||||
@@ -5,7 +5,6 @@ import type { EndpointOption } from './types.js';
|
||||
|
||||
import { ZAGROS_GENESIS } from '../api/constants.js';
|
||||
import { chainsZagrosSVG } from '../ui/logos/chains/index.js';
|
||||
import { getTeleports } from './util.js';
|
||||
|
||||
// Zagros Test Network Endpoints
|
||||
// Zagros is the test network for Pezkuwi
|
||||
@@ -92,10 +91,9 @@ export const testRelayZagros: EndpointOption = {
|
||||
isPeopleForIdentity: true,
|
||||
isRelay: true,
|
||||
linked: [
|
||||
...getTeleports(testParasZagros)
|
||||
...testParasZagros
|
||||
],
|
||||
providers: {
|
||||
Local: 'ws://127.0.0.1:9944',
|
||||
'Pezkuwi Foundation': 'wss://zagros-rpc.pezkuwichain.io'
|
||||
},
|
||||
teleport: [1000],
|
||||
|
||||
@@ -2,10 +2,13 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type React from 'react';
|
||||
import type { IconTheme } from '@pezkuwi/react-identicon/types';
|
||||
import type { IconTheme as BaseIconTheme } from '@pezkuwi/react-identicon/types';
|
||||
import type { HexString } from '@pezkuwi/util/types';
|
||||
import type { Option } from '../settings/types.js';
|
||||
|
||||
// Extended IconTheme type that includes pezkuwi-specific themes
|
||||
export type IconTheme = BaseIconTheme | 'bizinikiwi' | 'pezkuwi';
|
||||
|
||||
interface BaseOption {
|
||||
dnslink?: string;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user