vue-axios-http
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -5,2 +5,11 @@ # Changelog | ||
### [3.3.1](https://github.com/chantouchsek/vue-axios-http/compare/v3.3.0...v3.3.1) (2023-05-24) | ||
### Bug Fixes | ||
* :bug: accept all options from nuxt config ([ffa539a](https://github.com/chantouchsek/vue-axios-http/commit/ffa539a29149ce2c1d178e4671c27be5d37ed08c)) | ||
* **deps-dev:** bump @vitest/coverage-c8 from 0.28.4 to 0.31.1 ([9ec905b](https://github.com/chantouchsek/vue-axios-http/commit/9ec905b348aec5c3f569695a16ac6c9d024cc799)) | ||
* spread options by string ([e443ba2](https://github.com/chantouchsek/vue-axios-http/commit/e443ba286c9663c6111d21781f131d63f80071ed)) | ||
## [3.3.0](https://github.com/chantouchsek/vue-axios-http/compare/v3.2.1...v3.3.0) (2023-05-18) | ||
@@ -7,0 +16,0 @@ |
@@ -158,3 +158,2 @@ "use strict"; | ||
} | ||
exports.default = BaseService; | ||
BaseService.$errorProperty = 'errors'; | ||
@@ -167,1 +166,2 @@ BaseService.$resetParameter = false; | ||
}; | ||
exports.default = BaseService; |
import Vue from 'vue' | ||
import AxiosHttp, { BaseService, Validator } from 'vue-axios-http' | ||
const resetParameter = '<%= options.resetParameter %>' | ||
const errorProperty = '<%= options.errorProperty %>' | ||
const parsedQs = '<%= options.parsedQs %>' | ||
Vue.use(AxiosHttp, { errorProperty, parsedQs }) | ||
Vue.use(AxiosHttp, { errorProperty, parsedQs, resetParameter }) | ||
@@ -9,0 +10,0 @@ export default function ({ $axios }, inject) { |
{ | ||
"name": "vue-axios-http", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "Elegant and simple way to build requests for REST API", | ||
@@ -58,3 +58,3 @@ "main": "dist/index.js", | ||
"@typescript-eslint/parser": "^5.9.0", | ||
"@vitest/coverage-c8": "^0.28.2", | ||
"@vitest/coverage-c8": "^0.31.1", | ||
"@vue/test-utils": "^1.3.3", | ||
@@ -73,8 +73,8 @@ "axios-mock-adapter": "^1.20.0", | ||
"prettier": "^2.4.1", | ||
"rimraf": "^4.1.2", | ||
"rimraf": "^5.0.1", | ||
"standard-version": "^9.3.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.4", | ||
"typescript": "^5.0.4", | ||
"vite": "^4.0.4", | ||
"vitest": "^0.28.2", | ||
"vitest": "^0.31.1", | ||
"vue": "^2.7.14" | ||
@@ -81,0 +81,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56814
653