From e2dcb188af740bd4dfe65e5868f6614267f62aa4 Mon Sep 17 00:00:00 2001 From: Biz Melesse Date: Mon, 10 Feb 2025 14:21:10 -0600 Subject: [PATCH 1/8] Update lock file --- pnpm-lock.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2cefda171d512..deff9cd507ab0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3258,8 +3258,7 @@ importers: specifier: ^0.12.7 version: 0.12.7 - components/elastic_cloud: - specifiers: {} + components/elastic_cloud: {} components/elastic_email: {} @@ -4209,8 +4208,7 @@ importers: components/glide: {} - components/globalping: - specifiers: {} + components/globalping: {} components/gloria_ai: dependencies: @@ -6343,8 +6341,7 @@ importers: specifier: ^3.0.0 version: 3.0.3 - components/mailtrap: - specifiers: {} + components/mailtrap: {} components/mailwizz: dependencies: @@ -9906,8 +9903,7 @@ importers: components/simplybook_me: {} - components/sinch_messagemedia: - specifiers: {} + components/sinch_messagemedia: {} components/sitecreator_io: dependencies: From f3133c3f709eba5e0c31218e8f512a2180da9ffe Mon Sep 17 00:00:00 2001 From: Biz Melesse Date: Mon, 10 Feb 2025 14:23:00 -0600 Subject: [PATCH 2/8] Add an empty change --- components/slack/slack.app.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/slack/slack.app.mjs b/components/slack/slack.app.mjs index 443a99e60dbeb..17dfdcabecb81 100644 --- a/components/slack/slack.app.mjs +++ b/components/slack/slack.app.mjs @@ -41,6 +41,7 @@ export default { }; }, }, + group: { type: "string", label: "Group", From 45c93693a712620db21143a04c3a5ad1c065d0d4 Mon Sep 17 00:00:00 2001 From: Biz Melesse Date: Mon, 10 Feb 2025 14:28:52 -0600 Subject: [PATCH 3/8] Bump component version --- components/slack/slack.app.mjs | 1 - components/slottable/package.json | 2 +- components/slottable/slottable.app.mjs | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/slack/slack.app.mjs b/components/slack/slack.app.mjs index 17dfdcabecb81..443a99e60dbeb 100644 --- a/components/slack/slack.app.mjs +++ b/components/slack/slack.app.mjs @@ -41,7 +41,6 @@ export default { }; }, }, - group: { type: "string", label: "Group", diff --git a/components/slottable/package.json b/components/slottable/package.json index 5b7020934afe3..6c3422dd43aaf 100644 --- a/components/slottable/package.json +++ b/components/slottable/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/slottable", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream Slottable Components", "main": "slottable.app.mjs", "keywords": [ diff --git a/components/slottable/slottable.app.mjs b/components/slottable/slottable.app.mjs index 3fe7271c55880..8abdaaff8dd0d 100644 --- a/components/slottable/slottable.app.mjs +++ b/components/slottable/slottable.app.mjs @@ -1,6 +1,7 @@ import { axios } from "@pipedream/platform"; export default { + foo: "bar", type: "app", app: "slottable", propDefinitions: {}, From 064be28c1b756d0df39f6399d0f92c8956fe8d5e Mon Sep 17 00:00:00 2001 From: Biz Melesse Date: Mon, 10 Feb 2025 14:30:22 -0600 Subject: [PATCH 4/8] Comment out the change --- components/slottable/slottable.app.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/slottable/slottable.app.mjs b/components/slottable/slottable.app.mjs index 8abdaaff8dd0d..0480fed548e4b 100644 --- a/components/slottable/slottable.app.mjs +++ b/components/slottable/slottable.app.mjs @@ -1,7 +1,7 @@ import { axios } from "@pipedream/platform"; export default { - foo: "bar", + // foo: "bar", type: "app", app: "slottable", propDefinitions: {}, From 3ee1a483d8a615538437c1abf72c78d464de4c3c Mon Sep 17 00:00:00 2001 From: Biz Melesse Date: Mon, 10 Feb 2025 14:30:57 -0600 Subject: [PATCH 5/8] Add a comment --- components/slottable/slottable.app.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/slottable/slottable.app.mjs b/components/slottable/slottable.app.mjs index 0480fed548e4b..cd0224187d621 100644 --- a/components/slottable/slottable.app.mjs +++ b/components/slottable/slottable.app.mjs @@ -1,7 +1,7 @@ import { axios } from "@pipedream/platform"; +// Please remove this comment after testing DJ-2872 export default { - // foo: "bar", type: "app", app: "slottable", propDefinitions: {}, From 3535aca6810a5f1a5f4d650ab15c540aa3c281bd Mon Sep 17 00:00:00 2001 From: Biz Melesse Date: Mon, 10 Feb 2025 15:28:51 -0600 Subject: [PATCH 6/8] Bump version --- .../sources/booking-contact-updated/booking-contact-updated.mjs | 2 +- .../slottable/sources/contact-updated/contact-updated.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/slottable/sources/booking-contact-updated/booking-contact-updated.mjs b/components/slottable/sources/booking-contact-updated/booking-contact-updated.mjs index c3a8b7cc35593..4a717479cf3d8 100644 --- a/components/slottable/sources/booking-contact-updated/booking-contact-updated.mjs +++ b/components/slottable/sources/booking-contact-updated/booking-contact-updated.mjs @@ -4,7 +4,7 @@ export default { ...common, key: "slottable-booking-contact-updated", name: "Booking Contact Updated", - version: "0.0.1", + version: "0.0.2", description: "Emit new event when a booking contact is changed (new, updated, or deleted) in Slottable.", type: "source", dedupe: "unique", diff --git a/components/slottable/sources/contact-updated/contact-updated.mjs b/components/slottable/sources/contact-updated/contact-updated.mjs index 865b84a1fa2e8..e9f8c4893eb0e 100644 --- a/components/slottable/sources/contact-updated/contact-updated.mjs +++ b/components/slottable/sources/contact-updated/contact-updated.mjs @@ -4,7 +4,7 @@ export default { ...common, key: "slottable-contact-updated", name: "Contact Updated", - version: "0.0.1", + version: "0.0.2", description: "Emit new event when a contact is changed (new, updated, or deleted) in Slottable.", type: "source", dedupe: "unique", From f1fd016d03f148586aad76f91094bf62eb3fa5fc Mon Sep 17 00:00:00 2001 From: Biz Melesse Date: Mon, 10 Feb 2025 19:13:56 -0600 Subject: [PATCH 7/8] Fix enableDebugging state update issue --- packages/connect-react/CHANGELOG.md | 4 ++++ .../connect-react/examples/nextjs/package-lock.json | 8 ++++---- packages/connect-react/examples/nextjs/package.json | 2 +- packages/connect-react/package.json | 2 +- packages/connect-react/src/hooks/form-context.tsx | 7 +------ pnpm-lock.yaml | 10 +++++----- 6 files changed, 16 insertions(+), 17 deletions(-) diff --git a/packages/connect-react/CHANGELOG.md b/packages/connect-react/CHANGELOG.md index dd7cc6f26bd54..38e1803094e71 100644 --- a/packages/connect-react/CHANGELOG.md +++ b/packages/connect-react/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog +# [1.0.0-preview.29] - 2025-02-10 + +- Fix enableDebugging state update bug + # [1.0.0-preview.28] - 2025-02-05 - Surface SDK errors in the form diff --git a/packages/connect-react/examples/nextjs/package-lock.json b/packages/connect-react/examples/nextjs/package-lock.json index 70ee75eb7ff46..8a7b60f0525d3 100644 --- a/packages/connect-react/examples/nextjs/package-lock.json +++ b/packages/connect-react/examples/nextjs/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "dependencies": { "@pipedream/connect-react": "file:../..", - "@pipedream/sdk": "^1.3.2", + "@pipedream/sdk": "^1.3.3", "next": "15.0.3", "react": "19.0.0-rc-66855b96-20241106", "react-dom": "19.0.0-rc-66855b96-20241106" @@ -525,9 +525,9 @@ "link": true }, "node_modules/@pipedream/sdk": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@pipedream/sdk/-/sdk-1.3.2.tgz", - "integrity": "sha512-50/eSDsR5fV2pyScgbAmfMiZ4kGxxvN2Zrg9RZa/Dt11VsQAcRNza1Vy8cGD6rc3luPeXwlGk+Diu0ynAtAKlA==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@pipedream/sdk/-/sdk-1.3.3.tgz", + "integrity": "sha512-sh0dZWdQlh7IprVs1Ka04+jMmpwTKf5SlyvaAJFmSbcvJ7So1fj/YLuU3BMXU91ehA1R6DGb66Yr+QzBsANcSA==", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@rails/actioncable": "^8.0.0", diff --git a/packages/connect-react/examples/nextjs/package.json b/packages/connect-react/examples/nextjs/package.json index c520feccd93dd..2521af8a12d4d 100644 --- a/packages/connect-react/examples/nextjs/package.json +++ b/packages/connect-react/examples/nextjs/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@pipedream/connect-react": "file:../..", - "@pipedream/sdk": "^1.3.2", + "@pipedream/sdk": "^1.3.3", "next": "15.0.3", "react": "19.0.0-rc-66855b96-20241106", "react-dom": "19.0.0-rc-66855b96-20241106" diff --git a/packages/connect-react/package.json b/packages/connect-react/package.json index 22638596162b7..171975abc31c8 100644 --- a/packages/connect-react/package.json +++ b/packages/connect-react/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/connect-react", - "version": "1.0.0-preview.28", + "version": "1.0.0-preview.29", "description": "Pipedream Connect library for React", "files": [ "dist" diff --git a/packages/connect-react/src/hooks/form-context.tsx b/packages/connect-react/src/hooks/form-context.tsx index 0c9ed391c6927..2a47cdcece3a7 100644 --- a/packages/connect-react/src/hooks/form-context.tsx +++ b/packages/connect-react/src/hooks/form-context.tsx @@ -78,7 +78,7 @@ export const FormContextProvider = ({ const id = useId(); const { - component, configuredProps: __configuredProps, propNames, userId, sdkResponse, enableDebugging: __enableDebugging, + component, configuredProps: __configuredProps, propNames, userId, sdkResponse, enableDebugging, } = formProps; const componentId = component.key; @@ -104,11 +104,6 @@ export const FormContextProvider = ({ setSdkErrors, ] = useState([]) - const [ - enableDebugging - , - ] = useState(__enableDebugging === true) - const [ enabledOptionalProps, setEnabledOptionalProps, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index deff9cd507ab0..10a02ce4e2ecc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12816,8 +12816,8 @@ importers: specifier: file:../.. version: file:packages/connect-react(@types/react@18.3.12)(react-dom@19.0.0-rc-66855b96-20241106(react@19.0.0-rc-66855b96-20241106))(react@19.0.0-rc-66855b96-20241106) '@pipedream/sdk': - specifier: ^1.3.2 - version: 1.3.2 + specifier: ^1.3.3 + version: 1.3.3 next: specifier: 15.0.3 version: 15.0.3(@babel/core@8.0.0-alpha.13)(@opentelemetry/api@1.9.0)(babel-plugin-macros@3.1.0)(react-dom@19.0.0-rc-66855b96-20241106(react@19.0.0-rc-66855b96-20241106))(react@19.0.0-rc-66855b96-20241106) @@ -15705,8 +15705,8 @@ packages: resolution: {integrity: sha512-f8FXEaoBqIOQpI4vVOO8OrHRAjwQYO4pKIwMUcGRkzS5KJ6cZ/7JYYGyXEu7NcS+y1VfyegtbJWu4tWacDjQZg==} engines: {node: '>=18.0.0'} - '@pipedream/sdk@1.3.2': - resolution: {integrity: sha512-50/eSDsR5fV2pyScgbAmfMiZ4kGxxvN2Zrg9RZa/Dt11VsQAcRNza1Vy8cGD6rc3luPeXwlGk+Diu0ynAtAKlA==} + '@pipedream/sdk@1.3.3': + resolution: {integrity: sha512-sh0dZWdQlh7IprVs1Ka04+jMmpwTKf5SlyvaAJFmSbcvJ7So1fj/YLuU3BMXU91ehA1R6DGb66Yr+QzBsANcSA==} engines: {node: '>=18.0.0'} '@pipedream/sftp@0.4.1': @@ -31866,7 +31866,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@pipedream/sdk@1.3.2': + '@pipedream/sdk@1.3.3': dependencies: '@rails/actioncable': 8.0.0 commander: 12.1.0 From 45c52449e3d4ab94ce5e92c48ddaca471a3a6132 Mon Sep 17 00:00:00 2001 From: Biz Melesse Date: Mon, 10 Feb 2025 19:16:47 -0600 Subject: [PATCH 8/8] Fix type issue --- packages/connect-react/src/hooks/form-context.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/connect-react/src/hooks/form-context.tsx b/packages/connect-react/src/hooks/form-context.tsx index 2a47cdcece3a7..5942edaf30bc3 100644 --- a/packages/connect-react/src/hooks/form-context.tsx +++ b/packages/connect-react/src/hooks/form-context.tsx @@ -41,7 +41,7 @@ export type FormContext = { setSubmitting: (submitting: boolean) => void; submitting: boolean; userId: string; - enableDebugging: boolean; + enableDebugging?: boolean; }; export const skippablePropTypes = [