@forklaunch/core 0.14.11-beta.1 → 0.14.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.
@@ -3925,36 +3925,12 @@ function mapToFetch(schemaValidator, routerMap) {
3925
3925
  return (version ? toRecord2(toRecord2(flattenedFetchMap[path])[method ?? "GET"])[version] : toRecord2(flattenedFetchMap[path])[method ?? "GET"])(path, reqInit[0]);
3926
3926
  });
3927
3927
  }
3928
- function sdkClient(schemaValidator, routerMap, options2) {
3929
- if (options2?.lazyEvaluation) {
3930
- let _sdk;
3931
- let _fetch;
3932
- const lazyClient = {
3933
- _finalizedSdk: true,
3934
- get sdk() {
3935
- if (!_sdk) {
3936
- _sdk = mapToSdk(schemaValidator, routerMap);
3937
- }
3938
- return _sdk;
3939
- },
3940
- get fetch() {
3941
- if (!_fetch) {
3942
- _fetch = mapToFetch(schemaValidator, routerMap);
3943
- }
3944
- return _fetch;
3945
- }
3946
- };
3947
- return lazyClient;
3948
- }
3949
- const client = {
3928
+ function sdkClient(schemaValidator, routerMap) {
3929
+ return {
3950
3930
  _finalizedSdk: true,
3951
3931
  sdk: mapToSdk(schemaValidator, routerMap),
3952
3932
  fetch: mapToFetch(schemaValidator, routerMap)
3953
3933
  };
3954
- if (options2?.optimizePerformance) {
3955
- return client;
3956
- }
3957
- return client;
3958
3934
  }
3959
3935
 
3960
3936
  // src/http/sdk/sdkRouter.ts