mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-28 17:47:56 +00:00
Migrate from @polkadot/vanitygen to @pezkuwi/vanitygen
- Update package.json: @polkadot/vanitygen ^0.63.18 -> @pezkuwi/vanitygen ^1.0.0 - Update TypeScript imports in Vanity component - Package now uses Pezkuwi-specific network options (bizinikiwi, pezkuwi, dicle, zagros)
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
"@pezkuwi/react-components": "^0.168.2-0-x",
|
||||
"@pezkuwi/react-hooks": "^0.168.2-0-x",
|
||||
"@pezkuwi/util": "^14.0.5",
|
||||
"@polkadot/vanitygen": "^0.63.18",
|
||||
"@pezkuwi/vanitygen": "^1.0.0",
|
||||
"detect-browser": "^5.3.0",
|
||||
"file-saver": "^2.0.5"
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import type { ActionStatus } from '@pezkuwi/react-components/Status/types';
|
||||
import type { KeypairType } from '@pezkuwi/util-crypto/types';
|
||||
import type { GeneratorMatch, GeneratorMatches, GeneratorResult } from '@polkadot/vanitygen/types';
|
||||
import type { GeneratorMatch, GeneratorMatches, GeneratorResult } from '@pezkuwi/vanitygen/types';
|
||||
|
||||
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
||||
|
||||
@@ -11,9 +11,9 @@ import { Button, Dropdown, Input, styled, Table } from '@pezkuwi/react-component
|
||||
import { useApi, useIsMountedRef } from '@pezkuwi/react-hooks';
|
||||
import { settings } from '@pezkuwi/ui-settings';
|
||||
import { nextTick } from '@pezkuwi/util';
|
||||
import generator from '@polkadot/vanitygen/generator';
|
||||
import matchRegex from '@polkadot/vanitygen/regex';
|
||||
import generatorSort from '@polkadot/vanitygen/sort';
|
||||
import generator from '@pezkuwi/vanitygen/generator';
|
||||
import matchRegex from '@pezkuwi/vanitygen/regex';
|
||||
import generatorSort from '@pezkuwi/vanitygen/sort';
|
||||
|
||||
import CreateModal from '../modals/Create.js';
|
||||
import { useTranslation } from '../translate.js';
|
||||
|
||||
Reference in New Issue
Block a user