@robylon/react-native-sdk 2.0.19-staging.52 → 2.0.19-staging.53

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,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _ErrorTrackingService=require("./services/ErrorTrackingService");var _errorConstants=require("./constants/errorConstants");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/jobinabraham/Developer/personal/robylon-react-native-sdk/src/FloatingButton.tsx";var FloatingButton=function FloatingButton(_ref){var onPress=_ref.onPress,_ref$brandColor=_ref.brandColor,brandColor=_ref$brandColor===void 0?"#007AFF":_ref$brandColor,imageUrl=_ref.imageUrl;var handleImageError=function handleImageError(){_ErrorTrackingService.errorTracker.trackError(new Error("Failed to load button image"),"FloatingButton",{type:_errorConstants.ErrorTypes.RUNTIME_ERROR,context:{imageUrl:imageUrl}});};return(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{style:[styles.button,{backgroundColor:brandColor}],onPress:onPress,children:imageUrl?(0,_jsxRuntime.jsx)(_reactNative.Image,{source:{uri:imageUrl},style:styles.buttonImage,onError:handleImageError}):(0,_jsxRuntime.jsx)(_reactNative.Text,{style:styles.buttonText,children:"Chat"})});};var styles=_reactNative.StyleSheet.create({button:{position:"absolute",top:20,right:20,borderRadius:24,width:48,height:48,justifyContent:"center",alignItems:"center",elevation:5,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:0.25,shadowRadius:3.84},buttonText:{color:"white",fontSize:16,fontWeight:"bold"},buttonImage:{width:48,height:48,borderRadius:24}});var _default=exports.default=FloatingButton;
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _ErrorTrackingService=require("./services/ErrorTrackingService");var _errorConstants=require("./constants/errorConstants");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/jobinabraham/Developer/personal/robylon-react-native-sdk/src/FloatingButton.tsx";var FloatingButton=function FloatingButton(_ref){var onPress=_ref.onPress,_ref$brandColor=_ref.brandColor,brandColor=_ref$brandColor===void 0?"#007AFF":_ref$brandColor,imageUrl=_ref.imageUrl;var handleImageError=function handleImageError(){_ErrorTrackingService.errorTracker.trackError(new Error("Failed to load button image"),"FloatingButton",{type:_errorConstants.ErrorTypes.RUNTIME_ERROR,context:{imageUrl:imageUrl}});};return(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{style:[styles.button,{backgroundColor:brandColor}],onPress:onPress,children:imageUrl?(0,_jsxRuntime.jsx)(_reactNative.Image,{source:{uri:imageUrl},style:styles.buttonImage,onError:handleImageError}):(0,_jsxRuntime.jsx)(_reactNative.Text,{style:styles.buttonText,children:"Chat"})});};var styles=_reactNative.StyleSheet.create({button:{position:"absolute",top:20,right:20,borderRadius:24,width:48,height:48,justifyContent:"center",alignItems:"center",elevation:5,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:0.25,shadowRadius:3.84,zIndex:999},buttonText:{color:"white",fontSize:16,fontWeight:"bold"},buttonImage:{width:48,height:48,borderRadius:24}});var _default=exports.default=FloatingButton;
2
2
  //# sourceMappingURL=FloatingButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ErrorTrackingService","_errorConstants","_jsxRuntime","_this","_jsxFileName","FloatingButton","_ref","onPress","_ref$brandColor","brandColor","imageUrl","handleImageError","errorTracker","trackError","Error","type","ErrorTypes","RUNTIME_ERROR","context","jsx","TouchableOpacity","style","styles","button","backgroundColor","children","Image","source","uri","buttonImage","onError","Text","buttonText","StyleSheet","create","position","top","right","borderRadius","width","height","justifyContent","alignItems","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","color","fontSize","fontWeight","_default","exports","default"],"sourceRoot":"../../src","sources":["FloatingButton.tsx"],"mappings":"mKAAA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,qBAAA,CAAAF,OAAA,oCACA,IAAAG,eAAA,CAAAH,OAAA,+BAAwD,IAAAI,WAAA,CAAAJ,OAAA,0BAAAK,KAAA,MAAAC,YAAA,0FAQxD,GAAM,CAAAC,cAA6C,CAAG,QAAhD,CAAAA,cAA6CA,CAAAC,IAAA,CAI7C,IAHJ,CAAAC,OAAO,CAAAD,IAAA,CAAPC,OAAO,CAAAC,eAAA,CAAAF,IAAA,CACPG,UAAU,CAAVA,UAAU,CAAAD,eAAA,UAAG,SAAS,CAAAA,eAAA,CACtBE,QAAQ,CAAAJ,IAAA,CAARI,QAAQ,CAER,GAAM,CAAAC,gBAAgB,CAAG,QAAnB,CAAAA,gBAAgBA,CAAA,CAAS,CAC7BC,kCAAY,CAACC,UAAU,CACrB,GAAI,CAAAC,KAAK,CAAC,6BAA6B,CAAC,CACxC,gBAAgB,CAChB,CACEC,IAAI,CAAEC,0BAAU,CAACC,aAAa,CAC9BC,OAAO,CAAE,CAAER,QAAQ,CAARA,QAAS,CACtB,CACF,CAAC,CACH,CAAC,CAED,MACE,GAAAR,WAAA,CAAAiB,GAAA,EAACpB,YAAA,CAAAqB,gBAAgB,EACfC,KAAK,CAAE,CAACC,MAAM,CAACC,MAAM,CAAE,CAAEC,eAAe,CAAEf,UAAW,CAAC,CAAE,CACxDF,OAAO,CAAEA,OAAQ,CAAAkB,QAAA,CAEhBf,QAAQ,CACP,GAAAR,WAAA,CAAAiB,GAAA,EAACpB,YAAA,CAAA2B,KAAK,EACJC,MAAM,CAAE,CAAEC,GAAG,CAAElB,QAAS,CAAE,CAC1BW,KAAK,CAAEC,MAAM,CAACO,WAAY,CAC1BC,OAAO,CAAEnB,gBAAiB,CAC3B,CAAC,CAEF,GAAAT,WAAA,CAAAiB,GAAA,EAACpB,YAAA,CAAAgC,IAAI,EAACV,KAAK,CAAEC,MAAM,CAACU,UAAW,CAAAP,QAAA,CAAC,MAAI,CAAM,CAC3C,CACe,CAAC,CAEvB,CAAC,CAED,GAAM,CAAAH,MAAM,CAAGW,uBAAU,CAACC,MAAM,CAAC,CAC/BX,MAAM,CAAE,CACNY,QAAQ,CAAE,UAAU,CACpBC,GAAG,CAAE,EAAE,CAEPC,KAAK,CAAE,EAAE,CACTC,YAAY,CAAE,EAAE,CAChBC,KAAK,CAAE,EAAE,CACTC,MAAM,CAAE,EAAE,CACVC,cAAc,CAAE,QAAQ,CACxBC,UAAU,CAAE,QAAQ,CACpBC,SAAS,CAAE,CAAC,CACZC,WAAW,CAAE,MAAM,CACnBC,YAAY,CAAE,CAAEN,KAAK,CAAE,CAAC,CAAEC,MAAM,CAAE,CAAE,CAAC,CACrCM,aAAa,CAAE,IAAI,CACnBC,YAAY,CAAE,IAChB,CAAC,CACDf,UAAU,CAAE,CACVgB,KAAK,CAAE,OAAO,CACdC,QAAQ,CAAE,EAAE,CACZC,UAAU,CAAE,MACd,CAAC,CACDrB,WAAW,CAAE,CACXU,KAAK,CAAE,EAAE,CACTC,MAAM,CAAE,EAAE,CACVF,YAAY,CAAE,EAChB,CACF,CAAC,CAAC,CAAC,IAAAa,QAAA,CAAAC,OAAA,CAAAC,OAAA,CAEYhD,cAAc","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ErrorTrackingService","_errorConstants","_jsxRuntime","_this","_jsxFileName","FloatingButton","_ref","onPress","_ref$brandColor","brandColor","imageUrl","handleImageError","errorTracker","trackError","Error","type","ErrorTypes","RUNTIME_ERROR","context","jsx","TouchableOpacity","style","styles","button","backgroundColor","children","Image","source","uri","buttonImage","onError","Text","buttonText","StyleSheet","create","position","top","right","borderRadius","width","height","justifyContent","alignItems","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","zIndex","color","fontSize","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iB,GAAA,EAACpB,YAAA,CAAAgC,IAAI,EAACV,KAAK,CAAEC,MAAM,CAACU,UAAW,CAAAP,QAAA,CAAC,MAAI,CAAM,CAC3C,CACe,CAAC,CAEvB,CAAC,CAED,GAAM,CAAAH,MAAM,CAAGW,uBAAU,CAACC,MAAM,CAAC,CAC/BX,MAAM,CAAE,CACNY,QAAQ,CAAE,UAAU,CACpBC,GAAG,CAAE,EAAE,CAEPC,KAAK,CAAE,EAAE,CACTC,YAAY,CAAE,EAAE,CAChBC,KAAK,CAAE,EAAE,CACTC,MAAM,CAAE,EAAE,CACVC,cAAc,CAAE,QAAQ,CACxBC,UAAU,CAAE,QAAQ,CACpBC,SAAS,CAAE,CAAC,CACZC,WAAW,CAAE,MAAM,CACnBC,YAAY,CAAE,CAAEN,KAAK,CAAE,CAAC,CAAEC,MAAM,CAAE,CAAE,CAAC,CACrCM,aAAa,CAAE,IAAI,CACnBC,YAAY,CAAE,IAAI,CAClBC,MAAM,CAAE,GACV,CAAC,CACDhB,UAAU,CAAE,CACViB,KAAK,CAAE,OAAO,CACdC,QAAQ,CAAE,EAAE,CACZC,UAAU,CAAE,MACd,CAAC,CACDtB,WAAW,CAAE,CACXU,KAAK,CAAE,EAAE,CACTC,MAAM,CAAE,EAAE,CACVF,YAAY,CAAE,EAChB,CACF,CAAC,CAAC,CAAC,IAAAc,QAAA,CAAAC,OAAA,CAAAC,OAAA,CAEYjD,cAAc","ignoreList":[]}
