@memori.ai/memori-api-client 5.2.0 → 5.2.1
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 +7 -0
- package/dist/types.d.ts +1 -0
- package/esm/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/types.ts +19 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [5.2.1](https://github.com/memori-ai/memori-api-client/compare/v5.2.0...v5.2.1) (2024-11-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Maintenance
|
|
7
|
+
|
|
8
|
+
* add timeZoneOffset in open session additionalInfo ([164e5bb](https://github.com/memori-ai/memori-api-client/commit/164e5bbf157c74c73099c3e04b2232af6d4ea500))
|
|
9
|
+
|
|
3
10
|
## [5.2.0](https://github.com/memori-ai/memori-api-client/compare/v5.1.1...v5.2.0) (2024-09-25)
|
|
4
11
|
|
|
5
12
|
|
package/dist/types.d.ts
CHANGED
package/esm/types.d.ts
CHANGED
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -414,9 +414,27 @@ export declare type OpenSession = {
|
|
|
414
414
|
forceCloseSessions?: boolean;
|
|
415
415
|
birthDate?: string;
|
|
416
416
|
additionalInfo?: {
|
|
417
|
+
/**
|
|
418
|
+
* a valid Memori.AI login token for the user, from which information like
|
|
419
|
+
* the user's unique ID, their birth date and e-mail are retrieved
|
|
420
|
+
* (for age verification and DCM integration purposes)
|
|
421
|
+
*/
|
|
417
422
|
loginToken?: string;
|
|
423
|
+
/**
|
|
424
|
+
* the language ISO code used to open the session
|
|
425
|
+
* (may be different from the Memori language if a translation layer is in place)
|
|
426
|
+
*/
|
|
418
427
|
language?: string;
|
|
428
|
+
/**
|
|
429
|
+
* the referral URL, as reported by the hosting web application
|
|
430
|
+
*/
|
|
419
431
|
referral?: string;
|
|
432
|
+
/**
|
|
433
|
+
* the offset in minutes of the UTC time zone from the user's local time zone.
|
|
434
|
+
* Note: the offset is subtracted from UTC to obtain the user's local time, not added.
|
|
435
|
+
* E.g.: it should be -120 for CEST, not +120.
|
|
436
|
+
*/
|
|
437
|
+
timeZoneOffset?: string;
|
|
420
438
|
};
|
|
421
439
|
};
|
|
422
440
|
|
|
@@ -595,9 +613,6 @@ export declare type Asset = {
|
|
|
595
613
|
};
|
|
596
614
|
|
|
597
615
|
export type SearchQuery = {
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
616
|
/**
|
|
602
617
|
* @type {string}
|
|
603
618
|
* Search query. If omitted, either a Date or a Place must be set. Used only for Search, ignored for Random picking and Memory Hints.
|
|
@@ -671,7 +686,7 @@ export type SearchQuery = {
|
|
|
671
686
|
* @type {number=0}
|
|
672
687
|
* Index of the first Memory to return. Used for pagination.
|
|
673
688
|
*/
|
|
674
|
-
|
|
689
|
+
startFrom?: number;
|
|
675
690
|
|
|
676
691
|
/**
|
|
677
692
|
* @type {?number=5}
|