UNPKG

@myria/leaderboard-ts-sdk

Version:

Myria Leaderboard typescripts SDK which will manage leaderboard for game developers

22 lines (21 loc) 1.17 kB
import { AxiosInstance } from 'axios'; import { EnvTypes } from 'myria-core-sdk'; /** * TODO To be update and replace with leaderboard URLs and API's key */ export declare const API_DEV_HOST = "https://dev.myriaverse-leaderboard-api.nonprod-myria.com/v1"; export declare const API_STAGING_HOST = "https://staging.myriaverse-leaderboard-api.nonprod-myria.com/v1"; export declare const API_PREPROD_HOST = "https://myriaverse-leaderboard-api.myria.com/v1"; export declare const API_PROD_HOST = "https://myriaverse-leaderboard-api.myria.com/v1"; export declare const DEV_API_KEY = "e73f1ccc5980c3a286a81442a5a4be05ce9cd73dd36ee73031602ee8e31e13d5"; export declare const STAGING_API_KEY = "85c2479bc8376f81d33a8894e1367ce685ad0c5003d92a6a58c354e82ba7631c"; export declare const PREPROD_API_KEY = "4bf35107f8596c01be00ee5c02667d2e9ebefc3782310002963614f94fd2b355"; export declare const PROD_API_KEY = "4bf35107f8596c01be00ee5c02667d2e9ebefc3782310002963614f94fd2b355"; export declare const LeaderboardEnv: { dev: string; staging: string; preprod: string; prod: string; }; declare const createAxios: (env: EnvTypes) => AxiosInstance; export { createAxios };