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

cash-tokenizer-client

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cash-tokenizer-client - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

24

index.js

@@ -34,18 +34,18 @@ const EventSource = require('eventsource')

function subscribeToExecutedRedemptionsPubSub(fn){
const uri = config.apiServerAddress+'/redemptions/subscribeToExecutedPubSub'
const es = new EventSource(uri)
es.addEventListener('executedRedemption', function (e) {
if(!e.close){
e.close = function (){
es._close()
function subscribeToExecutedRedemptionsPubSub(fn){
const uri = config.apiServerAddress+'/redemptions/subscribeToExecutedPubSub'
const es = new EventSource(uri)
es.addEventListener('executedRedemption', function (e) {
if(!e.close){
e.close = function (){
es._close()
}
}
}
fn(e)
})
}
fn(e)
})
}
return {
isAPIRunning,
subscribeToExecutedPubSub
}

@@ -52,0 +52,0 @@ }

{
"name": "cash-tokenizer-client",
"version": "0.0.2",
"version": "0.0.3",
"description": "A nodejs client for the cash-tokenizer API",

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