@templatical/core 0.14.0 → 0.15.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.
@@ -1,8 +1,7 @@
1
- import { r as UseEditorReturn$1 } from "../editor-zvlM4bZ7.js";
1
+ import { r as UseEditorReturn$1 } from "../editor-BIIsaIoN.js";
2
2
  import { AiChatMessage, AiConfig, AuthConfig, AuthRequestOptions, Block, Collaborator, Comment, CommentEvent, CommentThread, CustomFont, EditorState, ExportResult, FontsConfig, HealthCheckResult, McpOperationPayload, MergeTag, PlanConfig, PlanFeatures, SavedModule, ScoringCategory, ScoringFinding, ScoringResult, SdkAuthConfig, Template, TemplateContent, TemplateDefaults, TemplateSettings, TemplateSnapshot, TestEmailConfig, UiTheme, UserConfig, ViewportSize, WebSocketServerConfig } from "@templatical/types";
3
3
  import { ComputedRef, DeepReadonly, Ref, ref } from "vue";
4
4
  import { Channel, PresenceChannel } from "pusher-js";
5
-
6
5
  //#region src/cloud/auth.d.ts
7
6
  declare class AuthManager {
8
7
  private static readonly DEFAULT_BASE_URL;
@@ -1,6 +1,5 @@
1
1
  import { Block, TemplateContent, TemplateDefaults, TemplateSettings, UiTheme, ViewportSize } from "@templatical/types";
2
2
  import { DeepReadonly, Ref } from "@vue/reactivity";
3
-
4
3
  //#region src/editor.d.ts
5
4
  interface EditorState$1 {
6
5
  content: TemplateContent;
@@ -43,4 +42,4 @@ interface UseEditorReturn {
43
42
  declare function useEditor(options: UseEditorOptions): UseEditorReturn;
44
43
  //#endregion
45
44
  export { useEditor as i, UseEditorOptions as n, UseEditorReturn as r, EditorState$1 as t };
46
- //# sourceMappingURL=editor-zvlM4bZ7.d.ts.map
45
+ //# sourceMappingURL=editor-BIIsaIoN.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import { i as useEditor, n as UseEditorOptions, r as UseEditorReturn, t as EditorState } from "./editor-zvlM4bZ7.js";
1
+ import { i as useEditor, n as UseEditorOptions, r as UseEditorReturn, t as EditorState } from "./editor-BIIsaIoN.js";
2
2
  import { Block, BlockDefaults, BlockType, CustomBlock, CustomBlockDefinition, TemplateContent } from "@templatical/types";
3
3
  import { ComputedRef, Ref } from "@vue/reactivity";
4
-
5
4
  //#region src/history.d.ts
6
5
  interface UseHistoryOptions {
7
6
  content: Ref<TemplateContent>;
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@templatical/core",
3
3
  "description": "Framework-agnostic editor logic for Templatical email editor",
4
- "version": "0.14.0",
4
+ "version": "0.15.0",
5
5
  "bugs": "https://github.com/templatical/sdk/issues",
6
6
  "dependencies": {
7
7
  "@vue/reactivity": "^3.5.39",
8
- "@templatical/types": "0.14.0"
8
+ "@templatical/types": "0.15.0"
9
9
  },
10
10
  "devDependencies": {
11
11
  "pusher-js": "^8.5.0",
12
12
  "typescript": "^6.0.3",
13
- "vitest": "^4.1.9",
13
+ "vitest": "^4.1.10",
14
14
  "vue": "^3.5.39"
15
15
  },
16
16
  "exports": {