@topol.io/editor-vue 2.0.0-alpha.1 → 2.0.0-alpha.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 CHANGED
@@ -41,10 +41,13 @@ without it or `callbacks.onSaveAndClose`, the runtime's default save-and-close w
41
41
  `LandingPageEditor` and `CoreLandingPageEditor` retain their existing APIs.
42
42
  `CoreEmailEditor` exposes the core v4 factory.
43
43
 
44
- `options` contains the v4 configuration (`IEmailConfig`). Cloud requires a `pk_`
45
- public key and a `getNonce` callback that fetches a fresh `nc_` token from your
46
- application's authenticated backend. Never put an `sk_` secret in browser code.
47
- See the core package README for Cloud feature options and all v4 renames.
44
+ `options` contains the v4 configuration (`IEmailConfig`). A `getNonce` callback that
45
+ fetches a fresh `nc_` token from your application's authenticated backend enables
46
+ nonce authentication on its own; Cloud additionally requires it. Never put an `sk_`
47
+ secret in browser code. See the core package README for nonce authentication, Cloud
48
+ feature options, the Countdown block (`enableCountdown`, `countdown`; see the
49
+ [option reference](https://docs.topol.io/email-editor/reference/topol-options#countdown))
50
+ and all v4 renames.
48
51
 
49
52
  Configuration and the presence of callback handlers are captured on mount. Remount
50
53
  with a new key to change them; existing callback functions read their latest values.
@@ -40,4 +40,4 @@ export { default as LandingPageEditor } from "./LandingPageEditor.vue";
40
40
  export { default as TopolEditor } from "./TopolEditor.vue";
41
41
  export type { ITopolOptions, ILandingPageOptions, ILandingPageEditorInstance, IEmailCallbacks, ILandingPageCallbacks, ISaveData, IErrorData, ISendTestData, INotification, ISavedBlock, IStage, TopolSection, } from "@topol.io/editor";
42
42
  export type { IVueEmailOptions, IVueLandingPageOptions, IVueOptions } from "./types";
43
- export type { IEmailConfig, IEmailEditorInstance, IEmailEditorPluginOptions, ICloudOptions, ICloudFeatures, ICloudCallbacks, ICloudSavePayload, ICloudTemplateChangePayload, ISavedSection, IPremadeSection, IPremadeSections, IPremadeSectionsOptions, ILanguageMutation, ILanguageChangePayload, IEmailDeletedItem, IUpdateTemplateOptions, } from "@topol.io/editor";
43
+ export type { IEmailConfig, IEmailEditorInstance, IEmailEditorPluginOptions, ICloudOptions, ICloudFeatures, INonceAuthCallbacks, ICountdownOptions, ICountdownDefaultColors, ICountdownDateMergeTag, ICloudCallbacks, ICloudSavePayload, ICloudTemplateChangePayload, ISavedSection, IPremadeSection, IPremadeSections, IPremadeSectionsOptions, ILanguageMutation, ILanguageChangePayload, IEmailDeletedItem, IUpdateTemplateOptions, } from "@topol.io/editor";
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "author": "Topol.io",
15
15
  "homepage": "https://topol.io",
16
16
  "license": "Apache-2.0",
17
- "version": "2.0.0-alpha.1",
17
+ "version": "2.0.0-alpha.3",
18
18
  "type": "module",
19
19
  "files": [
20
20
  "dist"
@@ -29,7 +29,7 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@topol.io/editor": "2.0.0-alpha.1"
32
+ "@topol.io/editor": "2.0.0-alpha.3"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "vue": "^3.2.25"