mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-29 12:47:56 +00:00
fix: update URLs, logos, and package versions
- Fix GitHub URLs from pezkuwi-js/apps to pezkuwichain/pezkuwi-apps - Fix wiki URL from wiki.pezkuwi.network to wiki.pezkuwichain.io - Fix support/statement URLs to use pezkuwichain.io domain - Fix chain logos import (use variables instead of strings) - Update @pezkuwi/networks to ^14.0.9 - Update @pezkuwi/types-known to ^16.5.8
This commit is contained in:
@@ -9,7 +9,7 @@ import metaStatic from '@pezkuwi/types-support/metadata/static-bizinikiwi';
|
||||
|
||||
export function createAugmentedApi (): ApiPromise {
|
||||
const registry = new TypeRegistry();
|
||||
// FIXME - ref: https://github.com/pezkuwi-js/apps/pull/11051
|
||||
// FIXME - ref: https://github.com/pezkuwichain/pezkuwi-apps/pull/11051
|
||||
// Adding support for CJS and ESM correctly has caused some build issues.
|
||||
// This is a hacky type cast to allow the compiler to be happy.
|
||||
const metadata = new Metadata(registry as unknown as Registry, metaStatic);
|
||||
|
||||
@@ -6,7 +6,7 @@ import type { Registry } from '@pezkuwi/types/types';
|
||||
import { TypeRegistry, u128 as U128 } from '@pezkuwi/types';
|
||||
|
||||
export function balanceOf (number: number | string): U128 {
|
||||
// FIXME - ref: https://github.com/pezkuwi-js/apps/pull/11051
|
||||
// FIXME - ref: https://github.com/pezkuwichain/pezkuwi-apps/pull/11051
|
||||
// Adding support for CJS and ESM correctly has caused some build issues.
|
||||
// This is a hacky type cast to allow the compiler to be happy.
|
||||
return new U128(new TypeRegistry() as unknown as Registry, number);
|
||||
|
||||
Reference in New Issue
Block a user