@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.
- package/build/cjs/index.d.ts +5 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +7 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +5 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +7 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +5 -4
- package/build/internal/cjs/index.typings.d.ts +7 -4
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/es/index.d.mts +5 -4
- package/build/internal/es/index.typings.d.mts +7 -4
- package/build/internal/es/meta.d.mts +1 -0
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -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
|
|
89
|
-
*
|
|
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
|
|
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;
|