@amityco/ts-sdk 6.5.7-a135b3d.0 → 6.5.7-aa53ef5.0

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 +1 @@
1
- {"version":3,"file":"onOnline.d.ts","sourceRoot":"","sources":["../../../src/client/utils/onOnline.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,aAAc,MAAM,IAAI,QAwB5C,CAAC"}
1
+ {"version":3,"file":"onOnline.d.ts","sourceRoot":"","sources":["../../../src/client/utils/onOnline.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,aAAc,MAAM,IAAI,QAyB5C,CAAC"}
package/dist/index.cjs.js CHANGED
@@ -21010,6 +21010,7 @@ const onOnline = (callback) => {
21010
21010
  document.addEventListener('online', callback);
21011
21011
  return () => document.removeEventListener('online', callback);
21012
21012
  }
21013
+ // @TODO: Please update code below to follow our coding conventions and our TS rules
21013
21014
  if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {
21014
21015
  // eslint-disable-next-line @typescript-eslint/no-var-requires,global-require
21015
21016
  const NetInfo = require('@react-native-community/netinfo');
package/dist/index.esm.js CHANGED
@@ -20996,6 +20996,7 @@ const onOnline = (callback) => {
20996
20996
  document.addEventListener('online', callback);
20997
20997
  return () => document.removeEventListener('online', callback);
20998
20998
  }
20999
+ // @TODO: Please update code below to follow our coding conventions and our TS rules
20999
21000
  if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {
21000
21001
  // eslint-disable-next-line @typescript-eslint/no-var-requires,global-require
21001
21002
  const NetInfo = require('@react-native-community/netinfo');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amityco/ts-sdk",
3
- "version": "6.5.7-a135b3d.0",
3
+ "version": "6.5.7-aa53ef5.0",
4
4
  "license": "CC-BY-ND-4.0",
5
5
  "author": "amity.co <developers@amity.co> (https://amity.co)",
6
6
  "description": "Amity Social Cloud Typescript SDK",
@@ -9,6 +9,7 @@ export const onOnline = (callback: () => void) => {
9
9
  return () => document.removeEventListener('online', callback);
10
10
  }
11
11
 
12
+ // @TODO: Please update code below to follow our coding conventions and our TS rules
12
13
  if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {
13
14
  // eslint-disable-next-line @typescript-eslint/no-var-requires,global-require
14
15
  const NetInfo = require('@react-native-community/netinfo');