@chromia/bridge-client
Advanced tools
Comparing version 2.2.4 to 2.2.5
@@ -1796,3 +1796,9 @@ "use strict"; | ||
return __async(this, null, function* () { | ||
return yield tokenBridge.deposit(options.tokenAddress, amount); | ||
try { | ||
return yield tokenBridge.deposit(options.tokenAddress, amount); | ||
} catch (error) { | ||
throw new EvmBridgeTransactionError( | ||
`Failed to deposit to EVM bridge contract: ${error}` | ||
); | ||
} | ||
}); | ||
@@ -1799,0 +1805,0 @@ }, |
@@ -1804,3 +1804,9 @@ "use strict"; | ||
return __async(this, null, function* () { | ||
return yield tokenBridge.deposit(options.tokenAddress, amount); | ||
try { | ||
return yield tokenBridge.deposit(options.tokenAddress, amount); | ||
} catch (error) { | ||
throw new EvmBridgeTransactionError( | ||
`Failed to deposit to EVM bridge contract: ${error}` | ||
); | ||
} | ||
}); | ||
@@ -1807,0 +1813,0 @@ }, |
{ | ||
"name": "@chromia/bridge-client", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
558510
15761