@keystrokehq/notion 0.0.6-rename-t1.0 → 0.0.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.
- package/dist/_official/index.d.mts +4 -4
- package/dist/_official/index.mjs +1 -1
- package/dist/blocks.mjs +1 -1
- package/dist/client.mjs +1 -1
- package/dist/comments.mjs +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/data-sources.mjs +1 -1
- package/dist/{factory-OjdiBKmI.mjs → factory-BvG2wLPI.mjs} +1 -1
- package/dist/{integration-U6BXAJiG.mjs → integration-AVAZpqqY.mjs} +6 -6
- package/dist/pages.mjs +1 -1
- package/dist/search.mjs +1 -1
- package/dist/triggers.mjs +1 -1
- package/dist/users.mjs +1 -1
- package/package.json +5 -5
|
@@ -18,11 +18,11 @@ declare const notionOfficialProviderSeed: {
|
|
|
18
18
|
readonly displayName: "Notion Platform";
|
|
19
19
|
readonly credentialSetName: "Keystroke Notion Platform App";
|
|
20
20
|
readonly envShape: {
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
21
|
+
readonly KEYSTROKE_OFFICIAL_NOTION_CLIENT_ID: z.ZodOptional<z.ZodString>;
|
|
22
|
+
readonly KEYSTROKE_OFFICIAL_NOTION_CLIENT_SECRET: z.ZodOptional<z.ZodString>;
|
|
23
23
|
};
|
|
24
|
-
readonly requiredEnvKeys: readonly ["
|
|
25
|
-
readonly externalAppIdEnvKey: "
|
|
24
|
+
readonly requiredEnvKeys: readonly ["KEYSTROKE_OFFICIAL_NOTION_CLIENT_ID", "KEYSTROKE_OFFICIAL_NOTION_CLIENT_SECRET"];
|
|
25
|
+
readonly externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_NOTION_CLIENT_ID";
|
|
26
26
|
readonly buildCredentials: (env: Record<string, string | undefined>) => {
|
|
27
27
|
clientId: string | undefined;
|
|
28
28
|
clientSecret: string | undefined;
|
package/dist/_official/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as notionOfficialProviderSeed, i as notionAppCredentialSet, n as notionBundle, o as notionWebhookCredentialSet } from "../integration-
|
|
1
|
+
import { a as notionOfficialProviderSeed, i as notionAppCredentialSet, n as notionBundle, o as notionWebhookCredentialSet } from "../integration-AVAZpqqY.mjs";
|
|
2
2
|
|
|
3
3
|
export { notionAppCredentialSet, notionBundle, notionOfficialProviderSeed, notionWebhookCredentialSet };
|
package/dist/blocks.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { appendBlockChildrenInChunks, createNotionClient, listAllPaginatedResults, withRateLimitRetry } from "./client.mjs";
|
|
2
2
|
import { normalizeBlock, normalizeListMeta, notionBlockSchema, notionListResponseSchema, notionSuccessResponseSchema } from "./schemas.mjs";
|
|
3
|
-
import { t as notionOperation } from "./factory-
|
|
3
|
+
import { t as notionOperation } from "./factory-BvG2wLPI.mjs";
|
|
4
4
|
import { r as buildPaginationInput } from "./shared-C6A6JPl3.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/dist/client.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as notion } from "./integration-
|
|
1
|
+
import { t as notion } from "./integration-AVAZpqqY.mjs";
|
|
2
2
|
import { CredentialRevokedError } from "@keystrokehq/core/errors";
|
|
3
3
|
import { createErrorNormalizingProxy } from "@keystrokehq/integration-authoring";
|
|
4
4
|
import { Client } from "@notionhq/client";
|
package/dist/comments.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createNotionClient, withRateLimitRetry } from "./client.mjs";
|
|
2
2
|
import { normalizeComment, normalizeListMeta, notionCommentSchema, notionListResponseSchema } from "./schemas.mjs";
|
|
3
|
-
import { t as notionOperation } from "./factory-
|
|
3
|
+
import { t as notionOperation } from "./factory-BvG2wLPI.mjs";
|
|
4
4
|
import { i as buildPlainTextRichText, r as buildPaginationInput, t as buildCommentTarget } from "./shared-C6A6JPl3.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/dist/connection.mjs
CHANGED
package/dist/data-sources.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createNotionClient, withRateLimitRetry } from "./client.mjs";
|
|
2
2
|
import { normalizeDataSource, normalizeListMeta, normalizePage, notionDataSourceSchema, notionListResponseSchema, notionPageSchema } from "./schemas.mjs";
|
|
3
|
-
import { t as notionOperation } from "./factory-
|
|
3
|
+
import { t as notionOperation } from "./factory-BvG2wLPI.mjs";
|
|
4
4
|
import { r as buildPaginationInput } from "./shared-C6A6JPl3.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
@@ -19,14 +19,14 @@ const notionOfficialProviderSeed = {
|
|
|
19
19
|
displayName: "Notion Platform",
|
|
20
20
|
credentialSetName: "Keystroke Notion Platform App",
|
|
21
21
|
envShape: {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
KEYSTROKE_OFFICIAL_NOTION_CLIENT_ID: z.string().optional(),
|
|
23
|
+
KEYSTROKE_OFFICIAL_NOTION_CLIENT_SECRET: z.string().optional()
|
|
24
24
|
},
|
|
25
|
-
requiredEnvKeys: ["
|
|
26
|
-
externalAppIdEnvKey: "
|
|
25
|
+
requiredEnvKeys: ["KEYSTROKE_OFFICIAL_NOTION_CLIENT_ID", "KEYSTROKE_OFFICIAL_NOTION_CLIENT_SECRET"],
|
|
26
|
+
externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_NOTION_CLIENT_ID",
|
|
27
27
|
buildCredentials: (env) => ({
|
|
28
|
-
clientId: env.
|
|
29
|
-
clientSecret: env.
|
|
28
|
+
clientId: env.KEYSTROKE_OFFICIAL_NOTION_CLIENT_ID,
|
|
29
|
+
clientSecret: env.KEYSTROKE_OFFICIAL_NOTION_CLIENT_SECRET
|
|
30
30
|
})
|
|
31
31
|
};
|
|
32
32
|
const notionWebhookCredentialSet = new CredentialSet({
|
package/dist/pages.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NOTION_MAX_BLOCK_CHILDREN_PER_REQUEST, appendBlockChildrenAndReturnResults, chunkArray, createNotionClient, listAllPaginatedResults, withRateLimitRetry } from "./client.mjs";
|
|
2
2
|
import { normalizePage, normalizePagePropertyItem, notionPagePropertyItemSchema, notionPageSchema, notionSuccessResponseSchema } from "./schemas.mjs";
|
|
3
|
-
import { t as notionOperation } from "./factory-
|
|
3
|
+
import { t as notionOperation } from "./factory-BvG2wLPI.mjs";
|
|
4
4
|
import { i as buildPlainTextRichText, n as buildPageParent, r as buildPaginationInput } from "./shared-C6A6JPl3.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/dist/search.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createNotionClient, withRateLimitRetry } from "./client.mjs";
|
|
2
2
|
import { normalizeListMeta, normalizeSearchResult, notionListResponseSchema, notionSearchResultSchema } from "./schemas.mjs";
|
|
3
|
-
import { t as notionOperation } from "./factory-
|
|
3
|
+
import { t as notionOperation } from "./factory-BvG2wLPI.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/search.ts
|
package/dist/triggers.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as notion } from "./integration-
|
|
1
|
+
import { t as notion } from "./integration-AVAZpqqY.mjs";
|
|
2
2
|
import { createNotionClient, withRateLimitRetry } from "./client.mjs";
|
|
3
3
|
import { createPollingEvent, notionPollingEventSchema } from "./events.mjs";
|
|
4
4
|
import { z } from "zod";
|
package/dist/users.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createNotionClient, withRateLimitRetry } from "./client.mjs";
|
|
2
2
|
import { normalizeListMeta, normalizeUser, notionListResponseSchema, notionUserSchema } from "./schemas.mjs";
|
|
3
|
-
import { t as notionOperation } from "./factory-
|
|
3
|
+
import { t as notionOperation } from "./factory-BvG2wLPI.mjs";
|
|
4
4
|
import { r as buildPaginationInput } from "./shared-C6A6JPl3.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/notion",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -76,20 +76,20 @@
|
|
|
76
76
|
"LICENSE"
|
|
77
77
|
],
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@keystrokehq/credential-connection": "^0.0.
|
|
80
|
-
"@keystrokehq/integration-authoring": "^0.0.
|
|
79
|
+
"@keystrokehq/credential-connection": "^0.0.6",
|
|
80
|
+
"@keystrokehq/integration-authoring": "^0.0.7",
|
|
81
81
|
"@notionhq/client": "^5.17.0",
|
|
82
82
|
"zod": "^4.3.6"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
|
-
"@keystrokehq/core": ">=0.0.
|
|
85
|
+
"@keystrokehq/core": ">=0.0.8 <0.1.0"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@types/node": "^22.19.11",
|
|
89
89
|
"tsdown": "^0.20.3",
|
|
90
90
|
"typescript": "^5.9.3",
|
|
91
91
|
"vitest": "^4.0.18",
|
|
92
|
-
"@keystrokehq/core": "^0.0.
|
|
92
|
+
"@keystrokehq/core": "^0.0.8",
|
|
93
93
|
"@keystrokehq/test-utils": "0.0.0",
|
|
94
94
|
"@keystrokehq/typescript-config": "0.0.0"
|
|
95
95
|
},
|