@topol.io/editor-svelte 2.0.0-alpha.1 → 2.0.0-alpha.2
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 +5 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -37,10 +37,11 @@ or listen to `on:ready` for the instance in `event.detail`. `CoreEmailEditor` ex
|
|
|
37
37
|
the core v4 factory. The old `ITopolOptions` wrapper-config alias is now
|
|
38
38
|
`ISvelteOptions`; `ITopolOptions` refers to the core `{ config, ...callbacks }` type.
|
|
39
39
|
|
|
40
|
-
`options` contains the v4 configuration (`IEmailConfig`).
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
See the core package README for
|
|
40
|
+
`options` contains the v4 configuration (`IEmailConfig`). A `getNonce` callback that
|
|
41
|
+
fetches a fresh `nc_` token from your application's authenticated backend enables
|
|
42
|
+
nonce authentication on its own; Cloud additionally requires it. Never put an `sk_`
|
|
43
|
+
secret in browser code. See the core package README for nonce authentication, Cloud
|
|
44
|
+
feature options and all v4 renames.
|
|
44
45
|
|
|
45
46
|
Configuration and the presence of callback handlers are captured on mount. Remount
|
|
46
47
|
with a new key to change them; existing callback functions read their latest values.
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
|
-
"version": "2.0.0-alpha.
|
|
20
|
+
"version": "2.0.0-alpha.2",
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"happy-dom": "^20.0.11"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@topol.io/editor": "2.0.0-alpha.
|
|
47
|
+
"@topol.io/editor": "2.0.0-alpha.2"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|