@kontextso/sdk-react-native 0.0.10-rc.3 → 0.0.10-rc.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.
package/dist/index.js CHANGED
@@ -1495,16 +1495,15 @@ var ErrorBoundary = class extends import_react11.default.Component {
1495
1495
  };
1496
1496
 
1497
1497
  // src/context/AdsProvider.tsx
1498
- var import_fetch = require("expo/fetch");
1499
1498
  var import_encoding = require("react-native-polyfill-globals/src/encoding");
1500
1499
  var import_readable_stream = require("react-native-polyfill-globals/src/readable-stream");
1501
- var import_fetch2 = require("react-native-polyfill-globals/src/fetch");
1500
+ var import_fetch = require("react-native-polyfill-globals/src/fetch");
1502
1501
  var import_react_native5 = require("react-native");
1503
1502
  var import_jsx_runtime6 = require("react/jsx-runtime");
1504
1503
  if (import_react_native5.Platform.OS !== "web") {
1505
1504
  (0, import_encoding.polyfill)();
1506
1505
  (0, import_readable_stream.polyfill)();
1507
- (0, import_fetch2.polyfill)();
1506
+ (0, import_fetch.polyfill)();
1508
1507
  console.log("Polyfilled fetch.");
1509
1508
  }
1510
1509
  var VISITOR_ID_KEY2 = "brain-visitor-id";
@@ -1561,7 +1560,7 @@ var AdsProvider = ({
1561
1560
  onAdView,
1562
1561
  onAdClick,
1563
1562
  reactNativePropStyles: styles,
1564
- customFetch: import_fetch.fetch,
1563
+ customFetch: fetch,
1565
1564
  isReactNative: true
1566
1565
  }
1567
1566
  )
package/dist/index.mjs CHANGED
@@ -1463,7 +1463,6 @@ var ErrorBoundary = class extends React5.Component {
1463
1463
  };
1464
1464
 
1465
1465
  // src/context/AdsProvider.tsx
1466
- import { fetch as fetch2 } from "expo/fetch";
1467
1466
  import { polyfill as polyfillEncoding } from "react-native-polyfill-globals/src/encoding";
1468
1467
  import { polyfill as polyfillReadableStream } from "react-native-polyfill-globals/src/readable-stream";
1469
1468
  import { polyfill as polyfillFetch } from "react-native-polyfill-globals/src/fetch";
@@ -1529,7 +1528,7 @@ var AdsProvider = ({
1529
1528
  onAdView,
1530
1529
  onAdClick,
1531
1530
  reactNativePropStyles: styles,
1532
- customFetch: fetch2,
1531
+ customFetch: fetch,
1533
1532
  isReactNative: true
1534
1533
  }
1535
1534
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontextso/sdk-react-native",
3
- "version": "0.0.10-rc.3",
3
+ "version": "0.0.10-rc.4",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",