@notionhq/custom-blocks-host 0.2.8 → 0.2.9
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 +6 -0
- package/dist/browser.js +3308 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,6 +5,12 @@ used by hosts such as the local dev shell. It does not own iframe policy, permis
|
|
|
5
5
|
analytics, or host UI state. Host implementations such as the dev shell and `notion-next` depend on
|
|
6
6
|
this package.
|
|
7
7
|
|
|
8
|
+
## Standalone browser module
|
|
9
|
+
|
|
10
|
+
The published package includes `dist/browser.js`, a single ES module containing the host runtime
|
|
11
|
+
and all dependencies. Load this file directly when a browser
|
|
12
|
+
must not fetch additional modules, such as under an exact-URL Content Security Policy.
|
|
13
|
+
|
|
8
14
|
## `getAutoBoundPropertyIdsByKey()`
|
|
9
15
|
|
|
10
16
|
`getAutoBoundPropertyIdsByKey()` matches manifest properties to schema properties for initial
|