@saasquatch/squatch-js 2.3.2-0 → 2.3.2-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.
package/demo/toolbar.tsx CHANGED
@@ -318,7 +318,7 @@ async function getMockWidget(widget, engagementMedium) {
318
318
  )
319
319
  );
320
320
  document.getElementById("squatchembed").innerHTML = "";
321
- window["squatch"].widgets().renderGA(window["sandbox"].initObj);
321
+ window["squatch"].widgets().upsertUser(window["sandbox"].initObj);
322
322
  }
323
323
 
324
324
  async function getCustomWidget(engagementMedium) {
@@ -341,7 +341,7 @@ async function getCustomWidget(engagementMedium) {
341
341
  )
342
342
  );
343
343
  document.getElementById("squatchembed").innerHTML = "";
344
- window["squatch"].widgets().renderGA(window["sandbox"].initObj);
344
+ window["squatch"].widgets().upsertUser(window["sandbox"].initObj);
345
345
  }
346
346
 
347
347
  function MockedWidgets(props) {