Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@knocklabs/client

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knocklabs/client - npm Package Compare versions

Comparing version 0.8.12 to 0.8.13

22

dist/cjs/clients/feed/feed.js

@@ -880,7 +880,19 @@ "use strict";

var itemsToUpdate = normalizedItems.filter(function (item) {
if (type === "seen") return item.seen_at === null;
if (type === "unseen") return item.seen_at !== null;
if (type === "read") return item.read_at === null;
if (type === "unread") return item.read_at !== null;
return true;
switch (type) {
case "seen":
return item.seen_at === null;
case "unseen":
return item.seen_at !== null;
case "read":
case "interacted":
return item.read_at === null;
case "unread":
return item.read_at !== null;
default:
return true;
}
}); // Tnis is a hack to determine the direction of whether we're

@@ -887,0 +899,0 @@ // adding or removing from the badge count

@@ -607,7 +607,19 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";

var itemsToUpdate = normalizedItems.filter(item => {
if (type === "seen") return item.seen_at === null;
if (type === "unseen") return item.seen_at !== null;
if (type === "read") return item.read_at === null;
if (type === "unread") return item.read_at !== null;
return true;
switch (type) {
case "seen":
return item.seen_at === null;
case "unseen":
return item.seen_at !== null;
case "read":
case "interacted":
return item.read_at === null;
case "unread":
return item.read_at !== null;
default:
return true;
}
}); // Tnis is a hack to determine the direction of whether we're

@@ -614,0 +626,0 @@ // adding or removing from the badge count

{
"name": "@knocklabs/client",
"version": "0.8.12",
"version": "0.8.13",
"description": "The clientside library for interacting with Knock",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/knocklabs/knock-client-js",

Sorry, the diff of this file is not supported yet

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