digirati-annotation-bridge
Advanced tools
Comparing version 0.8.14 to 0.8.16
@@ -137,2 +137,3 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var defaultMotivation = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'tagging'; | ||
var path = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : []; | ||
@@ -147,3 +148,3 @@ return function (dispatch, getState) { | ||
dispatch(createDraft(scope, resources, captureModelId, motivation || defaultMotivation, selectors, draftDefaults)); | ||
dispatch(createDraft(scope, resources, captureModelId, motivation || defaultMotivation, selectors, draftDefaults, null, path)); | ||
}; | ||
@@ -150,0 +151,0 @@ } |
@@ -165,2 +165,3 @@ 'use strict'; | ||
var defaultMotivation = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'tagging'; | ||
var path = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : []; | ||
@@ -175,3 +176,3 @@ return function (dispatch, getState) { | ||
dispatch((0, _drafts.createDraft)(scope, resources, captureModelId, motivation || defaultMotivation, selectors, draftDefaults)); | ||
dispatch((0, _drafts.createDraft)(scope, resources, captureModelId, motivation || defaultMotivation, selectors, draftDefaults, null, path)); | ||
}; | ||
@@ -178,0 +179,0 @@ } |
{ | ||
"name": "digirati-annotation-bridge", | ||
"version": "0.8.14", | ||
"version": "0.8.16", | ||
"description": "Describe annotation-bridge here", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"digirati-annotation-redux": "^0.8.13", | ||
"digirati-annotation-redux": "^0.8.16", | ||
"lodash.flatten": "^4.4.0" | ||
@@ -25,0 +25,0 @@ }, |
68501
1665