backendless 6.3.11 → 6.3.13

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.
@@ -166,6 +166,12 @@ var Channel = (_dec = _rt.RTScopeConnector.connectionRequired(), (_class = /*#__
166
166
  (0, _get2["default"])((0, _getPrototypeOf2["default"])(Channel.prototype), "addUserStatusListener", this).call(this, callback, onError);
167
167
  return this;
168
168
  }
169
+ }, {
170
+ key: "removeCommandListener",
171
+ value: function removeCommandListener(callback) {
172
+ (0, _get2["default"])((0, _getPrototypeOf2["default"])(Channel.prototype), "removeCommandListeners", this).call(this, callback);
173
+ return this;
174
+ }
169
175
  }, {
170
176
  key: "removeCommandListeners",
171
177
  value: function removeCommandListeners(callback) {
@@ -155,6 +155,12 @@ var RemoteSharedObject = (_dec = _rt.RTScopeConnector.connectionRequired(), _dec
155
155
  (0, _get2["default"])((0, _getPrototypeOf2["default"])(RemoteSharedObject.prototype), "addCommandListener", this).call(this, callback, onError);
156
156
  return this;
157
157
  }
158
+ }, {
159
+ key: "removeCommandListener",
160
+ value: function removeCommandListener(callback) {
161
+ (0, _get2["default"])((0, _getPrototypeOf2["default"])(RemoteSharedObject.prototype), "removeCommandListeners", this).call(this, callback);
162
+ return this;
163
+ }
158
164
  }, {
159
165
  key: "removeCommandListeners",
160
166
  value: function removeCommandListeners(callback) {
package/es/users/index.js CHANGED
@@ -951,14 +951,15 @@ var Users = /*#__PURE__*/function () {
951
951
  }()
952
952
  }, {
953
953
  key: "getAuthorizationUrlLink",
954
- value: function getAuthorizationUrlLink(providerCode, fieldsMapping, scope, redirect, redirectAfterLoginUrl) {
954
+ value: function getAuthorizationUrlLink(providerCode, fieldsMapping, scope, redirect, redirectAfterLoginUrl, callbackUrlDomain) {
955
955
  return this.app.request.post({
956
956
  url: this.app.urls.userAuthorizationURL(providerCode),
957
957
  data: {
958
958
  fieldsMapping: fieldsMapping,
959
959
  permissions: scope,
960
960
  redirect: redirect,
961
- redirectAfterLoginUrl: redirectAfterLoginUrl
961
+ redirectAfterLoginUrl: redirectAfterLoginUrl,
962
+ callbackUrlDomain: callbackUrlDomain
962
963
  }
963
964
  });
964
965
  }
@@ -166,6 +166,12 @@ var Channel = (_dec = _rt.RTScopeConnector.connectionRequired(), (_class = /*#__
166
166
  (0, _get2["default"])((0, _getPrototypeOf2["default"])(Channel.prototype), "addUserStatusListener", this).call(this, callback, onError);
167
167
  return this;
168
168
  }
169
+ }, {
170
+ key: "removeCommandListener",
171
+ value: function removeCommandListener(callback) {
172
+ (0, _get2["default"])((0, _getPrototypeOf2["default"])(Channel.prototype), "removeCommandListeners", this).call(this, callback);
173
+ return this;
174
+ }
169
175
  }, {
170
176
  key: "removeCommandListeners",
171
177
  value: function removeCommandListeners(callback) {
@@ -155,6 +155,12 @@ var RemoteSharedObject = (_dec = _rt.RTScopeConnector.connectionRequired(), _dec
155
155
  (0, _get2["default"])((0, _getPrototypeOf2["default"])(RemoteSharedObject.prototype), "addCommandListener", this).call(this, callback, onError);
156
156
  return this;
157
157
  }
158
+ }, {
159
+ key: "removeCommandListener",
160
+ value: function removeCommandListener(callback) {
161
+ (0, _get2["default"])((0, _getPrototypeOf2["default"])(RemoteSharedObject.prototype), "removeCommandListeners", this).call(this, callback);
162
+ return this;
163
+ }
158
164
  }, {
159
165
  key: "removeCommandListeners",
160
166
  value: function removeCommandListeners(callback) {
@@ -951,14 +951,15 @@ var Users = /*#__PURE__*/function () {
951
951
  }()
952
952
  }, {
953
953
  key: "getAuthorizationUrlLink",
954
- value: function getAuthorizationUrlLink(providerCode, fieldsMapping, scope, redirect, redirectAfterLoginUrl) {
954
+ value: function getAuthorizationUrlLink(providerCode, fieldsMapping, scope, redirect, redirectAfterLoginUrl, callbackUrlDomain) {
955
955
  return this.app.request.post({
956
956
  url: this.app.urls.userAuthorizationURL(providerCode),
957
957
  data: {
958
958
  fieldsMapping: fieldsMapping,
959
959
  permissions: scope,
960
960
  redirect: redirect,
961
- redirectAfterLoginUrl: redirectAfterLoginUrl
961
+ redirectAfterLoginUrl: redirectAfterLoginUrl,
962
+ callbackUrlDomain: callbackUrlDomain
962
963
  }
963
964
  });
964
965
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backendless",
3
- "version": "6.3.11",
3
+ "version": "6.3.13",
4
4
  "description": "Backendless JavaScript SDK for Node.js and the browser",
5
5
  "browser": "dist/backendless.js",
6
6
  "main": "lib/index.js",
@@ -115,6 +115,12 @@ export default class Channel extends RTScopeConnector {
115
115
  return this
116
116
  }
117
117
 
118
+ removeCommandListener(callback) {
119
+ super.removeCommandListeners.call(this, callback)
120
+
121
+ return this
122
+ }
123
+
118
124
  removeCommandListeners(callback) {
119
125
  super.removeCommandListeners.call(this, callback)
120
126
 
@@ -94,6 +94,12 @@ export default class RemoteSharedObject extends RTScopeConnector {
94
94
  return this
95
95
  }
96
96
 
97
+ removeCommandListener(callback) {
98
+ super.removeCommandListeners.call(this, callback)
99
+
100
+ return this
101
+ }
102
+
97
103
  removeCommandListeners(callback) {
98
104
  super.removeCommandListeners.call(this, callback)
99
105
 
@@ -307,10 +307,10 @@ export default class Users {
307
307
  })
308
308
  }
309
309
 
310
- getAuthorizationUrlLink(providerCode, fieldsMapping, scope, redirect, redirectAfterLoginUrl) {
310
+ getAuthorizationUrlLink(providerCode, fieldsMapping, scope, redirect, redirectAfterLoginUrl, callbackUrlDomain) {
311
311
  return this.app.request.post({
312
312
  url : this.app.urls.userAuthorizationURL(providerCode),
313
- data: { fieldsMapping, permissions: scope, redirect, redirectAfterLoginUrl }
313
+ data: { fieldsMapping, permissions: scope, redirect, redirectAfterLoginUrl, callbackUrlDomain }
314
314
  })
315
315
  }
316
316