@byteplus/vpn 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/README.md +28 -0
  2. package/package.json +19 -3
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ <!-- Generated package README; edit the template instead of this file. -->
2
+
3
+ # @byteplus/vpn
4
+
5
+ BytePlus vpn SDK for Node.js, part of the unified BytePlus Node.js SDK (`@byteplus/*`) generated from the BytePlus OpenAPI.
6
+
7
+ BytePlus vpn 服务的 Node.js SDK,属于BytePlus统一 Node.js SDK(`@byteplus/*`),基于 OpenAPI 生成。
8
+
9
+ ## Install / 安装
10
+
11
+ ```bash
12
+ npm install @byteplus/sdk-core @byteplus/vpn
13
+ ```
14
+
15
+ Requires Node.js >=18. / 需要 Node.js >=18。
16
+
17
+ ## Usage / 用法
18
+
19
+ Credentials are read from the `BYTEPLUS_ACCESS_KEY_ID` and `BYTEPLUS_SECRET_ACCESS_KEY` environment variables, or passed to the client as `accessKeyId` / `secretAccessKey`. Every API action is exported as a `<Action>Command` class and sent with `client.send()`. See the [Quick Start](https://github.com/byteplus-sdk/byteplus-nodejs-sdk-v2/blob/master/README.EN.md#quick-start) for a complete example.
20
+
21
+ 凭证默认读取环境变量 `BYTEPLUS_ACCESS_KEY_ID`、`BYTEPLUS_SECRET_ACCESS_KEY`,也可以在创建 client 时传入 `accessKeyId` / `secretAccessKey`。每个 API 都导出为 `<Action>Command` 类,通过 `client.send()` 发送。完整示例见[快速开始](https://github.com/byteplus-sdk/byteplus-nodejs-sdk-v2/blob/master/README.md#快速开始)。
22
+
23
+ ## Links / 链接
24
+
25
+ - Source / 源码: [service/vpn](https://github.com/byteplus-sdk/byteplus-nodejs-sdk-v2/tree/master/service/vpn)
26
+ - SDK guide / 接入文档: [English](https://github.com/byteplus-sdk/byteplus-nodejs-sdk-v2/blob/master/docs/0-Overview.md) | [中文](https://github.com/byteplus-sdk/byteplus-nodejs-sdk-v2/blob/master/docs/0-Overview-zh.md)
27
+ - More examples / 更多示例: [SDK Integration](https://github.com/byteplus-sdk/byteplus-nodejs-sdk-v2/blob/master/SDK_Integration.md) | [中文](https://github.com/byteplus-sdk/byteplus-nodejs-sdk-v2/blob/master/SDK_Integration_zh.md)
28
+ - Issues: https://github.com/byteplus-sdk/byteplus-nodejs-sdk-v2/issues
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@byteplus/vpn",
3
- "version": "1.0.3",
4
- "description": "swagger client for @byteplus/vpn",
3
+ "version": "1.0.4",
4
+ "description": "BytePlus vpn SDK for Node.js — part of the unified BytePlus Node.js SDK (@byteplus/*). New projects: install @byteplus/sdk-core together with this package.",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./dist/cjs/index.js",
7
7
  "module": "./dist/esm/index.mjs",
@@ -22,7 +22,7 @@
22
22
  "!dist/tsconfig.tsbuildinfo"
23
23
  ],
24
24
  "dependencies": {
25
- "@byteplus/sdk-core": "1.0.2"
25
+ "@byteplus/sdk-core": "1.0.3"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^20.8.0",
@@ -32,6 +32,22 @@
32
32
  "publishConfig": {
33
33
  "registry": "https://registry.npmjs.org"
34
34
  },
35
+ "homepage": "https://github.com/byteplus-sdk/byteplus-nodejs-sdk-v2#readme",
36
+ "bugs": {
37
+ "url": "https://github.com/byteplus-sdk/byteplus-nodejs-sdk-v2/issues"
38
+ },
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "git+https://github.com/byteplus-sdk/byteplus-nodejs-sdk-v2.git",
42
+ "directory": "service/vpn"
43
+ },
44
+ "keywords": [
45
+ "byteplus",
46
+ "cloud",
47
+ "sdk",
48
+ "nodejs",
49
+ "vpn"
50
+ ],
35
51
  "scripts": {
36
52
  "build": "rslib build",
37
53
  "dev": "rslib build --watch",