diff --git a/packages/smooth-api-ts/src/index.ts b/packages/smooth-api-ts/src/index.ts index e77d47c..7de8f94 100644 --- a/packages/smooth-api-ts/src/index.ts +++ b/packages/smooth-api-ts/src/index.ts @@ -155,4 +155,11 @@ export function createSmoothFetch(globalConfig: SmoothFetchConfig) { } /** @deprecated use createSmoothFetch instead */ -export const createResilientFetch = createSmoothFetch; +export const createResilientFetch = (...args: Parameters) => { + if (typeof console !== "undefined" && console.warn) { + console.warn( + "[smoothAPI] createResilientFetch is deprecated; use createSmoothFetch instead.", + ); + } + return createSmoothFetch(...args); +};