feat: use crypto-hash instead of hasha
This commit is contained in:
committed by
Michael Vines
parent
bd7e802e46
commit
402c160ae9
5
web3.js/module.d.ts
vendored
5
web3.js/module.d.ts
vendored
@ -6,6 +6,11 @@ declare module '@solana/web3.js' {
|
||||
export class PublicKey {
|
||||
constructor(value: number | string | Buffer | Uint8Array | Array<number>);
|
||||
static isPublicKey(o: object): boolean;
|
||||
static createWithSeed(
|
||||
fromPublicKey: PublicKey,
|
||||
seed: string,
|
||||
programId: PublicKey,
|
||||
): Promise<PublicKey>;
|
||||
equals(publickey: PublicKey): boolean;
|
||||
toBase58(): string;
|
||||
toBuffer(): Buffer;
|
||||
|
Reference in New Issue
Block a user