File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
1111import { formatEther , formatUnits } from 'viem' ;
1212import type { components } from './openapi/schema.js' ;
1313
14- export type AssetId =
14+ export type FireblocksAssetId =
1515 | 'SOL_TEST'
1616 | 'SOL'
1717 | 'ETH_TEST5'
@@ -81,7 +81,7 @@ export class FireblocksSigner {
8181 * @param assetId fireblocks asset id
8282 * @param note optional fireblocks custom note
8383 */
84- public async sign ( payloadToSign : object , assetId ?: AssetId , note = '' ) : Promise < TransactionResponse > {
84+ public async sign ( payloadToSign : object , assetId ?: FireblocksAssetId , note = '' ) : Promise < TransactionResponse > {
8585 try {
8686 const assetArgs = assetId
8787 ? {
@@ -155,7 +155,7 @@ export class FireblocksSigner {
155155 */
156156 public async signAndBroadcastWith (
157157 payloadToSign : object ,
158- assetId : AssetId ,
158+ assetId : FireblocksAssetId ,
159159 tx : components [ 'schemas' ] [ 'ETHUnsignedTx' ] | components [ 'schemas' ] [ 'POLUnsignedTx' ] ,
160160 destinationId : string ,
161161 sendAmount = true ,
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export * from './validators.js';
66export * from './openapi/schema.js' ;
77export * from './utils.js' ;
88export type { FireblocksIntegration } from './fireblocks.js' ;
9+ export type { FireblocksAssetId } from './fireblocks_signer.js' ;
910
1011type Config = {
1112 baseUrl : string ;
You can’t perform that action at this time.
0 commit comments