alicezetion 1.5.5 → 1.5.7
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 +18 -20
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"nonce":
|
1
|
+
{"nonce":8334763386676073600,"last_updated":{"seconds":1693575995,"nanos":641192000}}
|
package/index.js
CHANGED
@@ -108,24 +108,23 @@ function buildAPI(globalOptions, html, jar) {
|
|
108
108
|
}
|
109
109
|
}
|
110
110
|
}
|
111
|
-
} catch (err) {}
|
112
|
-
|
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
111
|
|
112
|
+
var ctx = {
|
113
|
+
userID: userID,
|
114
|
+
jar: jar,
|
115
|
+
clientID: clientID,
|
116
|
+
globalOptions: globalOptions,
|
117
|
+
loggedIn: true,
|
118
|
+
access_token: 'NONE',
|
119
|
+
clientMutationId: 0,
|
120
|
+
mqttClient: undefined,
|
121
|
+
lastSeqId: irisSeqID,
|
122
|
+
syncToken: undefined,
|
123
|
+
mqttEndpoint,
|
124
|
+
region,
|
125
|
+
firstListen: true
|
126
|
+
};
|
127
|
+
|
129
128
|
var api = {
|
130
129
|
setOptions: setOptions.bind(null, globalOptions),
|
131
130
|
getAppState: function getAppState() {
|
@@ -133,9 +132,7 @@ function buildAPI(globalOptions, html, jar) {
|
|
133
132
|
}
|
134
133
|
};
|
135
134
|
|
136
|
-
if (noMqttData)
|
137
|
-
api["htmlData"] = noMqttData;
|
138
|
-
}
|
135
|
+
if (noMqttData) api["htmlData"] = noMqttData;
|
139
136
|
|
140
137
|
const apiFuncNames = [
|
141
138
|
'addExternalModule',
|
@@ -198,6 +195,7 @@ function buildAPI(globalOptions, html, jar) {
|
|
198
195
|
});
|
199
196
|
|
200
197
|
return [ctx, defaultFuncs, api];
|
198
|
+
} catch (err) {}
|
201
199
|
}
|
202
200
|
|
203
201
|
function makeLogin(jar, email, password, loginOptions, callback, prCallback) {
|