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

@renegade-fi/react

Package Overview
Dependencies
Maintainers
3
Versions
253
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@renegade-fi/react - npm Package Compare versions

Comparing version 0.0.0-canary-20240525002754 to 0.0.0-canary-20240525003732

25

dist/hooks/useTaskHistoryQuery.js

@@ -22,18 +22,19 @@ 'use client';

new Map();
const existingTask = existingMap.get(incoming.id);
console.debug('onUpdate debug: ', {
existingMap,
existingTask,
incoming,
});
if (!existingTask || incoming.state !== existingTask.state) {
console.debug('setting debug', {
existingMap,
existingTask,
incoming,
});
const newMap = new Map(existingMap);
newMap.set(incoming.id, incoming);
queryClient.setQueryData(options.queryKey, newMap);
}
const newMap = new Map(existingMap);
newMap.set(incoming.id, incoming);
queryClient.setQueryData(options.queryKey, newMap);
// if (!existingTask || incoming.state !== existingTask.state) {
// console.debug('setting debug', {
// existingMap,
// existingTask,
// incoming,
// })
// const newMap = new Map(existingMap)
// newMap.set(incoming.id, incoming)
// queryClient.setQueryData(options.queryKey, newMap)
// }
}

@@ -40,0 +41,0 @@ },

{
"name": "@renegade-fi/react",
"version": "0.0.0-canary-20240525002754",
"version": "0.0.0-canary-20240525003732",
"description": "React library for Renegade",

@@ -34,3 +34,3 @@ "files": [

"tiny-invariant": "^1.3.3",
"@renegade-fi/core": "0.0.0-canary-20240525002754"
"@renegade-fi/core": "0.0.0-canary-20240525003732"
},

@@ -37,0 +37,0 @@ "devDependencies": {

@@ -55,19 +55,20 @@ 'use client'

new Map()
const existingTask = existingMap.get(incoming.id)
console.debug('onUpdate debug: ', {
existingMap,
existingTask,
incoming,
})
const newMap = new Map(existingMap)
newMap.set(incoming.id, incoming)
queryClient.setQueryData(options.queryKey, newMap)
if (!existingTask || incoming.state !== existingTask.state) {
console.debug('setting debug', {
existingMap,
existingTask,
incoming,
})
const newMap = new Map(existingMap)
newMap.set(incoming.id, incoming)
queryClient.setQueryData(options.queryKey, newMap)
}
// if (!existingTask || incoming.state !== existingTask.state) {
// console.debug('setting debug', {
// existingMap,
// existingTask,
// incoming,
// })
// const newMap = new Map(existingMap)
// newMap.set(incoming.id, incoming)
// queryClient.setQueryData(options.queryKey, newMap)
// }
}

@@ -74,0 +75,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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