pushi-js 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pushi.js +11 -1
package/package.json
CHANGED
package/pushi.js
CHANGED
|
@@ -136,6 +136,12 @@ var Pushi = function(appKey, options) {
|
|
|
136
136
|
this.init(appKey, options);
|
|
137
137
|
};
|
|
138
138
|
|
|
139
|
+
/**
|
|
140
|
+
* The version of the Pushi library.
|
|
141
|
+
* @type {string}
|
|
142
|
+
*/
|
|
143
|
+
Pushi.VERSION = "0.5.2";
|
|
144
|
+
|
|
139
145
|
Pushi.prototype.init = function(appKey, options, callback) {
|
|
140
146
|
// tries to retrieve any previously existing instance
|
|
141
147
|
// of pushi for the provided key and in case it exists
|
|
@@ -1179,5 +1185,9 @@ if (typeof String.prototype.startsWith !== "function") {
|
|
|
1179
1185
|
|
|
1180
1186
|
// Module exports for Node.js/CommonJS environments
|
|
1181
1187
|
if (typeof module !== "undefined" && module.exports) {
|
|
1182
|
-
module.exports = {
|
|
1188
|
+
module.exports = {
|
|
1189
|
+
Pushi: Pushi,
|
|
1190
|
+
Channel: Channel,
|
|
1191
|
+
Observable: Observable
|
|
1192
|
+
};
|
|
1183
1193
|
}
|