@dev-fastn-ai/react-core 1.0.18 → 1.0.19
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.
- package/README.md +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @fastn-ai/react-core
|
|
2
2
|
|
|
3
|
-
A
|
|
3
|
+
A React library for integrating Fastn AI connectors into your application. This package provides robust hooks to manage connectors, configurations, and dynamic configuration forms, empowering you to build custom UIs on top of Fastn's data and logic.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
package/dist/index.cjs.js
CHANGED
|
@@ -847,7 +847,7 @@ const callActivateConnector = async (input, headers) => {
|
|
|
847
847
|
const url = config.baseUrl + ACTIVATE_CONNECTOR_URL;
|
|
848
848
|
const response = await fetch(url, {
|
|
849
849
|
method: "POST",
|
|
850
|
-
headers: Object.assign(Object.assign({ "Content-Type": "application/json" }, headers), { "x-fastn-api-key": ACTIVATE_CONNECTOR_ACCESS_KEY, "x-fastn-space-id": ACTIVATE_CONNECTOR_PROJECT_ID, "x-fastn-space-client-id": config.spaceId }),
|
|
850
|
+
headers: Object.assign(Object.assign({ "Content-Type": "application/json" }, headers), { "x-fastn-api-key": ACTIVATE_CONNECTOR_ACCESS_KEY, "x-fastn-space-id": ACTIVATE_CONNECTOR_PROJECT_ID, "x-fastn-space-client-id": config.spaceId, 'stage': "LIVE" }),
|
|
851
851
|
body: JSON.stringify({
|
|
852
852
|
input
|
|
853
853
|
})
|
package/dist/index.esm.js
CHANGED
|
@@ -845,7 +845,7 @@ const callActivateConnector = async (input, headers) => {
|
|
|
845
845
|
const url = config.baseUrl + ACTIVATE_CONNECTOR_URL;
|
|
846
846
|
const response = await fetch(url, {
|
|
847
847
|
method: "POST",
|
|
848
|
-
headers: Object.assign(Object.assign({ "Content-Type": "application/json" }, headers), { "x-fastn-api-key": ACTIVATE_CONNECTOR_ACCESS_KEY, "x-fastn-space-id": ACTIVATE_CONNECTOR_PROJECT_ID, "x-fastn-space-client-id": config.spaceId }),
|
|
848
|
+
headers: Object.assign(Object.assign({ "Content-Type": "application/json" }, headers), { "x-fastn-api-key": ACTIVATE_CONNECTOR_ACCESS_KEY, "x-fastn-space-id": ACTIVATE_CONNECTOR_PROJECT_ID, "x-fastn-space-client-id": config.spaceId, 'stage': "LIVE" }),
|
|
849
849
|
body: JSON.stringify({
|
|
850
850
|
input
|
|
851
851
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dev-fastn-ai/react-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "React hooks and components for integrating Fastn AI connector marketplace into your applications. Built on top of @fastn-ai/core with React Query for optimal performance.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|