edoctor-sendbird-calls 1.0.1-beta.2 → 1.0.1-beta.3

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.
@@ -130,7 +130,7 @@ class RNSendBirdCalls: RCTEventEmitter, SendBirdCallDelegate, DirectCallDelegate
130
130
  return
131
131
  }
132
132
 
133
- print(TAG + "AUTHENTICATE SUCCESS" + user.userId)
133
+ print(self.TAG + "AUTHENTICATE SUCCESS" + user.userId)
134
134
 
135
135
  resolve(["succeeded": true ,"userId": user.userId, "nickname": user.nickname ?? ""])
136
136
  }
@@ -139,9 +139,9 @@ class RNSendBirdCalls: RCTEventEmitter, SendBirdCallDelegate, DirectCallDelegate
139
139
  @objc func deAuthenticate(_ resolve: @escaping RCTPromiseResolveBlock, rejecter reject: @escaping RCTPromiseRejectBlock) -> Void {
140
140
  SendBirdCall.unregisterAllVoIPPushTokens { error in
141
141
  guard error == nil else {
142
- print(TAG + "error deauthen")
142
+ print(self.TAG + "error deauthen")
143
143
  let message = error?.localizedDescription ?? "Có lỗi xảy ra"
144
- print(TAG + message)
144
+ print(self.TAG + message)
145
145
  return
146
146
  }
147
147
  }
@@ -153,7 +153,7 @@ class RNSendBirdCalls: RCTEventEmitter, SendBirdCallDelegate, DirectCallDelegate
153
153
  return
154
154
  }
155
155
 
156
- print(TAG + "DEAUTHENTICATE SUCCESS")
156
+ print(self.TAG + "DEAUTHENTICATE SUCCESS")
157
157
  resolve(["succeeded": true ])
158
158
  }
159
159
  }
@@ -184,7 +184,7 @@ class RNSendBirdCalls: RCTEventEmitter, SendBirdCallDelegate, DirectCallDelegate
184
184
  return
185
185
  }
186
186
 
187
- print(TAG + "DIAL SUCCESS")
187
+ print(self.TAG + "DIAL SUCCESS")
188
188
  resolve(["succeeded": true ,"callId": call.callId, "caller": call.caller?.userId ?? "", "callee": call.callee?.userId ?? ""])
189
189
  }
190
190
  CALL_ACTIVE = directCall;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edoctor-sendbird-calls",
3
- "version": "1.0.1-beta.2",
3
+ "version": "1.0.1-beta.3",
4
4
  "description": "edoctor-sendbird-calls",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",