MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / dxCollect

Function dxCollect

wxapp/longfor.js:215–224  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

213}
214
215async function dxCollect(options = {}) {
216 const start = Date.now();
217 const data = {
218 networkType: "wifi",
219 ...dxSystemInfo(),
220 };
221 if (options.gps) data.gps = process.env.longfor_gps || "116.397128,39.916527";
222 data.collectTime = Date.now() - start;
223 return dxShorten(data);
224}
225
226class MiniDxConstId {
227 constructor(options = {}) {

Callers 1

detectMethod · 0.85

Calls 2

dxSystemInfoFunction · 0.85
dxShortenFunction · 0.85

Tested by

no test coverage detected