mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-14 23:01:01 +00:00
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:
+4
-4
@@ -15,10 +15,10 @@
|
||||
"lint:fix": "eslint . --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/api": "^16.5.2",
|
||||
"@polkadot/keyring": "^13.5.8",
|
||||
"@polkadot/util": "^13.5.8",
|
||||
"@polkadot/util-crypto": "^13.5.8",
|
||||
"@pezkuwi/api": "^16.5.2",
|
||||
"@pezkuwi/keyring": "^14.0.5",
|
||||
"@pezkuwi/util": "^14.0.5",
|
||||
"@pezkuwi/util-crypto": "^14.0.5",
|
||||
"@react-native-async-storage/async-storage": "^2.2.0",
|
||||
"@react-navigation/bottom-tabs": "^7.8.5",
|
||||
"@react-navigation/native": "^7.1.20",
|
||||
|
||||
@@ -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 }) => (
|
||||
|
||||
Reference in New Issue
Block a user