vue-intergrall-plugins 0.0.155 → 0.0.156

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.
@@ -8222,43 +8222,42 @@ function createInstance(defaultConfig) {
8222
8222
  }
8223
8223
 
8224
8224
  // Create the default instance to be exported
8225
- var axios$2 = createInstance(defaults$1);
8225
+ var axios$1 = createInstance(defaults$1);
8226
8226
 
8227
8227
  // Expose Axios class to allow class inheritance
8228
- axios$2.Axios = Axios_1;
8228
+ axios$1.Axios = Axios_1;
8229
8229
 
8230
8230
  // Expose Cancel & CancelToken
8231
- axios$2.Cancel = Cancel_1;
8232
- axios$2.CancelToken = CancelToken_1;
8233
- axios$2.isCancel = isCancel;
8234
- axios$2.VERSION = data.version;
8231
+ axios$1.Cancel = Cancel_1;
8232
+ axios$1.CancelToken = CancelToken_1;
8233
+ axios$1.isCancel = isCancel;
8234
+ axios$1.VERSION = data.version;
8235
8235
 
8236
8236
  // Expose all/spread
8237
- axios$2.all = function all(promises) {
8237
+ axios$1.all = function all(promises) {
8238
8238
  return Promise.all(promises);
8239
8239
  };
8240
- axios$2.spread = spread;
8240
+ axios$1.spread = spread;
8241
8241
 
8242
8242
  // Expose isAxiosError
8243
- axios$2.isAxiosError = isAxiosError;
8243
+ axios$1.isAxiosError = isAxiosError;
8244
8244
 
8245
- var axios_1 = axios$2;
8245
+ var axios_1 = axios$1;
8246
8246
 
8247
8247
  // Allow use of default import syntax in TypeScript
8248
- var _default = axios$2;
8248
+ var _default = axios$1;
8249
8249
  axios_1.default = _default;
8250
8250
 
8251
8251
  var axios = axios_1;
8252
8252
 
8253
- var axios$1 = axios;
8254
-
8253
+ vue.prototype.$httpRequest = axios;
8255
8254
  const baseURL = window.location.hostname == 'localhost' ? `https://linux07/im/atdHumano/middleware/atd_api.php` : `https://${window.location.hostname}`;
8256
8255
  const dev = window.location.hostname == 'localhost' ? '&teste=levchat2' : '';
8257
8256
  const standardMessages = {
8258
8257
  methods: {
8259
8258
  async getStandardMessages(type, token) {
8260
8259
  try {
8261
- return axios$1({
8260
+ return this.$httpRequest({
8262
8261
  method: 'get',
8263
8262
  url: `${baseURL}/get-messages/${type}?token_cliente=${token}${dev}`,
8264
8263
  headers: {