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
+1 -1
View File
@@ -13,7 +13,7 @@
* Run this file with Jest: `npx jest kyc.live.test.js`
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import axios from 'axios'; // Using axios for HTTP requests
// ========================================
+1 -1
View File
@@ -1,5 +1,5 @@
import request from 'supertest';
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import { app, supabase } from '../src/server.js';
// ========================================
@@ -7,7 +7,7 @@
* 2. The node must have the `perwerde` pallet included.
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
// ========================================
// TEST CONFIGURATION
@@ -8,7 +8,7 @@
* 3. The tests require a funded sudo account (`//Alice`).
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import { jest } from '@jest/globals';
// ========================================
@@ -8,8 +8,8 @@
* 3. The tests require a funded sudo account (`//Alice`).
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { BN } from '@polkadot/util';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import { BN } from '@pezkuwi/util';
import { jest } from '@jest/globals';
// ========================================
@@ -9,8 +9,8 @@
* 4. Test accounts (e.g., //Alice, //Bob) must have initial balances of wUSDT.
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { BN } from '@polkadot/util';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import { BN } from '@pezkuwi/util';
import { jest } from '@jest/globals';
// ========================================
@@ -8,7 +8,7 @@
* 3. The tests require a funded sudo account (`//Alice`).
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import { jest } from '@jest/globals';
// ========================================
@@ -8,8 +8,8 @@
* 3. Test accounts must be funded to be able to bond stake.
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { BN } from '@polkadot/util';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import { BN } from '@pezkuwi/util';
import { jest } from '@jest/globals';
// ========================================
+1 -1
View File
@@ -8,7 +8,7 @@
* 3. The tests require a funded sudo account (`//Alice`).
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import { jest } from '@jest/globals';
// ========================================
@@ -8,8 +8,8 @@
* 3. Test accounts must be funded with the native currency (e.g., PEZ).
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { BN } from '@polkadot/util';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import { BN } from '@pezkuwi/util';
import { jest } from '@jest/globals';
// ========================================
+2 -2
View File
@@ -8,8 +8,8 @@
* 3. The tests require a funded sudo account (`//Alice`).
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { BN } from '@polkadot/util';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import { BN } from '@pezkuwi/util';
import { jest } from '@jest/globals';
// ========================================
@@ -8,8 +8,8 @@
* 3. The tests require a funded sudo account (`//Alice`).
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { BN } from '@polkadot/util';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import { BN } from '@pezkuwi/util';
import { jest } from '@jest/globals';
// ========================================
@@ -13,8 +13,8 @@
* Run this file with Jest: `npx jest backend/integration-tests/welati.live.test.js`
*/
import { ApiPromise, WsProvider, Keyring } from '@polkadot/api';
import { BN } from '@polkadot/util';
import { ApiPromise, WsProvider, Keyring } from '@pezkuwi/api';
import { BN } from '@pezkuwi/util';
import { jest } from '@jest/globals';
// ========================================