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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yolkbot",
3
3
  "description": "create a shell shockers bot in under 10 lines.",
4
- "version": "0.1.2-alpha.30",
4
+ "version": "0.1.2-alpha.31",
5
5
  "keywords": [
6
6
  "shell shockers",
7
7
  "shellshock.io",
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 = (await queryServices({
131
+ const response = await queryServices({
132
132
  cmd: 'auth',
133
133
  firebaseToken: token
134
- }, proxy, instance)).playerOutput;
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
+ ];