@microsoft/ocsdk 0.5.21-main.cc89d16 → 0.5.22-main.12fe119

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 (72) hide show
  1. package/README.md +4 -0
  2. package/dist/SDK.min.js +2 -10
  3. package/dist/SDK.min.js.LICENSE.txt +3 -0
  4. package/lib/Common/Constants.js +4 -10
  5. package/lib/Common/Enums.js +28 -49
  6. package/lib/Common/EventNames.js +3 -11
  7. package/lib/Common/Locales.js +5 -10
  8. package/lib/Common/Locales.js.map +1 -1
  9. package/lib/Common/Mappings.js +1 -1
  10. package/lib/Common/OCSDKLogger.js +3 -14
  11. package/lib/Common/OmnichannelEndpoints.js +4 -9
  12. package/lib/Common/OmnichannelHTTPHeaders.js +4 -9
  13. package/lib/Common/RequestTimeoutConfig.js +1 -1
  14. package/lib/Interfaces/IAxiosRetryOptions.js +1 -1
  15. package/lib/Interfaces/IDataMaskingInfo.js +1 -1
  16. package/lib/Interfaces/IEmailTranscriptOptionalParams.js +1 -1
  17. package/lib/Interfaces/IGetChatTokenOptionalParams.js +1 -1
  18. package/lib/Interfaces/IGetChatTranscriptsOptionalParams.js +1 -1
  19. package/lib/Interfaces/IGetLWIDetailsOptionalParams.js +1 -1
  20. package/lib/Interfaces/IGetPersistentChatHistoryOptionalParams.js +1 -1
  21. package/lib/Interfaces/IGetQueueAvailabilityOptionalParams.js +1 -1
  22. package/lib/Interfaces/IGetSurveyInviteLinkOptionalParams.js +1 -1
  23. package/lib/Interfaces/IOCSDKLogger.js +1 -1
  24. package/lib/Interfaces/IOmnichannelConfiguration.js +1 -1
  25. package/lib/Interfaces/IPosition.js +1 -1
  26. package/lib/Interfaces/IReconnectAvailabilityOptionalParams.js +1 -1
  27. package/lib/Interfaces/IReconnectableChatsParams.js +1 -1
  28. package/lib/Interfaces/ISDK.js +1 -1
  29. package/lib/Interfaces/ISDKConfiguration.js +1 -1
  30. package/lib/Interfaces/ISecondaryChannelEventOptionalParams.js +1 -1
  31. package/lib/Interfaces/ISendTypingIndicatorOptionalParams.js +1 -1
  32. package/lib/Interfaces/ISessionCloseOptionalParams.js +1 -1
  33. package/lib/Interfaces/ISessionInitOptionalParams.js +1 -1
  34. package/lib/Interfaces/ISubmitPostChatResponseOptionalParams.js +1 -1
  35. package/lib/Interfaces/ITimer.js +1 -1
  36. package/lib/Interfaces/IValidateAuthChatRecordOptionalParams.js +1 -1
  37. package/lib/Interfaces/OmnichannelQueryParameter.js +1 -1
  38. package/lib/Model/FetchChatTokenResponse.js +4 -9
  39. package/lib/Model/ILogger.js +1 -1
  40. package/lib/Model/IOCSDKLogData.js +1 -1
  41. package/lib/Model/InitContext.js +5 -9
  42. package/lib/Model/Location.js +4 -8
  43. package/lib/Model/LogLevel.js +4 -6
  44. package/lib/Model/QueueAvailability.js +28 -9
  45. package/lib/Model/ReconnectAvailability.js +13 -9
  46. package/lib/Model/ReconnectMappingRecord.js +22 -9
  47. package/lib/SDK.d.ts +1 -1
  48. package/lib/SDK.js +1893 -2411
  49. package/lib/SDK.js.map +1 -1
  50. package/lib/SDKProvider.js +3 -14
  51. package/lib/Utils/BrowserInfo.js +6 -36
  52. package/lib/Utils/CustomContextData.js +7 -17
  53. package/lib/Utils/DeviceInfo.js +3 -15
  54. package/lib/Utils/EventManager.js +4 -15
  55. package/lib/Utils/LocationInfo.js +27 -47
  56. package/lib/Utils/LoggingSanitizer.js +14 -45
  57. package/lib/Utils/OSInfo.js +3 -21
  58. package/lib/Utils/SessionInitRetryHandler.js +5 -17
  59. package/lib/Utils/TelemetryHelper.js +3 -12
  60. package/lib/Utils/Timer.js +3 -12
  61. package/lib/Utils/axiosRetryHandler.js +14 -43
  62. package/lib/Utils/endpointsCreators.js +4 -16
  63. package/lib/Utils/httpHeadersUtils.js +2 -10
  64. package/lib/Utils/isExpectedAxiosError.js +2 -8
  65. package/lib/Utils/setAuthCodeNonce.js +1 -1
  66. package/lib/Utils/sleep.js +2 -5
  67. package/lib/Utils/throwClientHTTPError.js +2 -6
  68. package/lib/Utils/uuid.js +3 -6
  69. package/lib/Utils/waitTimeBetweenRetriesConfigs.js +2 -3
  70. package/lib/index.js +4 -14
  71. package/package.json +20 -14
  72. package/dist/SDK.js +0 -9266
package/README.md CHANGED
@@ -266,6 +266,10 @@ These are the available config options with its default values for the SDK.
266
266
  }
267
267
  ```
268
268
 
269
+ # Releasing
270
+
271
+ See [docs/RELEASING.md](docs/RELEASING.md) for how to publish new versions to npm.
272
+
269
273
  # Contributing
270
274
 
271
275
  This project welcomes contributions and suggestions. Most contributions require you to agree to a