@keystrokehq/notion 0.0.4 → 0.0.6-rename-t1.0

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.
@@ -12,7 +12,7 @@ declare const notionAppCredentialSet: CredentialSet<"keystroke:notion-app", z.Zo
12
12
  clientId: z.ZodString;
13
13
  clientSecret: z.ZodString;
14
14
  }, z.core.$strip>>[] | undefined>;
15
- declare const notionPlatformProviderSeed: {
15
+ declare const notionOfficialProviderSeed: {
16
16
  readonly provider: "notion";
17
17
  readonly appRef: "notion-platform";
18
18
  readonly displayName: "Notion Platform";
@@ -36,4 +36,4 @@ declare const notionWebhookCredentialSet: CredentialSet<"keystroke:notion-webhoo
36
36
  }, z.core.$strip>>[] | undefined>;
37
37
  type NotionWebhookCredentials = InferCredentialSetAuth<typeof notionWebhookCredentialSet>;
38
38
  //#endregion
39
- export { NotionAppCredentials, NotionWebhookCredentials, notionAppCredentialSet, notionBundle, notionPlatformProviderSeed, notionWebhookCredentialSet };
39
+ export { NotionAppCredentials, NotionWebhookCredentials, notionAppCredentialSet, notionBundle, notionOfficialProviderSeed, notionWebhookCredentialSet };
@@ -1,3 +1,3 @@
1
- import { a as notionPlatformProviderSeed, i as notionAppCredentialSet, n as notionBundle, o as notionWebhookCredentialSet } from "../integration-q-rO2FMC.mjs";
1
+ import { a as notionOfficialProviderSeed, i as notionAppCredentialSet, n as notionBundle, o as notionWebhookCredentialSet } from "../integration-U6BXAJiG.mjs";
2
2
 
3
- export { notionAppCredentialSet, notionBundle, notionPlatformProviderSeed, notionWebhookCredentialSet };
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-ClakehEF.mjs";
3
+ import { t as notionOperation } from "./factory-OjdiBKmI.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-q-rO2FMC.mjs";
1
+ import { t as notion } from "./integration-U6BXAJiG.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-ClakehEF.mjs";
3
+ import { t as notionOperation } from "./factory-OjdiBKmI.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
 
@@ -1,3 +1,3 @@
1
- import { r as notionOfficialIntegration, t as notion } from "./integration-q-rO2FMC.mjs";
1
+ import { r as notionOfficialIntegration, t as notion } from "./integration-U6BXAJiG.mjs";
2
2
 
3
3
  export { notion, notionOfficialIntegration };
@@ -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-ClakehEF.mjs";
3
+ import { t as notionOperation } from "./factory-OjdiBKmI.mjs";
4
4
  import { r as buildPaginationInput } from "./shared-C6A6JPl3.mjs";
5
5
  import { z } from "zod";
6
6
 
@@ -1,4 +1,4 @@
1
- import { t as notion } from "./integration-q-rO2FMC.mjs";
1
+ import { t as notion } from "./integration-U6BXAJiG.mjs";
2
2
  import { createOfficialOperationFactory } from "@keystrokehq/integration-authoring/official";
3
3
 
4
4
  //#region src/factory.ts
@@ -13,7 +13,7 @@ const notionAppCredentialSet = new CredentialSet({
13
13
  clientSecret: z.string().min(1)
14
14
  })
15
15
  });
16
- const notionPlatformProviderSeed = {
16
+ const notionOfficialProviderSeed = {
17
17
  provider: "notion",
18
18
  appRef: "notion-platform",
19
19
  displayName: "Notion Platform",
@@ -90,4 +90,4 @@ const notionBundle = defineOfficialIntegration({
90
90
  const notion = notionBundle.credentialSet;
91
91
 
92
92
  //#endregion
93
- export { notionPlatformProviderSeed as a, notionAppCredentialSet as i, notionBundle as n, notionWebhookCredentialSet as o, notionOfficialIntegration as r, notion as t };
93
+ export { notionOfficialProviderSeed as a, notionAppCredentialSet as i, notionBundle as n, notionWebhookCredentialSet as o, notionOfficialIntegration as r, notion as t };
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-ClakehEF.mjs";
3
+ import { t as notionOperation } from "./factory-OjdiBKmI.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-ClakehEF.mjs";
3
+ import { t as notionOperation } from "./factory-OjdiBKmI.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-q-rO2FMC.mjs";
1
+ import { t as notion } from "./integration-U6BXAJiG.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-ClakehEF.mjs";
3
+ import { t as notionOperation } from "./factory-OjdiBKmI.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.4",
3
+ "version": "0.0.6-rename-t1.0",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -76,17 +76,20 @@
76
76
  "LICENSE"
77
77
  ],
78
78
  "dependencies": {
79
- "@keystrokehq/core": "^0.0.7",
80
- "@keystrokehq/credential-connection": "^0.0.3",
81
- "@keystrokehq/integration-authoring": "^0.0.4",
79
+ "@keystrokehq/credential-connection": "^0.0.5-rename-t1.0",
80
+ "@keystrokehq/integration-authoring": "^0.0.6-rename-t1.0",
82
81
  "@notionhq/client": "^5.17.0",
83
82
  "zod": "^4.3.6"
84
83
  },
84
+ "peerDependencies": {
85
+ "@keystrokehq/core": ">=0.0.7 <0.1.0"
86
+ },
85
87
  "devDependencies": {
86
88
  "@types/node": "^22.19.11",
87
89
  "tsdown": "^0.20.3",
88
90
  "typescript": "^5.9.3",
89
91
  "vitest": "^4.0.18",
92
+ "@keystrokehq/core": "^0.0.7",
90
93
  "@keystrokehq/test-utils": "0.0.0",
91
94
  "@keystrokehq/typescript-config": "0.0.0"
92
95
  },