@notionhq/custom-blocks 0.1.5 → 0.1.7

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.
@@ -65,7 +65,7 @@ export function NotionCustomBlock({ children, timeoutMs, fallback = null, errorF
65
65
  if (host.status !== "initialized") {
66
66
  return _jsx(_Fragment, { children: fallback });
67
67
  }
68
- return (_jsxs(_Fragment, { children: [_jsx("div", { role: "status", className: "custom-blocks-standalone-banner", children: "Notion host not detected \u2014 running in standalone preview. SDK hooks return placeholder values until embedded in Notion." }), children] }));
68
+ return (_jsxs(_Fragment, { children: [_jsx("div", { role: "status", className: "custom-blocks-standalone-banner", children: "Host not detected \u2014 running in standalone preview. Try `ntn customblocks dev` to run the block in a local development environment." }), children] }));
69
69
  }
70
70
  if (!init.isLoaded) {
71
71
  return _jsx(_Fragment, { children: fallback });
package/dist/version.js CHANGED
@@ -4,4 +4,4 @@
4
4
  *
5
5
  * WARNING: Generated during SDK publish. Do not edit in the published package.
6
6
  */
7
- export const CUSTOM_BLOCKS_SDK_VERSION = "0.1.5"
7
+ export const CUSTOM_BLOCKS_SDK_VERSION = "0.1.7"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notionhq/custom-blocks",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -108,8 +108,8 @@ export function NotionCustomBlock({
108
108
  return (
109
109
  <>
110
110
  <div role="status" className="custom-blocks-standalone-banner">
111
- Notion host not detected — running in standalone preview. SDK hooks
112
- return placeholder values until embedded in Notion.
111
+ Host not detected — running in standalone preview. Try `ntn
112
+ customblocks dev` to run the block in a local development environment.
113
113
  </div>
114
114
  {children}
115
115
  </>