UNPKG

gplayapi-ts

Version:
77 lines 2.76 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var constants_exports = {}; __export(constants_exports, { AUTH_APP: () => AUTH_APP, AUTH_SERVICE_URL: () => AUTH_SERVICE_URL, DEFAULT_CALLER_SIG: () => DEFAULT_CALLER_SIG, DEFAULT_LOCALE: () => DEFAULT_LOCALE, DEFAULT_TIMEZONE: () => DEFAULT_TIMEZONE, REQUEST_TIMEOUT_MS: () => REQUEST_TIMEOUT_MS, URL_AUTH: () => URL_AUTH, URL_BASE: () => URL_BASE, URL_CHECK_IN: () => URL_CHECK_IN, URL_DELIVERY: () => URL_DELIVERY, URL_DETAILS: () => URL_DETAILS, URL_FDFE: () => URL_FDFE, URL_PURCHASE: () => URL_PURCHASE, URL_TOC: () => URL_TOC, URL_TOS_ACCEPT: () => URL_TOS_ACCEPT, URL_UPLOAD_DEVICE_CONFIG: () => URL_UPLOAD_DEVICE_CONFIG, VENDING_APP: () => VENDING_APP }); module.exports = __toCommonJS(constants_exports); const URL_BASE = "https://android.clients.google.com"; const URL_FDFE = `${URL_BASE}/fdfe`; const URL_AUTH = `${URL_BASE}/auth`; const URL_CHECK_IN = `${URL_BASE}/checkin`; const URL_DETAILS = `${URL_FDFE}/details`; const URL_DELIVERY = `${URL_FDFE}/delivery`; const URL_PURCHASE = `${URL_FDFE}/purchase`; const URL_TOC = `${URL_FDFE}/toc`; const URL_TOS_ACCEPT = `${URL_FDFE}/acceptTos`; const URL_UPLOAD_DEVICE_CONFIG = `${URL_FDFE}/uploadDeviceConfig`; const DEFAULT_LOCALE = "en_GB"; const DEFAULT_TIMEZONE = "America/Mexico_City"; const DEFAULT_CALLER_SIG = "38918a453d07199354f8b19af05ec6562ced5788"; const AUTH_SERVICE_URL = "oauth2:https://www.googleapis.com/auth/googleplay"; const AUTH_APP = "com.google.android.gms"; const VENDING_APP = "com.android.vending"; const REQUEST_TIMEOUT_MS = 4e3; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { AUTH_APP, AUTH_SERVICE_URL, DEFAULT_CALLER_SIG, DEFAULT_LOCALE, DEFAULT_TIMEZONE, REQUEST_TIMEOUT_MS, URL_AUTH, URL_BASE, URL_CHECK_IN, URL_DELIVERY, URL_DETAILS, URL_FDFE, URL_PURCHASE, URL_TOC, URL_TOS_ACCEPT, URL_UPLOAD_DEVICE_CONFIG, VENDING_APP }); //# sourceMappingURL=constants.js.map