bedrock-portal 0.8.1 → 0.8.2

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,6 +1,6 @@
1
1
  import type { BedrockPortal } from '../index';
2
2
  import Module from '../classes/Module';
3
- export default class AutoFriendAdd extends Module {
3
+ export default class AutoFriendAccept extends Module {
4
4
  constructor();
5
5
  run(portal: BedrockPortal): Promise<void>;
6
6
  stop(): Promise<void>;
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const Module_1 = __importDefault(require("../classes/Module"));
7
7
  const Player_1 = __importDefault(require("../classes/Player"));
8
8
  const multipleAccounts_1 = __importDefault(require("./multipleAccounts"));
9
- class AutoFriendAdd extends Module_1.default {
9
+ class AutoFriendAccept extends Module_1.default {
10
10
  constructor() {
11
- super('autoFriendAdd', 'Automatically accept friend requests');
11
+ super('autoFriendAccept', 'Automatically accept friend requests');
12
12
  this.options = {
13
13
  inviteOnAdd: false,
14
14
  conditionToMeet: () => true,
@@ -51,4 +51,4 @@ class AutoFriendAdd extends Module_1.default {
51
51
  super.stop();
52
52
  }
53
53
  }
54
- exports.default = AutoFriendAdd;
54
+ exports.default = AutoFriendAccept;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bedrock-portal",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Creates a joinable session in Minecraft Bedrock Edition that can route players to their a specified host",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",