@livechat/postmessage
Advanced tools
Comparing version
@@ -907,3 +907,3 @@ 'use strict'; | ||
if (process.env.NODE_ENV !== 'production' && handshakeRetry.count && handshakeRetry.count < 500) { | ||
if (process.env.NODE_ENV !== 'production' && typeof handshakeRetry.interval === 'number' && handshakeRetry.interval < 500) { | ||
throw new Error('`handshakeRetry.interval` should be no less than 500.'); | ||
@@ -910,0 +910,0 @@ } |
@@ -901,3 +901,3 @@ import { noop, once, hasOwn, partitionObject, generateRandomId } from '@livechat/data-utils'; | ||
if (process.env.NODE_ENV !== 'production' && handshakeRetry.count && handshakeRetry.count < 500) { | ||
if (process.env.NODE_ENV !== 'production' && typeof handshakeRetry.interval === 'number' && handshakeRetry.interval < 500) { | ||
throw new Error('`handshakeRetry.interval` should be no less than 500.'); | ||
@@ -904,0 +904,0 @@ } |
@@ -267,3 +267,3 @@ 'use strict'; | ||
if (process.env.NODE_ENV !== 'production' && handshakeRetry.count && handshakeRetry.count < 500) { | ||
if (process.env.NODE_ENV !== 'production' && typeof handshakeRetry.interval === 'number' && handshakeRetry.interval < 500) { | ||
throw new Error('`handshakeRetry.interval` should be no less than 500.'); | ||
@@ -270,0 +270,0 @@ } |
@@ -261,3 +261,3 @@ import { noop, once, hasOwn, partitionObject, generateRandomId } from '@livechat/data-utils'; | ||
if (process.env.NODE_ENV !== 'production' && handshakeRetry.count && handshakeRetry.count < 500) { | ||
if (process.env.NODE_ENV !== 'production' && typeof handshakeRetry.interval === 'number' && handshakeRetry.interval < 500) { | ||
throw new Error('`handshakeRetry.interval` should be no less than 500.'); | ||
@@ -264,0 +264,0 @@ } |
{ | ||
"name": "@livechat/postmessage", | ||
"version": "0.3.2-0", | ||
"version": "0.3.2-1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
99899
0.1%