@sagepilot-ai/react-native-sdk 0.4.1 → 0.4.2

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/README.md CHANGED
@@ -16,7 +16,7 @@ For full integration docs, see [React Native SDK docs](https://docs.sagepilot.ai
16
16
 
17
17
  ## Install
18
18
 
19
- The base SDK, camera add-on and push add-on share release **0.4.1**. Install matching versions of the add-ons your app uses; chat-only apps do not need either add-on.
19
+ The base SDK, camera add-on and push add-on share release **0.4.2**. Install matching versions of the add-ons your app uses; chat-only apps do not need either add-on.
20
20
 
21
21
  ```bash
22
22
  npm install @sagepilot-ai/react-native-sdk@latest react-native-webview
package/dist/index.d.mts CHANGED
@@ -542,6 +542,7 @@ type SagepilotPushAdapter = {
542
542
  workspaceId: string;
543
543
  channelId: string;
544
544
  sdkVersion: string;
545
+ storage?: SagepilotCacheStorage;
545
546
  owner: SagepilotPushOwner | null;
546
547
  customerId: () => string | null;
547
548
  upload: (event: SagepilotPushEvent) => Promise<unknown>;
package/dist/index.d.ts CHANGED
@@ -542,6 +542,7 @@ type SagepilotPushAdapter = {
542
542
  workspaceId: string;
543
543
  channelId: string;
544
544
  sdkVersion: string;
545
+ storage?: SagepilotCacheStorage;
545
546
  owner: SagepilotPushOwner | null;
546
547
  customerId: () => string | null;
547
548
  upload: (event: SagepilotPushEvent) => Promise<unknown>;
package/dist/index.js CHANGED
@@ -54,7 +54,7 @@ var import_react_native2 = require("react-native");
54
54
 
55
55
  // package.json
56
56
  var name = "@sagepilot-ai/react-native-sdk";
57
- var version = "0.4.1";
57
+ var version = "0.4.2";
58
58
 
59
59
  // src/core/config/constants.ts
60
60
  var SDK_NAME = name;
@@ -173,6 +173,7 @@ var SagepilotPush = class {
173
173
  workspaceId: this.context.workspaceId,
174
174
  channelId: this.context.channelId,
175
175
  sdkVersion: SDK_VERSION,
176
+ storage: this.config.storage,
176
177
  owner: binding?.endpointId && binding.customerId === this.context.customerId() ? { customerId: binding.customerId, endpointId: binding.endpointId } : null,
177
178
  customerId: this.context.customerId,
178
179
  upload: (event) => this.context.request("/push/events", "POST", event),
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import { AppState as AppState2, Platform } from "react-native";
3
3
 
4
4
  // package.json
5
5
  var name = "@sagepilot-ai/react-native-sdk";
6
- var version = "0.4.1";
6
+ var version = "0.4.2";
7
7
 
8
8
  // src/core/config/constants.ts
9
9
  var SDK_NAME = name;
@@ -122,6 +122,7 @@ var SagepilotPush = class {
122
122
  workspaceId: this.context.workspaceId,
123
123
  channelId: this.context.channelId,
124
124
  sdkVersion: SDK_VERSION,
125
+ storage: this.config.storage,
125
126
  owner: binding?.endpointId && binding.customerId === this.context.customerId() ? { customerId: binding.customerId, endpointId: binding.endpointId } : null,
126
127
  customerId: this.context.customerId,
127
128
  upload: (event) => this.context.request("/push/events", "POST", event),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sagepilot-ai/react-native-sdk",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Sagepilot AI React Native chat SDK",
5
5
  "keywords": [
6
6
  "sagepilot",