Rebrand: polkadot → pezkuwi build fixes

- Fixed TypeScript type assertion issues
- Updated imports from api-augment/substrate to api-augment/bizinikiwi
- Fixed imgConvert.mjs header and imports
- Added @ts-expect-error for runtime-converted types
- Fixed all @polkadot copyright headers to @pezkuwi
This commit is contained in:
2026-01-07 02:32:54 +03:00
parent fe2cd390f6
commit 1295c36241
4678 changed files with 26389 additions and 63316 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
import React, { createContext, useContext, useEffect, useState, ReactNode } from 'react';
import { ApiPromise, WsProvider } from '@polkadot/api';
import { Keyring } from '@polkadot/keyring';
import { KeyringPair } from '@polkadot/keyring/types';
import { ApiPromise, WsProvider } from '@pezkuwi/api';
import { Keyring } from '@pezkuwi/keyring';
import { KeyringPair } from '@pezkuwi/keyring/types';
import AsyncStorage from '@react-native-async-storage/async-storage';
import * as SecureStore from 'expo-secure-store';
import { cryptoWaitReady } from '@polkadot/util-crypto';
import { cryptoWaitReady } from '@pezkuwi/util-crypto';
import { DEFAULT_ENDPOINT } from '../../../shared/blockchain/polkadot';
interface Account {
@@ -1,7 +1,7 @@
import React from 'react';
import { renderHook, act, waitFor } from '@testing-library/react-native';
import { PolkadotProvider, usePolkadot } from '../PolkadotContext';
import { ApiPromise } from '@polkadot/api';
import { ApiPromise } from '@pezkuwi/api';
// Wrapper for provider
const wrapper = ({ children }: { children: React.ReactNode }) => (