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

sipware

Package Overview
Dependencies
Maintainers
1
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sipware - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

81

index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = 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) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {

@@ -34,11 +11,23 @@ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var Router = __importStar(require("./lib/router"));
var Ua = __importStar(require("./lib/ua"));
var Server = __importStar(require("./lib/server"));
var Client = __importStar(require("./lib/client"));
var Protocol = __importStar(require("./lib/protocol"));
var Headers = __importStar(require("./lib/headers"));
var Transaction = __importStar(require("./lib/transaction"));
var Utils = __importStar(require("./lib/utils"));
exports.Utils = exports.getProtocol = exports.createClient = exports.createServer = exports.createUa = exports.createRouter = exports.Transaction = exports.Protocol = exports.Headers = exports.Client = exports.Server = exports.Router = exports.Ua = void 0;
var router_js_1 = __importDefault(require("./lib/router.js"));
exports.Router = router_js_1.default;
var ua_js_1 = __importDefault(require("./lib/ua.js"));
exports.Ua = ua_js_1.default;
var server_js_1 = __importDefault(require("./lib/server.js"));
exports.Server = server_js_1.default;
var client_js_1 = __importDefault(require("./lib/client.js"));
exports.Client = client_js_1.default;
var protocol_js_1 = __importDefault(require("./lib/protocol.js"));
exports.Protocol = protocol_js_1.default;
var headers_js_1 = __importDefault(require("./lib/headers.js"));
exports.Headers = headers_js_1.default;
var transaction_js_1 = __importDefault(require("./lib/transaction.js"));
exports.Transaction = transaction_js_1.default;
var utils_js_1 = __importDefault(require("./lib/utils.js"));
exports.Utils = utils_js_1.default;
function createRouter() {

@@ -49,4 +38,5 @@ var opts = [];

}
return new (Router.bind.apply(Router, __spreadArray([void 0], opts, false)))();
return new (router_js_1.default.bind.apply(router_js_1.default, __spreadArray([void 0], opts, false)))();
}
exports.createRouter = createRouter;
function createUa() {

@@ -57,4 +47,5 @@ var opts = [];

}
return new (Ua.bind.apply(Ua, __spreadArray([void 0], opts, false)))();
return new (ua_js_1.default.bind.apply(ua_js_1.default, __spreadArray([void 0], opts, false)))();
}
exports.createUa = createUa;
function createServer() {

@@ -65,4 +56,5 @@ var opts = [];

}
return new (Server.bind.apply(Server, __spreadArray([void 0], opts, false)))();
return new (server_js_1.default.bind.apply(server_js_1.default, __spreadArray([void 0], opts, false)))();
}
exports.createServer = createServer;
function createClient() {

@@ -74,4 +66,5 @@ var opts = [];

var arr = __spreadArray([], opts, true);
return new (Client.bind.apply(Client, __spreadArray([void 0], opts, false)))();
return new (client_js_1.default.bind.apply(client_js_1.default, __spreadArray([void 0], opts, false)))();
}
exports.createClient = createClient;
function getProtocol() {

@@ -82,18 +75,4 @@ var opts = [];

}
return new (Protocol.bind.apply(Protocol, __spreadArray([void 0], opts, false)))();
return new (protocol_js_1.default.bind.apply(protocol_js_1.default, __spreadArray([void 0], opts, false)))();
}
exports.default = {
Ua: Ua,
Router: Router,
Server: Server,
Client: Client,
Headers: Headers,
Protocol: Protocol,
Transaction: Transaction,
createRouter: createRouter,
createUa: createUa,
createServer: createServer,
createClient: createClient,
getProtocol: getProtocol,
Utils: Utils,
};
exports.getProtocol = getProtocol;

@@ -1,9 +0,9 @@

import * as Router from './lib/router';
import * as Ua from './lib/ua';
import * as Server from './lib/server';
import * as Client from './lib/client';
import * as Protocol from './lib/protocol';
import * as Headers from './lib/headers';
import * as Transaction from './lib/transaction';
import * as Utils from './lib/utils';
import Router from './lib/router.js';
import Ua from './lib/ua.js';
import Server from './lib/server.js';
import Client from './lib/client.js';
import Protocol from './lib/protocol.js';
import Headers from './lib/headers.js';
import Transaction from './lib/transaction.js';
import Utils from './lib/utils.js';

@@ -27,3 +27,3 @@ function createRouter(...opts) {

export default {
export {
Ua,

@@ -30,0 +30,0 @@ Router,

@@ -65,3 +65,3 @@ {

"name": "sipware",
"version": "0.7.0",
"version": "0.7.1",
"directories": {

@@ -68,0 +68,0 @@ "lib": "lib"

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