@amityco/ts-sdk-react-native 7.15.1-40a4b92d.0 → 7.15.1-d3f0b8f1.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/dist/index.cjs.js
CHANGED
|
@@ -14369,13 +14369,16 @@ const communityLinkedObject = (community) => {
|
|
|
14369
14369
|
const { data } = await getMyJoinRequest(community.communityId);
|
|
14370
14370
|
return data;
|
|
14371
14371
|
}, get myMembership() {
|
|
14372
|
-
var _a;
|
|
14372
|
+
var _a, _b;
|
|
14373
14373
|
const cacheData = pullFromCache([
|
|
14374
14374
|
'communityUsers',
|
|
14375
14375
|
'get',
|
|
14376
|
-
|
|
14376
|
+
getResolver('communityUsers')({
|
|
14377
|
+
communityId: community.communityId,
|
|
14378
|
+
userId: (_a = user === null || user === void 0 ? void 0 : user.userId) !== null && _a !== void 0 ? _a : '',
|
|
14379
|
+
}),
|
|
14377
14380
|
]);
|
|
14378
|
-
return (
|
|
14381
|
+
return (_b = cacheData === null || cacheData === void 0 ? void 0 : cacheData.data) !== null && _b !== void 0 ? _b : null;
|
|
14379
14382
|
} });
|
|
14380
14383
|
};
|
|
14381
14384
|
|
package/dist/index.esm.js
CHANGED
|
@@ -30442,13 +30442,16 @@ const communityLinkedObject = (community) => {
|
|
|
30442
30442
|
const { data } = await getMyJoinRequest(community.communityId);
|
|
30443
30443
|
return data;
|
|
30444
30444
|
}, get myMembership() {
|
|
30445
|
-
var _a;
|
|
30445
|
+
var _a, _b;
|
|
30446
30446
|
const cacheData = pullFromCache([
|
|
30447
30447
|
'communityUsers',
|
|
30448
30448
|
'get',
|
|
30449
|
-
|
|
30449
|
+
getResolver('communityUsers')({
|
|
30450
|
+
communityId: community.communityId,
|
|
30451
|
+
userId: (_a = user === null || user === void 0 ? void 0 : user.userId) !== null && _a !== void 0 ? _a : '',
|
|
30452
|
+
}),
|
|
30450
30453
|
]);
|
|
30451
|
-
return (
|
|
30454
|
+
return (_b = cacheData === null || cacheData === void 0 ? void 0 : cacheData.data) !== null && _b !== void 0 ? _b : null;
|
|
30452
30455
|
} });
|
|
30453
30456
|
};
|
|
30454
30457
|
|