@notionhq/custom-blocks 0.1.37 → 0.1.39
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 -0
- package/bin/notion-custom-blocks/build.d.ts +23 -0
- package/bin/notion-custom-blocks/bundle.d.ts +4 -0
- package/bin/notion-custom-blocks/bundle.js +2 -0
- package/bin/notion-custom-blocks/cli.d.ts +8 -0
- package/bin/notion-custom-blocks/tar.d.ts +11 -0
- package/bin/notion-custom-blocks/upload.d.ts +14 -0
- package/bin/notion-custom-blocks/upload.js +14 -0
- package/bin/notion-custom-blocks/upload.test.d.ts +1 -0
- package/bin/notion-custom-blocks/upload.test.js +35 -0
- package/dist/bridge/SandboxBridge.d.ts.map +1 -1
- package/dist/bridge/pendingRequests.d.ts.map +1 -1
- package/dist/bridge/sandboxClient.d.ts.map +1 -1
- package/dist/init.d.ts.map +1 -1
- package/dist/protocol/dataSources/dataSource.d.ts +135 -135
- package/dist/protocol/dataSources/propertySchema.d.ts +27 -27
- package/dist/protocol/messages/createPage.d.ts +15 -15
- package/dist/protocol/messages/createPageResult.d.ts +17 -15
- package/dist/protocol/messages/dataSourcesChanged.d.ts +27 -27
- package/dist/protocol/messages/getPage.d.ts +17 -15
- package/dist/protocol/messages/hostToSandbox.d.ts +114 -100
- package/dist/protocol/messages/init.d.ts +32 -28
- package/dist/protocol/messages/pageChanged.d.ts +2 -0
- package/dist/protocol/messages/parentChanged.d.ts +2 -0
- package/dist/protocol/messages/sandboxToHost.d.ts +30 -30
- package/dist/protocol/messages/updatePage.d.ts +15 -15
- package/dist/protocol/messages/updatePageResult.d.ts +17 -15
- package/dist/protocol/pages/page.d.ts +49 -45
- package/dist/protocol/parent.d.ts +5 -1
- package/dist/protocol/parent.js +1 -0
- package/dist/react/DebugMessageLog.d.ts +1 -1
- package/dist/react/DebugMessageLog.d.ts.map +1 -1
- package/dist/react/NotionCustomBlock.d.ts +1 -1
- package/dist/react/NotionCustomBlock.d.ts.map +1 -1
- package/dist/react/NotionCustomBlock.js +1 -1
- package/dist/react/NotionTokenScope.d.ts +1 -1
- package/dist/react/NotionTokenScope.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/docs/block-location.md +13 -1
- package/docs/deployment.md +15 -0
- package/docs/pages.md +1 -1
- package/package.json +16 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@notionhq/custom-blocks",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.39",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
"./vite": {
|
|
26
26
|
"import": "./vite-plugin/index.js",
|
|
27
27
|
"types": "./vite-plugin/index.d.ts"
|
|
28
|
+
},
|
|
29
|
+
"./bundle": {
|
|
30
|
+
"types": "./bin/notion-custom-blocks/bundle.d.ts",
|
|
31
|
+
"import": "./bin/notion-custom-blocks/bundle.js"
|
|
28
32
|
}
|
|
29
33
|
},
|
|
30
34
|
"bin": {
|
|
@@ -43,7 +47,7 @@
|
|
|
43
47
|
"dist"
|
|
44
48
|
],
|
|
45
49
|
"peerDependencies": {
|
|
46
|
-
"react": "^19.2.
|
|
50
|
+
"react": "^19.2.8"
|
|
47
51
|
},
|
|
48
52
|
"peerDependenciesMeta": {
|
|
49
53
|
"react": {
|
|
@@ -51,17 +55,17 @@
|
|
|
51
55
|
}
|
|
52
56
|
},
|
|
53
57
|
"devDependencies": {
|
|
54
|
-
"@testing-library/react": "^16.3.
|
|
55
|
-
"@types/node": "^
|
|
56
|
-
"@types/react": "^19.2.
|
|
57
|
-
"@types/react-dom": "^19.2.
|
|
58
|
-
"@vitest/coverage-v8": "^
|
|
59
|
-
"jsdom": "^
|
|
60
|
-
"react": "^19.2.
|
|
61
|
-
"react-dom": "^19.2.
|
|
62
|
-
"vitest": "^
|
|
58
|
+
"@testing-library/react": "^16.3.3",
|
|
59
|
+
"@types/node": "^26.5.0",
|
|
60
|
+
"@types/react": "^19.2.18",
|
|
61
|
+
"@types/react-dom": "^19.2.7",
|
|
62
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
63
|
+
"jsdom": "^30.0.1",
|
|
64
|
+
"react": "^19.2.8",
|
|
65
|
+
"react-dom": "^19.2.8",
|
|
66
|
+
"vitest": "^5.0.0"
|
|
63
67
|
},
|
|
64
68
|
"dependencies": {
|
|
65
|
-
"valibot": "^1.
|
|
69
|
+
"valibot": "^1.4.2"
|
|
66
70
|
}
|
|
67
71
|
}
|