@memori.ai/memori-api-client 0.5.0 → 0.6.0
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 +165 -0
- package/dist/types.d.ts +5 -0
- package/package.json +5 -2
- package/src/types.ts +5 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
## [0.6.0](https://github.com/memori-ai/memori-api-client/compare/v0.5.0...v0.6.0) (2022-12-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update Memori and Memory typings ([c796d2e](https://github.com/memori-ai/memori-api-client/commit/c796d2ed31161f9f3f20d0d62df0c174bbb4b872))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Maintenance
|
|
12
|
+
|
|
13
|
+
* update package.json files ([8deca06](https://github.com/memori-ai/memori-api-client/commit/8deca06d42c1110a13e2572b794ff0bcfd65076f))
|
|
14
|
+
|
|
15
|
+
## [0.5.0](https://github.com/memori-ai/memori-api-client/compare/v0.4.6...v0.5.0) (2022-12-13)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* add MemoriContentUpdated ([c252a68](https://github.com/memori-ai/memori-api-client/commit/c252a68cefc239fd7413556f397ccf785f57e04c))
|
|
21
|
+
|
|
22
|
+
## [0.4.6](https://github.com/memori-ai/memori-api-client/compare/v0.4.5...v0.4.6) (2022-12-07)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Maintenance
|
|
26
|
+
|
|
27
|
+
* add description in package.json ([4526d38](https://github.com/memori-ai/memori-api-client/commit/4526d3816b1ad36f2f1b281ab6b46f64f0cfd4fd))
|
|
28
|
+
|
|
29
|
+
## [0.4.5](https://github.com/memori-ai/memori-api-client/compare/v0.4.4...v0.4.5) (2022-12-06)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Maintenance
|
|
33
|
+
|
|
34
|
+
* add prebump build with release-it ([1e892e3](https://github.com/memori-ai/memori-api-client/commit/1e892e33452c0c2ebed56e59c538f5bdce5e31de))
|
|
35
|
+
* **deps:** bump terser from 4.8.0 to 4.8.1 ([8fe97ad](https://github.com/memori-ai/memori-api-client/commit/8fe97ad0a0779fe48266d6f9472158f393a94b49))
|
|
36
|
+
|
|
37
|
+
## [0.4.4](https://github.com/memori-ai/memori-api-client/compare/v0.4.3...v0.4.4) (2022-11-28)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Maintenance
|
|
41
|
+
|
|
42
|
+
* run dist ([5853078](https://github.com/memori-ai/memori-api-client/commit/58530783784df5d11643516269eaf258edaca699))
|
|
43
|
+
|
|
44
|
+
## [0.4.3](https://github.com/memori-ai/memori-api-client/compare/v0.4.2...v0.4.3) (2022-11-28)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Features
|
|
48
|
+
|
|
49
|
+
* add type on paginated contents query ([b823f73](https://github.com/memori-ai/memori-api-client/commit/b823f733d3ece8ce6dfddb0c8d48bfb72fbcbdec))
|
|
50
|
+
|
|
51
|
+
## [0.4.2](https://github.com/memori-ai/memori-api-client/compare/v0.4.1...v0.4.2) (2022-11-25)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Bug Fixes
|
|
55
|
+
|
|
56
|
+
* unans questions pagination params type ([2ccf150](https://github.com/memori-ai/memori-api-client/commit/2ccf150eae4c970f7aee49c985241ef0af12b00b))
|
|
57
|
+
|
|
58
|
+
## [0.4.1](https://github.com/memori-ai/memori-api-client/compare/v0.4.0...v0.4.1) (2022-11-25)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### Changes
|
|
62
|
+
|
|
63
|
+
* unanswered question response with suggestions from engine ([1b3819c](https://github.com/memori-ai/memori-api-client/commit/1b3819cc058143bc671868f065e10e3441957f30))
|
|
64
|
+
|
|
65
|
+
## [0.4.0](https://github.com/memori-ai/memori-api-client/compare/v0.3.3...v0.4.0) (2022-11-25)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Features
|
|
69
|
+
|
|
70
|
+
* add paginated queries ([2aea177](https://github.com/memori-ai/memori-api-client/commit/2aea1772f4ec9c19c8b11df27bf11b9c35b9c6ae))
|
|
71
|
+
|
|
72
|
+
## [0.3.3](https://github.com/memori-ai/memori-api-client/compare/v0.3.2...v0.3.3) (2022-11-24)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Maintenance
|
|
76
|
+
|
|
77
|
+
* add open session with initial question in typings ([75f2f88](https://github.com/memori-ai/memori-api-client/commit/75f2f8893e0d24294addab6db823290445e48064))
|
|
78
|
+
|
|
79
|
+
## [0.3.2](https://github.com/memori-ai/memori-api-client/compare/v0.3.1...v0.3.2) (2022-11-24)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Bug Fixes
|
|
83
|
+
|
|
84
|
+
* properties typings ([976ce37](https://github.com/memori-ai/memori-api-client/commit/976ce37830e09b3786a5da3bd78f3ca60fa705d7))
|
|
85
|
+
|
|
86
|
+
## [0.3.1](https://github.com/memori-ai/memori-api-client/compare/v0.3.0...v0.3.1) (2022-11-21)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### Maintenance
|
|
90
|
+
|
|
91
|
+
* build add new api, update ([e69f833](https://github.com/memori-ai/memori-api-client/commit/e69f83311466d63da7fe4e783393895ebac1232b))
|
|
92
|
+
|
|
93
|
+
## [0.3.0](https://github.com/memori-ai/memori-api-client/compare/v0.2.1...v0.3.0) (2022-11-21)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Features
|
|
97
|
+
|
|
98
|
+
* add new api, update ([0952a37](https://github.com/memori-ai/memori-api-client/commit/0952a376d9e4662b702e3b02d99eb577dcb9aa5d))
|
|
99
|
+
|
|
100
|
+
## [0.2.1](https://github.com/memori-ai/memori-api-client/compare/v0.2.0...v0.2.1) (2022-07-25)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Maintenance
|
|
104
|
+
|
|
105
|
+
* update dist ([01032df](https://github.com/memori-ai/memori-api-client/commit/01032df21c57d02e37c8653fedb8f339f8a56b6a))
|
|
106
|
+
|
|
107
|
+
## [0.2.0](https://github.com/memori-ai/memori-api-client/compare/v0.1.2...v0.2.0) (2022-07-25)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### Features
|
|
111
|
+
|
|
112
|
+
* add contextVars apis ([864a6fc](https://github.com/memori-ai/memori-api-client/commit/864a6fc12fd5d44fdb403bc083cc0f17205d18eb))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
### Changes
|
|
116
|
+
|
|
117
|
+
* patch memori accepts partial memori object ([8b52bc9](https://github.com/memori-ai/memori-api-client/commit/8b52bc93e245c80b643addd956e1ef86d007008e))
|
|
118
|
+
|
|
119
|
+
## [0.1.2](https://github.com/memori-ai/memori-api-client/compare/v0.1.1...v0.1.2) (2022-07-14)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### Bug Fixes
|
|
123
|
+
|
|
124
|
+
* remove disabling of microsoft speech sdk telemetry, will re-enabling it (ref: microsoft/cognitive-services-speech-sdk-js[#552](https://github.com/memori-ai/memori-api-client/issues/552)) ([763c294](https://github.com/memori-ai/memori-api-client/commit/763c29485c3a616be3c52826abdad7cefc0a65f7))
|
|
125
|
+
|
|
126
|
+
## [0.1.1](https://github.com/memori-ai/memori-api-client/compare/v0.1.0...v0.1.1) (2022-07-13)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
### Changes
|
|
130
|
+
|
|
131
|
+
* remove test env, run test with actual method, remove useless private api calls ([d432fe7](https://github.com/memori-ai/memori-api-client/commit/d432fe70ea0ab55176bac44195be6c7dc6c27674))
|
|
132
|
+
|
|
133
|
+
## 0.1.0 (2022-07-13)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### Features
|
|
137
|
+
|
|
138
|
+
* add backend apis and tests ([aa4216b](https://github.com/memori-ai/memori-api-client/commit/aa4216be6beec0a129959ca62f43b4f24d6c664b))
|
|
139
|
+
* add backend apis and tests ([1405d37](https://github.com/memori-ai/memori-api-client/commit/1405d37a1bd66eb05b82dc561229f297713efa9b))
|
|
140
|
+
* add engine apis and tests ([63efa57](https://github.com/memori-ai/memori-api-client/commit/63efa57ef8931d79dbea635e727a024a6878d8ad))
|
|
141
|
+
* add helpers + constants ([f485643](https://github.com/memori-ai/memori-api-client/commit/f485643911bec9775f9ee61c5124a8265116e557))
|
|
142
|
+
* add media helper ([9f7c8e1](https://github.com/memori-ai/memori-api-client/commit/9f7c8e1564e6c4ccaf82c8515ec5d973a746cc89))
|
|
143
|
+
* add speech client sdk ([ab63d0b](https://github.com/memori-ai/memori-api-client/commit/ab63d0bd1efe532a4481dda2ec887b38dcc102c2))
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Bug Fixes
|
|
147
|
+
|
|
148
|
+
* fixes for windows for end of line ([27c0309](https://github.com/memori-ai/memori-api-client/commit/27c030981395fe7159235fa06c4a467e9d7fbc75))
|
|
149
|
+
* typo in jsdoc ([16496e5](https://github.com/memori-ai/memori-api-client/commit/16496e5d49f667a47e1309ea46732fbd32815c3a))
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Changes
|
|
153
|
+
|
|
154
|
+
* typings import, engine apis directly in client ([56efcca](https://github.com/memori-ai/memori-api-client/commit/56efccac5a717218b958579200e5b39dec23eba3))
|
|
155
|
+
* use cross-fetch ([9a9e073](https://github.com/memori-ai/memori-api-client/commit/9a9e0739494a4a887eb22c71142c682f121820fb))
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
### Maintenance
|
|
159
|
+
|
|
160
|
+
* add dist dir to git ([073b52a](https://github.com/memori-ai/memori-api-client/commit/073b52a158463a86008996c3c83d1991eddb6b18))
|
|
161
|
+
* first import ([6b2f327](https://github.com/memori-ai/memori-api-client/commit/6b2f327940719aff0aee0f2dc4e6005c60624635))
|
|
162
|
+
* prepare for release ([d542d65](https://github.com/memori-ai/memori-api-client/commit/d542d65560fa83d19af9e4872fdebc9203cb4963))
|
|
163
|
+
* run build on pre-release ([2f93f10](https://github.com/memori-ai/memori-api-client/commit/2f93f101403c9dcedc2b8777c376227bd4f9a75c))
|
|
164
|
+
* update lockfile ([96240fd](https://github.com/memori-ai/memori-api-client/commit/96240fd02996e8bfc3c98d3b8b999932fb47af11))
|
|
165
|
+
* update typings ([08fc01b](https://github.com/memori-ai/memori-api-client/commit/08fc01b8c4dbb790acb06c6ba676b593c969e47d))
|
package/dist/types.d.ts
CHANGED
|
@@ -47,6 +47,8 @@ export declare type Memori = {
|
|
|
47
47
|
publishedInTheMetaverse?: boolean;
|
|
48
48
|
metaverseEnvironment?: string;
|
|
49
49
|
exposed?: boolean;
|
|
50
|
+
disableR2R3Loop?: boolean;
|
|
51
|
+
disableR4Loop?: boolean;
|
|
50
52
|
properties?: {
|
|
51
53
|
[key: string]: any;
|
|
52
54
|
};
|
|
@@ -291,6 +293,7 @@ export declare type DialogState = {
|
|
|
291
293
|
acceptsPlace?: boolean;
|
|
292
294
|
acceptsTag?: boolean;
|
|
293
295
|
hints?: string[];
|
|
296
|
+
timeout?: number;
|
|
294
297
|
translatedHints?: TranslatedHint[];
|
|
295
298
|
currentTag?: string;
|
|
296
299
|
currentDate?: string;
|
|
@@ -414,6 +417,8 @@ export declare type Memory = {
|
|
|
414
417
|
conclusive?: boolean;
|
|
415
418
|
help?: boolean;
|
|
416
419
|
notPickable?: boolean;
|
|
420
|
+
minTimeout?: number;
|
|
421
|
+
maxTimeout?: number;
|
|
417
422
|
contextVarsToSet?: {
|
|
418
423
|
[variable: string]: string;
|
|
419
424
|
};
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.6.0",
|
|
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",
|
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
"typings": "dist/index.d.ts",
|
|
19
19
|
"files": [
|
|
20
20
|
"dist",
|
|
21
|
-
"src"
|
|
21
|
+
"src",
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE",
|
|
24
|
+
"CHANGELOG.md"
|
|
22
25
|
],
|
|
23
26
|
"engines": {
|
|
24
27
|
"node": ">=14"
|
package/src/types.ts
CHANGED
|
@@ -46,6 +46,8 @@ export declare type Memori = {
|
|
|
46
46
|
publishedInTheMetaverse?: boolean;
|
|
47
47
|
metaverseEnvironment?: string;
|
|
48
48
|
exposed?: boolean;
|
|
49
|
+
disableR2R3Loop?: boolean;
|
|
50
|
+
disableR4Loop?: boolean;
|
|
49
51
|
properties?: { [key: string]: any };
|
|
50
52
|
creationTimestamp?: string;
|
|
51
53
|
lastChangeTimestamp?: string;
|
|
@@ -320,6 +322,7 @@ export declare type DialogState = {
|
|
|
320
322
|
acceptsPlace?: boolean;
|
|
321
323
|
acceptsTag?: boolean;
|
|
322
324
|
hints?: string[];
|
|
325
|
+
timeout?: number;
|
|
323
326
|
translatedHints?: TranslatedHint[];
|
|
324
327
|
currentTag?: string;
|
|
325
328
|
currentDate?: string;
|
|
@@ -449,6 +452,8 @@ export declare type Memory = {
|
|
|
449
452
|
conclusive?: boolean;
|
|
450
453
|
help?: boolean;
|
|
451
454
|
notPickable?: boolean;
|
|
455
|
+
minTimeout?: number;
|
|
456
|
+
maxTimeout?: number;
|
|
452
457
|
contextVarsToSet?: { [variable: string]: string };
|
|
453
458
|
contextVarsToMatch?: { [variable: string]: string };
|
|
454
459
|
creationTimestamp?: string;
|