Skip to content

Commit

Permalink
fix: export KeyPairString
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-haynes committed Aug 27, 2024
1 parent 556c494 commit 5a694b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/near-api-js/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as enums from './enums';
import * as format from './format';
import * as rpc_errors from './rpc_errors';

import { PublicKey, KeyPair, KeyPairEd25519 } from './key_pair';
import { PublicKey, KeyPair, KeyPairString, KeyPairEd25519 } from './key_pair';
import { Logger } from './logger';

export {
Expand All @@ -15,6 +15,7 @@ export {
format,
PublicKey,
KeyPair,
KeyPairString,
KeyPairEd25519,
rpc_errors,
Logger
Expand Down
1 change: 1 addition & 0 deletions packages/near-api-js/src/utils/key_pair.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export {
KeyPair,
type KeyPairString,
KeyPairEd25519,
KeyType,
PublicKey,
Expand Down

0 comments on commit 5a694b6

Please sign in to comment.