@arbidocs/sdk 0.4.18 → 0.4.21

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 CHANGED
@@ -5871,7 +5871,9 @@ async function sendEncryptedDM(arbi, messages, crypto) {
5871
5871
  }))
5872
5872
  );
5873
5873
  const created = requireData(
5874
- await arbi.fetch.POST("/v1/notifications/", { body: { messages: encrypted } }),
5874
+ await arbi.fetch.POST("/v1/notifications/", {
5875
+ body: { messages: encrypted, context_only: false }
5876
+ }),
5875
5877
  "Failed to send message"
5876
5878
  );
5877
5879
  return created.map((n2) => ({
@@ -5904,7 +5906,7 @@ async function requestWorkspaceAccess(arbi, params, crypto) {
5904
5906
  async function sendDM(arbi, messages) {
5905
5907
  return requireData(
5906
5908
  await arbi.fetch.POST("/v1/notifications/", {
5907
- body: { messages }
5909
+ body: { messages, context_only: false }
5908
5910
  }),
5909
5911
  "Failed to send message"
5910
5912
  );