@openocean.finance/widget 1.0.18 → 1.0.19
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/esm/config/version.d.ts +1 -1
- package/dist/esm/config/version.js +1 -1
- package/dist/esm/services/DebridgeService.js +2 -1
- package/dist/esm/services/DebridgeService.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/config/version.ts +1 -1
- package/src/services/DebridgeService.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openocean.finance/widget",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "Openocean Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/esm/index.js",
|
package/src/config/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = '@openocean.finance/widget'
|
|
2
|
-
export const version = '1.0.
|
|
2
|
+
export const version = '1.0.19'
|
|
@@ -463,7 +463,7 @@ export class DebridgeService {
|
|
|
463
463
|
fromMsg.chainId === 1151111081099710
|
|
464
464
|
? 'src5qyZHqTqecJV4aY6Cb6zDZLMDzrDKKezs22MPHr4'
|
|
465
465
|
: tx.to
|
|
466
|
-
|
|
466
|
+
const data = {
|
|
467
467
|
prependedOperatingExpenseCost,
|
|
468
468
|
isDebridgeRoute: true, // Flag to identify the route source
|
|
469
469
|
orderId: orderId,
|
|
@@ -506,6 +506,7 @@ export class DebridgeService {
|
|
|
506
506
|
// gasPrice: tx.gasPrice, // Not directly available in Debridge response
|
|
507
507
|
// dexId: // Not applicable for Debridge
|
|
508
508
|
}
|
|
509
|
+
return { data };
|
|
509
510
|
} catch (error: any) {
|
|
510
511
|
console.error(
|
|
511
512
|
'Error getting Debridge quote:',
|