Skip to content

Commit 1b40276

Browse files
committed
Bump version and add CHANGELOG
1 parent 054ca03 commit 1b40276

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

packages/sdk/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
<!-- markdownlint-disable MD024 -->
22
# Changelog
33

4+
## [1.0.7] - 2024-11-21
5+
6+
### Changed
7+
8+
- The backend client now correctly uses asynchronous messaging to handle long running
9+
operations.
10+
- Updated the backend command line tool to respect the `ENVIRONMENT` env variable
11+
if set.
12+
13+
### Changed
14+
15+
- Use client Connect tokens to make api calls directly from the client.
16+
- Deprecated the `environments` property on `createFrontendClient` since it is now
17+
stored in the token
18+
419
## [1.0.6] - 2024-11-20
520

621
### Changed

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/sdk",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "Pipedream SDK",
55
"main": "dist/server/server/index.js",
66
"module": "dist/server/server/index.js",

packages/sdk/src/server/async.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class ServerAsyncResponseManager extends AsyncResponseManager {
3232
protected override async getOpts(): Promise<AsyncResponseManagerOpts> {
3333
const oauthToken = await this.serverOpts.getOauthToken();
3434
if (!oauthToken?.token?.access_token) {
35-
throw new Error('Invalid OAuth token structure');
35+
throw new Error("Invalid OAuth token structure");
3636
}
3737
const token = oauthToken.token.access_token;
3838
const projectId = await this.serverOpts.getProjectId();

0 commit comments

Comments
 (0)