@nixweb/nixloc-ui 1.12.0 → 1.13.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nixweb/nixloc-ui",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -51,6 +51,7 @@ import Button from "@nixweb/nixloc-ui/src/component/forms/Button";
51
51
  import InputText from "@nixweb/nixloc-ui/src/component/forms/InputText";
52
52
  import RadioGroup from "@nixweb/nixloc-ui/src/component/forms/RadioGroup";
53
53
  import Person from "@nixweb/nixloc-ui/src/component/value-objects/Person.js";
54
+ import axios from "axios";
54
55
 
55
56
  import { mapMutations } from "vuex";
56
57
 
@@ -93,7 +94,7 @@ export default {
93
94
  ]),
94
95
  searchDocumentFederalRecipe() {
95
96
  let url = `https://ws.hubdodesenvolvedor.com.br/v2/cnpj/?cnpj=${this.person.document}&token=94473735FzLqpNKajP170569464`;
96
- this.$http.post(url, {}, {}).then((response) => {
97
+ axios.post(url, {}, {}).then((response) => {
97
98
  if (response.data.return == "OK") {
98
99
  this.addEvent({
99
100
  name: "searchDocumentFederalRecipe",