@vleap/warps-adapter-fastset 0.1.0-alpha.33 → 0.1.0-alpha.34

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.js CHANGED
@@ -1499,8 +1499,8 @@ var FastsetClient = class {
1499
1499
 
1500
1500
  // src/helpers/general.ts
1501
1501
  var getConfiguredFastsetClient = (config, chain2) => {
1502
- const proxyUrl = (0, import_warps.getProviderUrl)(config, chain2.name, config.env, chain2.defaultApiUrl);
1503
- return new FastsetClient(proxyUrl);
1502
+ const providerConfig = (0, import_warps.getProviderConfig)(config, chain2.name, config.env, chain2.defaultApiUrl);
1503
+ return new FastsetClient(providerConfig.url);
1504
1504
  };
1505
1505
 
1506
1506
  // src/tokens/fastset.ts
@@ -2957,7 +2957,6 @@ function createFastsetAdapter(chainName, chainPrefix, chainInfos) {
2957
2957
  if (!chainInfo) throw new Error(`FastsetAdapter: chain info not found for chain ${chainName}`);
2958
2958
  if (!fallback) throw new Error("Fastset adapter requires a fallback adapter");
2959
2959
  return {
2960
- chain: chainName,
2961
2960
  chainInfo,
2962
2961
  prefix: chainPrefix,
2963
2962
  builder: () => fallback.builder(),