@replyke/core 6.0.0-beta.13 → 6.0.0-beta.14

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.
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.axiosPrivate = void 0;
7
7
  var axios_1 = __importDefault(require("axios"));
8
- var BASE_URL = "https://api.replyke.com/api/v5";
8
+ var BASE_URL = "https://api.replyke.com/api/v6";
9
9
  exports.default = axios_1.default.create({
10
10
  baseURL: BASE_URL,
11
11
  });
@@ -72,15 +72,15 @@ function isProduction() {
72
72
  function getApiBaseUrl() {
73
73
  // Check process.env (traditional React apps)
74
74
  if (typeof process !== 'undefined' && process.env) {
75
- return process.env.REACT_APP_API_BASE_URL || 'https://api.replyke.com/api/v5';
75
+ return process.env.REACT_APP_API_BASE_URL || 'https://api.replyke.com/api/v6';
76
76
  }
77
77
  // Check Vite environment
78
78
  var viteEnv = getViteEnv();
79
79
  if (viteEnv) {
80
- return viteEnv.VITE_API_BASE_URL || 'https://api.replyke.com/api/v5';
80
+ return viteEnv.VITE_API_BASE_URL || 'https://api.replyke.com/api/v6';
81
81
  }
82
82
  // Fallback to default
83
- return 'https://api.replyke.com/api/v5';
83
+ return 'https://api.replyke.com/api/v6';
84
84
  }
85
85
  /**
86
86
  * Get any environment variable with fallback
@@ -1,5 +1,5 @@
1
1
  import axios from "axios";
2
- var BASE_URL = "https://api.replyke.com/api/v5";
2
+ var BASE_URL = "https://api.replyke.com/api/v6";
3
3
  export default axios.create({
4
4
  baseURL: BASE_URL,
5
5
  });
@@ -66,15 +66,15 @@ export function isProduction() {
66
66
  export function getApiBaseUrl() {
67
67
  // Check process.env (traditional React apps)
68
68
  if (typeof process !== 'undefined' && process.env) {
69
- return process.env.REACT_APP_API_BASE_URL || 'https://api.replyke.com/api/v5';
69
+ return process.env.REACT_APP_API_BASE_URL || 'https://api.replyke.com/api/v6';
70
70
  }
71
71
  // Check Vite environment
72
72
  var viteEnv = getViteEnv();
73
73
  if (viteEnv) {
74
- return viteEnv.VITE_API_BASE_URL || 'https://api.replyke.com/api/v5';
74
+ return viteEnv.VITE_API_BASE_URL || 'https://api.replyke.com/api/v6';
75
75
  }
76
76
  // Fallback to default
77
- return 'https://api.replyke.com/api/v5';
77
+ return 'https://api.replyke.com/api/v6';
78
78
  }
79
79
  /**
80
80
  * Get any environment variable with fallback
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replyke/core",
3
- "version": "6.0.0-beta.13",
3
+ "version": "6.0.0-beta.14",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "author": "Replyke, maintained by Yanay Tsabary",