@newbeebox/newbeebox-client-web-sdk 1.0.9 → 1.0.10

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 (3) hide show
  1. package/README.md +2 -2
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -45,14 +45,14 @@ console.log(info);
45
45
 
46
46
  获取当前用户的订阅信息。
47
47
 
48
- #### `InstallWoWAddon(game_version_id, mod_id): Promise<any>`
48
+ #### `InstallWoWAddon(game_version_id, addon_id): Promise<any>`
49
49
 
50
50
  安装魔兽世界插件。
51
51
 
52
52
  | 参数 | 类型 | 说明 |
53
53
  |------|------|------|
54
54
  | game_version_id | string \| number | 游戏版本ID |
55
- | mod_id | string \| number | 插件ID |
55
+ | addon_id | string \| number | 插件ID |
56
56
 
57
57
  #### `Patch(tool_name, data?): Promise<any>`
58
58
 
package/index.js CHANGED
@@ -145,7 +145,7 @@ export class NewBeeClient {
145
145
  }
146
146
 
147
147
  // 安装魔兽世界插件
148
- async InstallWoWAddon(game_version_id, mod_id) {
148
+ async InstallWoWAddon(game_version_id, addon_id) {
149
149
  this._ensureInitialized();
150
150
 
151
151
  let install_response = null;
@@ -158,7 +158,7 @@ export class NewBeeClient {
158
158
  body: JSON.stringify({
159
159
  app_id: this.app_id,
160
160
  game_version_id: game_version_id,
161
- mod_id: mod_id
161
+ addon_id: addon_id
162
162
  })
163
163
  });
164
164
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newbeebox/newbeebox-client-web-sdk",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "NewBeeBox Client SDK for Web",
5
5
  "main": "index.js",
6
6
  "type": "module",