@photon-ai/advanced-imessage-kit 1.11.4 → 1.12.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/README.md CHANGED
@@ -208,6 +208,11 @@ const results = await sdk.messages.searchMessages({
208
208
  const total = await sdk.messages.getMessageCount();
209
209
  const sent = await sdk.messages.getSentMessageCount();
210
210
  const updated = await sdk.messages.getUpdatedMessageCount();
211
+
212
+ const message = await sdk.messages.getMessage("message-guid");
213
+ if (message.destinationCallerId) {
214
+ console.log(`Sent from: ${message.destinationCallerId}`);
215
+ }
211
216
  ```
212
217
 
213
218
  ### Unsend Messages
package/dist/index.d.cts CHANGED
@@ -154,6 +154,7 @@ type MessageResponse = {
154
154
  didNotifyRecipient?: boolean;
155
155
  shareStatus?: number | null;
156
156
  shareDirection?: number | null;
157
+ destinationCallerId?: string | null;
157
158
  };
158
159
 
159
160
  interface Handle {
package/dist/index.d.ts CHANGED
@@ -154,6 +154,7 @@ type MessageResponse = {
154
154
  didNotifyRecipient?: boolean;
155
155
  shareStatus?: number | null;
156
156
  shareDirection?: number | null;
157
+ destinationCallerId?: string | null;
157
158
  };
158
159
 
159
160
  interface Handle {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photon-ai/advanced-imessage-kit",
3
- "version": "1.11.4",
3
+ "version": "1.12.4",
4
4
  "description": "Powerful TypeScript iMessage SDK with real-time message processing",
5
5
  "keywords": [
6
6
  "imessage",