New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-matrix-sdk

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-matrix-sdk - npm Package Compare versions

Comparing version

to
1.0.0-alpha73

2

package.json
{
"name": "react-native-matrix-sdk",
"title": "React Native Matrix Sdk",
"version": "1.0.0-alpha72",
"version": "1.0.0-alpha73",
"description": "React Native SDK for Matrix.org",

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -35,2 +35,7 @@ declare interface MXCredentials {

content: ContentType;
/**
* The message's transaction id. Will only be set for messages send on the user's device.
* See https://matrix.org/docs/spec/client_server/latest#id413
*/
txnId?: string;
}

@@ -75,3 +80,3 @@

declare module 'react-native-matrix-sdk' {
import {EventSubscriptionVendor} from "react-native";
import { EventSubscriptionVendor } from "react-native";

@@ -199,4 +204,5 @@ export interface MatrixSDKStatic extends EventSubscriptionVendor {

* @param data
* @param txnId transaction id
*/
sendMessageToRoom(roomId: string, messageType: string, data: any): Promise<SuccessResponse>;
sendMessageToRoom(roomId: string, messageType: string, data: any, txnId?: string): Promise<SuccessResponse>;

@@ -208,4 +214,5 @@ /**

* @param data
* @param txnId transaction id
*/
sendEventToRoom(roomId: string, eventType: string, data: any): Promise<SuccessResponse>;
sendEventToRoom(roomId: string, eventType: string, data: any, txnId?: string): Promise<SuccessResponse>;

@@ -212,0 +219,0 @@ sendReadReceipt(roomId: string, eventId: string): Promise<SuccessResponse>;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet