Skip to content

Commit c65b84e

Browse files
committed
Merge branch 'staging' of github.com:hop-protocol/hop into production
2 parents 77c0bfb + 59207d5 commit c65b84e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packages/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hop-protocol/frontend",
3-
"version": "0.0.39",
3+
"version": "0.0.40",
44
"description": "Hop Protocol Frontend",
55
"author": "Authereum Labs, Inc.",
66
"license": "MIT",

packages/frontend/src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const queryClient = new QueryClient({
1919
staleTime: 20000,
2020
cacheTime: 1000 * 60 * 60,
2121
// By default, retries in React Query do not happen immediately after a request fails.
22-
// As is standard, a back-off delay is gradually applied to each retry attempt
22+
// As is standard, a back-off delay is gradually applied to each retry attempt.
2323
// The default retryDelay is set to double (starting at 1000ms) with each attempt, but not exceed 30 seconds.
2424
retryDelay: attemptIndex => Math.min(1000 * 2 ** attemptIndex, 30000),
2525
onError: err => {

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hop-protocol/sdk",
3-
"version": "0.0.41",
3+
"version": "0.0.40",
44
"description": "The v1 Hop Protocol TypeScript SDK",
55
"author": "Authereum Labs, Inc.",
66
"license": "MIT",

packages/sdk/src/HopBridge.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,12 +410,12 @@ export class HopBridge extends Base {
410410
sourceChain = this.toChainModel(sourceChain)
411411

412412
// Check if we should use Socket for transfers
413-
if (this.enableSocket && !options.isHTokenSend && !this.tokenSymbol === TokenSymbol.HOP) {
413+
if (this.enableSocket && !options.isHTokenSend && this.tokenSymbol !== TokenSymbol.HOP) {
414414
return this.#sendSocket(tokenAmount, sourceChain, destinationChain, options)
415415
}
416416

417417
// Check if we should use LI.FI for transfers
418-
if (this.enableLifi && !options.isHTokenSend && !this.tokenSymbol === TokenSymbol.HOP) {
418+
if (this.enableLifi && !options.isHTokenSend && this.tokenSymbol !== TokenSymbol.HOP) {
419419
return this.#sendLifi(tokenAmount, sourceChain, destinationChain, options)
420420
}
421421

0 commit comments

Comments
 (0)