@deepcitation/deepcitation-js 1.1.6 → 1.1.7

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.
@@ -55,7 +55,7 @@ export function getCitationStatus(verification) {
55
55
  const searchState = verification?.searchState;
56
56
  const isMiss = searchState?.status === "not_found";
57
57
  const isFullMatchWithMissedValue = searchState?.status === "found_phrase_missed_value";
58
- const isFoundValueMissedFullMatch = searchState?.status === "found_value_only";
58
+ const isFoundValueMissedFullMatch = searchState?.status === "found_key_span_only";
59
59
  const isPartialMatch = searchState?.status === "partial_text_found" ||
60
60
  searchState?.status === "found_on_other_page" ||
61
61
  searchState?.status === "found_on_other_line" ||
@@ -1,4 +1,4 @@
1
- export type SearchStatus = "loading" | "pending" | "not_found" | "partial_text_found" | "found" | "found_value_only" | "found_phrase_missed_value" | "found_on_other_page" | "found_on_other_line" | "first_word_found" | "timestamp_wip";
1
+ export type SearchStatus = "loading" | "pending" | "not_found" | "partial_text_found" | "found" | "found_key_span_only" | "found_phrase_missed_value" | "found_on_other_page" | "found_on_other_line" | "first_word_found" | "timestamp_wip";
2
2
  export type SearchMethod = "exact_line_match" | "line_with_buffer" | "current_page" | "keyspan_fallback" | "adjacent_pages" | "expanded_window" | "regex_search" | "bm25_search" | "fuzzy_regex" | "first_word_fallback";
3
3
  export interface SearchAttempt {
4
4
  method: SearchMethod;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepcitation/deepcitation-js",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "DeepCitation JavaScript SDK for deterministic AI citation verification",
5
5
  "type": "module",
6
6
  "private": false,