@@ -1,3 +1,2 @@
1
-
2
- //# sourceMappingURL=openChatbot.js.mape",{value:true});exports.openChatbot=void 0;var _reactNative=require("react-native");var _constants=require("./constants");var openChatbot=exports.openChatbot=function openChatbot(chatbotId){var additionalParams=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var params=new URLSearchParams(Object.assign({id:chatbotId},additionalParams));var url=`${_constants.BASE_CHATBOT_URL}?${params.toString()}`;_reactNative.Linking.openURL(url);};
1
+ Object.defineProperty(exports,"__esModule",{value:true});exports.openChatbot=void 0;var _reactNative=require("react-native");var _constants=require("./constants");var openChatbot=exports.openChatbot=function openChatbot(chatbotId){var additionalParams=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var params=new URLSearchParams(Object.assign({id:chatbotId},additionalParams));var url=`${_constants.BASE_CHATBOT_URL}?${params.toString()}`;_reactNative.Linking.openURL(url);};
3
2
  //# sourceMappingURL=openChatbot.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../src","sources":["openChatbot.tsx"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_constants","openChatbot","exports","chatbotId","additionalParams","arguments","length","undefined","params","URLSearchParams","Object","assign","id","url","BASE_CHATBOT_URL","toString","Linking","openURL"],"sourceRoot":"../../src","sources":["openChatbot.ts"],"mappings":"oFAAA,IAAAA,YAAA,CAAAC,OAAA,iBACA,IAAAC,UAAA,CAAAD,OAAA,gBAEO,GAAM,CAAAE,WAAW,CAAAC,OAAA,CAAAD,WAAA,CAAG,QAAd,CAAAA,WAAWA,CACtBE,SAAiB,CAER,IADT,CAAAC,gBAAwC,CAAAC,SAAA,CAAAC,MAAA,IAAAD,SAAA,MAAAE,SAAA,CAAAF,SAAA,IAAG,CAAC,CAAC,CAE7C,GAAM,CAAAG,MAAM,CAAG,GAAI,CAAAC,eAAe,CAAAC,MAAA,CAAAC,MAAA,EAAGC,EAAE,CAAET,SAAS,EAAKC,gBAAgB,CAAE,CAAC,CAC1E,GAAM,CAAAS,GAAG,CAAG,GAAGC,2BAAgB,IAAIN,MAAM,CAACO,QAAQ,CAAC,CAAC,EAAE,CACtDC,oBAAO,CAACC,OAAO,CAACJ,GAAG,CAAC,CACtB,CAAC","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.SDK_VERSION=void 0;var SDK_VERSION=exports.SDK_VERSION='2.0.19-staging.52';
