@types/simple-peer
Advanced tools
Comparing version 9.11.0 to 9.11.1
@@ -17,21 +17,21 @@ // Type definitions for simple-peer 9.11 | ||
/** set to `true` if this is the initiating peer */ | ||
initiator?: boolean; | ||
initiator?: boolean | undefined; | ||
/** custom webrtc data channel configuration (used by [`createDataChannel`](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createDataChannel)) */ | ||
channelConfig?: RTCDataChannelInit; | ||
channelConfig?: RTCDataChannelInit | undefined; | ||
/** custom webrtc data channel name */ | ||
channelName?: string; | ||
channelName?: string | undefined; | ||
/** custom webrtc configuration (used by [`RTCPeerConnection`](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection) constructor) */ | ||
config?: RTCConfiguration; | ||
config?: RTCConfiguration | undefined; | ||
/** custom offer options (used by [`createOffer`](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer) method) */ | ||
offerOptions?: RTCOfferOptions; | ||
offerOptions?: RTCOfferOptions | undefined; | ||
/** custom answer options (used by [`createAnswer`](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createAnswer) method) */ | ||
answerOptions?: RTCAnswerOptions; | ||
answerOptions?: RTCAnswerOptions | undefined; | ||
/** function to transform the generated SDP signaling data (for advanced users) */ | ||
sdpTransform?: (this: Instance, sdp: string) => string; | ||
sdpTransform?: ((this: Instance, sdp: string) => string) | undefined; | ||
/** if video/voice is desired, pass stream returned from [`getUserMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) */ | ||
stream?: MediaStream; | ||
stream?: MediaStream | undefined; | ||
/** an array of MediaStreams returned from [`getUserMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) */ | ||
streams?: MediaStream[]; | ||
streams?: MediaStream[] | undefined; | ||
/** set to `false` to disable [trickle ICE](http://webrtchacks.com/trickle-ice/) and get a single 'signal' event (slower) */ | ||
trickle?: boolean; | ||
trickle?: boolean | undefined; | ||
/** custom webrtc implementation, mainly useful in node to specify in the [wrtc](https://npmjs.com/package/wrtc) package. */ | ||
@@ -42,5 +42,5 @@ wrtc?: { | ||
RTCIceCandidate: typeof RTCIceCandidate; | ||
}; | ||
} | undefined; | ||
/** set to true to create the stream in Object Mode. In this mode, incoming string data is not automatically converted to Buffer objects. */ | ||
objectMode?: boolean; | ||
objectMode?: boolean | undefined; | ||
} | ||
@@ -97,3 +97,3 @@ interface SimplePeer { | ||
kind: string; | ||
init?: RTCRtpTransceiverInit; | ||
init?: RTCRtpTransceiverInit | undefined; | ||
}; | ||
@@ -100,0 +100,0 @@ } |
{ | ||
"name": "@types/simple-peer", | ||
"version": "9.11.0", | ||
"version": "9.11.1", | ||
"description": "TypeScript definitions for simple-peer", | ||
@@ -30,4 +30,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-peer", | ||
}, | ||
"typesPublisherContentHash": "565bb55a28381d9778b8f7eb9b7a713ffd7abf612af44624ebc583d7b814f4e6", | ||
"typesPublisherContentHash": "80edb7fbd3b3bf87c99bdf4cf302aede1e9390c5bb8116a971917184f03b8610", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 08 Jun 2021 01:31:29 GMT | ||
* Last updated: Tue, 06 Jul 2021 16:34:50 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
15239
0