reactbridge-sdk 0.1.17 → 0.1.18
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/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -77,7 +77,7 @@ class ReactBridgeAPI {
|
|
|
77
77
|
if (request.userRecentActivity)
|
|
78
78
|
formData.append('userRecentActivity', request.userRecentActivity);
|
|
79
79
|
if (request.interfaceState)
|
|
80
|
-
formData.append(
|
|
80
|
+
formData.append("InterfaceStateJson", JSON.stringify(request.interfaceState));
|
|
81
81
|
if (request.sessionId)
|
|
82
82
|
formData.append('sessionId', request.sessionId);
|
|
83
83
|
if (request.modalityHint)
|
|
@@ -96,14 +96,14 @@ class ReactBridgeAPI {
|
|
|
96
96
|
headers['Content-Type'] = 'application/json';
|
|
97
97
|
body = JSON.stringify(request);
|
|
98
98
|
}
|
|
99
|
-
console.log('Sending request to ReactBridge API:', { url, headers, body, timeoutMs });
|
|
99
|
+
// console.log('Sending request to ReactBridge API:', { url, headers, body, timeoutMs });
|
|
100
100
|
const response = yield fetch(url, {
|
|
101
101
|
method: 'POST',
|
|
102
102
|
headers,
|
|
103
103
|
body,
|
|
104
104
|
signal,
|
|
105
105
|
});
|
|
106
|
-
console.log('Received response from ReactBridge API:', response);
|
|
106
|
+
// console.log('Received response from ReactBridge API:', response);
|
|
107
107
|
// Clear any manual timeout timer if set
|
|
108
108
|
if (timeoutId) {
|
|
109
109
|
clearTimeout(timeoutId);
|