@memori.ai/memori-api-client 4.1.0 → 4.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
 
2
2
 
3
+ ## [4.1.2](https://github.com/memori-ai/memori-api-client/compare/v4.1.1...v4.1.2) (2024-04-29)
4
+
5
+
6
+ ### Maintenance
7
+
8
+ * add new attributes to history message ([badfd60](https://github.com/memori-ai/memori-api-client/commit/badfd6000a06db2b1484a7f342fa0b6ddb719b9b))
9
+
10
+ ## [4.1.1](https://github.com/memori-ai/memori-api-client/compare/v4.1.0...v4.1.1) (2024-04-29)
11
+
12
+
13
+ ### Maintenance
14
+
15
+ * add new attributes to history message ([477420d](https://github.com/memori-ai/memori-api-client/commit/477420dd6fceba55189ff18b44ad4ee8c03c71e0))
16
+
3
17
  ## [4.1.0](https://github.com/memori-ai/memori-api-client/compare/v4.0.3...v4.1.0) (2024-04-16)
4
18
 
5
19
 
package/dist/types.d.ts CHANGED
@@ -515,6 +515,7 @@ export declare type Message = {
515
515
  memoryID?: string;
516
516
  text: string;
517
517
  translatedText?: string;
518
+ questionAnswered?: string;
518
519
  acceptsFeedback?: boolean;
519
520
  generatedByAI?: boolean;
520
521
  fromUser?: boolean;
@@ -525,6 +526,12 @@ export declare type Message = {
525
526
  contextVars?: {
526
527
  [key: string]: string;
527
528
  };
529
+ date?: string;
530
+ dateUncertaintyDays?: number;
531
+ placeName?: string;
532
+ placeLatitude?: number;
533
+ placeLongitude?: number;
534
+ placeUncertaintyKm?: number;
528
535
  };
529
536
  export type ConsumptionLog = {
530
537
  consumptionLogID: string;
package/esm/types.d.ts CHANGED
@@ -515,6 +515,7 @@ export declare type Message = {
515
515
  memoryID?: string;
516
516
  text: string;
517
517
  translatedText?: string;
518
+ questionAnswered?: string;
518
519
  acceptsFeedback?: boolean;
519
520
  generatedByAI?: boolean;
520
521
  fromUser?: boolean;
@@ -525,6 +526,12 @@ export declare type Message = {
525
526
  contextVars?: {
526
527
  [key: string]: string;
527
528
  };
529
+ date?: string;
530
+ dateUncertaintyDays?: number;
531
+ placeName?: string;
532
+ placeLatitude?: number;
533
+ placeLongitude?: number;
534
+ placeUncertaintyKm?: number;
528
535
  };
529
536
  export type ConsumptionLog = {
530
537
  consumptionLogID: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.1.0",
2
+ "version": "4.1.2",
3
3
  "name": "@memori.ai/memori-api-client",
4
4
  "description": "React library to integrate a Memori in your app or website",
5
5
  "license": "Apache-2.0",
package/src/types.ts CHANGED
@@ -716,6 +716,7 @@ export declare type Message = {
716
716
  memoryID?: string;
717
717
  text: string;
718
718
  translatedText?: string;
719
+ questionAnswered?: string;
719
720
  acceptsFeedback?: boolean;
720
721
  generatedByAI?: boolean;
721
722
  fromUser?: boolean;
@@ -724,6 +725,12 @@ export declare type Message = {
724
725
  emitter?: string;
725
726
  timestamp?: string;
726
727
  contextVars?: { [key: string]: string };
728
+ date?: string;
729
+ dateUncertaintyDays?: number;
730
+ placeName?: string;
731
+ placeLatitude?: number;
732
+ placeLongitude?: number;
733
+ placeUncertaintyKm?: number;
727
734
  };
728
735
 
729
736
  export type ConsumptionLog = {