@hyper-fetch/core 7.2.3 → 7.2.5

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.d.ts CHANGED
@@ -1880,9 +1880,7 @@ declare const stringifyDefaultOptions: {
1880
1880
  type ClientGenericType = {
1881
1881
  error?: ClientErrorType;
1882
1882
  };
1883
- declare function createClient<ClientProperties extends ClientGenericType = {
1884
- error?: ClientErrorType;
1885
- }>(options: ClientOptionsType<Client$1<NonNullable<TypeWithDefaults<ClientProperties, "error", ClientErrorType>>>>): Client$1<NonNullable<TypeWithDefaults<ClientProperties, "error", ClientErrorType>>, HttpAdapterType>;
1883
+ declare function createClient<ClientProperties extends ClientGenericType = {}>(options: ClientOptionsType<Client$1<NonNullable<TypeWithDefaults<ClientProperties, "error", Error>>>>): Client$1<NonNullable<TypeWithDefaults<ClientProperties, "error", Error>>, HttpAdapterType>;
1886
1884
 
1887
1885
  declare class Plugin<Client extends ClientInstance = ClientInstance, PluginData = void> {
1888
1886
  config: PluginOptionsType<PluginData>;
package/dist/index.js CHANGED
@@ -3839,9 +3839,7 @@ var stringifyDefaultOptions = {
3839
3839
 
3840
3840
  // src/client/client.create.ts
3841
3841
  function createClient(options) {
3842
- return new Client(
3843
- options
3844
- );
3842
+ return new Client(options);
3845
3843
  }
3846
3844
 
3847
3845
  // src/sdk/sdk.ts