spice-js 2.5.10 → 2.5.11

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.
@@ -179,7 +179,7 @@ class SpiceModel {
179
179
  complete
180
180
  } = _ref;
181
181
  var operationExempt = {
182
- PUT: ["required"]
182
+ PUT: ["required", "unique"]
183
183
  };
184
184
  var returnVal = [];
185
185
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spice-js",
3
- "version": "2.5.10",
3
+ "version": "2.5.11",
4
4
  "description": "spice",
5
5
  "main": "build/index.js",
6
6
  "repository": {
@@ -154,7 +154,7 @@ export default class SpiceModel {
154
154
 
155
155
  createValidationString({ property_name, props, operation, complete }) {
156
156
  let operationExempt = {
157
- PUT: ["required"],
157
+ PUT: ["required", "unique"],
158
158
  };
159
159
  let returnVal = [];
160
160
  for (let i in props) {