1
+ Object.defineProperty(exports,"__esModule",{value:true});exports.SDK_VERSION=void 0;var SDK_VERSION=exports.SDK_VERSION='2.0.19-staging.53';
2
2
  //# sourceMappingURL=version.staging.js.map
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _ErrorTrackingService=require("./services/ErrorTrackingService");var _errorConstants=require("./constants/errorConstants");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/jobinabraham/Developer/personal/robylon-react-native-sdk/src/FloatingButton.tsx";var FloatingButton=function FloatingButton(_ref){var onPress=_ref.onPress,_ref$brandColor=_ref.brandColor,brandColor=_ref$brandColor===void 0?"#007AFF":_ref$brandColor,imageUrl=_ref.imageUrl;var handleImageError=function handleImageError(){_ErrorTrackingService.errorTracker.trackError(new Error("Failed to load button image"),"FloatingButton",{type:_errorConstants.ErrorTypes.RUNTIME_ERROR,context:{imageUrl:imageUrl}});};return(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{style:[styles.button,{backgroundColor:brandColor}],onPress:onPress,children:imageUrl?(0,_jsxRuntime.jsx)(_reactNative.Image,{source:{uri:imageUrl},style:styles.buttonImage,onError:handleImageError}):(0,_jsxRuntime.jsx)(_reactNative.Text,{style:styles.buttonText,children:"Chat"})});};var styles=_reactNative.StyleSheet.create({button:{position:"absolute",top:20,right:20,borderRadius:24,width:48,height:48,justifyContent:"center",alignItems:"center",elevation:5,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:0.25,shadowRadius:3.84},buttonText:{color:"white",fontSize:16,fontWeight:"bold"},buttonImage:{width:48,height:48,borderRadius:24}});var _default=exports.default=FloatingButton;
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _ErrorTrackingService=require("./services/ErrorTrackingService");var _errorConstants=require("./constants/errorConstants");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/jobinabraham/Developer/personal/robylon-react-native-sdk/src/FloatingButton.tsx";var FloatingButton=function FloatingButton(_ref){var onPress=_ref.onPress,_ref$brandColor=_ref.brandColor,brandColor=_ref$brandColor===void 0?"#007AFF":_ref$brandColor,imageUrl=_ref.imageUrl;var handleImageError=function handleImageError(){_ErrorTrackingService.errorTracker.trackError(new Error("Failed to load button image"),"FloatingButton",{type:_errorConstants.ErrorTypes.RUNTIME_ERROR,context:{imageUrl:imageUrl}});};return(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{style:[styles.button,{backgroundColor:brandColor}],onPress:onPress,children:imageUrl?(0,_jsxRuntime.jsx)(_reactNative.Image,{source:{uri:imageUrl},style:styles.buttonImage,onError:handleImageError}):(0,_jsxRuntime.jsx)(_reactNative.Text,{style:styles.buttonText,children:"Chat"})});};var styles=_reactNative.StyleSheet.create({button:{position:"absolute",top:20,right:20,borderRadius:24,width:48,height:48,justifyContent:"center",alignItems:"center",elevation:5,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:0.25,shadowRadius:3.84,zIndex:999},buttonText:{color:"white",fontSize:16,fontWeight:"bold"},buttonImage:{width:48,height:48,borderRadius:24}});var _default=exports.default=FloatingButton;
2
2
  //# sourceMappingURL=FloatingButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ErrorTrackingService","_errorConstants","_jsxRuntime","_this","_jsxFileName","FloatingButton","_ref","onPress","_ref$brandColor","brandColor","imageUrl","handleImageError","errorTracker","trackError","Error","type","ErrorTypes","RUNTIME_ERROR","context","jsx","TouchableOpacity","style","styles","button","backgroundColor","children","Image","source","uri","buttonImage","onError","Text","buttonText","StyleSheet","create","position","top","right","borderRadius","width","height","justifyContent","alignItems","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","color","fontSize","fontWeight","_default","exports","default"],"sourceRoot":"../../src","sources":["FloatingButton.tsx"],"mappings":"m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,CAACU,UAAW,CAAAP,QAAA,CAAC,MAAI,CAAM,CAC3C,CACe,CAAC,CAEvB,CAAC,CAED,GAAM,CAAAH,MAAM,CAAGW,uBAAU,CAACC,MAAM,CAAC,CAC/BX,MAAM,CAAE,CACNY,QAAQ,CAAE,UAAU,CACpBC,GAAG,CAAE,EAAE,CAEPC,KAAK,CAAE,EAAE,CACTC,YAAY,CAAE,EAAE,CAChBC,KAAK,CAAE,EAAE,CACTC,MAAM,CAAE,EAAE,CACVC,cAAc,CAAE,QAAQ,CACxBC,UAAU,CAAE,QAAQ,CACpBC,SAAS,CAAE,CAAC,CACZC,WAAW,CAAE,MAAM,CACnBC,YAAY,CAAE,CAAEN,KAAK,CAAE,CAAC,CAAEC,MAAM,CAAE,CAAE,CAAC,CACrCM,aAAa,CAAE,IAAI,CACnBC,YAAY,CAAE,IAChB,CAAC,CACDf,UAAU,CAAE,CACVgB,KAAK,CAAE,OAAO,CACdC,QAAQ,CAAE,EAAE,CACZC,UAAU,CAAE,MACd,CAAC,CACDrB,WAAW,CAAE,CACXU,KAAK,CAAE,EAAE,CACTC,MAAM,CAAE,EAAE,CACVF,YAAY,CAAE,EAChB,CACF,CAAC,CAAC,CAAC,IAAAa,QAAA,CAAAC,OAAA,CAAAC,OAAA,CAEYhD,cAAc","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ErrorTrackingService","_errorConstants","_jsxRuntime","_this","_jsxFileName","FloatingButton","_ref","onPress","_ref$brandColor","brandColor","imageUrl","handleImageError","errorTracker","trackError","Error","type","ErrorTypes","RUNTIME_ERROR","context","jsx","TouchableOpacity","style","styles","button","backgroundColor","children","Image","source","uri","buttonImage","onError","Text","buttonText","StyleSheet","create","position","top","right","borderRadius","width","height","justifyContent","alignItems","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","zIndex","color","fontSize","fontWeight","_default","exports","default"],"sourceRoot":"../../src","sources":["FloatingButton.tsx"],"mappings":"mKAAA,IAAAA,M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AAAP,QAAA,CAAC,MAAI,CAAM,CAC3C,CACe,CAAC,CAEvB,CAAC,CAED,GAAM,CAAAH,MAAM,CAAGW,uBAAU,CAACC,MAAM,CAAC,CAC/BX,MAAM,CAAE,CACNY,QAAQ,CAAE,UAAU,CACpBC,GAAG,CAAE,EAAE,CAEPC,KAAK,CAAE,EAAE,CACTC,YAAY,CAAE,EAAE,CAChBC,KAAK,CAAE,EAAE,CACTC,MAAM,CAAE,EAAE,CACVC,cAAc,CAAE,QAAQ,CACxBC,UAAU,CAAE,QAAQ,CACpBC,SAAS,CAAE,CAAC,CACZC,WAAW,CAAE,MAAM,CACnBC,YAAY,CAAE,CAAEN,KAAK,CAAE,CAAC,CAAEC,MAAM,CAAE,CAAE,CAAC,CACrCM,aAAa,CAAE,IAAI,CACnBC,YAAY,CAAE,IAAI,CAClBC,MAAM,CAAE,GACV,CAAC,CACDhB,UAAU,CAAE,CACViB,KAAK,CAAE,OAAO,CACdC,QAAQ,CAAE,EAAE,CACZC,UAAU,CAAE,MACd,CAAC,CACDtB,WAAW,CAAE,CACXU,KAAK,CAAE,EAAE,CACTC,MAAM,CAAE,EAAE,CACVF,YAAY,CAAE,EAChB,CACF,CAAC,CAAC,CAAC,IAAAc,QAAA,CAAAC,OAAA,CAAAC,OAAA,CAEYjD,cAAc","ignoreList":[]}
