@dajiaoai/algeo-sdk 2.15.2 → 2.15.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 +1 -1
- package/dist/algeo-sdk.cjs.js +4 -2
- package/dist/algeo-sdk.esm.js +4 -2
- package/dist/algeo-sdk.umd.js +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
大角几何内嵌画板 SDK,支持在任意网页中嵌入几何画板,通过 postMessage 与内嵌页通信。
|
|
4
4
|
|
|
5
|
-
当前版本:**2.15.
|
|
5
|
+
当前版本:**2.15.3**。版本变更与升级注意事项见 [GitHub Release](https://github.com/dajiaoai/algeo-sdk/releases/tag/2.15.3)。
|
|
6
6
|
|
|
7
7
|
## 交流与支持
|
|
8
8
|
|
package/dist/algeo-sdk.cjs.js
CHANGED
|
@@ -4011,7 +4011,7 @@ function convertToLatest(content) {
|
|
|
4011
4011
|
}
|
|
4012
4012
|
|
|
4013
4013
|
/** SDK 版本号,构建时由 rollup 注入 */
|
|
4014
|
-
const VERSION = '2.15.
|
|
4014
|
+
const VERSION = '2.15.3';
|
|
4015
4015
|
const DEFAULT_EMBED_BASE = 'https://dajiaoai.com';
|
|
4016
4016
|
const DEFAULT_PRESENTATION_PATH = '/embed/present';
|
|
4017
4017
|
const DEFAULT_EDITOR_PATH = '/embed/edit';
|
|
@@ -4708,7 +4708,9 @@ class EmbeddedEditor extends EmbeddedTarget {
|
|
|
4708
4708
|
if (options.fonts) {
|
|
4709
4709
|
await this.post('setFontConfig', { config: options.fonts });
|
|
4710
4710
|
}
|
|
4711
|
-
|
|
4711
|
+
// Optional configuration: older hosts ignore this message. Send it before
|
|
4712
|
+
// the remaining initialization requests without requiring a response.
|
|
4713
|
+
this.postEvent('setMasterTemplateCapabilities', {
|
|
4712
4714
|
operations: MASTER_TEMPLATE_OPERATIONS.filter((operation) => typeof this.masterTemplates[operation] === 'function'),
|
|
4713
4715
|
});
|
|
4714
4716
|
await this.post('setResourceLibraryAvailability', {
|
package/dist/algeo-sdk.esm.js
CHANGED
|
@@ -4009,7 +4009,7 @@ function convertToLatest(content) {
|
|
|
4009
4009
|
}
|
|
4010
4010
|
|
|
4011
4011
|
/** SDK 版本号,构建时由 rollup 注入 */
|
|
4012
|
-
const VERSION = '2.15.
|
|
4012
|
+
const VERSION = '2.15.3';
|
|
4013
4013
|
const DEFAULT_EMBED_BASE = 'https://dajiaoai.com';
|
|
4014
4014
|
const DEFAULT_PRESENTATION_PATH = '/embed/present';
|
|
4015
4015
|
const DEFAULT_EDITOR_PATH = '/embed/edit';
|
|
@@ -4706,7 +4706,9 @@ class EmbeddedEditor extends EmbeddedTarget {
|
|
|
4706
4706
|
if (options.fonts) {
|
|
4707
4707
|
await this.post('setFontConfig', { config: options.fonts });
|
|
4708
4708
|
}
|
|
4709
|
-
|
|
4709
|
+
// Optional configuration: older hosts ignore this message. Send it before
|
|
4710
|
+
// the remaining initialization requests without requiring a response.
|
|
4711
|
+
this.postEvent('setMasterTemplateCapabilities', {
|
|
4710
4712
|
operations: MASTER_TEMPLATE_OPERATIONS.filter((operation) => typeof this.masterTemplates[operation] === 'function'),
|
|
4711
4713
|
});
|
|
4712
4714
|
await this.post('setResourceLibraryAvailability', {
|
package/dist/algeo-sdk.umd.js
CHANGED
|
@@ -4015,7 +4015,7 @@
|
|
|
4015
4015
|
}
|
|
4016
4016
|
|
|
4017
4017
|
/** SDK 版本号,构建时由 rollup 注入 */
|
|
4018
|
-
const VERSION = '2.15.
|
|
4018
|
+
const VERSION = '2.15.3';
|
|
4019
4019
|
const DEFAULT_EMBED_BASE = 'https://dajiaoai.com';
|
|
4020
4020
|
const DEFAULT_PRESENTATION_PATH = '/embed/present';
|
|
4021
4021
|
const DEFAULT_EDITOR_PATH = '/embed/edit';
|
|
@@ -4712,7 +4712,9 @@
|
|
|
4712
4712
|
if (options.fonts) {
|
|
4713
4713
|
await this.post('setFontConfig', { config: options.fonts });
|
|
4714
4714
|
}
|
|
4715
|
-
|
|
4715
|
+
// Optional configuration: older hosts ignore this message. Send it before
|
|
4716
|
+
// the remaining initialization requests without requiring a response.
|
|
4717
|
+
this.postEvent('setMasterTemplateCapabilities', {
|
|
4716
4718
|
operations: MASTER_TEMPLATE_OPERATIONS.filter((operation) => typeof this.masterTemplates[operation] === 'function'),
|
|
4717
4719
|
});
|
|
4718
4720
|
await this.post('setResourceLibraryAvailability', {
|