@team-internet/apiconnector 10.0.11 → 10.0.13
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/.devcontainer/Dockerfile +11 -24
- package/.devcontainer/docker-compose.yml +0 -1
- package/.devcontainer/supporting_files/scripts/post-create.sh +3 -2
- package/CHANGELOG.md +14 -0
- package/package.json +19 -19
- package/pnpm-workspace.yaml +4 -0
- package/src/apiclient.ts +2 -2
- package/tsconfig.json +2 -1
package/.devcontainer/Dockerfile
CHANGED
|
@@ -1,41 +1,28 @@
|
|
|
1
|
-
FROM node:
|
|
1
|
+
FROM node:lts AS nodejs
|
|
2
2
|
FROM mcr.microsoft.com/devcontainers/base:ubuntu
|
|
3
3
|
|
|
4
|
-
ENV DEBIAN_FRONTEND
|
|
4
|
+
ENV DEBIAN_FRONTEND=noninteractive
|
|
5
5
|
ENV TZ=Europe/Berlin
|
|
6
|
-
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn
|
|
7
6
|
|
|
8
|
-
ENV
|
|
9
|
-
ENV
|
|
10
|
-
ENV SCRIPTS_DIR_PATH supporting_files/scripts
|
|
7
|
+
ENV CONFIGURATION_DIR_PATH=supporting_files/configuration
|
|
8
|
+
ENV SCRIPTS_DIR_PATH=supporting_files/scripts
|
|
11
9
|
|
|
12
|
-
# Install packages
|
|
13
|
-
# Suppress an apt-key warning about standard out not being a terminal. Use in this script is safe.
|
|
10
|
+
# Install packages and cleanup
|
|
14
11
|
RUN apt-get update \
|
|
15
12
|
&& apt-get -y upgrade \
|
|
16
|
-
&& apt-get -y install software-properties-common
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
# Cleanup
|
|
21
|
-
RUN apt-get -y autoremove && \
|
|
22
|
-
apt-get -y clean
|
|
13
|
+
&& apt-get -y install wget jq sudo git cron software-properties-common \
|
|
14
|
+
&& apt-get -y autoremove \
|
|
15
|
+
&& apt-get -y clean \
|
|
16
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
23
17
|
|
|
24
18
|
# Add image configuration and scripts
|
|
25
19
|
ADD ${SCRIPTS_DIR_PATH}/post-create.sh /post-create.sh
|
|
20
|
+
RUN chmod +x /post-create.sh
|
|
26
21
|
|
|
27
22
|
# Time Zone
|
|
28
23
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
29
24
|
|
|
30
25
|
######################### DEVELOPMENT ENVIRONMENT ADDITIONS ###############################
|
|
31
|
-
# install latest git & zsh
|
|
32
|
-
RUN add-apt-repository ppa:git-core/ppa \
|
|
33
|
-
&& apt-get update \
|
|
34
|
-
&& apt-get -y install --no-install-recommends git \
|
|
35
|
-
&& apt-get clean \
|
|
36
|
-
&& rm -rf /var/lib/apt/lists/* \
|
|
37
|
-
&& update-locale
|
|
38
|
-
|
|
39
26
|
# specifics to user vscode
|
|
40
27
|
ARG USERNAME="vscode"
|
|
41
28
|
ARG USERHOME="/home/${USERNAME}"
|
|
@@ -55,7 +42,7 @@ RUN git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM
|
|
|
55
42
|
&& chown -R ${USERNAME}:${USERNAME} $ZSH_CUSTOM/themes/powerlevel10k
|
|
56
43
|
|
|
57
44
|
# Clone the zsh-autosuggestions repository and change owner
|
|
58
|
-
RUN git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions \
|
|
45
|
+
RUN git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions \
|
|
59
46
|
&& chown -R ${USERNAME}:${USERNAME} $ZSH_CUSTOM/plugins/zsh-autosuggestions
|
|
60
47
|
|
|
61
48
|
# copy zsh and committizen configuration file
|
|
@@ -5,9 +5,10 @@ echo "=> Script: post-create.sh Executed by: $(whoami)"
|
|
|
5
5
|
# shellcheck source=/dev/null
|
|
6
6
|
source ~/.zshrc
|
|
7
7
|
|
|
8
|
-
# install pnpm
|
|
8
|
+
# install pnpm package manager
|
|
9
9
|
sudo npm i -g pnpm@latest
|
|
10
|
-
|
|
10
|
+
# install global node deps
|
|
11
|
+
pnpm add -g commitizen@latest cz-conventional-changelog@latest semantic-release-cli@latest
|
|
11
12
|
|
|
12
13
|
# install node deps
|
|
13
14
|
pnpm i --frozen-lockfile
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [10.0.13](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/compare/v10.0.12...v10.0.13) (2026-04-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** bump idna-uts46-hx from 6.1.5 to 6.1.7 ([cb92e76](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/commit/cb92e767c71f77f6a36e3a059c60a9e5fbc337c5))
|
|
7
|
+
|
|
8
|
+
## [10.0.12](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/compare/v10.0.11...v10.0.12) (2026-03-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update dependencies to latest versions for security and compatibility ([aaf9557](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/commit/aaf9557f43034d94b986e1c9b725a1659df1d719))
|
|
14
|
+
|
|
1
15
|
## [10.0.11](https://github.com/centralnicgroup-opensource/rtldev-middleware-node-sdk/compare/v10.0.10...v10.0.11) (2025-11-24)
|
|
2
16
|
|
|
3
17
|
|
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.13",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -59,27 +59,27 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@semantic-release/changelog": "^6.0.3",
|
|
61
61
|
"@semantic-release/git": "^10.0.1",
|
|
62
|
-
"@tsconfig/node20": "^20.1.
|
|
63
|
-
"@types/chai": "^5.
|
|
64
|
-
"@types/chai-as-promised": "^8.0.
|
|
65
|
-
"@types/mocha": "^10.0.
|
|
66
|
-
"@types/node": "^
|
|
67
|
-
"c8": "^
|
|
68
|
-
"chai": "^6.2.
|
|
69
|
-
"chai-as-promised": "^8.0.
|
|
70
|
-
"cross-env": "^10.
|
|
71
|
-
"mocha": "^11.
|
|
72
|
-
"nock": "^14.0.
|
|
73
|
-
"prettier": "^3.
|
|
74
|
-
"semantic-release": "^25.0.
|
|
62
|
+
"@tsconfig/node20": "^20.1.9",
|
|
63
|
+
"@types/chai": "^5.2.3",
|
|
64
|
+
"@types/chai-as-promised": "^8.0.2",
|
|
65
|
+
"@types/mocha": "^10.0.10",
|
|
66
|
+
"@types/node": "^25.5.0",
|
|
67
|
+
"c8": "^11.0.0",
|
|
68
|
+
"chai": "^6.2.2",
|
|
69
|
+
"chai-as-promised": "^8.0.2",
|
|
70
|
+
"cross-env": "^10.1.0",
|
|
71
|
+
"mocha": "^11.7.5",
|
|
72
|
+
"nock": "^14.0.11",
|
|
73
|
+
"prettier": "^3.8.1",
|
|
74
|
+
"semantic-release": "^25.0.3",
|
|
75
75
|
"semantic-release-replace-plugin": "github:centralnicgroup-opensource/rtldev-middleware-semantic-release-replace-plugin",
|
|
76
76
|
"semantic-release-teams-notify-plugin": "github:centralnicgroup-opensource/rtldev-middleware-semantic-release-notify-plugin",
|
|
77
|
-
"tsx": "^4.
|
|
78
|
-
"typedoc": "^0.28.
|
|
79
|
-
"typescript": "^
|
|
77
|
+
"tsx": "^4.21.0",
|
|
78
|
+
"typedoc": "^0.28.18",
|
|
79
|
+
"typescript": "^6.0.2"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"cross-fetch": "^4.
|
|
83
|
-
"idna-uts46-hx": "^6.
|
|
82
|
+
"cross-fetch": "^4.1.0",
|
|
83
|
+
"idna-uts46-hx": "^6.1.5"
|
|
84
84
|
}
|
|
85
85
|
}
|
package/pnpm-workspace.yaml
CHANGED
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.13.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.13";
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
/**
|