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