@taxora/sdk 1.7.0 → 1.7.1
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/CHANGELOG.md +7 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2946,7 +2946,7 @@ var SmartEnrichmentEndpoint = class {
|
|
|
2946
2946
|
* verbatim (text/csv) instead of parsing JSON.
|
|
2947
2947
|
*/
|
|
2948
2948
|
async parseCsvResponse(response) {
|
|
2949
|
-
const responseText = await response.
|
|
2949
|
+
const responseText = new TextDecoder("utf-8", { ignoreBOM: true }).decode(await response.arrayBuffer());
|
|
2950
2950
|
if (response.status === 422) {
|
|
2951
2951
|
throw new ValidationException(
|
|
2952
2952
|
jsonErrorMessage(responseText) ?? "Validation failed",
|
|
@@ -3916,7 +3916,7 @@ var AuthRetryHttpClient = class {
|
|
|
3916
3916
|
};
|
|
3917
3917
|
|
|
3918
3918
|
// src/version.ts
|
|
3919
|
-
var SDK_VERSION = "1.7.
|
|
3919
|
+
var SDK_VERSION = "1.7.1";
|
|
3920
3920
|
|
|
3921
3921
|
// src/http/SdkVersionHttpClient.ts
|
|
3922
3922
|
var SDK_VERSION_HEADER = "X-Taxora-SDK-Version";
|