@apicase/core
Advanced tools
Comparing version 0.7.0-beta.11 to 0.7.0-beta.12
@@ -1,2 +0,3 @@ | ||
import _default from 'nanoutils/lib/equals'; | ||
import _default2 from 'nanoutils/lib/equals'; | ||
import _default from 'nanoutils/lib/clone'; | ||
import { apicase } from './apicase'; | ||
@@ -62,3 +63,3 @@ import { mergeOptions } from './merge'; | ||
const service = new ApiService(adapter, this._opts.concat(newOpts)); | ||
service._listeners = this._listeners; | ||
service._listeners = _default(this._listeners); | ||
return service; | ||
@@ -108,5 +109,5 @@ }; | ||
const req = getOpts(opts); | ||
const idx = this.queue.findIndex(i => _default(i.payload, req.payload)); | ||
const idx = this.queue.findIndex(i => _default2(i.payload, req.payload)); | ||
return idx > -1 ? this.queue[idx] : addCall(req); | ||
}; | ||
} |
{ | ||
"name": "@apicase/core", | ||
"version": "0.7.0-beta.11", | ||
"version": "0.7.0-beta.12", | ||
"description": "Core library to make API calls with any adapter", | ||
@@ -5,0 +5,0 @@ "main": "es/index.js", |
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
33772
976