@amityco/ts-sdk 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
@@ -97,8 +97,8 @@ const PostContentType = Object.freeze({
97
97
 
98
98
  function getVersion() {
99
99
  try {
100
- // the string ''v6.25.0-cjs'' should be replaced by actual value by @rollup/plugin-replace
101
- return 'v6.25.0-cjs';
100
+ // the string ''v6.25.1-cjs'' should be replaced by actual value by @rollup/plugin-replace
101
+ return 'v6.25.1-cjs';
102
102
  }
103
103
  catch (error) {
104
104
  return '__dev__';
@@ -13287,6 +13287,7 @@ const onReactorAdded = (referenceType, referenceId, callback) => {
13287
13287
  if (!payload.reactions[0])
13288
13288
  return;
13289
13289
  ingestInCache(payload);
13290
+ ingestInCache({ reactors: payload.reactions });
13290
13291
  callbackWrapper('message', payload.messages[0].messageId, payload.reactions[0]);
13291
13292
  };
13292
13293
  return createEventSubscriber(client, 'reaction/onReactorAdded', 'message.reactionAdded', filter);
package/dist/index.esm.js CHANGED
@@ -82,8 +82,8 @@ const PostContentType = Object.freeze({
82
82
 
83
83
  function getVersion() {
84
84
  try {
85
- // the string ''v6.25.0-esm'' should be replaced by actual value by @rollup/plugin-replace
86
- return 'v6.25.0-esm';
85
+ // the string ''v6.25.1-esm'' should be replaced by actual value by @rollup/plugin-replace
86
+ return 'v6.25.1-esm';
87
87
  }
88
88
  catch (error) {
89
89
  return '__dev__';
@@ -29377,6 +29377,7 @@ const onReactorAdded = (referenceType, referenceId, callback) => {
29377
29377
  if (!payload.reactions[0])
29378
29378
  return;
29379
29379
  ingestInCache(payload);
29380
+ ingestInCache({ reactors: payload.reactions });
29380
29381
  callbackWrapper('message', payload.messages[0].messageId, payload.reactions[0]);
29381
29382
  };
29382
29383
  return createEventSubscriber(client, 'reaction/onReactorAdded', 'message.reactionAdded', filter);