@annotation-studio/bridge
Advanced tools
Comparing version 1.0.0-pr.b779cdbf to 1.0.0-pr.cbb7e5af
@@ -138,2 +138,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 path = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : []; | ||
var name = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null; | ||
@@ -148,3 +149,3 @@ return function (dispatch, getState) { | ||
dispatch(createDraft(scope, resources, captureModelId, motivation || defaultMotivation, selectors, draftDefaults, null, path)); | ||
dispatch(createDraft(scope, resources, captureModelId, motivation || defaultMotivation, selectors, draftDefaults, null, path, name)); | ||
}; | ||
@@ -151,0 +152,0 @@ } |
@@ -166,2 +166,3 @@ 'use strict'; | ||
var path = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : []; | ||
var name = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null; | ||
@@ -176,3 +177,3 @@ return function (dispatch, getState) { | ||
dispatch((0, _drafts.createDraft)(scope, resources, captureModelId, motivation || defaultMotivation, selectors, draftDefaults, null, path)); | ||
dispatch((0, _drafts.createDraft)(scope, resources, captureModelId, motivation || defaultMotivation, selectors, draftDefaults, null, path, name)); | ||
}; | ||
@@ -179,0 +180,0 @@ } |
{ | ||
"name": "@annotation-studio/bridge", | ||
"version": "1.0.0-pr.b779cdbf", | ||
"version": "1.0.0-pr.cbb7e5af", | ||
"description": "Describe annotation-bridge here", | ||
@@ -22,7 +22,7 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@annotation-studio/redux": "^1.0.0-pr.b779cdbf", | ||
"@annotation-studio/redux": "^1.0.0-pr.cbb7e5af", | ||
"lodash.flatten": "^4.4.0" | ||
}, | ||
"devDependencies": { | ||
"@fesk/test-environment": "^1.0.0-pr.b779cdbf", | ||
"@fesk/test-environment": "^1.0.0-pr.cbb7e5af", | ||
"babel-jest": "^20.0.3", | ||
@@ -29,0 +29,0 @@ "jest": "^20.0.0", |
69619
1697