@developer_tribe/react-native-comnyx 0.10.13 → 0.10.14

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.
@@ -1 +1 @@
1
- {"version":3,"names":["_index","require","_index2","_index3","_NativeComnyx","_collectData"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAGA,IAAAG,aAAA,GAAAH,OAAA;AAGA,IAAAI,YAAA,GAAAJ,OAAA","ignoreList":[]}
1
+ {"version":3,"names":["_index","require","_index2","_index3","_NativeComnyx","_collectData"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAEA,IAAAG,aAAA,GAAAH,OAAA;AAGA,IAAAI,YAAA,GAAAJ,OAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_NativeComnyx","_initializeNotifications","comnyxEmitter","Platform","OS","NativeEventEmitter","NativeModules","Comnyx","ComnyxNotifications","exports","initialize","initializeNotifications","optIn","nativeComnyx","checkOptIn","linkToSettings","addEventListener","eventType","listener","addListener","event"],"sourceRoot":"../../../src","sources":["notifications/index.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAGA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,wBAAA,GAAAF,OAAA;AAKA,MAAMG,aAAa,GACjBC,qBAAQ,CAACC,EAAE,KAAK,SAAS,GACrB,IAAIC,+BAAkB,CAAC,CAAC,CAAC;AAAA,EACzB,IAAIA,+BAAkB,CAACC,0BAAa,CAACC,MAAM,CAAC;AAkF3C,MAAMC,mBAA4C,GAAAC,OAAA,CAAAD,mBAAA,GAAG;EAC1DE,UAAU,EAAEC,gDAAuB;EACnCC,KAAK,EAAEC,0BAAY,CAACD,KAAK;EACzBE,UAAU,EAAED,0BAAY,CAACC,UAAU;EACnCC,cAAc,EAAEF,0BAAY,CAACE,cAAc;EAC3CC,gBAAgB,EAAE,SAAAA,CAChBC,SAAY,EACZC,QAA4D,EACvC;IACrB,OAAOhB,aAAa,CAACiB,WAAW,CAACF,SAAS,EAAGG,KAAK,IAAK;MACrDF,QAAQ,CAACE,KAAK,CAAC;IACjB,CAAC,CAAC;EACJ;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_NativeComnyx","_initializeNotifications","comnyxEmitter","Platform","OS","NativeEventEmitter","NativeModules","Comnyx","ComnyxNotifications","exports","initialize","initializeNotifications","optIn","nativeComnyx","checkOptIn","linkToSettings","addEventListener","eventType","listener","addListener","event"],"sourceRoot":"../../../src","sources":["notifications/index.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAGA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,wBAAA,GAAAF,OAAA;AAKA,MAAMG,aAAa,GACjBC,qBAAQ,CAACC,EAAE,KAAK,SAAS,GACrB,IAAIC,+BAAkB,CAAC,CAAC,CAAC;AAAA,EACzB,IAAIA,+BAAkB,CAACC,0BAAa,CAACC,MAAM,CAAC;AAqF3C,MAAMC,mBAA4C,GAAAC,OAAA,CAAAD,mBAAA,GAAG;EAC1DE,UAAU,EAAEC,gDAAuB;EACnCC,KAAK,EAAEC,0BAAY,CAACD,KAAK;EACzBE,UAAU,EAAED,0BAAY,CAACC,UAAU;EACnCC,cAAc,EAAEF,0BAAY,CAACE,cAAc;EAC3CC,gBAAgB,EAAE,SAAAA,CAChBC,SAAY,EACZC,QAA4D,EACvC;IACrB,OAAOhB,aAAa,CAACiB,WAAW,CAACF,SAAS,EAAGG,KAAK,IAAK;MACrDF,QAAQ,CAACE,KAAK,CAAC;IACjB,CAAC,CAAC;EACJ;AACF,CAAC","ignoreList":[]}
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.VERSION = void 0;
7
7
  // This file is auto-generated. Do not edit manually.
8
- const VERSION = exports.VERSION = '0.10.13';
8
+ const VERSION = exports.VERSION = '0.10.14';
9
9
  //# sourceMappingURL=version.js.map
@@ -3,7 +3,6 @@
3
3
  export { Comnyx } from "./register/index.js";
4
4
  export { ComnyxSupport } from "./support/index.js";
5
5
  export { ComnyxNotifications } from "./notifications/index.js";
6
-
7
6
  //types
8
7
  export { NotificationPermissionStatus } from "./NativeComnyx.js";
9
8
 
@@ -1 +1 @@
1
- {"version":3,"names":["Comnyx","ComnyxSupport","ComnyxNotifications","NotificationPermissionStatus","registerOneSignalForComnyx"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,qBAAY;AACnC,SAASC,aAAa,QAAQ,oBAAW;AACzC,SAASC,mBAAmB,QAAQ,0BAAiB;;AAErD;AACA,SAASC,4BAA4B,QAAQ,mBAAgB;;AAE7D;AACA,SAASC,0BAA0B,QAAQ,2BAAwB","ignoreList":[]}
1
+ {"version":3,"names":["Comnyx","ComnyxSupport","ComnyxNotifications","NotificationPermissionStatus","registerOneSignalForComnyx"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AACA,SAASA,MAAM,QAAQ,qBAAY;AACnC,SAASC,aAAa,QAAQ,oBAAW;AACzC,SAASC,mBAAmB,QAAQ,0BAAiB;AACrD;AACA,SAASC,4BAA4B,QAAQ,mBAAgB;;AAE7D;AACA,SAASC,0BAA0B,QAAQ,2BAAwB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["Platform","NativeEventEmitter","NativeModules","nativeComnyx","initializeNotifications","comnyxEmitter","OS","Comnyx","ComnyxNotifications","initialize","optIn","checkOptIn","linkToSettings","addEventListener","eventType","listener","addListener","event"],"sourceRoot":"../../../src","sources":["notifications/index.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAkC,cAAc;AACjE,SAASC,kBAAkB,QAAQ,cAAc;AACjD,SAASC,aAAa,QAAQ,cAAc;AAC5C,SAASC,YAAY,QAAsC,oBAAiB;AAC5E,SACEC,uBAAuB,QAElB,8BAA2B;AAElC,MAAMC,aAAa,GACjBL,QAAQ,CAACM,EAAE,KAAK,SAAS,GACrB,IAAIL,kBAAkB,CAAC,CAAC,CAAC;AAAA,EACzB,IAAIA,kBAAkB,CAACC,aAAa,CAACK,MAAM,CAAC;AAkFlD,OAAO,MAAMC,mBAA4C,GAAG;EAC1DC,UAAU,EAAEL,uBAAuB;EACnCM,KAAK,EAAEP,YAAY,CAACO,KAAK;EACzBC,UAAU,EAAER,YAAY,CAACQ,UAAU;EACnCC,cAAc,EAAET,YAAY,CAACS,cAAc;EAC3CC,gBAAgB,EAAE,SAAAA,CAChBC,SAAY,EACZC,QAA4D,EACvC;IACrB,OAAOV,aAAa,CAACW,WAAW,CAACF,SAAS,EAAGG,KAAK,IAAK;MACrDF,QAAQ,CAACE,KAAK,CAAC;IACjB,CAAC,CAAC;EACJ;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["Platform","NativeEventEmitter","NativeModules","nativeComnyx","initializeNotifications","comnyxEmitter","OS","Comnyx","ComnyxNotifications","initialize","optIn","checkOptIn","linkToSettings","addEventListener","eventType","listener","addListener","event"],"sourceRoot":"../../../src","sources":["notifications/index.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAkC,cAAc;AACjE,SAASC,kBAAkB,QAAQ,cAAc;AACjD,SAASC,aAAa,QAAQ,cAAc;AAC5C,SAASC,YAAY,QAAsC,oBAAiB;AAC5E,SACEC,uBAAuB,QAElB,8BAA2B;AAElC,MAAMC,aAAa,GACjBL,QAAQ,CAACM,EAAE,KAAK,SAAS,GACrB,IAAIL,kBAAkB,CAAC,CAAC,CAAC;AAAA,EACzB,IAAIA,kBAAkB,CAACC,aAAa,CAACK,MAAM,CAAC;AAqFlD,OAAO,MAAMC,mBAA4C,GAAG;EAC1DC,UAAU,EAAEL,uBAAuB;EACnCM,KAAK,EAAEP,YAAY,CAACO,KAAK;EACzBC,UAAU,EAAER,YAAY,CAACQ,UAAU;EACnCC,cAAc,EAAET,YAAY,CAACS,cAAc;EAC3CC,gBAAgB,EAAE,SAAAA,CAChBC,SAAY,EACZC,QAA4D,EACvC;IACrB,OAAOV,aAAa,CAACW,WAAW,CAACF,SAAS,EAAGG,KAAK,IAAK;MACrDF,QAAQ,CAACE,KAAK,CAAC;IACjB,CAAC,CAAC;EACJ;AACF,CAAC","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
 
3
3
  // This file is auto-generated. Do not edit manually.
4
- export const VERSION = '0.10.13';
4
+ export const VERSION = '0.10.14';
5
5
  //# sourceMappingURL=version.js.map
@@ -1,3 +1,4 @@
1
+ export type { NotificationClickedEvent } from './notifications';
1
2
  export { Comnyx } from './register';
2
3
  export { ComnyxSupport } from './support';
3
4
  export { ComnyxNotifications } from './notifications';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGtD,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAG9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAG9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC"}
@@ -69,6 +69,7 @@ interface ComnyxNotificationsType {
69
69
  linkToSettings: () => Promise<boolean>;
70
70
  addEventListener<T extends ComnyxNotificationsEventType>(event: T, listener: (event: ComnyxNotificationsEventResult[T]) => void): EmitterSubscription;
71
71
  }
72
+ export type NotificationClickedEvent = ComnyxNotificationsEventResult['NOTIFICATION_CLICKED'];
72
73
  export declare const ComnyxNotifications: ComnyxNotificationsType;
73
74
  export {};
74
75
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGlE,OAAO,EAAgB,4BAA4B,EAAE,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EAEL,KAAK,6BAA6B,EACnC,MAAM,2BAA2B,CAAC;AAOnC,KAAK,4BAA4B,GAC7B,YAAY,GACZ,cAAc,GACd,uBAAuB,GACvB,sBAAsB,CAAC;AAE3B,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE;YACP,KAAK,EAAE,MAAM,CAAC;YACd,IAAI,EAAE,MAAM,CAAC;YACb,QAAQ,EAAE,MAAM,CAAC;YACjB,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC;YACd,QAAQ,EAAE,OAAO,CAAC;YAClB,kBAAkB,EAAE,MAAM,CAAC;YAC3B,gBAAgB,EAAE,MAAM,CAAC;SAC1B,CAAC;KACH,CAAC;CACH,CAAC;AACF,KAAK,sBAAsB,GAAG,EAAE,CAAC;AAEjC,KAAK,0BAA0B,G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AAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACvC,gBAAgB,CAAC,CAAC,SAAS,4BAA4B,EACrD,KAAK,EAAE,CAAC,EACR,QAAQ,EAAE,CAAC,KAAK,EAAE,8BAA8B,CAAC,CAAC,CAAC,KAAK,IAAI,GAC3D,mBAAmB,CAAC;CACxB;AAED,MAAM,MAAM,wBAAwB,GAClC,8BAA8B,CAAC,sBAAsB,CAAC,CAAC;AAEzD,eAAO,MAAM,mBAAmB,EAAE,uBAajC,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.10.13";
1
+ export declare const VERSION = "0.10.14";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@developer_tribe/react-native-comnyx",
3
- "version": "0.10.13",
3
+ "version": "0.10.14",
4
4
  "description": "React Native chat component with integrated support panel, enabling real-time customer communication and efficient agent workflow management.",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/commonjs/index.js",
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
+ export type { NotificationClickedEvent } from './notifications';
1
2
  export { Comnyx } from './register';
2
3
  export { ComnyxSupport } from './support';
3
4
  export { ComnyxNotifications } from './notifications';
4
-
5
5
  //types
6
6
  export { NotificationPermissionStatus } from './NativeComnyx';
7
7
 
@@ -92,6 +92,9 @@ interface ComnyxNotificationsType {
92
92
  ): EmitterSubscription;
93
93
  }
94
94
 
95
+ export type NotificationClickedEvent =
96
+ ComnyxNotificationsEventResult['NOTIFICATION_CLICKED'];
97
+
95
98
  export const ComnyxNotifications: ComnyxNotificationsType = {
96
99
  initialize: initializeNotifications,
97
100
  optIn: nativeComnyx.optIn,
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- export const VERSION = '0.10.13';
2
+ export const VERSION = '0.10.14';