@tcswap/helpers 4.5.15 → 4.5.17

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "@near-js/providers": "~2.5.0",
5
5
  "@tcswap/contracts": "4.0.5",
6
6
  "@tcswap/tokens": "4.1.5",
7
- "@tcswap/types": "0.4.1",
7
+ "@tcswap/types": "0.4.2",
8
8
  "ethers": "^6.14.0",
9
9
  "ts-pattern": "5.9.0",
10
10
  "zod": "3.25.74",
@@ -13,7 +13,7 @@
13
13
  "description": "USwap - Helpers",
14
14
  "devDependencies": {
15
15
  "@near-js/providers": "2.5.0",
16
- "@tcswap/toolboxes": "4.3.15",
16
+ "@tcswap/toolboxes": "4.3.17",
17
17
  "ethers": "6.15.0",
18
18
  "tronweb": "6.1.0"
19
19
  },
@@ -63,5 +63,5 @@
63
63
  "type-check:go": "tsgo"
64
64
  },
65
65
  "type": "module",
66
- "version": "4.5.15"
66
+ "version": "4.5.17"
67
67
  }
@@ -30,7 +30,7 @@ import type {
30
30
  } from "./types";
31
31
 
32
32
  function getMidgardBaseUrl(isThorchain = true) {
33
- return isThorchain ? "https://midgard.ninerealms.com" : "https://midgard.mayachain.info";
33
+ return isThorchain ? "https://gateway.liquify.com/chain/thorchain_midgard" : "https://midgard.mayachain.info";
34
34
  }
35
35
 
36
36
  function getNameServiceBaseUrl(isThorchain = true) {
@@ -73,6 +73,7 @@ const initialState = {
73
73
  endpoints: {} as CustomApiEndpoints,
74
74
  envs: {
75
75
  apiUrl: "https://swap-api.unstoppable.money",
76
+ blockchairApiUrl: null as string | null,
76
77
  devApiUrl: "https://swap-api-dev.unstoppable.money",
77
78
  experimental_apiKey: null as string | null,
78
79
  experimental_apiUrlQuote: null as string | null,
@@ -341,6 +341,7 @@ const errorCodes = {
341
341
  */
342
342
  toolbox_solana_no_signer: 50401,
343
343
  toolbox_solana_fee_estimation_failed: 50402,
344
+ toolbox_solana_broadcast_failed: 50403,
344
345
  /**
345
346
  * Toolboxes - Substrate
346
347
  */
@@ -1,5 +0,0 @@
1
- var g=Object.create;var{getPrototypeOf:h,defineProperty:f,getOwnPropertyNames:i}=Object;var j=Object.prototype.hasOwnProperty;var k=(a,c,b)=>{b=a!=null?g(h(a)):{};let d=c||!a||!a.__esModule?f(b,"default",{value:a,enumerable:!0}):b;for(let e of i(a))if(!j.call(d,e))f(d,e,{get:()=>a[e],enumerable:!0});return d};var l=(a,c)=>{for(var b in c)f(a,b,{get:c[b],enumerable:!0,configurable:!0,set:(d)=>c[b]=()=>d})};var m=((a)=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(c,b)=>(typeof require<"u"?require:c)[b]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});
2
- export{k as a,l as b,m as c};
3
-
4
- //# debugId=940CF069C6466DBE64756E2164756E21
5
- //# sourceMappingURL=chunk-pfmeq01a.js.map
@@ -1,4 +0,0 @@
1
- var j=Object.create;var{getPrototypeOf:k,defineProperty:e,getOwnPropertyNames:f,getOwnPropertyDescriptor:l}=Object,g=Object.prototype.hasOwnProperty,m=(a,c,d)=>{for(let b of f(c))if(!g.call(a,b)&&b!=="default")e(a,b,{get:()=>c[b],enumerable:!0});if(d){for(let b of f(c))if(!g.call(d,b)&&b!=="default")e(d,b,{get:()=>c[b],enumerable:!0});return d}},n=(a,c,d)=>{d=a!=null?j(k(a)):{};let b=c||!a||!a.__esModule?e(d,"default",{value:a,enumerable:!0}):d;for(let h of f(a))if(!g.call(b,h))e(b,h,{get:()=>a[h],enumerable:!0});return b},i=new WeakMap,o=(a)=>{var c=i.get(a),d;if(c)return c;if(c=e({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function")f(a).map((b)=>!g.call(c,b)&&e(c,b,{get:()=>a[b],enumerable:!(d=l(a,b))||d.enumerable}));return i.set(a,c),c};var p=(a,c)=>{for(var d in c)e(a,d,{get:c[d],enumerable:!0,configurable:!0,set:(b)=>c[d]=()=>b})};
2
-
3
- //# debugId=5B7366231CF0CA5E64756E2164756E21
4
- //# sourceMappingURL=chunk-vb4wtm2w.js.map