ep_real_time_chat 11.0.10 → 11.0.12

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,30 @@
1
+ name: Dependabot Automerge
2
+ permissions:
3
+ contents: write
4
+ pull-requests: write
5
+ on:
6
+ workflow_run:
7
+ workflows:
8
+ - Node.js Package
9
+ types:
10
+ - completed
11
+
12
+ jobs:
13
+ automerge:
14
+ if: >
15
+ github.event.workflow_run.conclusion == 'success' &&
16
+ github.event.workflow_run.event == 'pull_request' &&
17
+ github.event.workflow_run.actor.login == 'dependabot[bot]'
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: Checkout
21
+ uses: actions/checkout@v6
22
+
23
+ - name: Automerge
24
+ uses: "pascalgn/automerge-action@v0.16.4"
25
+ env:
26
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27
+ MERGE_METHOD: squash
28
+ MERGE_LABELS: ""
29
+ MERGE_RETRY_SLEEP: "100000"
30
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ep_real_time_chat",
3
3
  "description": "Real time chat updates",
4
- "version": "11.0.10",
4
+ "version": "11.0.12",
5
5
  "author": "johnyma22 (John McLear) <john@mclear.co.uk>",
6
6
  "repository": {
7
7
  "type": "git",
package/static/js/main.js CHANGED
@@ -107,13 +107,13 @@ const sendChat = () => {
107
107
  };
108
108
 
109
109
  const getParam = (sname) => {
110
- let params = location.search.substr(location.search.indexOf('?') + 1);
110
+ let params = location.search.substring(location.search.indexOf('?') + 1);
111
111
  let sval = '';
112
112
  params = params.split('&');
113
113
  // split param and value into individual pieces
114
114
  for (let i = 0; i < params.length; i++) {
115
115
  const temp = params[i].split('=');
116
- if ([temp[0]] === sname) { sval = temp[1]; }
116
+ if (temp[0] === sname) { sval = temp[1]; }
117
117
  }
118
118
  return sval;
119
119
  };