@team-internet/apiconnector 10.0.6 → 10.0.8

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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [10.0.8](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/compare/v10.0.7...v10.0.8) (2025-06-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **apiclient:** add content-type header explicitely (sadly not auto-set by cross-fetch) ([46bf589](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/commit/46bf5892d1787f8fc3869ee70b34c2c13fa8ac4f))
7
+
8
+ ## [10.0.7](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/compare/v10.0.6...v10.0.7) (2025-04-17)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** bump idna-uts46-hx from 6.0.7 to 6.0.8 ([df9c6c0](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/commit/df9c6c00d64e670b0adfd9c847b3a7e4d284a0ee))
14
+
1
15
  ## [10.0.6](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/compare/v10.0.5...v10.0.6) (2025-03-17)
2
16
 
3
17
 
package/dist/apiclient.js CHANGED
@@ -295,6 +295,7 @@ export class APIClient {
295
295
  body: this.getPOSTData(mycmd),
296
296
  headers: {
297
297
  "User-Agent": this.getUserAgent(),
298
+ "Content-Type": "application/x-www-form-urlencoded"
298
299
  },
299
300
  method: "POST",
300
301
  timeout: APIClient.socketTimeout,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@team-internet/apiconnector",
3
3
  "description": "Node.js SDK for the insanely fast CentralNic Reseller (fka RRPProxy) API",
4
- "version": "10.0.6",
4
+ "version": "10.0.8",
5
5
  "private": false,
6
6
  "publishConfig": {
7
7
  "access": "public"
package/src/apiclient.ts CHANGED
@@ -5,7 +5,7 @@ import { ResponseTemplateManager } from "./responsetemplatemanager.js";
5
5
  import { fixedURLEnc, SocketConfig } from "./socketconfig.js";
6
6
  import { toAscii } from "idna-uts46-hx";
7
7
 
8
- export const CNR_CONNECTION_URL_PROXY = "http://10.0.6.1/api/call.cgi";
8
+ export const CNR_CONNECTION_URL_PROXY = "http://10.0.8.1/api/call.cgi";
9
9
  export const CNR_CONNECTION_URL_LIVE = "https://api.rrpproxy.net/api/call.cgi";
10
10
  export const CNR_CONNECTION_URL_OTE =
11
11
  "https://api-ote.rrpproxy.net/api/call.cgi";
@@ -189,7 +189,7 @@ export class APIClient {
189
189
  * @returns module version
190
190
  */
191
191
  public getVersion(): string {
192
- return "10.0.6";
192
+ return "10.0.8";
193
193
  }
194
194
 
195
195
  /**
@@ -336,6 +336,7 @@ export class APIClient {
336
336
  body: this.getPOSTData(mycmd),
337
337
  headers: {
338
338
  "User-Agent": this.getUserAgent(),
339
+ "Content-Type": "application/x-www-form-urlencoded"
339
340
  },
340
341
  method: "POST",
341
342
  timeout: APIClient.socketTimeout,