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

@nuclia/sync-agent

Package Overview
Dependencies
Maintainers
3
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuclia/sync-agent - npm Package Compare versions

Comparing version 1.2.20 to 1.2.21

7

build/logic/sync/domain/nuclia-cloud.js

@@ -144,3 +144,8 @@ "use strict";

payload = this.setMetadata(payload, metadata);
return this.getKb().pipe((0, rxjs_1.switchMap)((kb) => kb.createOrUpdateResource(payload).pipe((0, rxjs_1.retry)(RETRY_CONFIG), (0, rxjs_1.delay)(500), // do not overload the server
return this.getKb().pipe((0, rxjs_1.switchMap)((kb) => kb.hasResource(slug).pipe((0, rxjs_1.switchMap)((exists) => {
if (exists) {
delete payload.title;
}
return kb.createOrUpdateResource(payload);
}), (0, rxjs_1.retry)(RETRY_CONFIG), (0, rxjs_1.delay)(500), // do not overload the server
(0, rxjs_1.catchError)((error) => {

@@ -147,0 +152,0 @@ console.log('createOrUpdateResource – error:', JSON.stringify(error));

2

package.json
{
"name": "@nuclia/sync-agent",
"version": "1.2.20",
"version": "1.2.21",
"description": "This is a sync agent to synchronize user files from diferent sources to nuclia",

@@ -5,0 +5,0 @@ "main": "build/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