@amityco/ts-sdk-react-native 7.8.5 → 7.8.6
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/AmityReactNativeTypescriptSDK/AmityReactNativeTypescriptSDK/packages/sdk/dist/userRepository/observers/searchUserByDisplayName/SearchUserPaginationController.js +1 -1
- package/.rollup.cache/home/runner/work/AmityReactNativeTypescriptSDK/AmityReactNativeTypescriptSDK/packages/sdk/dist/userRepository/observers/searchUserByDisplayName/SearchUserPaginationController.js.map +1 -1
- package/.rollup.cache/home/runner/work/AmityReactNativeTypescriptSDK/AmityReactNativeTypescriptSDK/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
|
@@ -197,8 +197,8 @@ exports.FeedSourceEnum = void 0;
|
|
|
197
197
|
|
|
198
198
|
function getVersion() {
|
|
199
199
|
try {
|
|
200
|
-
// the string ''v7.8.
|
|
201
|
-
return 'v7.8.
|
|
200
|
+
// the string ''v7.8.6-cjs'' should be replaced by actual value by @rollup/plugin-replace
|
|
201
|
+
return 'v7.8.6-cjs';
|
|
202
202
|
}
|
|
203
203
|
catch (error) {
|
|
204
204
|
return '__dev__';
|
|
@@ -14171,7 +14171,7 @@ class SearchUserPaginationController extends PaginationController {
|
|
|
14171
14171
|
const { limit = COLLECTION_DEFAULT_PAGINATION_LIMIT, displayName } = queryParams, params = __rest(queryParams, ["limit", "displayName"]);
|
|
14172
14172
|
const options = token ? { token } : { limit };
|
|
14173
14173
|
const { data: queryResponse } = await this.http.get(`/api/v3/users`, {
|
|
14174
|
-
params: Object.assign(Object.assign({}, params), { keyword: displayName, options, isDeleted: false }),
|
|
14174
|
+
params: Object.assign(Object.assign({}, params), { keyword: displayName === null || displayName === void 0 ? void 0 : displayName.toLocaleLowerCase(), options, isDeleted: false }),
|
|
14175
14175
|
});
|
|
14176
14176
|
return queryResponse;
|
|
14177
14177
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -163,8 +163,8 @@ var FeedSourceEnum;
|
|
|
163
163
|
|
|
164
164
|
function getVersion() {
|
|
165
165
|
try {
|
|
166
|
-
// the string ''v7.8.
|
|
167
|
-
return 'v7.8.
|
|
166
|
+
// the string ''v7.8.6-esm'' should be replaced by actual value by @rollup/plugin-replace
|
|
167
|
+
return 'v7.8.6-esm';
|
|
168
168
|
}
|
|
169
169
|
catch (error) {
|
|
170
170
|
return '__dev__';
|
|
@@ -30244,7 +30244,7 @@ class SearchUserPaginationController extends PaginationController {
|
|
|
30244
30244
|
const { limit = COLLECTION_DEFAULT_PAGINATION_LIMIT, displayName } = queryParams, params = __rest(queryParams, ["limit", "displayName"]);
|
|
30245
30245
|
const options = token ? { token } : { limit };
|
|
30246
30246
|
const { data: queryResponse } = await this.http.get(`/api/v3/users`, {
|
|
30247
|
-
params: Object.assign(Object.assign({}, params), { keyword: displayName, options, isDeleted: false }),
|
|
30247
|
+
params: Object.assign(Object.assign({}, params), { keyword: displayName === null || displayName === void 0 ? void 0 : displayName.toLocaleLowerCase(), options, isDeleted: false }),
|
|
30248
30248
|
});
|
|
30249
30249
|
return queryResponse;
|
|
30250
30250
|
}
|