@syncot/presence
Advanced tools
Comparing version 0.0.23 to 0.1.0
@@ -6,2 +6,23 @@ # Change Log | ||
# [0.1.0](https://github.com/SyncOT/SyncOT/compare/@syncot/presence@0.0.23...@syncot/presence@0.1.0) (2020-11-16) | ||
### Bug Fixes | ||
* replace SyncOt with SyncOT everywhere ([1643d98](https://github.com/SyncOT/SyncOT/commit/1643d98d22a811444a8992cbfb26598a583a5afd)) | ||
### Features | ||
* add PresenceError ([17b5d5b](https://github.com/SyncOT/SyncOT/commit/17b5d5b9bad7a3c48e5894f5bfb9247fc0015ff6)) | ||
### BREAKING CHANGES | ||
* "SyncOt" replaced with "SyncOT" in the whole codebase | ||
## [0.0.23](https://github.com/SyncOT/SyncOT/compare/@syncot/presence@0.0.22...@syncot/presence@0.0.23) (2020-11-10) | ||
@@ -8,0 +29,0 @@ |
export * from './presence'; | ||
export * from './error'; |
export * from './presence'; | ||
export * from './error'; |
@@ -1,3 +0,2 @@ | ||
import { EmitterInterface, SyncOtEmitter } from '@syncot/events'; | ||
import { Validator } from '@syncot/util'; | ||
import { EmitterInterface, SyncOTEmitter, Validator } from '@syncot/util'; | ||
import { Duplex } from 'readable-stream'; | ||
@@ -30,3 +29,3 @@ export interface Presence { | ||
*/ | ||
export interface PresenceClient extends EmitterInterface<SyncOtEmitter<PresenceClientEvents>> { | ||
export interface PresenceClient extends EmitterInterface<SyncOTEmitter<PresenceClientEvents>> { | ||
/** | ||
@@ -73,3 +72,3 @@ * The read-only local presence `sessionId`. | ||
*/ | ||
export interface PresenceService extends EmitterInterface<SyncOtEmitter<PresenceServiceEvents>> { | ||
export interface PresenceService extends EmitterInterface<SyncOTEmitter<PresenceServiceEvents>> { | ||
/** | ||
@@ -76,0 +75,0 @@ * Submits a new presence object for the current session. |
@@ -1,3 +0,2 @@ | ||
import { createInvalidEntityError } from '@syncot/error'; | ||
import { validate } from '@syncot/util'; | ||
import { createInvalidEntityError, validate, } from '@syncot/util'; | ||
export const validatePresence = validate([ | ||
@@ -4,0 +3,0 @@ (presence) => typeof presence === 'object' && presence != null |
{ | ||
"name": "@syncot/presence", | ||
"version": "0.0.23", | ||
"version": "0.1.0", | ||
"description": "Interfaces and type definitions related to global presence management.", | ||
@@ -30,5 +30,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@syncot/error": "^0.3.0", | ||
"@syncot/events": "^0.1.3", | ||
"@syncot/util": "^1.0.3", | ||
"@syncot/util": "^2.0.0", | ||
"@types/readable-stream": "^2.3.1", | ||
@@ -38,3 +36,3 @@ "readable-stream": "^3.3.0", | ||
}, | ||
"gitHead": "5ba3e377863fb1d00a2c1fb556ae6832f9950ada" | ||
"gitHead": "d44ea483c2be41defaa32738e82ec3a9e1e58492" | ||
} |
9687
4
9
143
+ Added@syncot/util@2.0.0(transitive)
+ Added@types/node@22.10.7(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedundici-types@6.20.0(transitive)
- Removed@syncot/error@^0.3.0
- Removed@syncot/events@^0.1.3
- Removed@syncot/error@0.3.0(transitive)
- Removed@syncot/events@0.1.3(transitive)
- Removed@syncot/util@1.0.3(transitive)
- Removed@types/node@14.18.63(transitive)
Updated@syncot/util@^2.0.0