@@ -1,3 +1,2 @@
1
-
2
- //# sourceMappingURL=openChatbot.js.mape",{value:true});exports.openChatbot=void 0;var _reactNative=require("react-native");var _constants=require("./constants");var openChatbot=exports.openChatbot=function openChatbot(chatbotId){var additionalParams=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var params=new URLSearchParams(Object.assign({id:chatbotId},additionalParams));var url=`${_constants.BASE_CHATBOT_URL}?${params.toString()}`;_reactNative.Linking.openURL(url);};
1
+ Object.defineProperty(exports,"__esModule",{value:true});exports.openChatbot=void 0;var _reactNative=require("react-native");var _constants=require("./constants");var openChatbot=exports.openChatbot=function openChatbot(chatbotId){var additionalParams=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var params=new URLSearchParams(Object.assign({id:chatbotId},additionalParams));var url=`${_constants.BASE_CHATBOT_URL}?${params.toString()}`;_reactNative.Linking.openURL(url);};
3
2
  //# sourceMappingURL=openChatbot.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../src","sources":["openChatbot.tsx"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_constants","openChatbot","exports","chatbotId","additionalParams","arguments","length","undefined","params","URLSearchParams","Object","assign","id","url","BASE_CHATBOT_URL","toString","Linking","openURL"],"sourceRoot":"../../src","sources":["openChatbot.ts"],"mappings":"oFAAA,IAAAA,YAAA,CAAAC,OAAA,iBACA,IAAAC,UAAA,CAAAD,OAAA,gBAEO,GAAM,CAAAE,WAAW,CAAAC,OAAA,CAAAD,WAAA,CAAG,QAAd,CAAAA,WAAWA,CACtBE,SAAiB,CAER,IADT,CAAAC,gBAAwC,CAAAC,SAAA,CAAAC,MAAA,IAAAD,SAAA,MAAAE,SAAA,CAAAF,SAAA,IAAG,CAAC,CAAC,CAE7C,GAAM,CAAAG,MAAM,CAAG,GAAI,CAAAC,eAAe,CAAAC,MAAA,CAAAC,MAAA,EAAGC,EAAE,CAAET,SAAS,EAAKC,gBAAgB,CAAE,CAAC,CAC1E,GAAM,CAAAS,GAAG,CAAG,GAAGC,2BAAgB,IAAIN,MAAM,CAACO,QAAQ,CAAC,CAAC,EAAE,CACtDC,oBAAO,CAACC,OAAO,CAACJ,GAAG,CAAC,CACtB,CAAC","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- Object.defineProperty(exports,"__esModule",{value:true});exports.SDK_VERSION=void 0;var SDK_VERSION=exports.SDK_VERSION='2.0.19-staging.52';
