Comparing version 10.0.0 to 10.0.1
@@ -432,3 +432,3 @@ 'use strict'; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var collection, newData, error_2; | ||
var collection, url, newData, error_2; | ||
return __generator(this, function (_c) { | ||
@@ -444,2 +444,3 @@ switch (_c.label) { | ||
return [2 /*return*/]; | ||
url = path || this.url(); | ||
if (optimistic && collection) { | ||
@@ -451,3 +452,3 @@ collection.remove(this); | ||
_c.trys.push([1, 3, , 4]); | ||
return [4 /*yield*/, apiClient().del(path || this.url(), data, otherOptions)]; | ||
return [4 /*yield*/, apiClient().del(url, data, otherOptions)]; | ||
case 2: | ||
@@ -454,0 +455,0 @@ newData = _c.sent(); |
{ | ||
"name": "mobx-rest", | ||
"version": "10.0.0", | ||
"version": "10.0.1", | ||
"description": "REST conventions for mobx.", | ||
@@ -5,0 +5,0 @@ "jest": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
68085
1142
0