New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

digirati-annotation-redux

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

digirati-annotation-redux - npm Package Compare versions

Comparing version 0.1.29 to 0.1.30

4

es/actions/elucidate.js

@@ -37,3 +37,3 @@ export var ELUCIDATE_SET_SERVER = 'ELUCIDATE_SET_SERVER';

export function addAnnotation(annotation) {
export function addElucidateAnnotation(annotation) {
return { type: ELUCIDATE_ADD_ANNOTATION, payload: { id: annotation.id, annotation: annotation } };

@@ -47,5 +47,5 @@ }

return sendAnnotationToServer(collection, body, target).then(function (annotation) {
return dispatch(addAnnotation(annotation));
return dispatch(addElucidateAnnotation(annotation));
});
};
}
import { connect } from 'react-redux';
import { asyncPublishDraft, createDraft, deselectDraft, previewDraft, publishDraft, selectDraft, unpreviewDraft, updateDraft } from './actions/drafts';
import { addAnnotation } from './actions/annotations';
import { chooseSelector, commitToCurrentDraft, setAvailableSelectors, updateSelector } from './actions/selectors';
import { addAnnotation, createCollection, sendAnnotation, setCollection, setServer, setResource } from './actions/elucidate';
import { addElucidateAnnotation, createCollection, sendAnnotation, setCollection, setServer, setResource } from './actions/elucidate';
import { getCurrentDraft } from './query/draftQuery';

@@ -36,2 +37,3 @@ import { getCurrentResourceTemplate, getForm } from './query/resourceTemplateQuery';

sendAnnotation: sendAnnotation,
addElucidateAnnotation: addElucidateAnnotation,
addAnnotation: addAnnotation,

@@ -38,0 +40,0 @@ publishDraft: publishDraft,

@@ -9,3 +9,3 @@ 'use strict';

exports.setCollection = setCollection;
exports.addAnnotation = addAnnotation;
exports.addElucidateAnnotation = addElucidateAnnotation;
exports.sendAnnotation = sendAnnotation;

@@ -50,3 +50,3 @@

function addAnnotation(annotation) {
function addElucidateAnnotation(annotation) {
return { type: ELUCIDATE_ADD_ANNOTATION, payload: { id: annotation.id, annotation: annotation } };

@@ -60,5 +60,5 @@ }

return (0, _elucidate.sendAnnotationToServer)(collection, body, target).then(function (annotation) {
return dispatch(addAnnotation(annotation));
return dispatch(addElucidateAnnotation(annotation));
});
};
}

@@ -9,2 +9,4 @@ 'use strict';

var _annotations = require('./actions/annotations');
var _selectors = require('./actions/selectors');

@@ -46,3 +48,4 @@

sendAnnotation: _elucidate.sendAnnotation,
addAnnotation: _elucidate.addAnnotation,
addElucidateAnnotation: _elucidate.addElucidateAnnotation,
addAnnotation: _annotations.addAnnotation,
publishDraft: _drafts.publishDraft,

@@ -49,0 +52,0 @@ asyncPublishDraft: _drafts.asyncPublishDraft,

{
"name": "digirati-annotation-redux",
"version": "0.1.29",
"version": "0.1.30",
"description": "Describe annotation-redux here",

@@ -5,0 +5,0 @@ "main": "es/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc