@markee_team/sdk 0.1.0-beta.2 → 0.1.0-beta.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
@@ -330,17 +330,17 @@ wallet payments remain available independently.
330
330
 
331
331
  ### Automatic message moderation
332
332
 
333
- When enabled by Markee, create/edit forms warn if a message matches the automatic profanity
334
- filter. Authors can edit or explicitly continue; publication may still be hidden. A passing
333
+ When enabled by Markee, create/edit forms warn if a message matches an automatic moderation
334
+ rule. Authors can edit or explicitly continue; publication may still be hidden. A passing
335
335
  message edit clears an automatic flag, while manual flags require moderator action.
336
336
 
337
337
  `await client.checkMessage(message)` exposes the same draft check for custom interfaces. It
338
- returns `enabled`, `state`, `contentHash`, `engine`, `policyVersion`, and optional `reason`.
338
+ returns `enabled`, `state`, `contentHash`, `engine`, `policyVersion`, and optional `reason` and `reasonCodes`.
339
339
  Treat `unavailable` as unknown, never as a pass. Names are not automatically checked.
340
340
  The standard modal handles these warnings for React and vanilla JavaScript integrations.
341
341
  No API key or moderation configuration is required in the host app.
342
342
 
343
343
  Snapshots retain `entry.moderated` (`false`, `true`, or `null`) and can additionally include
344
- `entry.moderation` with the state and reason. Hide unavailable and flagged content and do not
344
+ `entry.moderation` with the state, reason, and optional `reasonCodes`. Hide unavailable and flagged content and do not
345
345
  record views for it. A moderator's false-positive exception on Markee applies only on Markee;
346
346
  it does not change SDK visibility. This optional backend feature is disabled by default.