Skip to content

Commit 8f4545a

Browse files
committed
Integrate AirweaveSDKClient with framework details
- Added frameworkName and frameworkVersion properties to the AirweaveSDKClient instantiation. - Imported package.json to dynamically set the framework version.
1 parent 3d75d36 commit 8f4545a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/airweave/airweave.app.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { AirweaveSDKClient } from "@airweave/sdk";
2+
import packageJson from "./package.json" assert { type: "json" };
23

34
export default {
45
type: "app",
@@ -94,6 +95,8 @@ export default {
9495
return new AirweaveSDKClient({
9596
apiKey: this._apiKey(),
9697
baseUrl: this._baseUrl(),
98+
frameworkName: "pipedream",
99+
frameworkVersion: packageJson.version,
97100
});
98101
},
99102
// Collections methods

0 commit comments

Comments
 (0)