mozrest-sdk-react-dev 0.3.65 → 0.3.67

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/mozrest-sdk.es.js +44 -32
  2. package/package.json +1 -1
package/mozrest-sdk.es.js CHANGED
@@ -7769,14 +7769,14 @@ const youDontHaveReviewsYet$4 = "You don't have reviews yet";
7769
7769
  const temporarilyClosed$4 = "Temporarily closed";
7770
7770
  const address$4 = "Address";
7771
7771
  const editTheAddressBelowToUpdateYourBingProfile$4 = "Edit the address below to update your Bing profile";
7772
- const listingLoacationDesc$4 = "Note : You need to click 'Location' in your Google Business Account to edit your address on Google and click 'About' then 'Contact Info' to edit the adress on Facebook.";
7772
+ const listingLoacationDesc$4 = "Note: You need to click 'Location' in your Google Business Profile to edit your address on Google and click 'About' then 'Contact Info' to edit the address on Facebook.";
7773
7773
  const listingLoacationDesc2$4 = "Move the pin on the map below to precisely locate the entry access point of your restaurant on Facebook and Bing.";
7774
- const listingLoacationDesc3$4 = "Note: You need to click 'Location' in your Google Business Account to adjust the pin on Google.";
7774
+ const listingLoacationDesc3$4 = "Note: You need to click 'Location' in your Google Business Profile to adjust the pin on Google.";
7775
7775
  const location$5 = "Location";
7776
- const googleMyBusinessLinks$4 = "Google My Business links";
7776
+ const googleMyBusinessLinks$4 = "Google Business Profile links";
7777
7777
  const socialLinks$4 = "Social links";
7778
7778
  const gettingStarted$4 = "Getting started";
7779
- const hello$4 = "Hola";
7779
+ const hello$4 = "Hello";
7780
7780
  const Close$5 = "Close";
7781
7781
  const publishing$4 = "publishing";
7782
7782
  const success$6 = "success";
