ts: provider publicKey optional (#1867)

This commit is contained in:
Armani Ferrante 2022-05-03 10:45:42 -04:00 committed by GitHub
parent a298bcd650
commit ee14a884f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@ import {
Commitment,
SendTransactionError,
SendOptions,
RpcResponseAndContext,
} from "@solana/web3.js";
import { bs58 } from "./utils/bytes/index.js";
import { isBrowser } from "./utils/common.js";
@ -20,7 +19,7 @@ import {
export default interface Provider {
readonly connection: Connection;
readonly publicKey: PublicKey;
readonly publicKey?: PublicKey;
send?(
tx: Transaction,