MCPcopy Create free account
hub / github.com/Semporia/Scripts / tokenFormat

Function tokenFormat

jd_jxnc.js:260–269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258
259// 处理当前账号token
260function tokenFormat() {
261 return new Promise(async resolve => {
262 if (tokenArr[$.index - 1] && tokenArr[$.index - 1].farm_jstoken) {
263 currentToken = tokenArr[$.index - 1];
264 } else {
265 currentToken = tokenNull;
266 }
267 resolve();
268 })
269}
270
271// 处理当前账号助力码
272function shareCodesFormat() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected