@annotation-studio/redux
Advanced tools
Comparing version 1.0.0-rc.21 to 1.0.0-rc.22
@@ -200,3 +200,6 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
var captureModelField = captureModel.fields[field.id]; | ||
var captureModelField = Object.values(captureModel.fields).find(function (_ref2) { | ||
var id = _ref2.id; | ||
return id === field.id; | ||
}); | ||
if (!(captureModelField && (captureModelField.metaData || captureModelField.omekaMeta))) { | ||
@@ -288,8 +291,8 @@ console.warn('createMultipleAnnotations', 'Looks like you have set derivedAnnoCombine to "False" without selectors on the fields, are you sure this is correct?', captureModelField); | ||
export function createAnnotationFromCaptureModelAndDraft(_ref2) { | ||
var target = _ref2.target, | ||
captureModel = _ref2.captureModel, | ||
draft = _ref2.draft, | ||
customDraftSelector = _ref2.customDraftSelector, | ||
partOf = _ref2.partOf; | ||
export function createAnnotationFromCaptureModelAndDraft(_ref3) { | ||
var target = _ref3.target, | ||
captureModel = _ref3.captureModel, | ||
draft = _ref3.draft, | ||
customDraftSelector = _ref3.customDraftSelector, | ||
partOf = _ref3.partOf; | ||
@@ -296,0 +299,0 @@ var bodies = []; |
@@ -111,3 +111,2 @@ import _asyncIterator from 'babel-runtime/helpers/asyncIterator'; | ||
credentials: withoutCredentials ? 'omit' : process.env.NODE_ENV === 'production' ? 'include' : 'omit', | ||
cache: process.env.NODE_ENV === 'production' ? 'default' : 'force-cache', | ||
redirect: 'follow' | ||
@@ -114,0 +113,0 @@ }).then(function (response) { |
@@ -238,3 +238,6 @@ 'use strict'; | ||
var captureModelField = captureModel.fields[field.id]; | ||
var captureModelField = Object.values(captureModel.fields).find(function (_ref2) { | ||
var id = _ref2.id; | ||
return id === field.id; | ||
}); | ||
if (!(captureModelField && (captureModelField.metaData || captureModelField.omekaMeta))) { | ||
@@ -326,8 +329,8 @@ console.warn('createMultipleAnnotations', 'Looks like you have set derivedAnnoCombine to "False" without selectors on the fields, are you sure this is correct?', captureModelField); | ||
function createAnnotationFromCaptureModelAndDraft(_ref2) { | ||
var target = _ref2.target, | ||
captureModel = _ref2.captureModel, | ||
draft = _ref2.draft, | ||
customDraftSelector = _ref2.customDraftSelector, | ||
partOf = _ref2.partOf; | ||
function createAnnotationFromCaptureModelAndDraft(_ref3) { | ||
var target = _ref3.target, | ||
captureModel = _ref3.captureModel, | ||
draft = _ref3.draft, | ||
customDraftSelector = _ref3.customDraftSelector, | ||
partOf = _ref3.partOf; | ||
@@ -334,0 +337,0 @@ var bodies = []; |
@@ -252,3 +252,2 @@ 'use strict'; | ||
credentials: withoutCredentials ? 'omit' : process.env.NODE_ENV === 'production' ? 'include' : 'omit', | ||
cache: process.env.NODE_ENV === 'production' ? 'default' : 'force-cache', | ||
redirect: 'follow' | ||
@@ -255,0 +254,0 @@ }).then(function (response) { |
{ | ||
"name": "@annotation-studio/redux", | ||
"version": "1.0.0-rc.21", | ||
"version": "1.0.0-rc.22", | ||
"description": "Describe annotation-redux here", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
342560
9121
9