@nsshunt/stsobservability 1.0.106 → 1.0.108
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.
|
@@ -4622,7 +4622,7 @@ class PublishTransportRESTServer extends STSOptionsBase {
|
|
|
4622
4622
|
retVal = await axios(new STSAxiosConfig(this.options.url, "post", headers).withData(Buffer.from(encodedData)).config);
|
|
4623
4623
|
}
|
|
4624
4624
|
} else {
|
|
4625
|
-
const blob = new Blob([encodedData], { type: "application/octet-stream" });
|
|
4625
|
+
const blob = new Blob([new Uint8Array(encodedData)], { type: "application/octet-stream" });
|
|
4626
4626
|
retVal = await axios(new STSAxiosConfig(this.options.url, "post", headers).withData(blob).config);
|
|
4627
4627
|
}
|
|
4628
4628
|
}
|