From 0dc7816901340c60862b7c42e7d57dde1c3083dd Mon Sep 17 00:00:00 2001 From: nmanu1 <88398086+nmanu1@users.noreply.github.com> Date: Fri, 8 Dec 2023 08:06:21 -0500 Subject: [PATCH] Prepare v2.5.0 (#161) Bump package.json to v2.5.0 and search-core to v2.5.0. J=none TEST=auto --- THIRD-PARTY-NOTICES | 2 +- docs/search-headless.result.md | 2 +- docs/search-headless.result.rawdata.md | 2 +- etc/search-headless.api.md | 2 +- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/THIRD-PARTY-NOTICES b/THIRD-PARTY-NOTICES index 83b7fa9..f8e2790 100644 --- a/THIRD-PARTY-NOTICES +++ b/THIRD-PARTY-NOTICES @@ -62,7 +62,7 @@ SOFTWARE. The following NPM package may be included in this product: - - @yext/search-core@2.5.0-beta.2 + - @yext/search-core@2.5.0 This package contains the following license and notice below: diff --git a/docs/search-headless.result.md b/docs/search-headless.result.md index d2b3a20..5ce8b47 100644 --- a/docs/search-headless.result.md +++ b/docs/search-headless.result.md @@ -27,7 +27,7 @@ export declare interface Result> | [index?](./search-headless.result.index.md) | number | (Optional) The index of the result among the other results in the search. | | [link?](./search-headless.result.link.md) | string | (Optional) A hyperlink associated with the result. | | [name?](./search-headless.result.name.md) | string | (Optional) The name of the result. | -| [rawData](./search-headless.result.rawdata.md) | T \| T\[\] | Raw entity profile data in the shape of key-value pairs, or as an array of key-value pairs. | +| [rawData](./search-headless.result.rawdata.md) | T | Raw entity profile data in the shape of key-value pairs, or as an array of key-value pairs. | | [segment?](./search-headless.result.segment.md) | [Segment](./search-headless.segment.md) | (Optional) A relevant segment associated with the result. Present for document verticals grouped by Segment. | | [source](./search-headless.result.source.md) | [Source](./search-headless.source.md) | Represents the source of a [Result](./search-headless.result.md). | diff --git a/docs/search-headless.result.rawdata.md b/docs/search-headless.result.rawdata.md index 7bb1fe9..57d33ee 100644 --- a/docs/search-headless.result.rawdata.md +++ b/docs/search-headless.result.rawdata.md @@ -9,5 +9,5 @@ Raw entity profile data in the shape of key-value pairs, or as an array of key-v Signature: ```typescript -rawData: T | T[]; +rawData: T; ``` diff --git a/etc/search-headless.api.md b/etc/search-headless.api.md index de2de73..da54ff0 100644 --- a/etc/search-headless.api.md +++ b/etc/search-headless.api.md @@ -706,7 +706,7 @@ export interface Result> { index?: number; link?: string; name?: string; - rawData: T | T[]; + rawData: T; segment?: Segment; source: Source; } diff --git a/package-lock.json b/package-lock.json index 53fab33..2da3ed3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "@yext/search-headless", - "version": "2.5.0-beta.2", + "version": "2.5.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@yext/search-headless", - "version": "2.5.0-beta.2", + "version": "2.5.0", "license": "BSD-3-Clause", "dependencies": { "@reduxjs/toolkit": "^1.8.1", - "@yext/search-core": "^2.5.0-beta.2", + "@yext/search-core": "^2.5.0", "js-levenshtein": "^1.1.6", "lodash": "^4.17.21" }, @@ -4698,9 +4698,9 @@ } }, "node_modules/@yext/search-core": { - "version": "2.5.0-beta.2", - "resolved": "https://registry.npmjs.org/@yext/search-core/-/search-core-2.5.0-beta.2.tgz", - "integrity": "sha512-jfeg7OjhKgvHT1kM04SoNWZqm4R55ixlftPCt/hbzjAvfV2qxEm7ehkeRcBXmSRt7Lk1bqaaQkadiTaHUKk9cA==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@yext/search-core/-/search-core-2.5.0.tgz", + "integrity": "sha512-fxbrGkV3hNpjCDMAydGTOksGy2vNx59bP874D5QnaFiwxVT75zX+DIWd4yCMiJnctjerqJQdLmFwZy5NWdJTXw==", "dependencies": { "@babel/runtime-corejs3": "^7.12.5", "cross-fetch": "^3.1.5" @@ -16367,9 +16367,9 @@ } }, "@yext/search-core": { - "version": "2.5.0-beta.2", - "resolved": "https://registry.npmjs.org/@yext/search-core/-/search-core-2.5.0-beta.2.tgz", - "integrity": "sha512-jfeg7OjhKgvHT1kM04SoNWZqm4R55ixlftPCt/hbzjAvfV2qxEm7ehkeRcBXmSRt7Lk1bqaaQkadiTaHUKk9cA==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@yext/search-core/-/search-core-2.5.0.tgz", + "integrity": "sha512-fxbrGkV3hNpjCDMAydGTOksGy2vNx59bP874D5QnaFiwxVT75zX+DIWd4yCMiJnctjerqJQdLmFwZy5NWdJTXw==", "requires": { "@babel/runtime-corejs3": "^7.12.5", "cross-fetch": "^3.1.5" diff --git a/package.json b/package.json index ccf0e08..ab66c19 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yext/search-headless", - "version": "2.5.0-beta.2", + "version": "2.5.0", "description": "A library for powering UI components for Yext Search integrations", "author": "slapshot@yext.com", "license": "BSD-3-Clause", @@ -29,7 +29,7 @@ }, "dependencies": { "@reduxjs/toolkit": "^1.8.1", - "@yext/search-core": "^2.5.0-beta.2", + "@yext/search-core": "^2.5.0", "js-levenshtein": "^1.1.6", "lodash": "^4.17.21" },