Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botframework-streaming

Package Overview
Dependencies
Maintainers
4
Versions
511
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botframework-streaming - npm Package Compare versions

Comparing version 4.20.0-dev.20230508.c2abd7d to 4.20.0-dev.20230510.192d4b2

4

_ts3.4/lib/interfaces/INodeBuffer.d.ts

@@ -8,4 +8,4 @@ /**

*/
export declare type ValidBuffer = string | Uint8Array | INodeBuffer;
export declare type BufferEncoding = 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'latin1' | 'binary' | 'hex';
export type ValidBuffer = string | Uint8Array | INodeBuffer;
export type BufferEncoding = 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'latin1' | 'binary' | 'hex';
/**

@@ -12,0 +12,0 @@ * Represents a Buffer from the `net` module in Node.js.

@@ -9,3 +9,3 @@ /**

import { TransportDisconnectedEvent } from './transportDisconnectedEvent';
export declare type TransportDisconnectedEventHandler = (sender: any, e: TransportDisconnectedEvent) => void;
export type TransportDisconnectedEventHandler = (sender: any, e: TransportDisconnectedEvent) => void;
//# sourceMappingURL=transportDisconnectedEventHandler.d.ts.map

@@ -9,3 +9,3 @@ /**

import { INodeServer, INodeSocket } from '../interfaces';
declare type ConnectionListener = (socket: INodeSocket) => void;
type ConnectionListener = (socket: INodeSocket) => void;
/**

@@ -12,0 +12,0 @@ * Create a Node 'net' server

@@ -11,3 +11,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -14,0 +18,0 @@ if (k2 === undefined) k2 = k;

@@ -11,3 +11,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -14,0 +18,0 @@ if (k2 === undefined) k2 = k;

@@ -24,3 +24,3 @@ "use strict";

this.content = content;
this.id = protocol_base_1.generateGuid();
this.id = (0, protocol_base_1.generateGuid)();
this.description = {

@@ -27,0 +27,0 @@ id: this.id,

@@ -11,3 +11,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -14,0 +18,0 @@ if (k2 === undefined) k2 = k;

@@ -8,4 +8,4 @@ /**

*/
export declare type ValidBuffer = string | Uint8Array | INodeBuffer;
export declare type BufferEncoding = 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'latin1' | 'binary' | 'hex';
export type ValidBuffer = string | Uint8Array | INodeBuffer;
export type BufferEncoding = 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'latin1' | 'binary' | 'hex';
/**

@@ -12,0 +12,0 @@ * Represents a Buffer from the `net` module in Node.js.

@@ -11,3 +11,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -14,0 +18,0 @@ if (k2 === undefined) k2 = k;

@@ -53,5 +53,5 @@ "use strict";

const outgoingPipeName = namedPipeTransport_1.NamedPipeTransport.PipePath + this._baseName + namedPipeTransport_1.NamedPipeTransport.ServerIncomingPath;
const outgoing = net_1.connect(outgoingPipeName);
const outgoing = (0, net_1.connect)(outgoingPipeName);
const incomingPipeName = namedPipeTransport_1.NamedPipeTransport.PipePath + this._baseName + namedPipeTransport_1.NamedPipeTransport.ServerOutgoingPath;
const incoming = net_1.connect(incomingPipeName);
const incoming = (0, net_1.connect)(incomingPipeName);
this._sender.connect(new namedPipeTransport_1.NamedPipeTransport(outgoing));

@@ -58,0 +58,0 @@ this._receiver.connect(new namedPipeTransport_1.NamedPipeTransport(incoming));

@@ -67,3 +67,3 @@ "use strict";

const [incoming] = yield new Promise((resolveListening, rejectListening) => {
const server = createNodeServer_1.createNodeServer((socket) => {
const server = (0, createNodeServer_1.createNodeServer)((socket) => {
if (this._receiver.isConnected) {

@@ -85,3 +85,3 @@ return;

const [outgoing] = yield new Promise((resolveListening, rejectListening) => {
const server = createNodeServer_1.createNodeServer((socket) => {
const server = (0, createNodeServer_1.createNodeServer)((socket) => {
if (this._sender.isConnected) {

@@ -88,0 +88,0 @@ return;

@@ -11,3 +11,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -14,0 +18,0 @@ if (k2 === undefined) k2 = k;

@@ -11,3 +11,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -14,0 +18,0 @@ if (k2 === undefined) k2 = k;

@@ -9,3 +9,3 @@ /**

import { TransportDisconnectedEvent } from './transportDisconnectedEvent';
export declare type TransportDisconnectedEventHandler = (sender: any, e: TransportDisconnectedEvent) => void;
export type TransportDisconnectedEventHandler = (sender: any, e: TransportDisconnectedEvent) => void;
//# sourceMappingURL=transportDisconnectedEventHandler.d.ts.map

@@ -47,3 +47,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
const requestId = protocol_base_1.generateGuid();
const requestId = (0, protocol_base_1.generateGuid)();
// Register the request in the request manager before sending it to the server.

@@ -50,0 +50,0 @@ // Otherwise, if the server respond quickly, it may miss the request.

@@ -9,3 +9,3 @@ /**

import { INodeServer, INodeSocket } from '../interfaces';
declare type ConnectionListener = (socket: INodeSocket) => void;
type ConnectionListener = (socket: INodeSocket) => void;
/**

@@ -12,0 +12,0 @@ * Create a Node 'net' server

@@ -11,3 +11,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -14,0 +18,0 @@ if (k2 === undefined) k2 = k;

@@ -18,5 +18,5 @@ "use strict";

function generateGuid() {
return uuid_1.v4();
return (0, uuid_1.v4)();
}
exports.generateGuid = generateGuid;
//# sourceMappingURL=protocol-base.js.map

@@ -11,3 +11,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -14,0 +18,0 @@ if (k2 === undefined) k2 = k;

@@ -121,3 +121,3 @@ "use strict";

};
const req = http_1.request(options);
const req = (0, http_1.request)(options);
req.end();

@@ -124,0 +124,0 @@ req.on('upgrade', (res, socket, head) => {

@@ -5,3 +5,3 @@ {

"description": "Streaming library for the Microsoft Bot Framework",
"version": "4.20.0-dev.20230508.c2abd7d",
"version": "4.20.0-dev.20230510.192d4b2",
"license": "MIT",

@@ -8,0 +8,0 @@ "keywords": [

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

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 too big to display

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

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc