notifly-sdk 1.1.0 → 1.1.1

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 (2) hide show
  1. package/index.js +0 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -72,9 +72,7 @@ exports.initialize = async function (prjId, userName, password) {
72
72
  AsyncStorage.setItem('notiflyUserName', userName),
73
73
  AsyncStorage.setItem('notiflyUserPassword', password),
74
74
  ])
75
- console.log(4)
76
75
  await _sessionStart();
77
- console.log(5)
78
76
  } catch (err) {
79
77
  console.warn("[Notifly]: ", err);
80
78
  }
@@ -230,7 +228,6 @@ async function logEvent(eventName, eventParams, segmentation_event_param_keys =
230
228
 
231
229
  const response = await _apiCall("https://12lnng07q2.execute-api.ap-northeast-2.amazonaws.com/prod/records", requestOptions);
232
230
  const result = JSON.parse(response)
233
- console.log('api', result)
234
231
  if (result.message == "The incoming token has expired") {
235
232
  const [userName, password] = await Promise.all([AsyncStorage.getItem('notiflyUserName'), AsyncStorage.getItem('notiflyUserPassword')])
236
233
  const newToken = await getCognitoIdToken(userName, password);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notifly-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {