@amityco/ts-sdk 7.8.6-f64070a.0 → 7.8.7-e6fee03.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/.rollup.cache/home/runner/work/AmityTypescriptSDK/AmityTypescriptSDK/packages/sdk/dist/userRepository/observers/searchUserByDisplayName/SearchUserPaginationController.js +1 -1
- package/.rollup.cache/home/runner/work/AmityTypescriptSDK/AmityTypescriptSDK/packages/sdk/dist/userRepository/observers/searchUserByDisplayName/SearchUserPaginationController.js.map +1 -1
- package/.rollup.cache/home/runner/work/AmityTypescriptSDK/AmityTypescriptSDK/packages/sdk/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
- package/src/userRepository/observers/searchUserByDisplayName/SearchUserPaginationController.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -176,8 +176,8 @@ exports.FeedSourceEnum = void 0;
|
|
|
176
176
|
|
|
177
177
|
function getVersion() {
|
|
178
178
|
try {
|
|
179
|
-
// the string ''v7.8.
|
|
180
|
-
return 'v7.8.
|
|
179
|
+
// the string ''v7.8.6-cjs'' should be replaced by actual value by @rollup/plugin-replace
|
|
180
|
+
return 'v7.8.6-cjs';
|
|
181
181
|
}
|
|
182
182
|
catch (error) {
|
|
183
183
|
return '__dev__';
|
|
@@ -14004,7 +14004,7 @@ class SearchUserPaginationController extends PaginationController {
|
|
|
14004
14004
|
const { limit = COLLECTION_DEFAULT_PAGINATION_LIMIT, displayName } = queryParams, params = __rest(queryParams, ["limit", "displayName"]);
|
|
14005
14005
|
const options = token ? { token } : { limit };
|
|
14006
14006
|
const { data: queryResponse } = await this.http.get(`/api/v3/users`, {
|
|
14007
|
-
params: Object.assign(Object.assign({}, params), { keyword: displayName, options, isDeleted: false }),
|
|
14007
|
+
params: Object.assign(Object.assign({}, params), { keyword: displayName === null || displayName === void 0 ? void 0 : displayName.toLocaleLowerCase(), options, isDeleted: false }),
|
|
14008
14008
|
});
|
|
14009
14009
|
return queryResponse;
|
|
14010
14010
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -161,8 +161,8 @@ var FeedSourceEnum;
|
|
|
161
161
|
|
|
162
162
|
function getVersion() {
|
|
163
163
|
try {
|
|
164
|
-
// the string ''v7.8.
|
|
165
|
-
return 'v7.8.
|
|
164
|
+
// the string ''v7.8.6-esm'' should be replaced by actual value by @rollup/plugin-replace
|
|
165
|
+
return 'v7.8.6-esm';
|
|
166
166
|
}
|
|
167
167
|
catch (error) {
|
|
168
168
|
return '__dev__';
|
|
@@ -30096,7 +30096,7 @@ class SearchUserPaginationController extends PaginationController {
|
|
|
30096
30096
|
const { limit = COLLECTION_DEFAULT_PAGINATION_LIMIT, displayName } = queryParams, params = __rest(queryParams, ["limit", "displayName"]);
|
|
30097
30097
|
const options = token ? { token } : { limit };
|
|
30098
30098
|
const { data: queryResponse } = await this.http.get(`/api/v3/users`, {
|
|
30099
|
-
params: Object.assign(Object.assign({}, params), { keyword: displayName, options, isDeleted: false }),
|
|
30099
|
+
params: Object.assign(Object.assign({}, params), { keyword: displayName === null || displayName === void 0 ? void 0 : displayName.toLocaleLowerCase(), options, isDeleted: false }),
|
|
30100
30100
|
});
|
|
30101
30101
|
return queryResponse;
|
|
30102
30102
|
}
|