Kaynağa Gözat

getting ready for 0.2.1

Michelle Bu 12 yıl önce
ebeveyn
işleme
30a50d0513
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 2 1
      changelog.md
  2. 1 1
      package.json

+ 2 - 1
changelog.md

@@ -1,10 +1,11 @@
 # PeerJS Changelog
 
-## Version 0.2.1 (Pending)
+## Version 0.2.1 (3 Apr 2013)
 * **Warning**: this build changes the error of type `peer-destroyed` to `server-disconnected`.
 * ~~**Firefox compatibility.**~~ - Pushed back due to volatility of Firefox Nightly DataChannel APIs.
 * Browser detection added. If an incompatible browser is detected, the `browser-incompatible` error is emitted from the `Peer`.
 * Added a `.disconnect()` method to `Peer`, which can be called to close connections to the PeerServer (but not any active DataConnections).
+* New getters for `Peer.id`, `DataConnection.peer`, `DataConnection.metadata` among others.
 
 ## Version 0.2.0 (24 Mar 2013)
 * **Warning**: this build introduces the following API changes that may break existing code.

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "peerjs",
-  "version": "0.2.0",
+  "version": "0.2.1",
   "description": "PeerJS client library",
   "devDependencies": {
     "uglify-js": "~1.3.4",