@kontextso/sdk-react-native 0.0.5-rc.2 → 0.0.5-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.d.mts CHANGED
@@ -143,7 +143,6 @@ interface AdsProviderProps {
143
143
  throwError?: boolean;
144
144
  }
145
145
  declare const VISITOR_ID_KEY = "brain-visitor-id";
146
- declare const AdsProviderWithoutBoundary: ({ children, messages, publisherToken, isLoading, adserverUrl, isDisabled, character, conversationId, userId, logLevel, onAdView, onAdClick, ...props }: AdsProviderProps) => react_jsx_runtime.JSX.Element;
147
146
  declare const AdsProvider: ({ children, messages, publisherToken, isLoading, adserverUrl, isDisabled, character, conversationId, userId, logLevel, onAdView, onAdClick, ...props }: AdsProviderProps) => react_jsx_runtime.JSX.Element;
148
147
 
149
- export { type AdStyles, AdsContext, AdsProvider, type AdsProviderProps, AdsProviderWithoutBoundary, type ContextType, InlineAd, VISITOR_ID_KEY, useAd };
148
+ export { type AdStyles, AdsContext, AdsProvider, type AdsProviderProps, type ContextType, InlineAd, VISITOR_ID_KEY, useAd };
package/dist/index.d.ts CHANGED
@@ -143,7 +143,6 @@ interface AdsProviderProps {
143
143
  throwError?: boolean;
144
144
  }
145
145
  declare const VISITOR_ID_KEY = "brain-visitor-id";
146
- declare const AdsProviderWithoutBoundary: ({ children, messages, publisherToken, isLoading, adserverUrl, isDisabled, character, conversationId, userId, logLevel, onAdView, onAdClick, ...props }: AdsProviderProps) => react_jsx_runtime.JSX.Element;
147
146
  declare const AdsProvider: ({ children, messages, publisherToken, isLoading, adserverUrl, isDisabled, character, conversationId, userId, logLevel, onAdView, onAdClick, ...props }: AdsProviderProps) => react_jsx_runtime.JSX.Element;
148
147
 
149
- export { type AdStyles, AdsContext, AdsProvider, type AdsProviderProps, AdsProviderWithoutBoundary, type ContextType, InlineAd, VISITOR_ID_KEY, useAd };
148
+ export { type AdStyles, AdsContext, AdsProvider, type AdsProviderProps, type ContextType, InlineAd, VISITOR_ID_KEY, useAd };
package/dist/index.js CHANGED
@@ -32,7 +32,6 @@ var src_exports = {};
32
32
  __export(src_exports, {
33
33
  AdsContext: () => AdsContext,
34
34
  AdsProvider: () => AdsProvider,
35
- AdsProviderWithoutBoundary: () => AdsProviderWithoutBoundary,
36
35
  InlineAd: () => InlineAd_default,
37
36
  VISITOR_ID_KEY: () => VISITOR_ID_KEY,
38
37
  useAd: () => useAd
@@ -202,7 +201,7 @@ var parseMessageText = (text) => {
202
201
  var import_loglevel = __toESM(require("loglevel"));
203
202
 
204
203
  // package.json
205
- var version = "0.0.5-rc.1";
204
+ var version = "0.0.5-rc.3";
206
205
 
207
206
  // src/hooks/useInitializeAds.tsx
208
207
  async function initialize(adServerUrl, publisherToken, userId, conversationId, legacyVisitorId, character) {
@@ -766,7 +765,6 @@ var captureErrorFn = (adServerUrl, error, componentStack, context) => {
766
765
  });
767
766
  };
768
767
  var ErrorBoundary = class extends import_react4.default.Component {
769
- static contextType = AdsContext;
770
768
  constructor(props) {
771
769
  super(props);
772
770
  this.state = {
@@ -1333,7 +1331,6 @@ var InlineAd_default = InlineAd;
1333
1331
  0 && (module.exports = {
1334
1332
  AdsContext,
1335
1333
  AdsProvider,
1336
- AdsProviderWithoutBoundary,
1337
1334
  InlineAd,
1338
1335
  VISITOR_ID_KEY,
1339
1336
  useAd
package/dist/index.mjs CHANGED
@@ -175,7 +175,7 @@ var parseMessageText = (text) => {
175
175
  import log from "loglevel";
176
176
 
177
177
  // package.json
178
- var version = "0.0.5-rc.1";
178
+ var version = "0.0.5-rc.3";
179
179
 
180
180
  // src/hooks/useInitializeAds.tsx
181
181
  async function initialize(adServerUrl, publisherToken, userId, conversationId, legacyVisitorId, character) {
@@ -739,7 +739,6 @@ var captureErrorFn = (adServerUrl, error, componentStack, context) => {
739
739
  });
740
740
  };
741
741
  var ErrorBoundary = class extends React.Component {
742
- static contextType = AdsContext;
743
742
  constructor(props) {
744
743
  super(props);
745
744
  this.state = {
@@ -1308,7 +1307,6 @@ var InlineAd_default = InlineAd;
1308
1307
  export {
1309
1308
  AdsContext,
1310
1309
  AdsProvider,
1311
- AdsProviderWithoutBoundary,
1312
1310
  InlineAd_default as InlineAd,
1313
1311
  VISITOR_ID_KEY,
1314
1312
  useAd
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontextso/sdk-react-native",
3
- "version": "0.0.5-rc.2",
3
+ "version": "0.0.5-rc.4",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",