@wix/editor 1.552.0 → 1.554.0
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/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/statics/docs-ts-model.json +181 -181
- package/dist/statics/index.js +4 -4
- package/dist/statics/index.js.map +1 -1
- package/dist/types/index.d.ts +3 -3
- package/package.json +5 -5
package/dist/cjs/index.js
CHANGED
|
@@ -1710,13 +1710,13 @@ class PagesSDKShape extends BaseSDKShape {
|
|
|
1710
1710
|
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1711
1711
|
return privateAPI.pages.list();
|
|
1712
1712
|
}
|
|
1713
|
-
async addTemplate(templateId) {
|
|
1713
|
+
async addTemplate(templateId, options) {
|
|
1714
1714
|
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1715
|
-
return privateAPI.pages.addTemplate(templateId);
|
|
1715
|
+
return privateAPI.pages.addTemplate(templateId, options);
|
|
1716
1716
|
}
|
|
1717
|
-
async addExtension(extensionId) {
|
|
1717
|
+
async addExtension(extensionId, options) {
|
|
1718
1718
|
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1719
|
-
return privateAPI.pages.addExtension(extensionId);
|
|
1719
|
+
return privateAPI.pages.addExtension(extensionId, options);
|
|
1720
1720
|
}
|
|
1721
1721
|
}
|
|
1722
1722
|
var index = new PlatformSDKShape(PagesSDKShape).withPublicMethod("list").withPublicMethod("addTemplate").withPublicMethod("addExtension").build();
|