mirror of https://github.com/status-im/js-waku.git
Export `generatePrivateKey` and `getPublicKey` directly from the root
This commit is contained in:
parent
db3403d88f
commit
addf9543a2
|
@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- Export `generatePrivateKey` and `getPublicKey` directly from the root.
|
||||
|
||||
## [0.8.0] - 2021-07-15
|
||||
|
||||
### Added
|
||||
|
|
|
@ -4,10 +4,7 @@ import { ethers } from 'ethers';
|
|||
import { Signer } from '@ethersproject/abstract-signer';
|
||||
import { PublicKeyMessage } from './messaging/wire';
|
||||
import { hexToBuf, equalByteArrays, bufToHex } from 'js-waku/lib/utils';
|
||||
import {
|
||||
generatePrivateKey,
|
||||
getPublicKey,
|
||||
} from 'js-waku/lib/waku_message/version_1';
|
||||
import { generatePrivateKey, getPublicKey } from 'js-waku';
|
||||
|
||||
export interface KeyPair {
|
||||
privateKey: Uint8Array;
|
||||
|
|
|
@ -3,8 +3,11 @@ export { getStatusFleetNodes, Environment, Protocol } from './lib/discover';
|
|||
export * as utils from './lib/utils';
|
||||
|
||||
export { Waku } from './lib/waku';
|
||||
|
||||
export { WakuMessage } from './lib/waku_message';
|
||||
|
||||
export { generatePrivateKey, getPublicKey } from './lib/waku_message/version_1';
|
||||
|
||||
export { ChatMessage } from './lib/chat_message';
|
||||
|
||||
export {
|
||||
|
|
Loading…
Reference in New Issue