forkit-connect 0.1.33 → 0.1.34
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/v1/service.js +2 -2
- package/package.json +1 -1
package/dist/v1/service.js
CHANGED
|
@@ -7132,7 +7132,7 @@ class ConnectV1Service {
|
|
|
7132
7132
|
return;
|
|
7133
7133
|
}
|
|
7134
7134
|
try {
|
|
7135
|
-
const result = await this.
|
|
7135
|
+
const result = await this.getApiClientWithSessionToken(apiKey).pushRuntimeSignalEvent(this.buildC2RuntimeSignalPayload(event, apiKey, runtimeScope));
|
|
7136
7136
|
if (!result.ok) {
|
|
7137
7137
|
// 429 rate-limit — halt the current flush cycle and respect Retry-After.
|
|
7138
7138
|
if (result.status === 429) {
|
|
@@ -8852,7 +8852,7 @@ class ConnectV1Service {
|
|
|
8852
8852
|
...item.payload,
|
|
8853
8853
|
apiKey: resolvedRuntimeSignalApiKey,
|
|
8854
8854
|
};
|
|
8855
|
-
const result = await
|
|
8855
|
+
const result = await this.getApiClientWithSessionToken(resolvedRuntimeSignalApiKey).pushRuntimeSignalEvent(this.withRuntimeBindingPayload(payloadWithRuntimeKey, runtimeScope));
|
|
8856
8856
|
if (!result.ok) {
|
|
8857
8857
|
const metadataValue = item.payload?.metadata;
|
|
8858
8858
|
const metadata = metadataValue && typeof metadataValue === 'object' && !Array.isArray(metadataValue)
|