bedrock-portal 0.5.0 → 0.5.1

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.
@@ -0,0 +1,4 @@
1
+ name: 'CodeQL Config'
2
+
3
+ paths-ignore:
4
+ - '**/node_modules/**'
@@ -0,0 +1,76 @@
1
+ name: "CodeQL"
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+ schedule:
9
+ - cron: '37 13 * * 0'
10
+
11
+ jobs:
12
+ lint:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v3
17
+
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v3
20
+ with:
21
+ node-version: 16.x
22
+
23
+ - name: Cache node modules
24
+ id: cache-npm
25
+ uses: actions/cache@v3
26
+ with:
27
+ path: ~/.npm
28
+ key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
29
+ restore-keys: |
30
+ ${{ runner.os }}-npm-
31
+
32
+ - name: Install Dependencies
33
+ run: npm install --include=dev
34
+
35
+ - name: Run Lint
36
+ run: npm run lint
37
+
38
+ analyze:
39
+ needs: lint
40
+ name: Analyze
41
+ runs-on: ${{ matrix.os }}
42
+ timeout-minutes: 15
43
+ permissions:
44
+ actions: read
45
+ contents: read
46
+ security-events: write
47
+
48
+ strategy:
49
+ fail-fast: false
50
+ matrix:
51
+ language: [ 'javascript' ]
52
+ os: [ 'ubuntu-20.04', 'ubuntu-22.04', 'macos-11', 'macos-12', 'macos-13', 'windows-2019', 'windows-latest' ]
53
+ node: [ 16.x, 18.x, 20.x ]
54
+
55
+ steps:
56
+ - name: Setup Node.js
57
+ uses: actions/setup-node@v3
58
+ with:
59
+ node-version: ${{ matrix.node }}
60
+
61
+ - name: Checkout repository
62
+ uses: actions/checkout@v3
63
+
64
+ - name: Initialize CodeQL
65
+ uses: github/codeql-action/init@v2
66
+ with:
67
+ languages: ${{ matrix.language }}
68
+ config-file: '.github/codeql-config.yml'
69
+
70
+ - name: Autobuild
71
+ uses: github/codeql-action/autobuild@v2
72
+
73
+ - name: Perform CodeQL Analysis
74
+ uses: github/codeql-action/analyze@v2
75
+ with:
76
+ category: "/language:${{matrix.language}}"
package/README.md CHANGED
@@ -81,7 +81,7 @@ portal.use(Modules.redirectFromRealm, {
81
81
  realms: {
82
82
  realmInvite: ''
83
83
  }
84
- }
84
+ },
85
85
  // Options for the chat command
86
86
  chatCommand: {
87
87
  // Whether sending the command in chat should trigger an invite (optional - defaults to true)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bedrock-portal",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Creates a joinable session in Minecraft Bedrock Edition that can route players to their a specified host",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -7,7 +7,7 @@ const SessionConfig = {
7
7
  MinecraftTitleID: '896928775',
8
8
  MinecraftSCID: '4fc10100-5f7a-4470-899b-280835760c07',
9
9
  MinecraftTemplateName: 'MinecraftLobby',
10
- MiencraftProtocolVersion: 589,
10
+ MiencraftProtocolVersion: 618,
11
11
  };
12
12
 
13
13
  const Joinability = {