@avalabs/bridge-unified
Advanced tools
Comparing version 0.0.0-feat-unified-api-interface-20240105200017 to 0.0.0-feat-unified-api-interface-20240105201043
# @avalabs/unified-bridge | ||
## 0.0.0-feat-unified-api-interface-20240105200017 | ||
## 0.0.0-feat-unified-api-interface-20240105201043 | ||
@@ -5,0 +5,0 @@ ### Major Changes |
@@ -1,2 +0,2 @@ | ||
import { Address, TransactionRequest, Hex } from 'viem'; | ||
import { Address } from 'viem'; | ||
@@ -40,2 +40,16 @@ type Chain = { | ||
type Hex = `0x${string}`; | ||
type TransactionRequest = { | ||
type?: number | null; | ||
data?: Hex | null; | ||
from: Address; | ||
gas?: bigint; | ||
nonce?: number; | ||
to?: Address | null; | ||
value?: bigint; | ||
gasPrice?: bigint | null; | ||
gasLimit?: bigint | null; | ||
maxPriorityFeePerGas?: bigint | null; | ||
maxFeePerGas?: bigint | null; | ||
}; | ||
type RequestArguments = { | ||
@@ -173,2 +187,2 @@ method: string; | ||
export { Asset, AssetFeeMap, BridgeAsset, BridgeConfig, BridgeService, BridgeServiceConfig, BridgeServiceFactory, BridgeTransfer, BridgeType, Chain, ChainAssetMap, DestinationInfo, Environment, ErrorCode, ErrorReason, FeeParams, Provider, TokenType, TrackingParams, TransferParams, createUnifiedBridgeService }; | ||
export { Asset, AssetFeeMap, BridgeAsset, BridgeConfig, BridgeService, BridgeServiceConfig, BridgeServiceFactory, BridgeTransfer, BridgeType, Chain, ChainAssetMap, DestinationInfo, Environment, ErrorCode, ErrorReason, FeeParams, Hex, Provider, TokenType, TrackingParams, TransactionRequest, TransferParams, createUnifiedBridgeService }; |
{ | ||
"name": "@avalabs/bridge-unified", | ||
"version": "0.0.0-feat-unified-api-interface-20240105200017", | ||
"version": "0.0.0-feat-unified-api-interface-20240105201043", | ||
"main": "dist/index.js", | ||
@@ -18,3 +18,3 @@ "type": "module", | ||
"@internal/tsup-config": "0.0.1", | ||
"eslint-config-custom": "0.0.0-feat-unified-api-interface-20240105200017" | ||
"eslint-config-custom": "0.0.0-feat-unified-api-interface-20240105201043" | ||
}, | ||
@@ -21,0 +21,0 @@ "scripts": { |
@@ -1,3 +0,18 @@ | ||
import type { Hex, TransactionRequest } from 'viem'; | ||
import type { Address } from 'viem'; | ||
export type Hex = `0x${string}`; | ||
export type TransactionRequest = { | ||
type?: number | null; | ||
data?: Hex | null; | ||
from: Address; | ||
gas?: bigint; | ||
nonce?: number; | ||
to?: Address | null; | ||
value?: bigint; | ||
gasPrice?: bigint | null; | ||
gasLimit?: bigint | null; | ||
maxPriorityFeePerGas?: bigint | null; | ||
maxFeePerGas?: bigint | null; | ||
}; | ||
type RequestArguments = { | ||
@@ -4,0 +19,0 @@ method: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
373207
4594