@avalabs/bridge-unified 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -148,6 +148,7 @@ type EvmTransactionRequest = {
|
|
|
148
148
|
gasLimit?: bigint | null;
|
|
149
149
|
maxPriorityFeePerGas?: bigint | null;
|
|
150
150
|
maxFeePerGas?: bigint | null;
|
|
151
|
+
chainId?: string;
|
|
151
152
|
};
|
|
152
153
|
type EvmDispatch = (signedTxHash: Hex) => Promise<Hex>;
|
|
153
154
|
type EvmSign = (data: EvmTransactionRequest, dispatch: EvmDispatch, step: BridgeStepDetails) => Promise<Hex>;
|
|
@@ -383,6 +384,7 @@ type Caip2ChainId = {
|
|
|
383
384
|
declare const _default: {
|
|
384
385
|
toJSON: (identifier: string) => Caip2ChainId;
|
|
385
386
|
toString: ({ namespace, reference }: Caip2ChainId) => string;
|
|
387
|
+
toEip155HexChainId: ({ namespace, reference }: Caip2ChainId) => string;
|
|
386
388
|
};
|
|
387
389
|
|
|
388
390
|
declare const getEnabledBridgeServices: (environment: Environment, enabledBridgeInitializers: BridgeInitializer[]) => Promise<BridgeServicesMap>;
|
package/dist/index.d.ts
CHANGED
|
@@ -148,6 +148,7 @@ type EvmTransactionRequest = {
|
|
|
148
148
|
gasLimit?: bigint | null;
|
|
149
149
|
maxPriorityFeePerGas?: bigint | null;
|
|
150
150
|
maxFeePerGas?: bigint | null;
|
|
151
|
+
chainId?: string;
|
|
151
152
|
};
|
|
152
153
|
type EvmDispatch = (signedTxHash: Hex) => Promise<Hex>;
|
|
153
154
|
type EvmSign = (data: EvmTransactionRequest, dispatch: EvmDispatch, step: BridgeStepDetails) => Promise<Hex>;
|
|
@@ -383,6 +384,7 @@ type Caip2ChainId = {
|
|
|
383
384
|
declare const _default: {
|
|
384
385
|
toJSON: (identifier: string) => Caip2ChainId;
|
|
385
386
|
toString: ({ namespace, reference }: Caip2ChainId) => string;
|
|
387
|
+
toEip155HexChainId: ({ namespace, reference }: Caip2ChainId) => string;
|
|
386
388
|
};
|
|
387
389
|
|
|
388
390
|
declare const getEnabledBridgeServices: (environment: Environment, enabledBridgeInitializers: BridgeInitializer[]) => Promise<BridgeServicesMap>;
|