@mapomodule/core
Advanced tools
Comparing version 1.0.0-alpha.23 to 1.0.0-alpha.27
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-alpha.27](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.26...v1.0.0-alpha.27) (2022-08-25) | ||
### Bug Fixes | ||
* remove unused options plugin ([45004bb](https://github.com/lotrekagency/mapo/commit/45004bb158267c7e2f7795c1d12cf568f9d7ded2)) | ||
# [1.0.0-alpha.23](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.22...v1.0.0-alpha.23) (2022-05-04) | ||
@@ -8,0 +19,0 @@ |
import createRepository from '@mapomodule/core/api/crud' | ||
import transformRequestInMultipart from '@mapomodule/core/api/multipart' | ||
import initInterceptors from '@mapomodule/core/interceptor' | ||
import options from './options' | ||
@@ -12,3 +11,2 @@ function getRouteMiddlewares(route) { | ||
const { axios, ...conf } = options; | ||
@@ -26,5 +24,3 @@ export default (ctx, inject) => { | ||
multipart: transformRequestInMultipart, | ||
conf: axios | ||
}, | ||
$options: conf, | ||
/** | ||
@@ -31,0 +27,0 @@ * From here you can reach some utilities that simplify the interaction with the user authentication flow. |
@@ -26,9 +26,2 @@ import path from 'path' | ||
// INJECT MAPO OPTIONS | ||
this.addTemplate({ | ||
src: path.resolve(__dirname, './options.js'), | ||
fileName: path.join(namespace, 'options.js'), | ||
options: { axios: (this.options && this.options.axios), ...moduleOptions } | ||
}) | ||
// INJECT ALL MIDDLEWARES | ||
@@ -35,0 +28,0 @@ const middlewares = (await resolver.resolveRelative(__dirname, 'middleware')).map(({ src }) => src) |
{ | ||
"name": "@mapomodule/core", | ||
"version": "1.0.0-alpha.23", | ||
"version": "1.0.0-alpha.27", | ||
"description": "This is part of Mapo nuxt module. Injects the core mapo plugin helpers.", | ||
@@ -21,3 +21,3 @@ "author": "bnznamco <gabriele.baldi.01@gmail.com>", | ||
}, | ||
"gitHead": "19399823330cb0123d2b224e857fb3094351df95" | ||
"gitHead": "d028345c7ee4cdf43dac3e68d27d4b9f1ad4198c" | ||
} |
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
25317
12
376