1
+ Object.defineProperty(exports,"__esModule",{value:true});exports.SDK_VERSION=void 0;var SDK_VERSION=exports.SDK_VERSION='2.0.19-staging.53';
2
2
  //# sourceMappingURL=version.staging.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FloatingButton.d.ts","sourceRoot":"","sources":["../../src/FloatingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,mBAAmB;IAC3B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgCjD,CAAC;AA+BF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"FloatingButton.d.ts","sourceRoot":"","sources":["../../src/FloatingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,mBAAmB;IAC3B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgCjD,CAAC;AAgCF,eAAe,cAAc,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.19-staging.52";
1
+ export declare const SDK_VERSION = "2.0.19-staging.53";
2
2
  //# sourceMappingURL=version.staging.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robylon/react-native-sdk",
3
- "version": "2.0.19-staging.52",
3
+ "version": "2.0.19-staging.53",
4
4
  "description": "React Native SDK for Robylon",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -59,6 +59,7 @@ const styles = StyleSheet.create({
59
59
  shadowOffset: { width: 0, height: 2 },
60
60
  shadowOpacity: 0.25,
61
61
  shadowRadius: 3.84,
62
+ zIndex: 999,
62
63
  },
63
64
  buttonText: {
64
65
  color: "white",
@@ -1,2 +1,2 @@
1
1
  // This file is auto-generated. Do not modify it manually.
2
- export const SDK_VERSION = '2.0.19-staging.52';
2
+ export const SDK_VERSION = '2.0.19-staging.53';