Skip to content

Commit

Permalink
Pull in ReadonlyUint8Array as a type (#2734)
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher authored May 24, 2024
1 parent af13180 commit 71cba99
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/compat/src/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { SignatureBytes } from '@solana/keys';
import { type SignaturesMap, Transaction, TransactionMessageBytes } from '@solana/transactions';
import type { PublicKey, VersionedTransaction } from '@solana/web3.js';

import { ReadonlyUint8Array } from '../../codecs-core/dist/types';
import type { ReadonlyUint8Array } from '../../codecs-core/dist/types';

function convertSignatures(transaction: VersionedTransaction, staticAccountKeys: PublicKey[]): SignaturesMap {
return Object.fromEntries(
Expand Down
2 changes: 1 addition & 1 deletion packages/signers/src/__tests__/sign-transaction-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
TransactionWithLifetime,
} from '@solana/transactions';

import { ReadonlyUint8Array } from '../../../codecs-core/dist/types';
import type { ReadonlyUint8Array } from '../../../codecs-core/dist/types';
import {
partiallySignTransactionMessageWithSigners,
signAndSendTransactionMessageWithSigners,
Expand Down
2 changes: 1 addition & 1 deletion packages/signers/src/keypair-signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SOLANA_ERROR__SIGNER__EXPECTED_KEY_PAIR_SIGNER, SolanaError } from '@so
import { createKeyPairFromBytes, generateKeyPair, signBytes } from '@solana/keys';
import { partiallySignTransaction } from '@solana/transactions';

import { ReadonlyUint8Array } from '../../codecs-core/dist/types';
import type { ReadonlyUint8Array } from '../../codecs-core/dist/types';
import { isMessagePartialSigner, MessagePartialSigner } from './message-partial-signer';
import { isTransactionPartialSigner, TransactionPartialSigner } from './transaction-partial-signer';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
TransactionWithDurableNonceLifetime,
} from '@solana/transactions/dist/types/lifetime';

import { ReadonlyUint8Array } from '../../../codecs-core/dist/types';
import type { ReadonlyUint8Array } from '../../../codecs-core/dist/types';
import {
waitForDurableNonceTransactionConfirmation,
waitForRecentTransactionConfirmation,
Expand Down

0 comments on commit 71cba99

Please sign in to comment.