yolkbot 0.1.2-alpha.30 → 0.1.2-alpha.31
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.
- package/README.md +8 -0
- package/browser/build/global.js +1 -1
- package/browser/build/module.js +1 -1
- package/package.json +1 -1
- package/src/api.js +2 -2
- package/src/bot.js +4 -4
- package/src/constants/changelog.js +19 -0
- package/src/constants/housePromo.js +727 -0
- package/src/constants/language.js +1669 -0
- package/src/constants/shellNews.js +59 -0
- package/src/constants/shellYoutube.js +93 -0
- package/src/constants/shopItems.js +2032 -0
- package/src/constants/sounds.js +1160 -0
package/package.json
CHANGED
package/src/api.js
CHANGED
|
@@ -128,10 +128,10 @@ async function loginWithCredentials(email, password, proxy = '', instance = 'she
|
|
|
128
128
|
return 'firebase_no_token';
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
const response =
|
|
131
|
+
const response = await queryServices({
|
|
132
132
|
cmd: 'auth',
|
|
133
133
|
firebaseToken: token
|
|
134
|
-
}, proxy, instance)
|
|
134
|
+
}, proxy, instance);
|
|
135
135
|
|
|
136
136
|
return response;
|
|
137
137
|
}
|
package/src/bot.js
CHANGED
|
@@ -265,7 +265,7 @@ export class Bot {
|
|
|
265
265
|
this.account.password = pass;
|
|
266
266
|
|
|
267
267
|
const loginData = await createAccount(email, pass, this.proxy, this.instance);
|
|
268
|
-
return await this.#processLoginData(loginData);
|
|
268
|
+
return await this.#processLoginData(loginData.playerOutput);
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
async login(email, pass) {
|
|
@@ -273,12 +273,12 @@ export class Bot {
|
|
|
273
273
|
this.account.password = pass;
|
|
274
274
|
|
|
275
275
|
const loginData = await loginWithCredentials(email, pass, this.proxy, this.instance);
|
|
276
|
-
return await this.#processLoginData(loginData);
|
|
276
|
+
return await this.#processLoginData(loginData.playerOutput);
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
async loginWithRefreshToken(refreshToken) {
|
|
280
280
|
const loginData = await loginWithRefreshToken(refreshToken, this.proxy, this.instance);
|
|
281
|
-
return await this.#processLoginData(loginData);
|
|
281
|
+
return await this.#processLoginData(loginData.playerOutput);
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
async loginAnonymously() {
|
|
@@ -286,7 +286,7 @@ export class Bot {
|
|
|
286
286
|
delete this.account.password;
|
|
287
287
|
|
|
288
288
|
const loginData = await loginAnonymously(this.proxy, this.instance);
|
|
289
|
-
return await this.#processLoginData(loginData);
|
|
289
|
+
return await this.#processLoginData(loginData.playerOutput);
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
async #processLoginData(loginData) {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
export const Changelog = [
|
|
3
|
+
{
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"date": "Apr 1 2025",
|
|
6
|
+
"content": [
|
|
7
|
+
"EGG ORG have returned from the shadows! Sides have been drawn & only one will win!",
|
|
8
|
+
"The winning side will unlock a special skin for all eggs!",
|
|
9
|
+
"Get more info, check the score & change sides by clicking the banner on the homescreen",
|
|
10
|
+
"Changing teams is possible but costly!",
|
|
11
|
+
"EGG ORG are messing with eggtopia, all killstreak bonuses are now RANDOM!",
|
|
12
|
+
"Be the biggest egg in the Dojo with the latest Premium Sumo Hat - in-store & free for VIPs ",
|
|
13
|
+
"Upgraded database to the latest SQL version - let us know if something is unusual... more than normal.",
|
|
14
|
+
"Enjoy the latest map, Yolkido, in public and private lobbies",
|
|
15
|
+
"Moved Outer Reach, Facility, Timetwist, Jailbreak, Wreckage & Exposure to the Public map pool",
|
|
16
|
+
"Moved Uncovered, Foundation, Metamorph, Shipyard, Road, Shellville & Cash to the Private map pool"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
];
|