@turnkey/react-wallet-kit 1.3.0 → 1.3.2

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.
@@ -3645,6 +3645,7 @@ var ClientProvider = function ClientProvider(_ref) {
3645
3645
  var oidcToken = resp.oidcToken;
3646
3646
  if (params !== null && params !== void 0 && params.onOauthSuccess) {
3647
3647
  params.onOauthSuccess(_objectSpread2({
3648
+ publicKey: publicKey,
3648
3649
  oidcToken: oidcToken,
3649
3650
  providerName: "discord"
3650
3651
  }, sessionKey && {
@@ -3827,6 +3828,7 @@ var ClientProvider = function ClientProvider(_ref) {
3827
3828
  var oidcToken = resp.oidcToken;
3828
3829
  if (params !== null && params !== void 0 && params.onOauthSuccess) {
3829
3830
  params.onOauthSuccess(_objectSpread2({
3831
+ publicKey: publicKey,
3830
3832
  oidcToken: oidcToken,
3831
3833
  providerName: "twitter"
3832
3834
  }, sessionKey && {
@@ -3997,6 +3999,7 @@ var ClientProvider = function ClientProvider(_ref) {
3997
3999
  clearInterval(interval);
3998
4000
  if (params !== null && params !== void 0 && params.onOauthSuccess) {
3999
4001
  params.onOauthSuccess(_objectSpread2({
4002
+ publicKey: publicKey,
4000
4003
  oidcToken: idToken,
4001
4004
  providerName: "google"
4002
4005
  }, sessionKey && {
@@ -4163,6 +4166,7 @@ var ClientProvider = function ClientProvider(_ref) {
4163
4166
  clearInterval(interval);
4164
4167
  if (params !== null && params !== void 0 && params.onOauthSuccess) {
4165
4168
  params.onOauthSuccess(_objectSpread2({
4169
+ publicKey: publicKey,
4166
4170
  oidcToken: idToken,
4167
4171
  providerName: "apple"
4168
4172
  }, sessionKey && {
@@ -4347,6 +4351,7 @@ var ClientProvider = function ClientProvider(_ref) {
4347
4351
  sessionStorage.removeItem("facebook_verifier");
4348
4352
  if (params !== null && params !== void 0 && params.onOauthSuccess) {
4349
4353
  params.onOauthSuccess(_objectSpread2({
4354
+ publicKey: publicKey,
4350
4355
  oidcToken: tokenData.id_token,
4351
4356
  providerName: "facebook"
4352
4357
  }, sessionKey && {
@@ -5892,9 +5897,6 @@ var ClientProvider = function ClientProvider(_ref) {
5892
5897
  type: type,
5893
5898
  account: account
5894
5899
  });
5895
- },
5896
- onError: function onError(error) {
5897
- reject(error);
5898
5900
  }
5899
5901
  }),
5900
5902
  onClose: function onClose() {