diff --git a/client/package-lock.json b/client/package-lock.json index 5660e8b..42c4a9f 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -20,6 +20,7 @@ "axios": "^1.4.0", "file-saver": "^2.0.5", "formidable": "^3.4.0", + "happy-headers": "^1.0.0", "heic-convert": "^1.2.4", "i18next": "^23.2.3", "jimp": "^0.22.8", @@ -39,20 +40,25 @@ "typescript": "5.1.3" }, "devDependencies": { - "@types/file-saver": "^2.0.5" + "@types/file-saver": "^2.0.7" } }, "node_modules/@babel/runtime": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.5.tgz", - "integrity": "sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.1.tgz", + "integrity": "sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==", "dependencies": { - "regenerator-runtime": "^0.13.11" + "regenerator-runtime": "^0.14.0" }, "engines": { "node": ">=6.9.0" } }, + "node_modules/@babel/runtime/node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + }, "node_modules/@fortawesome/fontawesome-common-types": { "version": "6.4.0", "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.4.0.tgz", @@ -653,9 +659,9 @@ "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" }, "node_modules/@types/file-saver": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@types/file-saver/-/file-saver-2.0.5.tgz", - "integrity": "sha512-zv9kNf3keYegP5oThGLaPk8E081DFDuwfqjtiTzm6PoxChdJ1raSuADf2YGCVIyrSynLrgc8JWv296s7Q7pQSQ==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/file-saver/-/file-saver-2.0.7.tgz", + "integrity": "sha512-dNKVfHd/jk0SkR/exKGj2ggkB45MAkzvWCaqLUUgkyjITkGNzH8H+yUwr+BLJUBjZOe9w8X3wgmXhZDRg1ED6A==", "dev": true }, "node_modules/@types/formidable": { @@ -1193,6 +1199,11 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" }, + "node_modules/happy-headers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/happy-headers/-/happy-headers-1.0.0.tgz", + "integrity": "sha512-nEArc1tzf6yNDNUaiD2ip19ZhQoq8Quex/pL0uxlAx/qdhleOgIpV5oYCYMNqjpWuf7DggOrxiktZbIbQts9ow==" + }, "node_modules/heic-convert": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/heic-convert/-/heic-convert-1.2.4.tgz", @@ -2531,11 +2542,18 @@ }, "dependencies": { "@babel/runtime": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.5.tgz", - "integrity": "sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.1.tgz", + "integrity": "sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==", "requires": { - "regenerator-runtime": "^0.13.11" + "regenerator-runtime": "^0.14.0" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + } } }, "@fortawesome/fontawesome-common-types": { @@ -2937,9 +2955,9 @@ "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" }, "@types/file-saver": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@types/file-saver/-/file-saver-2.0.5.tgz", - "integrity": "sha512-zv9kNf3keYegP5oThGLaPk8E081DFDuwfqjtiTzm6PoxChdJ1raSuADf2YGCVIyrSynLrgc8JWv296s7Q7pQSQ==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/file-saver/-/file-saver-2.0.7.tgz", + "integrity": "sha512-dNKVfHd/jk0SkR/exKGj2ggkB45MAkzvWCaqLUUgkyjITkGNzH8H+yUwr+BLJUBjZOe9w8X3wgmXhZDRg1ED6A==", "dev": true }, "@types/formidable": { @@ -3335,6 +3353,11 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" }, + "happy-headers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/happy-headers/-/happy-headers-1.0.0.tgz", + "integrity": "sha512-nEArc1tzf6yNDNUaiD2ip19ZhQoq8Quex/pL0uxlAx/qdhleOgIpV5oYCYMNqjpWuf7DggOrxiktZbIbQts9ow==" + }, "heic-convert": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/heic-convert/-/heic-convert-1.2.4.tgz", diff --git a/client/package.json b/client/package.json index c8b1bfe..9101c7e 100644 --- a/client/package.json +++ b/client/package.json @@ -21,6 +21,7 @@ "axios": "^1.4.0", "file-saver": "^2.0.5", "formidable": "^3.4.0", + "happy-headers": "^1.0.0", "heic-convert": "^1.2.4", "i18next": "^23.2.3", "jimp": "^0.22.8", diff --git a/client/pages/api/add/post.ts b/client/pages/api/add/post.ts index 21da9fc..f46b2a0 100644 --- a/client/pages/api/add/post.ts +++ b/client/pages/api/add/post.ts @@ -8,7 +8,7 @@ import sharp from 'sharp'; import moment from 'moment'; // @ts-ignore import * as convert from 'heic-convert'; -import { BEREAL_SIGNATURE } from '@/utils/constants'; +import { getAuthHeaders } from '@/utils/authHeaders'; export const config = { api: { @@ -134,18 +134,10 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) // ============================================================================================ // upload url - let upload_headers = { - "authorization": "Bearer " + authorization_token, - 'bereal-app-version-code': '14549', - 'bereal-signature': BEREAL_SIGNATURE, - 'bereal-timezone': 'Europe/Paris', - 'bereal-device-id': '937v3jb942b0h6u9' - } - let upload_options = { url: "https://mobile.bereal.com/api/content/posts/upload-url?mimeType=image/webp", method: "GET", - headers: upload_headers, + headers: getAuthHeaders(authorization_token), } let upload_res = await axios.request(upload_options) @@ -161,19 +153,13 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) let primary_url = primary_res.url; let primary_path = primary_res.path; let primary_bucket = primary_res.bucket; - primary_headers["Authorization"] = "Bearer " + authorization_token - primary_headers["bereal-app-version-code"] = "14549"; - primary_headers["bereal-signature"] = "berealsignature"; - primary_headers["bereal-device-id"] = "berealdeviceid"; + Object.assign(primary_headers, getAuthHeaders(authorization_token)) let secondary_headers = secondary_res.headers; let secondary_url = secondary_res.url; let secondary_path = secondary_res.path; let secondary_bucket = secondary_res.bucket; - secondary_headers["Authorization"] = "Bearer " + authorization_token - secondary_headers["bereal-app-version-code"] = "14549"; - secondary_headers["bereal-signature"] = "berealsignature"; - secondary_headers["bereal-device-id"] = "berealdeviceid"; + Object.assign(secondary_headers, getAuthHeaders(authorization_token)) // ============================================================================================ @@ -225,16 +211,13 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) }; let post_headers = { "content-type": "application/json", - "Authorization": "Bearer " + authorization_token, 'bereal-app-version-code': '14549', - 'bereal-signature': BEREAL_SIGNATURE, - 'bereal-timezone': 'Europe/Paris', - 'bereal-device-id': '937v3jb942b0h6u9', "bereal-os-version": "14.7.1", "accept-language": "en-US;q=1.0", "bereal-app-language": "en-US", "user-agent": "BeReal/0.28.2 (AlexisBarreyat.BeReal; build:8425; iOS 14.7.1) 1.0.0/BRApiKit", "bereal-device-language": "en", + ...getAuthHeaders(authorization_token) } console.log("post data"); console.log(post_data); diff --git a/client/pages/api/add/realmoji.ts b/client/pages/api/add/realmoji.ts index d6827db..f42ecca 100644 --- a/client/pages/api/add/realmoji.ts +++ b/client/pages/api/add/realmoji.ts @@ -6,6 +6,7 @@ import Jimp from "jimp"; import fs from "fs"; import sharp from 'sharp'; import moment from 'moment'; +import { getAuthHeaders } from '@/utils/authHeaders'; export const config = { api: { @@ -79,17 +80,10 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) // ============================================================================================ // upload url - let upload_headers = { - "authorization": "Bearer " + authorization_token, - "bereal-app-version-code": "14549", - "bereal-signature": "berealsignature", - "bereal-device-id": "berealdeviceid", - } - let upload_options = { url: "https://mobile.bereal.com/api/content/realmojis/upload-url?mimeType=image/webp", method: "GET", - headers: upload_headers, + headers: getAuthHeaders(authorization_token), } let upload_res = await axios.request(upload_options) @@ -104,10 +98,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) let primary_url = primary_res.url; let primary_path = primary_res.path; let primary_bucket = primary_res.bucket; - primary_headers["Authorization"] = "Bearer " + authorization_token; - primary_headers["bereal-app-version-code"] = "14549"; - primary_headers["bereal-signature"] = "berealsignature"; - primary_headers["bereal-device-id"] = "berealdeviceid"; + Object.assign(primary_headers, getAuthHeaders(authorization_token)) // ============================================================================================ @@ -136,17 +127,13 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) }; let post_headers = { "content-type": "application/json", - "Authorization": "Bearer " + authorization_token, - "bereal-app-version-code": "14549", - "bereal-signature": "berealsignature", - "bereal-device-id": "berealdeviceid", "bereal-platform": "iOS", "bereal-os-version": "14.7.1", "accept-language": "en-US;q=1.0", "bereal-app-language": "en-US", "user-agent": "BeReal/0.28.2 (AlexisBarreyat.BeReal; build:8425; iOS 14.7.1) 1.0.0/BRApiKit", - "bereal-timezone": "America/Los_Angeles", "bereal-device-language": "en", + ...getAuthHeaders(authorization_token) } console.log("post data"); console.log(post_data); diff --git a/client/pages/api/all.ts b/client/pages/api/all.ts index 5cbab78..25a2da1 100644 --- a/client/pages/api/all.ts +++ b/client/pages/api/all.ts @@ -1,6 +1,6 @@ import type { NextApiRequest, NextApiResponse } from 'next' import axios from 'axios'; -import { BEREAL_SIGNATURE } from '@/utils/constants'; +import { getAuthHeaders } from '@/utils/authHeaders'; export const config = { api: { @@ -12,22 +12,12 @@ export const config = { export default async function handler(req: NextApiRequest, res: NextApiResponse) { - let authorization_token = req.body.token; - - let headers = { - "authorization": "Bearer " + authorization_token, - 'bereal-app-version-code': '14549', - 'bereal-signature': BEREAL_SIGNATURE, - 'bereal-timezone': 'Europe/Paris', - 'bereal-device-id': '937v3jb942b0h6u9' - } - console.log("FETCHING FEED") return axios.request({ url: "https://mobile.bereal.com/api" + "/feeds/friends-v1", method: "GET", - headers: headers, + headers: getAuthHeaders(req.body.token), }).then( (response) => { console.log("------------------") diff --git a/client/pages/api/comment.ts b/client/pages/api/comment.ts index c0e6196..91d3850 100644 --- a/client/pages/api/comment.ts +++ b/client/pages/api/comment.ts @@ -1,6 +1,6 @@ import type { NextApiRequest, NextApiResponse } from 'next' import axios from 'axios'; -import { BEREAL_SIGNATURE } from '@/utils/constants'; +import { getAuthHeaders } from '@/utils/authHeaders'; export default async function handler(req: NextApiRequest, res: NextApiResponse) { @@ -11,20 +11,14 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) console.log("me"); console.log(authorization_token) console.log(instance_id, comment); - let headers = { - "authorization": "Bearer " + authorization_token, - 'bereal-app-version-code': '14549', - 'bereal-signature': BEREAL_SIGNATURE, - 'bereal-timezone': 'Europe/Paris', - 'bereal-device-id': '937v3jb942b0h6u9', - } + let body = { content: comment, } let options = { url: "https://mobile.bereal.com/api" + "/content/comments" + "?postId=" + instance_id + "&postUserId=" + poster_user_id, method: "POST", - headers: headers, + headers: getAuthHeaders(req.body.token), data: body, } diff --git a/client/pages/api/delete.ts b/client/pages/api/delete.ts index c8bb71f..1f6a784 100644 --- a/client/pages/api/delete.ts +++ b/client/pages/api/delete.ts @@ -1,22 +1,17 @@ import type { NextApiRequest, NextApiResponse } from 'next' import axios from 'axios'; +import { getAuthHeaders } from '@/utils/authHeaders'; export default async function handler(req: NextApiRequest, res: NextApiResponse) { let authorization_token = req.body.token; console.log("me"); console.log(authorization_token); - let headers = { - "authorization": "Bearer " + authorization_token, - "bereal-app-version-code": "14549", - "bereal-signature": "berealsignature", - "bereal-device-id": "berealdeviceid", - } return axios.request({ url: "https://mobile.bereal.com/api" + "/content/posts", method: "DELETE", - headers: headers, + headers: getAuthHeaders(req.body.token), }).then( (response) => { console.log("------------------") diff --git a/client/pages/api/feed.ts b/client/pages/api/feed.ts index 6e01c9b..45b6f46 100644 --- a/client/pages/api/feed.ts +++ b/client/pages/api/feed.ts @@ -1,6 +1,6 @@ import type { NextApiRequest, NextApiResponse } from 'next' import axios from 'axios'; -import { BEREAL_SIGNATURE } from '@/utils/constants'; +import { getAuthHeaders } from '@/utils/authHeaders'; export const config = { api: { @@ -12,22 +12,12 @@ export const config = { export default async function handler(req: NextApiRequest, res: NextApiResponse) { - let authorization_token = req.body.token; - - let headers = { - "authorization": "Bearer " + authorization_token, - "bereal-app-version-code": "14549", - "bereal-signature": BEREAL_SIGNATURE, - 'bereal-device-id': '937v3jb942b0h6u9', - 'bereal-timezone': 'Europe/Paris', - } - console.log("FETCING FEED") return axios.request({ url: "https://mobile.bereal.com/api" + "/feeds/friends", method: "GET", - headers: headers, + headers: getAuthHeaders(req.body.token), }).then( (response) => { console.log("------------------") diff --git a/client/pages/api/friends.ts b/client/pages/api/friends.ts index 1ccced3..b505030 100644 --- a/client/pages/api/friends.ts +++ b/client/pages/api/friends.ts @@ -1,22 +1,16 @@ import type { NextApiRequest, NextApiResponse } from 'next' import axios from 'axios'; -import { BEREAL_SIGNATURE } from '@/utils/constants'; +import { getAuthHeaders } from '@/utils/authHeaders'; export default async function handler(req: NextApiRequest, res: NextApiResponse) { let authorization_token = req.body.token; console.log("friends"); console.log(authorization_token); - let headers = { - "authorization": "Bearer " + authorization_token, - "bereal-app-version-code": "14549", - "bereal-signature": BEREAL_SIGNATURE, - 'bereal-device-id': '937v3jb942b0h6u9', - 'bereal-timezone': 'Europe/Paris', - } + return axios.request({ url: "https://mobile.bereal.com/api" + "/relationships/friends", method: "GET", - headers: headers, + headers: getAuthHeaders(req.body.token), }).then( (response) => { console.log("------------------") diff --git a/client/pages/api/me.ts b/client/pages/api/me.ts index af58477..6cd52f6 100644 --- a/client/pages/api/me.ts +++ b/client/pages/api/me.ts @@ -1,22 +1,16 @@ import type { NextApiRequest, NextApiResponse } from 'next' import axios from 'axios'; +import { getAuthHeaders } from '@/utils/authHeaders'; export default async function handler(req: NextApiRequest, res: NextApiResponse) { - let authorization_token = req.body.token; console.log("me"); console.log(authorization_token); - let headers = { - "authorization": "Bearer " + authorization_token, - "bereal-app-version-code": "14549", - "bereal-signature": "berealsignature", - "bereal-device-id": "berealdeviceid", - } return axios.request({ url: "https://mobile.bereal.com/api" + "/person/me", method: "GET", - headers: headers, + headers: getAuthHeaders(req.body.token), }).then( (response) => { console.log("------------------") diff --git a/client/pages/api/memories.ts b/client/pages/api/memories.ts index f305e97..5f3d41e 100644 --- a/client/pages/api/memories.ts +++ b/client/pages/api/memories.ts @@ -1,5 +1,6 @@ import type { NextApiRequest, NextApiResponse } from 'next' import axios from 'axios'; +import { getAuthHeaders } from '@/utils/authHeaders'; export const config = { api: { @@ -13,16 +14,11 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) let authorization_token = req.body.token; console.log("me"); console.log(authorization_token); - let headers = { - "authorization": "Bearer " + authorization_token, - "bereal-app-version-code": "14549", - "bereal-signature": "berealsignature", - "bereal-device-id": "berealdeviceid", - } + return axios.request({ url: "https://mobile.bereal.com/api" + "/feeds/memories", method: "GET", - headers: headers, + headers: getAuthHeaders(req.body.token), }).then( (response) => { console.log("------------------") diff --git a/client/pages/api/profile.ts b/client/pages/api/profile.ts index afe2ff5..8f56c9c 100644 --- a/client/pages/api/profile.ts +++ b/client/pages/api/profile.ts @@ -1,5 +1,6 @@ import type { NextApiRequest, NextApiResponse } from 'next' import axios from 'axios'; +import { getAuthHeaders } from '@/utils/authHeaders'; export default async function handler(req: NextApiRequest, res: NextApiResponse) { @@ -7,17 +8,11 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) let profile_id = req.body.profile_id; console.log("profile"); console.log(authorization_token, profile_id); - let headers = { - "authorization": "Bearer " + authorization_token, - "bereal-app-version-code": "14549", - "bereal-signature": "berealsignature", - "bereal-device-id": "berealdeviceid", - } return axios.request({ url: "https://mobile.bereal.com/api" + `/person/profiles/${profile_id}`, method: "GET", - headers: headers, + headers: getAuthHeaders(req.body.token), }).then( (response) => { console.log(response.data); diff --git a/client/pages/api/proxy.ts b/client/pages/api/proxy.ts index 2f8b3c1..b6ff1b3 100644 --- a/client/pages/api/proxy.ts +++ b/client/pages/api/proxy.ts @@ -1,6 +1,6 @@ import type { NextApiRequest, NextApiResponse } from 'next' import axios from 'axios'; -import { BEREAL_SIGNATURE } from '@/utils/constants'; +import { getAuthHeaders } from '@/utils/authHeaders'; //testing vercel headers @@ -13,16 +13,10 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) return; } - let headers = { - "bereal-app-version-code": "14549", - "bereal-signature": BEREAL_SIGNATURE, - "bereal-device-id": "berealdeviceid", - } - return axios.request({ url: uri as string, method: "GET", - headers: headers, + headers: getAuthHeaders(req.body.token), }).then( (response) => { console.log("------------------") diff --git a/client/pages/api/react.ts b/client/pages/api/react.ts index c6b0b3e..707e6f9 100644 --- a/client/pages/api/react.ts +++ b/client/pages/api/react.ts @@ -1,5 +1,6 @@ import type { NextApiRequest, NextApiResponse } from 'next' import axios from 'axios'; +import { getAuthHeaders } from '@/utils/authHeaders'; export default async function handler(req: NextApiRequest, res: NextApiResponse) { @@ -10,12 +11,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) console.log("me"); console.log(authorization_token); - let headers = { - "authorization": "Bearer " + authorization_token, - "bereal-app-version-code": "14549", - "bereal-signature": "berealsignature", - "bereal-device-id": "berealdeviceid", - } let data = { "emoji": `${emoji}`, @@ -29,7 +24,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) return axios.request({ url: "https://mobile.bereal.com/api" + `/content/realmojis`, method: "PUT", - headers: headers, + headers: getAuthHeaders(req.body.token), data: data, params: params, }).then( diff --git a/client/utils/authHeaders.ts b/client/utils/authHeaders.ts new file mode 100644 index 0000000..7cd4dee --- /dev/null +++ b/client/utils/authHeaders.ts @@ -0,0 +1,8 @@ +import getSignedHeaders from "happy-headers"; + +export function getAuthHeaders(token: string) { + return { + Authorization: `Bearer ${token}`, + ...getSignedHeaders() + } +} diff --git a/client/utils/constants.ts b/client/utils/constants.ts index 5f17247..58e8d94 100644 --- a/client/utils/constants.ts +++ b/client/utils/constants.ts @@ -1,16 +1,7 @@ -let BEREAL_SIGNATURE = "MToxNzExNTc0ODYyOoqIZ5a9FAreOBIuDRzjdonbo6QGGOQDNCQzQ5vC1UI4"; - let PROXY = ( process.env.VERCEL ? "https://us-east1-toofake.cloudfunctions.net/toofakeproxy?target=" : "" ) console.log("PROXY", PROXY) -let HEADERS = { - "bereal-app-version-code": "14549", - "bereal-timezone": "Europe/Paris", - "bereal-device-id": "937v3jb942b0h6u9", - "bereal-signature": BEREAL_SIGNATURE, -} - -export { BEREAL_SIGNATURE, HEADERS, PROXY }; \ No newline at end of file +export { PROXY }; \ No newline at end of file