@@ -8391,10 +8391,10 @@ const en = {
8391
8391
  hello: hello$4,
8392
8392
  "The purpose of Listing and Review is to help you manage your contents and comments from one place.": "The purpose of Listing and Reviews is to help you manage your content and comments all in one place.",
8393
8393
  "To initiate the service, we will be able to control each step of data synchronisation:": "When initiating the service, we will control each step of data synchronisation:",
8394
- "Review your information before publishing the information to Google My Business": "Check your information before posting to Google My Business.",
8394
+ "Review your information before publishing the information to Google My Business": "Check your information before posting to Google Business Profile.",
8395
8395
  "Push the enhanced data to you Google profile": "Push the enhanced data to your Google profile.",
8396
8396
  "Connect additional channels (Facebook, Bing...)": "Connect additional channels (Facebook, Bing...)",
8397
- "I don't have a Google My Business account": "I don't have a Google My Business account",
8397
+ "I don't have a Google My Business account": "I don't have a Google Business Profile",
8398
8398
  "Setup my profile": "Setup my profile",
8399
8399
  "Connect with Google": "Connect with Google",
8400
8400
  "Congratulations! You're all setup.": "Congratulations! You're all setup.",
@@ -8418,7 +8418,7 @@ const en = {
8418
8418
  "Please select an accout that you want to connect to Google": "Replace it with: Please select an account that you want to connect to Google.",
8419
8419
  loadingAnalytics: loadingAnalytics$4,
8420
8420
  "You don't have a connected Google Account": "You don't have a connected Google Account",
8421
- "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google My Business profile first.": "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google My Business profile first.",
8421
+ "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google My Business profile first.": "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google Business Profile first.",
8422
8422
  "Your Google Business Profile is not Verified": "Your Google Business Profile is not verified.",
8423
8423
  "The Listing Analytics are coming from the Google Business Profile, in order to see those stats, your Google Business Profile must be Verified.": "Listing Analytics come from your Google Business Profile. To view these statistics, your Google Business Profile must be verified.",
8424
8424
  "Something went wrong": "Something went wrong",
@@ -9025,11 +9025,11 @@ const youDontHaveReviewsYet$3 = "Aún no tienes reseñas";
9025
9025
  const temporarilyClosed$3 = "Cerrado temporalmente";
9026
9026
  const address$3 = "Dirección";
9027
9027
  const editTheAddressBelowToUpdateYourBingProfile$3 = "Edite la dirección a continuación para actualizar su perfil de Bing";
9028
- const listingLoacationDesc$3 = "Nota: Debe hacer clic en 'Ubicación' en su cuenta de Google Business para editar su dirección en Google y hacer clic en 'Acerca de' y luego en 'Información de contacto' para editar la dirección en Facebook.";
9028
+ const listingLoacationDesc$3 = "Nota: Debe hacer clic en 'Ubicación' en su Perfil de Empresa de Google para editar su dirección en Google y hacer clic en 'Acerca de' y luego en 'Información de contacto' para editar la dirección en Facebook.";
9029
9029
  const listingLoacationDesc2$3 = "Mueva el pin en el mapa a continuación para ubicar con precisión el punto de acceso de entrada de su restaurante en Facebook y Bing.";
9030
- const listingLoacationDesc3$3 = "Nota: Debe hacer clic en 'Ubicación' en su cuenta de Google Business para ajustar el pin en Google.";
9030
+ const listingLoacationDesc3$3 = "Nota: Debe hacer clic en 'Ubicación' en su Perfil de Empresa de Google para ajustar el pin en Google.";
9031
9031
  const location$4 = "Ubicación";
9032
- const googleMyBusinessLinks$3 = "Enlaces de Google My Business";
9032
+ const googleMyBusinessLinks$3 = "Enlaces del Perfil de Empresa de Google";
9033
9033
  const socialLinks$3 = "Enlaces sociales";
9034
9034
  const gettingStarted$3 = "Comenzar";
9035
9035
  const hello$3 = "Hola";
@@ -9648,10 +9648,10 @@ const es$2 = {
9648
9648
  hello: hello$3,
9649
9649
  "The purpose of Listing and Review is to help you manage your contents and comments from one place.": "El propósito de Listado y Reseña es ayudarlo a administrar su contenido y comentarios desde un solo lugar.",
9650
9650
  "To initiate the service, we will be able to control each step of data synchronisation:": "Para iniciar el servicio, podremos controlar cada paso de la sincronización de datos:",
9651
- "Review your information before publishing the information to Google My Business": "Revise su información antes de publicar la información en Google My Business",
9651
+ "Review your information before publishing the information to Google My Business": "Revise su información antes de publicar la información en el Perfil de Empresa de Google",
9652
9652
  "Push the enhanced data to you Google profile": "Envíe los datos mejorados a su perfil de Google",
9653
9653
  "Connect additional channels (Facebook, Bing...)": "Conecte canales adicionales (Facebook, Bing ...)",
9654
- "I don't have a Google My Business account": "No tengo una cuenta de Google My Business",
9654
+ "I don't have a Google My Business account": "No tengo un Perfil de Empresa de Google",
9655
9655
  "Setup my profile": "Configurar mi perfil",
9656
9656
  "Connect with Google": "Conectar con Google",
9657
9657
  "Congratulations! You're all setup.": "¡Felicidades! Todo está listo.",
@@ -9675,7 +9675,7 @@ const es$2 = {
9675
9675
  "Please select an accout that you want to connect to Google": "Por favor, seleccione una cuenta que desea conectar a Google",
9676
9676
  loadingAnalytics: loadingAnalytics$3,
9677
9677
  "You don't have a connected Google Account": "No tiene una cuenta de Google conectada",
9678
- "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google My Business profile first.": "Listing Analytics come from your Google Business Profile. To view these statistics, please connect your Google Business Profile first.",
9678
+ "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google My Business profile first.": "Las analíticas de listing provienen de tu Perfil de Empresa de Google. Para ver estas estadísticas, conecta primero tu Perfil de Empresa de Google.",
9679
9679
  "Your Google Business Profile is not Verified": "Su perfil de Google Business no está verificado",
9680
9680
  "The Listing Analytics are coming from the Google Business Profile, in order to see those stats, your Google Business Profile must be Verified.": "Las analíticas de listado provienen del perfil de Google Business, para ver esas estadísticas, su perfil de Google Business debe estar verificado.",
9681
9681
  "Something went wrong": "Algo salió mal",
@@ -10283,11 +10283,11 @@ const youDontHaveReviewsYet$2 = "Vous n'avez pas encore d'avis";
10283
10283
  const temporarilyClosed$2 = "Fermé temporairement";
10284
10284
  const address$2 = "Adresse";
10285
10285
  const editTheAddressBelowToUpdateYourBingProfile$2 = "Modifiez l'adresse ci-dessous pour mettre à jour votre profil Bing";
10286
- const listingLoacationDesc$2 = "Note : Vous devez cliquer sur 'Localisation' dans votre compte Google Business pour modifier votre adresse sur Google et cliquer sur 'À propos' puis 'Informations de contact' pour modifier l'adresse sur Facebook.";
10286
+ const listingLoacationDesc$2 = "Note : Vous devez cliquer sur 'Localisation' dans votre Profil d'Établissement Google pour modifier votre adresse sur Google et cliquer sur 'À propos' puis 'Informations de contact' pour modifier l'adresse sur Facebook.";
10287
10287
  const listingLoacationDesc2$2 = "Déplacez l'épingle sur la carte ci-dessous pour localiser précisément le point d'entrée de votre restaurant sur Facebook et Bing.";
10288
- const listingLoacationDesc3$2 = "Note : Vous devez cliquer sur 'Localisation' dans votre compte Google Business pour ajuster l'épingle sur Google.";
10288
+ const listingLoacationDesc3$2 = "Note : Vous devez cliquer sur 'Localisation' dans votre Profil d'Établissement Google pour ajuster l'épingle sur Google.";
10289
10289
  const location$3 = "Localisation";
10290
- const googleMyBusinessLinks$2 = "Liens Google My Business";
10290
+ const googleMyBusinessLinks$2 = "Liens du Profil d'Établissement Google";
10291
10291
  const socialLinks$2 = "Liens des réseaux sociaux";
10292
10292
  const gettingStarted$2 = "Commencer";
10293
10293
  const hello$2 = "Bonjour";
@@ -10906,10 +10906,10 @@ const fr$1 = {
10906
10906
  hello: hello$2,
10907
10907
  "The purpose of Listing and Review is to help you manage your contents and comments from one place.": "L’objectif de Listing & Review est de vous aider à gérer vos contenus et commentaires en un seul endroit. ",
10908
10908
  "To initiate the service, we will be able to control each step of data synchronisation:": "Lors de l'initiation du service, nous contrôlerons chaque étape de la synchronisation des données : ",
10909
- "Review your information before publishing the information to Google My Business": "Vérifiez vos informations avant de les publier sur Google.",
10909
+ "Review your information before publishing the information to Google My Business": "Vérifiez vos informations avant de les publier sur votre Profil d'Établissement Google.",
10910
10910
  "Push the enhanced data to you Google profile": "Publiez les nouvelles données sur votre profil Google.",
10911
10911
  "Connect additional channels (Facebook, Bing...)": "Connectez des canaux supplémentaires (Facebook, Bing...)",
10912
- "I don't have a Google My Business account": "Je n'ai pas de Fiche d'établissement Google",
10912
+ "I don't have a Google My Business account": "Je n'ai pas de Profil d'Établissement Google",
10913
10913
  "Setup my profile": "Configurer mon profil",
10914
10914
  "Connect with Google": "Se connecter avec Google",
10915
10915
  "Congratulations! You're all setup.": "Félicitations ! Votre configuration est terminée avec succès.",
@@ -10932,7 +10932,7 @@ const fr$1 = {
10932
10932
  "Please select an accout that you want to connect to Google": "Veuillez sélectionner un compte à connecter à Google.",
10933
10933
  loadingAnalytics: loadingAnalytics$2,
10934
10934
  "You don't have a connected Google Account": "Vous n'avez pas de compte Google connecté",
10935
- "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google My Business profile first.": "Les statistiques proviennent de votre Fiche d'Entreprise Google. Pour les consulter, veuillez d'abord connecter votre profil Google Business.",
10935
+ "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google My Business profile first.": "Les statistiques proviennent de votre Profil d'Établissement Google. Pour les consulter, veuillez d'abord connecter votre Profil d'Établissement Google.",
10936
10936
  "Your Google Business Profile is not Verified": "Votre profil d’entreprise Google n’est pas vérifié. ",
10937
10937
  "The Listing Analytics are coming from the Google Business Profile, in order to see those stats, your Google Business Profile must be Verified.": "Les données proviennent de votre Fiche d'Entreprise Google. Veuillez vérifier votre profil Google pour accéder aux analyses.",
10938
10938
  "Something went wrong": "Une erreur s'est produite",
@@ -11538,11 +11538,11 @@ const youDontHaveReviewsYet$1 = "Sie haben noch keine Bewertungen";
11538
11538
  const temporarilyClosed$1 = "Vorübergehend geschlossen";
11539
11539
  const address$1 = "Adresse";
11540
11540
  const editTheAddressBelowToUpdateYourBingProfile$1 = "Bearbeiten Sie die untenstehende Adresse, um Ihr Bing-Profil zu aktualisieren";
11541
- const listingLoacationDesc$1 = "Hinweis: Um Ihre Adresse bei Google zu ändern, klicken Sie auf Standort in Ihrem Google Unternehmensprofil. Für Facebook klicken Sie auf Info und dann auf ‚Kontaktinformationen‘.";
11542
- const listingLoacationDesc2$1 = "Bewegen Sie den Pin auf der Karte unten, um den Zugangspunkt Ihres Restaurants bei Facebook und Bing genau zu positionieren.";
11543
- const listingLoacationDesc3$1 = "Hinweis: Um den Pin bei Google anzupassen, klicken Sie auf ‚Standort‘ in Ihrem Google Unternehmensprofil.";
11541
+ const listingLoacationDesc$1 = "Hinweis: Klicken Sie in Ihrem Google-Unternehmensprofil auf Standort“, um Ihre Adresse bei Google zu bearbeiten, und auf Info und dann „Kontaktinformationen“, um die Adresse bei Facebook zu bearbeiten.";
11542
+ const listingLoacationDesc2$1 = "Verschieben Sie den Pin auf der Karte unten, um den Eingang Ihres Restaurants auf Facebook und Bing genau zu lokalisieren.";
11543
+ const listingLoacationDesc3$1 = "Hinweis: Klicken Sie in Ihrem Google-Unternehmensprofil auf „Standort“, um den Pin bei Google anzupassen.";
11544
11544
  const location$2 = "Standort";
11545
- const googleMyBusinessLinks$1 = "Google My Business-Links";
11545
+ const googleMyBusinessLinks$1 = "Google-Unternehmensprofil-Links";
11546
11546
  const socialLinks$1 = "Soziale Links";
11547
11547
  const gettingStarted$1 = "Erste Schritte";
11548
11548
  const hello$1 = "Hallo";
@@ -12101,10 +12101,10 @@ const de$1 = {
12101
12101
  hello: hello$1,
12102
12102
  "The purpose of Listing and Review is to help you manage your contents and comments from one place.": "Ziel von Eintrag und Bewertung ist es, Ihre Inhalte und Kommentare zentral zu verwalten.",
12103
12103
  "To initiate the service, we will be able to control each step of data synchronisation:": "Um den Dienst zu starten, können wir jeden Schritt der Datensynchronisation steuern:",
12104
- "Review your information before publishing the information to Google My Business": "Überprüfen Sie Ihre Informationen, bevor Sie sie auf Google My Business veröffentlichen",
12104
+ "Review your information before publishing the information to Google My Business": "Überprüfen Sie Ihre Informationen, bevor Sie sie in Ihrem Google-Unternehmensprofil veröffentlichen",
12105
12105
  "Push the enhanced data to you Google profile": "Übermitteln Sie die erweiterten Daten an Ihr Google-Profil",
12106
12106
  "Connect additional channels (Facebook, Bing...)": "Zusätzliche Kanäle verbinden (Facebook, Bing...)",
12107
- "I don't have a Google My Business account": "Ich habe kein Google My Business-Konto",
12107
+ "I don't have a Google My Business account": "Ich habe kein Google-Unternehmensprofil",
12108
12108
  "Setup my profile": "Profil einrichten",
12109
12109
  "Connect with Google": "Mit Google verbinden",
12110
12110
  "Congratulations! You're all setup.": "Herzlichen Glückwunsch! Sie sind eingerichtet.",
@@ -12128,7 +12128,7 @@ const de$1 = {
12128
12128
  "Please select an accout that you want to connect to Google": "Bitte wählen Sie das Konto aus, das Sie mit Google verbinden möchten.",
12129
12129
  loadingAnalytics: loadingAnalytics$1,
12130
12130
  "You don't have a connected Google Account": "Sie haben kein verbundenes Google-Konto",
12131
- "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google My Business profile first.": "Die Eintragsanalysen stammen vom Google Unternehmensprofil. Um diese Statistiken zu sehen, verbinden Sie bitte zuerst Ihr Google My Business-Profil.",
12131
+ "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google My Business profile first.": "Die Eintragsanalysen stammen vom Google-Unternehmensprofil. Um diese Statistiken zu sehen, verbinden Sie bitte zuerst Ihr Google-Unternehmensprofil.",
12132
12132
  "Your Google Business Profile is not Verified": "Ihr Google Unternehmensprofil ist nicht verifiziert",
12133
12133
  "The Listing Analytics are coming from the Google Business Profile, in order to see those stats, your Google Business Profile must be Verified.": "Die Eintragsanalysen stammen vom Google Unternehmensprofil. Um die Statistiken zu sehen, muss Ihr Profil verifiziert sein.",
12134
12134
  "Something went wrong": "Etwas ist schiefgelaufen",
@@ -12680,7 +12680,7 @@ const listingLoacationDesc = "Opmerking: je moet op 'Locatie' klikken in je Goog
12680
12680
  const listingLoacationDesc2 = "Verplaats de pin op de onderstaande kaart om het toegangspunt van je restaurant nauwkeurig aan te geven op Facebook en Bing.";
12681
12681
  const listingLoacationDesc3 = "Opmerking: je moet op 'Locatie' klikken in je Google Bedrijfsprofiel om de pin aan te passen op Google.";
12682
12682
  const location$1 = "Locatie";
12683
- const googleMyBusinessLinks = "Google My Business-links";
12683
+ const googleMyBusinessLinks = "Google Business Profile-links";
12684
12684
  const socialLinks = "Sociale links";
12685
12685
  const gettingStarted = "Aan de slag";
12686
12686
  const hello = "Hallo";
@@ -13239,10 +13239,10 @@ const nl$1 = {
13239
13239
  hello,
13240
13240
  "The purpose of Listing and Review is to help you manage your contents and comments from one place.": "Het doel van Lijsten en Beoordelingen is om je inhoud en opmerkingen vanaf één plek te beheren.",
13241
13241
  "To initiate the service, we will be able to control each step of data synchronisation:": "Om de dienst te starten, kunnen we elke stap van de gegevenssynchronisatie controleren:",
13242
- "Review your information before publishing the information to Google My Business": "Controleer je gegevens voordat je ze publiceert op Google My Business",
13242
+ "Review your information before publishing the information to Google My Business": "Controleer je gegevens voordat je ze publiceert op Google Business Profile",
13243
13243
  "Push the enhanced data to you Google profile": "Stuur de verbeterde gegevens naar je Google-profiel",
13244
13244
  "Connect additional channels (Facebook, Bing...)": "Verbind extra kanalen (Facebook, Bing...)",
13245
- "I don't have a Google My Business account": "Ik heb geen Google My Business-account",
13245
+ "I don't have a Google My Business account": "Ik heb geen Google Business Profile-account",
13246
13246
  "Setup my profile": "Mijn profiel instellen",
13247
13247
  "Connect with Google": "Verbinden met Google",
13248
13248
  "Congratulations! You're all setup.": "Gefeliciteerd! Je bent helemaal klaar.",
@@ -13266,7 +13266,7 @@ const nl$1 = {
13266
13266
  "Please select an accout that you want to connect to Google": "Selecteer een account dat je wilt verbinden met Google",
13267
13267
  loadingAnalytics,
13268
13268
  "You don't have a connected Google Account": "Je hebt geen verbonden Google-account",
13269
- "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google My Business profile first.": "De Listing Analytics komen van het Google Bedrijfsprofiel, dus om die statistieken te zien, verbind eerst je Google My Business-profiel.",
13269
+ "The Listing Analytics are coming from the Google Business Profile, so in order to see those stats, please connect your Google My Business profile first.": "De Listing Analytics komen van het Google Bedrijfsprofiel, dus om die statistieken te zien, verbind eerst je Google Business Profile.",
13270
13270
  "Your Google Business Profile is not Verified": "Je Google Bedrijfsprofiel is niet geverifieerd",
13271
13271
  "The Listing Analytics are coming from the Google Business Profile, in order to see those stats, your Google Business Profile must be Verified.": "De Listing Analytics komen van het Google Bedrijfsprofiel, om die statistieken te zien moet je Google Bedrijfsprofiel geverifieerd zijn.",
13272
13272
  "Something went wrong": "Er is iets misgegaan",
@@ -120248,12 +120248,18 @@ const FbButton$1 = ({
120248
120248
  onDisconnect("Facebook");
120249
120249
  };
120250
120250
  const callbackFb = (values) => {
120251
+ var _a2;
120251
120252
  if ((values == null ? void 0 : values.status) === "unknown") {
120252
120253
  return;
120253
120254
  }
120255
+ const accounts = (_a2 = values == null ? void 0 : values.accounts) == null ? void 0 : _a2.data;
120256
+ if (!accounts || !Array.isArray(accounts)) {
120257
+ console.error("Facebook response did not include accounts", values);
120258
+ return;
120259
+ }
120254
120260
  onSuccess({
120255
120261
  id: values.id,
120256
- accounts: values.accounts.data
120262
+ accounts
120257
120263
  });
120258
120264
  };
120259
120265
  if (isConnected) {
@@ -147520,12 +147526,18 @@ const FbButton = ({
147520
147526
  t: t2
147521
147527
  } = useTranslation();
147522
147528
  const callbackFb = (values) => {
147529
+ var _a2;
147523
147530
  if ((values == null ? void 0 : values.status) === "unknown") {
147524
147531
  return;
147525
147532
  }
147533
+ const accounts = (_a2 = values == null ? void 0 : values.accounts) == null ? void 0 : _a2.data;
147534
+ if (!accounts || !Array.isArray(accounts)) {
147535
+ console.error("Facebook response did not include accounts", values);
147536
+ return;
147537
+ }
147526
147538
  onSuccess({
147527
147539
  id: values.id,
147528
- accounts: values.accounts.data
147540
+ accounts
147529
147541
  });
147530
147542
  };
147531
147543
  useEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mozrest-sdk-react-dev",
3
- "version": "0.3.65",
3
+ "version": "0.3.67",
4
4
  "main": "mozrest-sdk.es.js",
5
5
  "keywords": [
6
6
  "mozrest"