@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/statics/index.js
CHANGED
|
@@ -1708,13 +1708,13 @@
|
|
|
1708
1708
|
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1709
1709
|
return privateAPI.pages.list();
|
|
1710
1710
|
}
|
|
1711
|
-
async addTemplate(templateId) {
|
|
1711
|
+
async addTemplate(templateId, options) {
|
|
1712
1712
|
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1713
|
-
return privateAPI.pages.addTemplate(templateId);
|
|
1713
|
+
return privateAPI.pages.addTemplate(templateId, options);
|
|
1714
1714
|
}
|
|
1715
|
-
async addExtension(extensionId) {
|
|
1715
|
+
async addExtension(extensionId, options) {
|
|
1716
1716
|
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1717
|
-
return privateAPI.pages.addExtension(extensionId);
|
|
1717
|
+
return privateAPI.pages.addExtension(extensionId, options);
|
|
1718
1718
|
}
|
|
1719
1719
|
}
|
|
1720
1720
|
var index = new PlatformSDKShape(PagesSDKShape).withPublicMethod("list").withPublicMethod("addTemplate").withPublicMethod("addExtension").build();
|