@sodax/dapp-kit 1.3.1-beta → 1.4.1-beta

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
@@ -216,6 +216,15 @@ function useSpokeProvider(spokeChainId, walletProvider) {
216
216
  sdk.spokeChainConfig[spokeChainId]
217
217
  );
218
218
  }
219
+ if (xChainType === "STACKS") {
220
+ return new sdk.StacksSpokeProvider(
221
+ rpcConfig[spokeChainId] ? {
222
+ ...sdk.spokeChainConfig[spokeChainId],
223
+ rpcUrl: rpcConfig[spokeChainId]
224
+ } : sdk.spokeChainConfig[spokeChainId],
225
+ walletProvider
226
+ );
227
+ }
219
228
  return void 0;
220
229
  }, [spokeChainId, xChainType, walletProvider, rpcConfig]);
221
230
  return spokeProvider;