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

@syncot/presence

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncot/presence - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.0.18](https://github.com/SyncOT/SyncOT/compare/@syncot/presence@0.0.17...@syncot/presence@0.0.18) (2019-10-31)
**Note:** Version bump only for package @syncot/presence
## [0.0.17](https://github.com/SyncOT/SyncOT/compare/@syncot/presence@0.0.16...@syncot/presence@0.0.17) (2019-10-21)

@@ -8,0 +16,0 @@

17

lib/presence.d.ts
import { EmitterInterface, SyncOtEmitter, Validator } from '@syncot/util';
import { SpanContext } from 'opentracing';
import { Duplex } from 'readable-stream';

@@ -76,13 +75,13 @@ export interface Presence {

*/
submitPresence(presence: Presence, context?: SpanContext): Promise<void>;
submitPresence(presence: Presence): Promise<void>;
/**
* Removes the presence object from the current session.
*/
removePresence(context?: SpanContext): Promise<void>;
getPresenceBySessionId(sessionId: string, context?: SpanContext): Promise<Presence | null>;
getPresenceByUserId(userId: string, context?: SpanContext): Promise<Presence[]>;
getPresenceByLocationId(locationId: string, context?: SpanContext): Promise<Presence[]>;
streamPresenceBySessionId(sessionId: string, context?: SpanContext): Promise<Duplex>;
streamPresenceByUserId(userId: string, context?: SpanContext): Promise<Duplex>;
streamPresenceByLocationId(locationId: string, context?: SpanContext): Promise<Duplex>;
removePresence(): Promise<void>;
getPresenceBySessionId(sessionId: string): Promise<Presence | null>;
getPresenceByUserId(userId: string): Promise<Presence[]>;
getPresenceByLocationId(locationId: string): Promise<Presence[]>;
streamPresenceBySessionId(sessionId: string): Promise<Duplex>;
streamPresenceByUserId(userId: string): Promise<Duplex>;
streamPresenceByLocationId(locationId: string): Promise<Duplex>;
}

@@ -89,0 +88,0 @@ /**

{
"name": "@syncot/presence",
"version": "0.0.17",
"version": "0.0.18",
"description": "Interfaces and type definitions related to global presence management.",

@@ -35,3 +35,3 @@ "keywords": [

},
"gitHead": "5ddb4179d53c84ccf7929fddeb5447d30890812e"
"gitHead": "5818b8da0797e211da295d133817448730d39d5d"
}
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