From 06a0c4a78f734551f45dc88ce26729b0afd1f5da Mon Sep 17 00:00:00 2001 From: "Tiago Siebler @ Siebly.io" Date: Mon, 31 Aug 2026 14:35:31 +0100 Subject: [PATCH 1/3] fix: link package docs to canonical Siebly pages --- README.md | 6 ++---- docs/BITGET_SDK_QUICKSTART_GUIDE.md | 8 ++++---- package-lock.json | 4 ++-- package.json | 4 ++-- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6cc7015..56b4858 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,6 @@ [1]: https://www.npmjs.com/package/bitget-api -> [!TIP] -> Upcoming change: As part of the [Siebly.io](https://siebly.io/) brand, this SDK is now hosted under our [Siebly.io GitHub organisation](https://github.com/sieblyio). The migration is seamless and requires no user changes. - Updated & performant JavaScript & Node.js SDK for the Bitget V2 REST APIs and WebSockets: - Professional, robust & performant Bitget SDK with extensive production use in live trading environments. @@ -51,6 +48,7 @@ Updated & performant JavaScript & Node.js SDK for the Bitget V2 REST APIs and We - Proxy support via axios integration. - Active community support & collaboration in telegram: [Node.js Algo Traders](https://t.me/nodetraders). - QuickStart Guide: https://siebly.io/sdk/bitget/javascript +- Bitget JavaScript Tutorial: https://siebly.io/sdk/bitget/javascript/tutorial ## Table of Contents @@ -161,7 +159,7 @@ Each REST API group has a dedicated REST client. To avoid confusion, here are th Examples for using each client can be found in: - the [examples](./examples) folder. -- the [awesome-crypto-examples](https://github.com/tiagosiebler/awesome-crypto-examples) repository. +- the [awesome-crypto-examples](https://github.com/sieblyio/awesome-crypto-examples) repository. If you're missing an example, you're welcome to request one. Priority will be given to [github sponsors](https://github.com/sponsors/tiagosiebler). diff --git a/docs/BITGET_SDK_QUICKSTART_GUIDE.md b/docs/BITGET_SDK_QUICKSTART_GUIDE.md index 719881a..1f9549d 100644 --- a/docs/BITGET_SDK_QUICKSTART_GUIDE.md +++ b/docs/BITGET_SDK_QUICKSTART_GUIDE.md @@ -207,7 +207,7 @@ siebly: href: /examples/Bitget/V3%20-%20UTA/Websocket/ws-private - heading: Source repository summary: Browse SDK source, releases, issues, and endpoint coverage from GitHub. - href: https://github.com/tiagosiebler/bitget-api + href: https://github.com/sieblyio/bitget-api --> # Bitget API JavaScript Tutorial for Node.js and TypeScript @@ -223,7 +223,7 @@ The SDK handles signing, routing, reconnects, and resubscribes so you don't have **Key links** - Bitget JavaScript SDK by Siebly: [`bitget-api`](https://www.npmjs.com/package/bitget-api) -- GitHub Repository: [`tiagosiebler/bitget-api`](https://github.com/tiagosiebler/bitget-api) +- GitHub Repository: [`sieblyio/bitget-api`](https://github.com/sieblyio/bitget-api) - SDK function-endpoint map: [Bitget JavaScript Endpoint Reference](./endpointFunctionList.md) - SDK examples: [Bitget SDK examples](../examples) - Bitget UTA docs: [Unified Trading Account](https://www.bitget.com/api-doc/uta/intro) @@ -1411,7 +1411,7 @@ Yes. The SDK works in JavaScript and TypeScript. TypeScript users also get reque ### Does the SDK support RSA keys? -Yes. Pass your RSA private key as `apiSecret`; the SDK auto-detects RSA vs HMAC signing. See the [GitHub repository](https://github.com/tiagosiebler/bitget-api). +Yes. Pass your RSA private key as `apiSecret`; the SDK auto-detects RSA vs HMAC signing. See the [GitHub repository](https://github.com/sieblyio/bitget-api). ### What should I do after a WebSocket reconnect? @@ -1433,7 +1433,7 @@ More in the repo: - [Bitget JavaScript SDK page](https://siebly.io/sdk/bitget/javascript) - [`bitget-api` on npm](https://www.npmjs.com/package/bitget-api) -- [GitHub repo](https://github.com/tiagosiebler/bitget-api) +- [GitHub repo](https://github.com/sieblyio/bitget-api) - [Endpoint reference](./endpointFunctionList.md) - Bitget docs: [UTA](https://www.bitget.com/api-doc/uta/intro) ยท [Classic](https://www.bitget.com/api-doc/classic/quickStart/intro) - [More exchange SDKs on Siebly.io](https://siebly.io) diff --git a/package-lock.json b/package-lock.json index 49157d3..1ed7ab5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bitget-api", - "version": "3.2.2", + "version": "3.2.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bitget-api", - "version": "3.2.2", + "version": "3.2.3", "license": "MIT", "dependencies": { "@types/ws": "^8.18.1", diff --git a/package.json b/package.json index 86adbce..880856e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bitget-api", - "version": "3.2.2", + "version": "3.2.3", "description": "Complete Node.js & JavaScript SDK for Bitget V1-V3 REST APIs & WebSockets, with TypeScript & end-to-end tests.", "scripts": { "test": "jest", @@ -94,5 +94,5 @@ "bugs": { "url": "https://github.com/sieblyio/bitget-api/issues" }, - "homepage": "https://github.com/sieblyio/bitget-api#readme" + "homepage": "https://siebly.io/sdk/bitget/javascript" } From 1469ef6f5331df9a3a1c794c4914fc9b006b1d89 Mon Sep 17 00:00:00 2001 From: "Tiago Siebler @ Siebly.io" Date: Mon, 31 Aug 2026 17:06:59 +0100 Subject: [PATCH 2/3] fix: retain Siebly organisation notice --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 56b4858..da6574b 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,9 @@ [1]: https://www.npmjs.com/package/bitget-api +> [!TIP] +> Upcoming change: As part of the [Siebly.io](https://siebly.io/) brand, this SDK is now hosted under our [Siebly.io GitHub organisation](https://github.com/sieblyio). The migration is seamless and requires no user changes. + Updated & performant JavaScript & Node.js SDK for the Bitget V2 REST APIs and WebSockets: - Professional, robust & performant Bitget SDK with extensive production use in live trading environments. From d457e2b75ed7d0095ae5b20a12aa3770f32a82aa Mon Sep 17 00:00:00 2001 From: "Tiago Siebler @ Siebly.io" Date: Mon, 31 Aug 2026 18:22:07 +0100 Subject: [PATCH 3/3] chore: harden dependency versions --- .npmrc | 2 ++ package-lock.json | 92 +++++++++++++++++++++++------------------------ package.json | 14 ++++++-- 3 files changed, 59 insertions(+), 49 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..3cf6e4f --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +min-release-age=30 +save-exact=true diff --git a/package-lock.json b/package-lock.json index 1ed7ab5..d2f8f8a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,9 +9,9 @@ "version": "3.2.3", "license": "MIT", "dependencies": { - "@types/ws": "^8.18.1", - "axios": "^1.13.2", - "isomorphic-ws": "^5.0.0", + "@types/ws": "8.18.1", + "axios": "1.18.1", + "isomorphic-ws": "5.0.0", "ws": "8.21.1" }, "devDependencies": { @@ -705,9 +705,9 @@ } }, "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { - "version": "3.15.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.0.tgz", - "integrity": "sha512-ttBQIIQPDeLjpPOohtUdXuXUVoA2uIB6fEH9HyJ7234s5mBJ5wTx20njxplLZQgLaOfpmPQA7X2t5AX6tIPbog==", + "version": "3.15.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.1.tgz", + "integrity": "sha512-S99WuO3HlhO3XN41EtYUNl9zzXjoJx7QvmipxsJVxtCBT0YHEFy+iOJhjSvrmV12nYhWpZaM8lPHkJm0yUMbag==", "dev": true, "license": "MIT", "dependencies": { @@ -1562,9 +1562,9 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.0.tgz", - "integrity": "sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz", + "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==", "dev": true, "license": "MIT", "dependencies": { @@ -2083,9 +2083,9 @@ "license": "MIT" }, "node_modules/axios": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.17.0.tgz", - "integrity": "sha512-J8SwNxprqqpbfenehxWYXE7CW+wM1BB4w3+N+g+/Wx40xM4rsLrfPmHHxSWIxJLYDgSY/HqlFPIYb2/S3rxafw==", + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.18.1.tgz", + "integrity": "sha512-3nTvFlvpn9Zu/RkHUqtc7/+al4UpRW5az71ap5zccp6e8RAYEzhMTecX8Dz1wWDYrPpUoB1HAQEGEAEvUr7S9g==", "license": "MIT", "dependencies": { "follow-redirects": "^1.16.0", @@ -2212,9 +2212,9 @@ } }, "node_modules/brace-expansion": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz", - "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==", + "version": "1.1.18", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz", + "integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==", "dev": true, "license": "MIT", "dependencies": { @@ -3123,9 +3123,9 @@ "dev": true }, "node_modules/fast-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.2.tgz", - "integrity": "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.5.tgz", + "integrity": "sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==", "dev": true, "funding": [ { @@ -4451,9 +4451,9 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.0.tgz", - "integrity": "sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.1.tgz", + "integrity": "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==", "dev": true, "funding": [ { @@ -6845,7 +6845,7 @@ "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", + "js-yaml": "4.3.1", "minimatch": "^3.1.2", "strip-json-comments": "^3.1.1" } @@ -6888,7 +6888,7 @@ "camelcase": "^5.3.1", "find-up": "^4.1.0", "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", + "js-yaml": "3.15.1", "resolve-from": "^5.0.0" }, "dependencies": { @@ -6912,9 +6912,9 @@ } }, "js-yaml": { - "version": "3.15.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.0.tgz", - "integrity": "sha512-ttBQIIQPDeLjpPOohtUdXuXUVoA2uIB6fEH9HyJ7234s5mBJ5wTx20njxplLZQgLaOfpmPQA7X2t5AX6tIPbog==", + "version": "3.15.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.1.tgz", + "integrity": "sha512-S99WuO3HlhO3XN41EtYUNl9zzXjoJx7QvmipxsJVxtCBT0YHEFy+iOJhjSvrmV12nYhWpZaM8lPHkJm0yUMbag==", "dev": true, "requires": { "argparse": "^1.0.7", @@ -7563,9 +7563,9 @@ }, "dependencies": { "brace-expansion": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.0.tgz", - "integrity": "sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz", + "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==", "dev": true, "requires": { "balanced-match": "^1.0.0" @@ -7577,7 +7577,7 @@ "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", "dev": true, "requires": { - "brace-expansion": "^2.0.2" + "brace-expansion": "2.1.4" } }, "semver": { @@ -7876,7 +7876,7 @@ "dev": true, "requires": { "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", + "fast-uri": "3.1.5", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } @@ -7949,9 +7949,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.17.0.tgz", - "integrity": "sha512-J8SwNxprqqpbfenehxWYXE7CW+wM1BB4w3+N+g+/Wx40xM4rsLrfPmHHxSWIxJLYDgSY/HqlFPIYb2/S3rxafw==", + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.18.1.tgz", + "integrity": "sha512-3nTvFlvpn9Zu/RkHUqtc7/+al4UpRW5az71ap5zccp6e8RAYEzhMTecX8Dz1wWDYrPpUoB1HAQEGEAEvUr7S9g==", "requires": { "follow-redirects": "^1.16.0", "form-data": "^4.0.5", @@ -8045,9 +8045,9 @@ "dev": true }, "brace-expansion": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz", - "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==", + "version": "1.1.18", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz", + "integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==", "dev": true, "requires": { "balanced-match": "^1.0.0", @@ -8468,7 +8468,7 @@ "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", + "js-yaml": "4.3.1", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", @@ -8664,9 +8664,9 @@ "dev": true }, "fast-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.2.tgz", - "integrity": "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.5.tgz", + "integrity": "sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==", "dev": true }, "fastest-levenshtein": { @@ -9589,9 +9589,9 @@ "dev": true }, "js-yaml": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.0.tgz", - "integrity": "sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.1.tgz", + "integrity": "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==", "dev": true, "requires": { "argparse": "^2.0.1" @@ -9781,7 +9781,7 @@ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", "dev": true, "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "1.1.18" } }, "minimist": { @@ -10191,7 +10191,7 @@ "dev": true, "requires": { "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", + "fast-uri": "3.1.5", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } diff --git a/package.json b/package.json index 880856e..cbdcf9f 100644 --- a/package.json +++ b/package.json @@ -36,9 +36,9 @@ "author": "Tiago Siebler (https://siebly.io)", "contributors": [], "dependencies": { - "@types/ws": "^8.18.1", - "axios": "^1.13.2", - "isomorphic-ws": "^5.0.0", + "@types/ws": "8.18.1", + "axios": "1.18.1", + "isomorphic-ws": "5.0.0", "ws": "8.21.1" }, "devDependencies": { @@ -60,6 +60,14 @@ "webpack": "^5.74.0", "webpack-cli": "^4.10.0" }, + "overrides": { + "brace-expansion@<2": "1.1.18", + "brace-expansion@>=2 <3": "2.1.4", + "brace-expansion@>=5 <6": "5.0.9", + "fast-uri@>=3 <4": "3.1.5", + "js-yaml@>=3 <4": "3.15.1", + "js-yaml@>=4 <5": "4.3.1" + }, "keywords": [ "bitget", "bitget api",