@radsoft/markbase 2026.11.2 → 2026.11.3

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.
package/README.md CHANGED
@@ -157,15 +157,26 @@ Keep the key server-side. It's a secret; don't ship it to the browser.
157
157
 
158
158
  ---
159
159
 
160
- ## Unreleased: opt-in phonetic clearance
161
-
162
- The source client accepts an optional `phonetic` boolean in `clearance` and
163
- `clearanceBatch` options. The API mode is not enabled in production yet; client
164
- support alone does not make it available. Omit the option for current spelling-only
165
- behavior. An unavailable opt-in request returns 503, and batches are never retried
166
- automatically. See the [unreleased contract](../docs/phonetic-clearance.md) for
167
- response evidence, ranking, and input limits. Existing spelling scores and risk
168
- thresholds remain unchanged; phonetic evidence is not a legal availability decision.
160
+ ## Opt-in phonetic clearance
161
+
162
+ Starting with SDK `2026.11.2`, pass `phonetic: true` in `clearance` or
163
+ `clearanceBatch` options to add whole-name ASCII phonetic matching. Omit it or use
164
+ `false` for spelling-only behavior. One name still uses one monthly request;
165
+ batches require Launch or Scale.
166
+
167
+ Read `matching.phonetic_status` and each match's `signals.phonetic` separately from
168
+ `similarity` and `risk`, which retain their spelling-based meaning. Names with
169
+ digits, non-ASCII characters, more than 12 tokens, or no token of at least four
170
+ letters return `not_evaluated` and retain spelling results. A changed token must
171
+ have at least four letters; short tokens must match literally in the same position.
172
+ `matching.truncated` reports a phonetic retrieval cap or hydration budget being
173
+ reached; `false` does not establish exhaustive coverage.
174
+
175
+ An unavailable opt-in request returns 503 without silently switching modes.
176
+ Admission failures do not consume monthly quota. Accepted batches count even if a
177
+ search fails and are never retried automatically. See the
178
+ [phonetic contract](../docs/phonetic-clearance.md) for response evidence, ranking,
179
+ and limits. Phonetic evidence does not establish legal availability.
169
180
 
170
181
  ## Reference
171
182
 
package/dist/types.d.ts CHANGED
@@ -55,7 +55,7 @@ export interface Suggestion {
55
55
  export interface ClearanceOptions {
56
56
  trademarkClass?: string | number;
57
57
  limit?: number;
58
- /** Unreleased opt-in; unavailable mode returns 503. Omit for spelling-only matching. */
58
+ /** Opt-in whole-name ASCII phonetic matching; unavailable mode returns 503. Omit for spelling-only matching. */
59
59
  phonetic?: boolean;
60
60
  }
61
61
  export interface ClearanceMatching {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radsoft/markbase",
3
- "version": "2026.11.2",
3
+ "version": "2026.11.3",
4
4
  "description": "Official Node client for the Markbase USPTO trademark API — search, screen, and look up 14M+ US trademarks.",
5
5
  "license": "MIT",
6
6
  "type": "module",