@wix/auto_sdk_rich-content_ricos-documents 1.0.58 → 1.0.59

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.
@@ -85,11 +85,12 @@ interface GenerateSiteMediaTokenSignature {
85
85
  /**
86
86
  * Generates a site media token that lets a Ricos editor open Wix media tools, such as Image Studio, for the current Wix user.
87
87
  *
88
- * Pass the token to the media tool when you open it. The token identifies the site and the Wix user,
89
- * works only together with the user's Wix session, and expires after 14 days.
88
+ * Pass the token as `siteToken` when you open Image Studio from the Ricos image plugin. The token identifies
89
+ * the site and the Wix user, and is valid only in a browser where that user is logged in to Wix.
90
+ * It expires after 14 days, so you can reuse it for the editor session.
90
91
  *
91
- * Only Wix users can call this method. Calls by site members, site visitors, or apps without a Wix user
92
- * fail with a `WIX_USER_REQUIRED` error.
92
+ * Only Wix users can call this method. Calls by site members, site visitors, or anonymous callers
93
+ * fail with a permission error. Wix app calls without a Wix user fail with a `WIX_USER_REQUIRED` error.
93
94
  */
94
95
  (): Promise<GenerateSiteMediaTokenResponse & {
95
96
  __applicationErrorsType?: GenerateSiteMediaTokenApplicationErrors;