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

@streamlayer/feature-gamification

Package Overview
Dependencies
Maintainers
0
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@streamlayer/feature-gamification - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

12

lib/advertisement/index.js

@@ -29,2 +29,14 @@ import { createMapStore, eventBus } from '@streamlayer/sdk-web-interfaces';

$store.setKey('hasNotification', false);
const payload = $store.get();
const id = payload.data?.question.id;
const type = payload.data?.promotion?.type;
if (id) {
eventBus.emit('advertisement', {
action: 'notification-opened',
payload: {
id,
type,
},
});
}
};

@@ -31,0 +43,0 @@ const markAsViewed = () => {

16

package.json
{
"name": "@streamlayer/feature-gamification",
"version": "1.8.0",
"version": "1.8.1",
"peerDependencies": {

@@ -9,9 +9,9 @@ "@bufbuild/protobuf": "^1.10.0",

"nanostores": "^0.10.3",
"@streamlayer/sdk-web-api": "^1.6.1",
"@streamlayer/sdk-web-core": "^1.6.0",
"@streamlayer/sdk-web-interfaces": "^1.2.1",
"@streamlayer/sdk-web-logger": "^1.0.22",
"@streamlayer/sdk-web-storage": "^1.0.22",
"@streamlayer/sdk-web-notifications": "^1.2.1",
"@streamlayer/sdk-web-types": "^1.7.1"
"@streamlayer/sdk-web-api": "^1.6.2",
"@streamlayer/sdk-web-core": "^1.6.1",
"@streamlayer/sdk-web-interfaces": "^1.2.2",
"@streamlayer/sdk-web-logger": "^1.0.23",
"@streamlayer/sdk-web-notifications": "^1.2.2",
"@streamlayer/sdk-web-storage": "^1.0.23",
"@streamlayer/sdk-web-types": "^1.7.2"
},

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

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