Skip to content

Commit

Permalink
Remove Reference to provideCore in Doc (#235)
Browse files Browse the repository at this point in the history
Remove Reference to provideCore in Doc

This PR removes the reference to provideCore in the doc since it is not re-exported in headless and was causing an issue.
It also bumps the beta version to 2.3.0-beta.1.

J=BACK-2270
TEST=auto

Ran tests under tests/.

Change-Id: I906f8c1f5afd9ae18461e44dd222e6e4169c9e31
  • Loading branch information
EmilyZhang777 committed May 4, 2023
1 parent 508683b commit a3c4e19
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/search-core.sandboxendpoints.md
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Use [provideCore()](./search-core.providecore.md) with the appropriate [ServingConfig](./search-core.servingconfig.md) instead
> Set the appropriate environment and cloud region in [ServingConfig](./search-core.servingconfig.md) instead.
>
The endpoints to use for sandbox experiences.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@yext/search-core",
"version": "2.3.0-beta.0",
"version": "2.3.0-beta.1",
"description": "Typescript Networking Library for the Yext Search API",
"main": "./dist/commonjs/src/index.js",
"module": "./dist/esm/src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/provideEndpoints.ts
Expand Up @@ -41,7 +41,7 @@ export class EndpointsFactory {
/**
* The endpoints to use for sandbox experiences.
*
* @deprecated Use {@link provideCore} with the appropriate {@link ServingConfig} instead
* @deprecated Set the appropriate environment and cloud region in {@link ServingConfig} instead.
*
* @public
*/
Expand Down

0 comments on commit a3c4e19

Please sign in to comment.