alicezetion 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- package/.cache/replit/__replit_disk_meta.json +1 -1
- package/index.js +17 -19
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"nonce":
|
1
|
+
{"nonce":5642102250332360091,"last_updated":{"seconds":1693575920,"nanos":837442000}}
|
package/index.js
CHANGED
@@ -110,22 +110,22 @@ function buildAPI(globalOptions, html, jar) {
|
|
110
110
|
}
|
111
111
|
} catch (err) {}
|
112
112
|
|
113
|
-
var ctx = {
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
113
|
+
var ctx = {
|
114
|
+
userID: userID,
|
115
|
+
jar: jar,
|
116
|
+
clientID: clientID,
|
117
|
+
globalOptions: globalOptions,
|
118
|
+
loggedIn: true,
|
119
|
+
access_token: 'NONE',
|
120
|
+
clientMutationId: 0,
|
121
|
+
mqttClient: undefined,
|
122
|
+
lastSeqId: irisSeqID,
|
123
|
+
syncToken: undefined,
|
124
|
+
mqttEndpoint,
|
125
|
+
region,
|
126
|
+
firstListen: true
|
127
|
+
};
|
128
|
+
|
129
129
|
var api = {
|
130
130
|
setOptions: setOptions.bind(null, globalOptions),
|
131
131
|
getAppState: function getAppState() {
|
@@ -133,9 +133,7 @@ function buildAPI(globalOptions, html, jar) {
|
|
133
133
|
}
|
134
134
|
};
|
135
135
|
|
136
|
-
if (noMqttData)
|
137
|
-
api["htmlData"] = noMqttData;
|
138
|
-
}
|
136
|
+
if (noMqttData) api["htmlData"] = noMqttData;
|
139
137
|
|
140
138
|
const apiFuncNames = [
|
141
139
|
'addExternalModule',
|