@natyapp/meta 1.5.4 → 1.5.6

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.
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.updateInterceptor = exports.api = exports.axiosInstanceGeneral = exports.axiosInstanceForDownloadMedia = exports.newAxiosInstance = void 0;
7
7
  const axios_1 = __importDefault(require("axios"));
8
8
  const axiosInterceptors_1 = require("../configs/axiosInterceptors");
9
- const apiConfig_1 = require("../configs/apiConfig");
10
9
  const newAxiosInstance = ({ url = "https://graph.facebook.com/v18.0/", phone_number_id, accessToken, }) => axios_1.default.create({
11
10
  baseURL: url + phone_number_id,
12
11
  headers: {
@@ -30,7 +29,7 @@ const axiosInstanceGeneral = ({ url = "https://graph.facebook.com/v18.0/", acces
30
29
  });
31
30
  exports.axiosInstanceGeneral = axiosInstanceGeneral;
32
31
  const api = axios_1.default.create({
33
- baseURL: `${apiConfig_1.ApiConfig.getInstance().Url}/v1`,
32
+ baseURL: `${process.env.API_META}/v1`,
34
33
  headers: axiosInterceptors_1.configInterceptors,
35
34
  });
36
35
  exports.api = api;
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const apiConfig_1 = require("../../configs/apiConfig");
4
4
  class ConfigureSdk {
5
5
  configure(config) {
6
- console.log(process.env.API_META_OFFICIAL_WEBHOOK);
7
6
  apiConfig_1.ApiConfig.getInstance, config;
8
7
  }
9
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natyapp/meta",
3
- "version": "1.5.4",
3
+ "version": "1.5.6",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",