@hyperdrive.bot/fleet-client 0.3.204 → 0.3.206

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.
@@ -703,6 +703,11 @@ export interface SourceCatalogueOptions {
703
703
  export interface SourceConnectOptions {
704
704
  kind: SourceKind;
705
705
  appSlug: string;
706
+ /**
707
+ * A custom OAuth client for the authorization (Pipedream `oa_...`). Check
708
+ * `server_info.features.sourceConnectOauthApp` first: an older daemon drops it.
709
+ */
710
+ oauthAppId?: string;
706
711
  requestId?: string;
707
712
  }
708
713
  export interface SourceCheckOptions {
@@ -4358,6 +4358,7 @@ export class DaemonClient {
4358
4358
  type: "source/connect",
4359
4359
  kind: options.kind,
4360
4360
  appSlug: options.appSlug,
4361
+ ...(options.oauthAppId === undefined ? {} : { oauthAppId: options.oauthAppId }),
4361
4362
  },
4362
4363
  responseType: "source/connect/response",
4363
4364
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperdrive.bot/fleet-client",
3
- "version": "0.3.204",
3
+ "version": "0.3.206",
4
4
  "description": "Paseo client SDK package",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -34,8 +34,8 @@
34
34
  "test": "vitest run"
35
35
  },
36
36
  "dependencies": {
37
- "@hyperdrive.bot/fleet-protocol": "0.3.204",
38
- "@hyperdrive.bot/fleet-relay": "0.3.204",
37
+ "@hyperdrive.bot/fleet-protocol": "0.3.206",
38
+ "@hyperdrive.bot/fleet-relay": "0.3.206",
39
39
  "zod": "^4.4.3"
40
40
  },
41
41
  "devDependencies": {