Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/connect-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<!-- markdownlint-disable MD024 -->
# Changelog

# [1.0.0-preview.7] - 2024-12-05

- Use proper casing for `stringOptions` now that configure prop is properly async

# [1.0.0-preview.6] - 2024-12-05

- Handle configurable prop `withLabel` (eg. fixes config of Airtable `tableId`)
Expand Down
4 changes: 2 additions & 2 deletions packages/connect-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/connect-react",
"version": "1.0.0-preview.6",
"version": "1.0.0-preview.7",
"description": "Pipedream Connect library for React",
"files": [
"dist"
Expand All @@ -27,7 +27,7 @@
"author": "Pipedream Engineering",
"license": "MIT",
"dependencies": {
"@pipedream/sdk": "^1.0.6",
"@pipedream/sdk": "workspace:^",
"@tanstack/react-query": "^5.59.16",
"lodash.isequal": "^4.5.0",
"react-markdown": "^9.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function RemoteOptionsContainer({ queryEnabled }: RemoteOptionsContainerP
// console.log("res", res)
// XXX look at errors in response here too
const {
options, string_options: stringOptions, errors,
options, stringOptions, errors,
} = res;
if (errors?.length) {
// TODO field context setError? (for validity, etc.)
Expand Down
6 changes: 6 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<!-- markdownlint-disable MD024 -->
# Changelog

## [1.0.10] - 2024-12-04

### Changed

- Handle correct casing of `stringOptions` in configure prop response

## [1.0.9] - 2024-12-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/sdk",
"version": "1.0.9",
"version": "1.0.10",
"description": "Pipedream SDK",
"main": "dist/server/server/index.js",
"module": "dist/server/server/index.js",
Expand Down
8 changes: 2 additions & 6 deletions packages/sdk/src/shared/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export type AppResponse = AppInfo & {

export type ComponentConfigureResponse = {
options: { label: string; value: string; }[];
string_options: string[];
stringOptions: string[];
errors: string[];
};

Expand Down Expand Up @@ -580,11 +580,7 @@ export abstract class BaseClient {
configured_props: opts.configuredProps,
dynamic_props_id: opts.dynamicPropsId,
};
return await this.makeConnectRequestAsync<{
options: { label: string; value: string; }[];
string_options: string[];
errors: string[];
}>("/components/configure", {
return await this.makeConnectRequestAsync<ComponentConfigureResponse>("/components/configure", {
method: "POST",
body,
});
Expand Down
8 changes: 3 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading