@fencyai/js 0.1.94 → 0.1.96
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.
|
@@ -7,6 +7,7 @@ export async function createAgentTask(params) {
|
|
|
7
7
|
'Content-Type': 'application/json',
|
|
8
8
|
Authorization: `Bearer ${params.pk}`,
|
|
9
9
|
'X-Fency-Sdk-Version': getPackageVersion(),
|
|
10
|
+
'X-Fency-Client-Secret': params.clientSecret,
|
|
10
11
|
};
|
|
11
12
|
const response = await PubService.createAgentTask(params.request);
|
|
12
13
|
return {
|
package/lib/api/createStream.js
CHANGED
|
@@ -7,6 +7,7 @@ export async function createStream(params) {
|
|
|
7
7
|
'Content-Type': 'application/json',
|
|
8
8
|
Authorization: `Bearer ${params.pk}`,
|
|
9
9
|
'X-Fency-Sdk-Version': getPackageVersion(),
|
|
10
|
+
'X-Fency-Client-Secret': params.clientSecret,
|
|
10
11
|
};
|
|
11
12
|
const response = await PubService.createStream();
|
|
12
13
|
return {
|
package/lib/utils/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Browser-compatible version utility
|
|
2
2
|
// The version is set at build time and can be overridden if needed
|
|
3
3
|
// Build-time version constant - this should be updated during the build process
|
|
4
|
-
const SDK_VERSION = '0.1.
|
|
4
|
+
const SDK_VERSION = '0.1.95';
|
|
5
5
|
// Allow runtime override if needed
|
|
6
6
|
let versionOverride = null;
|
|
7
7
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fencyai/js",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.96",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "staklau <steinaageklaussen@gmail.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"ts-jest": "^29.1.1",
|
|
43
43
|
"typescript": "^5.3.3"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "d85b55d756c2bfa83897b92370729d219fdd07c3"
|
|
46
46
|
}
|