@amityco/ts-sdk-react-native 6.25.0 → 6.25.1

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
@@ -118,8 +118,8 @@ const PostContentType = Object.freeze({
118
118
 
119
119
  function getVersion() {
120
120
  try {
121
- // the string ''v6.25.0-cjs'' should be replaced by actual value by @rollup/plugin-replace
122
- return 'v6.25.0-cjs';
121
+ // the string ''v6.25.1-cjs'' should be replaced by actual value by @rollup/plugin-replace
122
+ return 'v6.25.1-cjs';
123
123
  }
124
124
  catch (error) {
125
125
  return '__dev__';
@@ -13397,6 +13397,7 @@ const onReactorAdded = (referenceType, referenceId, callback) => {
13397
13397
  if (!payload.reactions[0])
13398
13398
  return;
13399
13399
  ingestInCache(payload);
13400
+ ingestInCache({ reactors: payload.reactions });
13400
13401
  callbackWrapper('message', payload.messages[0].messageId, payload.reactions[0]);
13401
13402
  };
13402
13403
  return createEventSubscriber(client, 'reaction/onReactorAdded', 'message.reactionAdded', filter);
package/dist/index.esm.js CHANGED
@@ -84,8 +84,8 @@ const PostContentType = Object.freeze({
84
84
 
85
85
  function getVersion() {
86
86
  try {
87
- // the string ''v6.25.0-esm'' should be replaced by actual value by @rollup/plugin-replace
88
- return 'v6.25.0-esm';
87
+ // the string ''v6.25.1-esm'' should be replaced by actual value by @rollup/plugin-replace
88
+ return 'v6.25.1-esm';
89
89
  }
90
90
  catch (error) {
91
91
  return '__dev__';
@@ -29468,6 +29468,7 @@ const onReactorAdded = (referenceType, referenceId, callback) => {
29468
29468
  if (!payload.reactions[0])
29469
29469
  return;
29470
29470
  ingestInCache(payload);
29471
+ ingestInCache({ reactors: payload.reactions });
29471
29472
  callbackWrapper('message', payload.messages[0].messageId, payload.reactions[0]);
29472
29473
  };
29473
29474
  return createEventSubscriber(client, 'reaction/onReactorAdded', 'message.reactionAdded', filter);