Skip to content

Commit

Permalink
fix: requester from @sanity/client/stega is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Apr 17, 2024
1 parent 06af163 commit f29263d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/stega/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ const exp = defineCreateClientExports<SanityClient, ClientConfig>(envMiddleware,

export * from './shared'

/** @public */
export const requester = exp.requester
/**
* @deprecated -- Use `import {requester} from '@sanity/client'` instead
* @public
*/
export const requester = originalRequester

/** @public */
export const createClient = exp.createClient

0 comments on commit f29263d

Please sign in to comment.