@builder.io/sdk-react-native 0.4.3 → 0.4.4

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.
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.4.3";
4
+ exports.SDK_VERSION = "0.4.4";
@@ -106,7 +106,7 @@ function _track(eventProps) {
106
106
  if (!((0, is_browser_js_1.isBrowser)() || target_js_1.TARGET === "reactNative")) {
107
107
  return;
108
108
  }
109
- return fetch(`https://builder.io/api/v1/track`, {
109
+ return fetch(`https://cdn.builder.io/api/v1/track`, {
110
110
  method: "POST",
111
111
  body: JSON.stringify({
112
112
  events: [yield createEvent(eventProps)]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-react-native",
3
3
  "description": "Builder.io SDK for React Native",
4
- "version": "0.4.3",
4
+ "version": "0.4.4",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.4.3"
1
+ export const SDK_VERSION = "0.4.4"
@@ -108,7 +108,7 @@ function _track(eventProps) {
108
108
  if (!(isBrowser() || TARGET === "reactNative")) {
109
109
  return;
110
110
  }
111
- return fetch(`https://builder.io/api/v1/track`, {
111
+ return fetch(`https://cdn.builder.io/api/v1/track`, {
112
112
  method: "POST",
113
113
  body: JSON.stringify({
114
114
  events: [yield createEvent(eventProps)]