@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.
@@ -1,41 +1,28 @@
1
- FROM node:latest as nodejs
1
+ FROM node:lts AS nodejs
2
2
  FROM mcr.microsoft.com/devcontainers/base:ubuntu
3
3
 
4
- ENV DEBIAN_FRONTEND noninteractive
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 REFRESHED_AT 2024-01-17
9
- ENV CONFIGURATION_DIR_PATH supporting_files/configuration
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 cron
17
- RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 4F4EA0AAE5267A6C
18
- # install apt deps (first row for puppeteer)
19
- RUN apt-get -y install libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 postfix python3-setuptools wget jq sudo git
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
@@ -1,4 +1,3 @@
1
- version: "3.9"
2
1
  services:
3
2
  nodesdk:
4
3
  container_name: dstack-nodesdk
@@ -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 and global packages
8
+ # install pnpm package manager
9
9
  sudo npm i -g pnpm@latest
10
- sudo npm add -g commitizen@latest cz-conventional-changelog@latest semantic-release-cli@latest
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.11",
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.4",
63
- "@types/chai": "^5.0.1",
64
- "@types/chai-as-promised": "^8.0.1",
65
- "@types/mocha": "^10.0.9",
66
- "@types/node": "^24.0.15",
67
- "c8": "^10.1.2",
68
- "chai": "^6.2.0",
69
- "chai-as-promised": "^8.0.0",
70
- "cross-env": "^10.0.0",
71
- "mocha": "^11.0.1",
72
- "nock": "^14.0.0",
73
- "prettier": "^3.0.0",
74
- "semantic-release": "^25.0.1",
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.19.2",
78
- "typedoc": "^0.28.0",
79
- "typescript": "^5.6.3"
77
+ "tsx": "^4.21.0",
78
+ "typedoc": "^0.28.18",
79
+ "typescript": "^6.0.2"
80
80
  },
81
81
  "dependencies": {
82
- "cross-fetch": "^4.0.0",
83
- "idna-uts46-hx": "^6.0.5"
82
+ "cross-fetch": "^4.1.0",
83
+ "idna-uts46-hx": "^6.1.5"
84
84
  }
85
85
  }
@@ -1,2 +1,6 @@
1
1
  onlyBuiltDependencies:
2
2
  - esbuild
3
+
4
+ overrides:
5
+ diff: "8.0.3"
6
+ serialize-javascript: "7.0.3"
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.11.1/api/call.cgi";
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.11";
192
+ return "10.0.13";
193
193
  }
194
194
 
195
195
  /**
package/tsconfig.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "extends": "./.github/linters/tsconfig.json",
3
3
  "compilerOptions": {
4
- "outDir": "./dist"
4
+ "outDir": "./dist",
5
+ "types": ["node"]
5
6
  },
6
7
  "exclude": ["node_modules", "./dist/**/*", "./tests/**/*"]
7
8
  }