@nuskin/ns-util 3.99.1 → 3.99.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/event.js +6 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-util",
3
- "version": "3.99.1",
3
+ "version": "3.99.3",
4
4
  "baseURL": "/",
5
5
  "main": "src/util.js",
6
6
  "scripts": {
package/src/event.js CHANGED
@@ -241,6 +241,10 @@ if (!nuskin.events) {
241
241
  VARIANT_CHANGED: "variantChanged"
242
242
  },
243
243
 
244
+ mobile: {
245
+ NATIVE_INITIALIZING: "nativeInitializing"
246
+ },
247
+
244
248
  recognition: {
245
249
  PROFILED_VIEWED: "profileViewed",
246
250
  RECOGNITION_SEARCH: "recognitionSearch"
@@ -427,8 +431,8 @@ if (!nuskin.events) {
427
431
  * @param {string} eventId
428
432
  * @memberof nuskin.events
429
433
  */
430
- function unsubscribe(eventId) {
431
- $.unsubscribe(eventId);
434
+ function unsubscribe(eventId, fn) {
435
+ $.unsubscribe(eventId, fn);
432
436
  }
433
437
 
434
438
  /**