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