@computesdk/workbench 3.1.9 → 3.1.12

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.
@@ -695,7 +695,14 @@ async function getComputeInstance(state) {
695
695
  });
696
696
  } else {
697
697
  const { compute: gatewayCompute } = await import("computesdk");
698
- compute2 = gatewayCompute;
698
+ const providerConfig = getProviderConfig(providerName);
699
+ const gatewayConfig = getProviderConfig("gateway");
700
+ compute2 = gatewayCompute({
701
+ provider: providerName,
702
+ computesdkApiKey: gatewayConfig.apiKey,
703
+ // Spread provider-specific config
704
+ [providerName]: providerConfig
705
+ });
699
706
  }
700
707
  state.compute = compute2;
701
708
  return compute2;