@team-internet/apiconnector 10.0.0 → 10.0.2
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 +14 -0
- package/README.md +2 -2
- package/package.json +4 -4
- package/src/apiclient.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [10.0.2](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/compare/v10.0.1...v10.0.2) (2024-11-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** bump idna-uts46-hx from 6.0.5 to 6.0.6 ([0c3cdf2](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/commit/0c3cdf2c3b8e7e0af66094ab0923ce4042183213))
|
|
7
|
+
|
|
8
|
+
## [10.0.1](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/compare/v10.0.0...v10.0.1) (2024-11-15)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **readme.md:** reviewed readme.md ([a0d7f7c](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/commit/a0d7f7c007f059c8a1cef6977d13101646f15a30))
|
|
14
|
+
|
|
1
15
|
# [10.0.0](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/compare/v9.0.8...v10.0.0) (2024-11-15)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# CentralNic Reseller NODE-SDK
|
|
2
2
|
|
|
3
3
|
[](code_of_conduct.md)
|
|
4
4
|
[](https://www.npmjs.com/package/@cnr/apiconnector)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
[](https://opensource.org/licenses/MIT)
|
|
9
9
|
[](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/blob/master/CONTRIBUTING.md)
|
|
10
10
|
|
|
11
|
-
This module is a connector library for the insanely fast CentralNic Reseller Backend API. For further informations visit our [homepage](https://www.centralnicreseller.com) and do not hesitate to [contact us](https://www.centralnicreseller.com/contact).
|
|
11
|
+
This module is a connector library for the insanely fast CentralNic Reseller (formerly RRPProxy) Backend API. For further informations visit our [homepage](https://www.centralnicreseller.com) and do not hesitate to [contact us](https://www.centralnicreseller.com/contact).
|
|
12
12
|
|
|
13
13
|
## Deprecation Notice: Hexonet Node.js SDK
|
|
14
14
|
|
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.
|
|
4
|
+
"version": "10.0.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
"@semantic-release/changelog": "^6.0.3",
|
|
61
61
|
"@semantic-release/git": "^10.0.1",
|
|
62
62
|
"@tsconfig/node20": "^20.1.4",
|
|
63
|
-
"@types/chai": "^
|
|
63
|
+
"@types/chai": "^5.0.1",
|
|
64
64
|
"@types/chai-as-promised": "^8.0.1",
|
|
65
65
|
"@types/mocha": "^10.0.9",
|
|
66
|
-
"@types/nock": "^
|
|
66
|
+
"@types/nock": "^11.1.0",
|
|
67
67
|
"@types/node": "^22.9.0",
|
|
68
68
|
"c8": "^10.1.2",
|
|
69
|
-
"chai": "^5.1.
|
|
69
|
+
"chai": "^5.1.2",
|
|
70
70
|
"chai-as-promised": "^8.0.0",
|
|
71
71
|
"cross-env": "^7.0.3",
|
|
72
72
|
"mocha": "^10.8.2",
|
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.
|
|
8
|
+
export const CNR_CONNECTION_URL_PROXY = "http://10.0.2.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.
|
|
192
|
+
return "10.0.2";
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
/**
|