be-components 6.4.8 → 6.4.9
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/Clarity/RNClarity.js.map +1 -1
- package/lib/commonjs/Clarity/WebClarity.js.map +1 -1
- package/lib/commonjs/Clarity/index.js.map +1 -1
- package/lib/module/Clarity/RNClarity.js.map +1 -1
- package/lib/module/Clarity/WebClarity.js.map +1 -1
- package/lib/module/Clarity/index.js.map +1 -1
- package/lib/typescript/src/Clarity/RNClarity.d.ts +1 -6
- package/lib/typescript/src/Clarity/RNClarity.d.ts.map +1 -1
- package/lib/typescript/src/Clarity/WebClarity.d.ts +1 -6
- package/lib/typescript/src/Clarity/WebClarity.d.ts.map +1 -1
- package/lib/typescript/src/Clarity/index.d.ts +7 -1
- package/lib/typescript/src/Clarity/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Clarity/RNClarity.tsx +1 -6
- package/src/Clarity/WebClarity.tsx +1 -6
- package/src/Clarity/index.tsx +8 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Clarity","_interopRequireWildcard","require","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","RNClarityFunctions","initializeClarity","project_id","initialize","setCustomTag","tag","value","identify","player_id","session_id","setCustomUserId","setCustomSessionId","smartEvent","event","sendCustomEvent","_default","exports"],"sourceRoot":"../../../src","sources":["Clarity/RNClarity.tsx"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA2D,SAAAD,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,CAAAE,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;
|
|
1
|
+
{"version":3,"names":["Clarity","_interopRequireWildcard","require","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","RNClarityFunctions","initializeClarity","project_id","initialize","setCustomTag","tag","value","identify","player_id","session_id","setCustomUserId","setCustomSessionId","smartEvent","event","sendCustomEvent","_default","exports"],"sourceRoot":"../../../src","sources":["Clarity/RNClarity.tsx"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA2D,SAAAD,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,CAAAE,CAAA,EAAAC,CAAA,SAAAA,C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AC;EAC3D,CAAC;EACDG,UAAU,EAAGC,KAAY,IAAK;IAC1BnC,OAAO,CAACoC,eAAe,CAACD,KAAK,CAAC;EAClC;AACJ,CAAC;AAAA,IAAAE,QAAA,GAAAC,OAAA,CAAAzB,OAAA,GAEcS,kBAAkB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_clarity","_interopRequireDefault","require","e","__esModule","default","WebClarityFunctions","initializeClarity","project_id","Clarity","init","setCustomTag","tag","value","setTag","identify","player_id","session_id","smartEvent","event","_default","exports"],"sourceRoot":"../../../src","sources":["Clarity/WebClarity.tsx"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAyC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;
|
|
1
|
+
{"version":3,"names":["_clarity","_interopRequireDefault","require","e","__esModule","default","WebClarityFunctions","initializeClarity","project_id","Clarity","init","setCustomTag","tag","value","setTag","identify","player_id","session_id","smartEvent","event","_default","exports"],"sourceRoot":"../../../src","sources":["Clarity/WebClarity.tsx"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAyC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAKzC,MAAMG,mBAAkC,GAAG;EACvCC,iBAAiB,EAAGC,UAAiB,IAAU;IAC3CC,gBAAO,CAACC,IAAI,CAACF,UAAU,CAAC,CAAC;EAC7B,CAAC;EACDG,YAAY,EAAEA,CAACC,GAAU,EAAEC,KAAY,KAAU;IAC7CJ,gBAAO,CAACK,MAAM,CAACF,GAAG,EAAEC,KAAK,CAAC;EAC9B,CAAC;EACDE,QAAQ,EAAEA,CAACC,SAAgB,EAAEC,UAAkB,KAAU;IACrDR,gBAAO,CAACM,QAAQ,CAACC,SAAS,EAAEC,UAAU,CAAC;EAC3C,CAAC;EACDC,UAAU,EAAGC,KAAY,IAAK;IAC1BV,gBAAO,CAACU,KAAK,CAACA,KAAK,CAAC;EACxB;AACJ,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAAhB,OAAA,GAEcC,mBAAmB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_RNClarity","_interopRequireDefault","_WebClarity","e","__esModule","default","BEClarity","Platform","select","ios","RNClarityFunctions","android","web","WebClarityFunctions","_default","exports"],"sourceRoot":"../../../src","sources":["Clarity/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AAA+C,SAAAE,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_RNClarity","_interopRequireDefault","_WebClarity","e","__esModule","default","BEClarity","Platform","select","ios","RNClarityFunctions","android","web","WebClarityFunctions","_default","exports"],"sourceRoot":"../../../src","sources":["Clarity/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AAA+C,SAAAE,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAU/C,IAAIG,SAAwB,GAAGC,qBAAQ,CAACC,MAAM,CAAC;EAC7CC,GAAG,EAAEC,kBAAkB;EACvBC,OAAO,EAAED,kBAAkB;EAC3BE,GAAG,EAAEC;AACP,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAAV,OAAA,GAEaC,SAAS","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Clarity","RNClarityFunctions","initializeClarity","project_id","initialize","setCustomTag","tag","value","identify","player_id","session_id","setCustomUserId","setCustomSessionId","smartEvent","event","sendCustomEvent"],"sourceRoot":"../../../src","sources":["Clarity/RNClarity.tsx"],"mappings":"AAAA,OAAO,KAAKA,OAAO,MAAM,iCAAiC;
|
|
1
|
+
{"version":3,"names":["Clarity","RNClarityFunctions","initializeClarity","project_id","initialize","setCustomTag","tag","value","identify","player_id","session_id","setCustomUserId","setCustomSessionId","smartEvent","event","sendCustomEvent"],"sourceRoot":"../../../src","sources":["Clarity/RNClarity.tsx"],"mappings":"AAAA,OAAO,KAAKA,OAAO,MAAM,iCAAiC;AAK1D,MAAMC,kBAAiC,GAAG;EACtCC,iBAAiB,EAAGC,UAAiB,IAAU;IAC3CH,OAAO,CAACI,UAAU,CAACD,UAAU,EAAE;MAC3B;IAAA,CACH,CAAC;EACN,CAAC;EACDE,YAAY,EAAEA,CAACC,GAAU,EAAEC,KAAY,KAAU;IAC7CP,OAAO,CAACK,YAAY,CAACC,GAAG,EAAEC,KAAK,CAAC;EACpC,CAAC;EACDC,QAAQ,EAAEA,CAACC,SAAgB,EAAEC,UAAkB,KAAU;IACrDV,OAAO,CAACW,eAAe,CAACF,SAAS,CAAC;IAClC,IAAGC,UAAU,EAAC;MAAEV,OAAO,CAACY,kBAAkB,CAACF,UAAU,CAAC;IAAC;EAC3D,CAAC;EACDG,UAAU,EAAGC,KAAY,IAAK;IAC1Bd,OAAO,CAACe,eAAe,CAACD,KAAK,CAAC;EAClC;AACJ,CAAC;AAED,eAAeb,kBAAkB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Clarity","WebClarityFunctions","initializeClarity","project_id","init","setCustomTag","tag","value","setTag","identify","player_id","session_id","smartEvent","event"],"sourceRoot":"../../../src","sources":["Clarity/WebClarity.tsx"],"mappings":"AAAA,OAAOA,OAAO,MAAM,oBAAoB;
|
|
1
|
+
{"version":3,"names":["Clarity","WebClarityFunctions","initializeClarity","project_id","init","setCustomTag","tag","value","setTag","identify","player_id","session_id","smartEvent","event"],"sourceRoot":"../../../src","sources":["Clarity/WebClarity.tsx"],"mappings":"AAAA,OAAOA,OAAO,MAAM,oBAAoB;AAKxC,MAAMC,mBAAkC,GAAG;EACvCC,iBAAiB,EAAGC,UAAiB,IAAU;IAC3CH,OAAO,CAACI,IAAI,CAACD,UAAU,CAAC,CAAC;EAC7B,CAAC;EACDE,YAAY,EAAEA,CAACC,GAAU,EAAEC,KAAY,KAAU;IAC7CP,OAAO,CAACQ,MAAM,CAACF,GAAG,EAAEC,KAAK,CAAC;EAC9B,CAAC;EACDE,QAAQ,EAAEA,CAACC,SAAgB,EAAEC,UAAkB,KAAU;IACrDX,OAAO,CAACS,QAAQ,CAACC,SAAS,EAAEC,UAAU,CAAC;EAC3C,CAAC;EACDC,UAAU,EAAGC,KAAY,IAAK;IAC1Bb,OAAO,CAACa,KAAK,CAACA,KAAK,CAAC;EACxB;AACJ,CAAC;AAED,eAAeZ,mBAAmB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Platform","RNClarityFunctions","WebClarityFunctions","BEClarity","select","ios","android","web"],"sourceRoot":"../../../src","sources":["Clarity/index.tsx"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,OAAOC,kBAAkB,MAAM,aAAa;AAC5C,OAAOC,mBAAmB,MAAM,cAAc;
|
|
1
|
+
{"version":3,"names":["Platform","RNClarityFunctions","WebClarityFunctions","BEClarity","select","ios","android","web"],"sourceRoot":"../../../src","sources":["Clarity/index.tsx"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,OAAOC,kBAAkB,MAAM,aAAa;AAC5C,OAAOC,mBAAmB,MAAM,cAAc;AAU9C,IAAIC,SAAwB,GAAGH,QAAQ,CAACI,MAAM,CAAC;EAC7CC,GAAG,EAAEJ,kBAAkB;EACvBK,OAAO,EAAEL,kBAAkB;EAC3BM,GAAG,EAAEL;AACP,CAAC,CAAC;AAEF,eAAeC,SAAS","ignoreList":[]}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
initializeClarity: (project_id: string) => void;
|
|
3
|
-
setCustomTag: (tag: string, value: string) => void;
|
|
4
|
-
identify: (player_id: string, session_id?: string) => void;
|
|
5
|
-
smartEvent: (event: string) => void;
|
|
6
|
-
}
|
|
1
|
+
import type { BEClarityProps } from '.';
|
|
7
2
|
declare const RNClarityFunctions: BEClarityProps;
|
|
8
3
|
export default RNClarityFunctions;
|
|
9
4
|
//# sourceMappingURL=RNClarity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNClarity.d.ts","sourceRoot":"","sources":["../../../../src/Clarity/RNClarity.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RNClarity.d.ts","sourceRoot":"","sources":["../../../../src/Clarity/RNClarity.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAC;AAIxC,QAAA,MAAM,kBAAkB,EAAC,cAgBxB,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
initializeClarity: (project_id: string) => void;
|
|
3
|
-
setCustomTag: (tag: string, value: string) => void;
|
|
4
|
-
identify: (player_id: string, session_id?: string) => void;
|
|
5
|
-
smartEvent: (event: string) => void;
|
|
6
|
-
}
|
|
1
|
+
import type { BEClarityProps } from '.';
|
|
7
2
|
declare const WebClarityFunctions: BEClarityProps;
|
|
8
3
|
export default WebClarityFunctions;
|
|
9
4
|
//# sourceMappingURL=WebClarity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebClarity.d.ts","sourceRoot":"","sources":["../../../../src/Clarity/WebClarity.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WebClarity.d.ts","sourceRoot":"","sources":["../../../../src/Clarity/WebClarity.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAC;AAIxC,QAAA,MAAM,mBAAmB,EAAC,cAazB,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
export interface BEClarityProps {
|
|
2
|
+
initializeClarity: (project_id: string) => void;
|
|
3
|
+
setCustomTag: (tag: string, value: string) => void;
|
|
4
|
+
identify: (player_id: string, session_id?: string) => void;
|
|
5
|
+
smartEvent: (event: string) => void;
|
|
6
|
+
}
|
|
7
|
+
declare let BEClarity: BEClarityProps;
|
|
2
8
|
export default BEClarity;
|
|
3
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Clarity/index.tsx"],"names":[],"mappings":"AAKA,QAAA,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Clarity/index.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC3B,iBAAiB,EAAE,CAAC,UAAU,EAAC,MAAM,KAAK,IAAI,CAAC;IAC/C,YAAY,EAAC,CAAC,GAAG,EAAC,MAAM,EAAE,KAAK,EAAC,MAAM,KAAK,IAAI,CAAC;IAChD,QAAQ,EAAE,CAAC,SAAS,EAAC,MAAM,EAAE,UAAU,CAAC,EAAC,MAAM,KAAK,IAAI,CAAC;IACzD,UAAU,EAAC,CAAC,KAAK,EAAC,MAAM,KAAK,IAAI,CAAA;CACpC;AAED,QAAA,IAAI,SAAS,EAAC,cAIZ,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import * as Clarity from '@microsoft/react-native-clarity';
|
|
2
|
+
import type { BEClarityProps } from '.';
|
|
2
3
|
|
|
3
|
-
export interface BEClarityProps {
|
|
4
|
-
initializeClarity: (project_id:string) => void,
|
|
5
|
-
setCustomTag:(tag:string, value:string) => void,
|
|
6
|
-
identify: (player_id:string, session_id?:string) => void,
|
|
7
|
-
smartEvent:(event:string) => void
|
|
8
|
-
}
|
|
9
4
|
|
|
10
5
|
|
|
11
6
|
const RNClarityFunctions:BEClarityProps = {
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import Clarity from '@microsoft/clarity';
|
|
2
|
+
import type { BEClarityProps } from '.';
|
|
2
3
|
|
|
3
|
-
export interface BEClarityProps {
|
|
4
|
-
initializeClarity: (project_id:string) => void,
|
|
5
|
-
setCustomTag:(tag:string, value:string) => void,
|
|
6
|
-
identify: (player_id:string, session_id?:string) => void,
|
|
7
|
-
smartEvent:(event:string) => void
|
|
8
|
-
}
|
|
9
4
|
|
|
10
5
|
|
|
11
6
|
const WebClarityFunctions:BEClarityProps = {
|
package/src/Clarity/index.tsx
CHANGED
|
@@ -3,7 +3,14 @@ import RNClarityFunctions from "./RNClarity";
|
|
|
3
3
|
import WebClarityFunctions from "./WebClarity";
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
export interface BEClarityProps {
|
|
7
|
+
initializeClarity: (project_id:string) => void,
|
|
8
|
+
setCustomTag:(tag:string, value:string) => void,
|
|
9
|
+
identify: (player_id:string, session_id?:string) => void,
|
|
10
|
+
smartEvent:(event:string) => void
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
let BEClarity:BEClarityProps = Platform.select({
|
|
7
14
|
ios: RNClarityFunctions,
|
|
8
15
|
android: RNClarityFunctions,
|
|
9
16
|
web: WebClarityFunctions as any
|