@developer_tribe/react-native-comnyx 0.12.6 → 0.12.7
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/lib/commonjs/hooks/useListenNativeTokenForDebug.js +3 -3
- package/lib/commonjs/hooks/useListenNativeTokenForDebug.js.map +1 -1
- package/lib/commonjs/index.js +4 -4
- package/lib/commonjs/version.js +1 -1
- package/lib/module/hooks/useListenNativeTokenForDebug.js +2 -2
- package/lib/module/hooks/useListenNativeTokenForDebug.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/version.js +1 -1
- package/lib/typescript/src/hooks/useListenNativeTokenForDebug.d.ts +1 -1
- package/lib/typescript/src/hooks/useListenNativeTokenForDebug.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/hooks/useListenNativeTokenForDebug.ts +2 -2
- package/src/index.ts +1 -1
- package/src/version.ts +1 -1
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.useComnyxListenNativeTokenForDebug = useComnyxListenNativeTokenForDebug;
|
|
7
7
|
var _store = require("../store/store.js");
|
|
8
8
|
//NOTE: It's temporary fo
|
|
9
|
-
function
|
|
10
|
-
return _store.useAppStore
|
|
9
|
+
function useComnyxListenNativeTokenForDebug() {
|
|
10
|
+
return (0, _store.useAppStore)(state => state.token);
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=useListenNativeTokenForDebug.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_store","require","
|
|
1
|
+
{"version":3,"names":["_store","require","useComnyxListenNativeTokenForDebug","useAppStore","state","token"],"sourceRoot":"../../../src","sources":["hooks/useListenNativeTokenForDebug.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA;AACO,SAASC,kCAAkCA,CAAA,EAAG;EACnD,OAAO,IAAAC,kBAAW,EAAEC,KAAK,IAAKA,KAAK,CAACC,KAAK,CAAC;AAC5C","ignoreList":[]}
|
package/lib/commonjs/index.js
CHANGED
|
@@ -33,16 +33,16 @@ Object.defineProperty(exports, "registerOneSignalForComnyx", {
|
|
|
33
33
|
return _collectData.registerOneSignalForComnyx;
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
|
-
Object.defineProperty(exports, "
|
|
36
|
+
Object.defineProperty(exports, "useComnyxListenNativeTokenForDebug", {
|
|
37
37
|
enumerable: true,
|
|
38
38
|
get: function () {
|
|
39
|
-
return
|
|
39
|
+
return _useListenNativeTokenForDebug.useComnyxListenNativeTokenForDebug;
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
Object.defineProperty(exports, "
|
|
42
|
+
Object.defineProperty(exports, "useIsComnyxRegistered", {
|
|
43
43
|
enumerable: true,
|
|
44
44
|
get: function () {
|
|
45
|
-
return
|
|
45
|
+
return _useIsComnyxRegistered.useIsComnyxRegistered;
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
var _useListenNativeTokenForDebug = require("./hooks/useListenNativeTokenForDebug.js");
|
package/lib/commonjs/version.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { useAppStore } from "../store/store.js";
|
|
4
4
|
|
|
5
5
|
//NOTE: It's temporary fo
|
|
6
|
-
export function
|
|
7
|
-
return useAppStore
|
|
6
|
+
export function useComnyxListenNativeTokenForDebug() {
|
|
7
|
+
return useAppStore(state => state.token);
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=useListenNativeTokenForDebug.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useAppStore","
|
|
1
|
+
{"version":3,"names":["useAppStore","useComnyxListenNativeTokenForDebug","state","token"],"sourceRoot":"../../../src","sources":["hooks/useListenNativeTokenForDebug.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,mBAAgB;;AAE5C;AACA,OAAO,SAASC,kCAAkCA,CAAA,EAAG;EACnD,OAAOD,WAAW,CAAEE,KAAK,IAAKA,KAAK,CAACC,KAAK,CAAC;AAC5C","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { useComnyxListenNativeTokenForDebug } from "./hooks/useListenNativeTokenForDebug.js";
|
|
4
4
|
export { Comnyx } from "./register/index.js";
|
|
5
5
|
export { ComnyxSupport } from "./support/index.js";
|
|
6
6
|
export { ComnyxNotifications } from "./notifications/index.js";
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useComnyxListenNativeTokenForDebug","Comnyx","ComnyxSupport","ComnyxNotifications","NotificationPermissionStatus","registerOneSignalForComnyx","useIsComnyxRegistered"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,kCAAkC,QAAQ,yCAAsC;AAEzF,SAASC,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;AACnE,SAASC,qBAAqB,QAAQ,kCAA+B","ignoreList":[]}
|
package/lib/module/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function useComnyxListenNativeTokenForDebug(): string | null;
|
|
2
2
|
//# sourceMappingURL=useListenNativeTokenForDebug.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListenNativeTokenForDebug.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useListenNativeTokenForDebug.ts"],"names":[],"mappings":"AAGA,wBAAgB,
|
|
1
|
+
{"version":3,"file":"useListenNativeTokenForDebug.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useListenNativeTokenForDebug.ts"],"names":[],"mappings":"AAGA,wBAAgB,kCAAkC,kBAEjD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { useComnyxListenNativeTokenForDebug } from './hooks/useListenNativeTokenForDebug';
|
|
2
2
|
export type { NotificationClickedEvent } from './notifications';
|
|
3
3
|
export { Comnyx } from './register';
|
|
4
4
|
export { ComnyxSupport } from './support';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,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;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.12.
|
|
1
|
+
export declare const VERSION = "0.12.7";
|
|
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.12.
|
|
3
|
+
"version": "0.12.7",
|
|
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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useAppStore } from '../store/store';
|
|
2
2
|
|
|
3
3
|
//NOTE: It's temporary fo
|
|
4
|
-
export function
|
|
5
|
-
return useAppStore
|
|
4
|
+
export function useComnyxListenNativeTokenForDebug() {
|
|
5
|
+
return useAppStore((state) => state.token);
|
|
6
6
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { useComnyxListenNativeTokenForDebug } from './hooks/useListenNativeTokenForDebug';
|
|
2
2
|
export type { NotificationClickedEvent } from './notifications';
|
|
3
3
|
export { Comnyx } from './register';
|
|
4
4
|
export { ComnyxSupport } from './support';
|
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.12.
|
|
2
|
+
export const VERSION = '0.12.7';
|