Comparing version 0.5.0 to 0.5.1
@@ -230,4 +230,4 @@ var iconv = require('iconv-lite'), | ||
chars: '@£$¥èéùìòÇ\nØø\rÅåΔ_ΦΓΛΩΠΨΣΘΞ\x1BÆæßÉ !"#¤%&\'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà', | ||
extChars: '\f^{}\\[~]|€', | ||
escChars: '\nΛ()/<=>¡e', | ||
extChars: '\f^{}\\\\[~]|€', | ||
escChars: '\nΛ()\\/<=>¡e', | ||
charRegex: /^[@£$¥èéùìòÇ\nØø\rÅåΔ_ΦΓΛΩΠΨΣΘΞ\x1BÆæßÉ !"#¤%&\'()*+,\-./0-9:;<=>?¡A-ZÄÖÑܧ¿a-zäöñüà\f^{}\\[~\]|€]*$/, | ||
@@ -242,6 +242,6 @@ charListEnc: {}, | ||
chars: '@£$¥€éùıòÇ\nĞğ\rÅåΔ_ΦΓΛΩΠΨΣΘΞ\x1BŞşßÉ !"#¤%&\'()*+,-./0123456789:;<=>?İABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧçabcdefghijklmnopqrstuvwxyzäöñüà', | ||
extCharsEnc: '\f^{}\\[~]|', | ||
escCharsEnc: '\nΛ()/<=>İ', | ||
extCharsDec: '\f{}^\\[~]|ĞİŞç€ğış', | ||
escCharsDec: '\n()Λ/<=>İGIScegis', | ||
extCharsEnc: '\f^{}\\\\[~]|', | ||
escCharsEnc: '\nΛ()\\/<=>İ', | ||
extCharsDec: '\f^{}\\[~]|ĞİŞç€ğış', | ||
escCharsDec: '\nΛ()/<=>İGIScegis', | ||
charRegex: /^[@£$¥€éùıòÇ\nĞğ\rÅåΔ_ΦΓΛΩΠΨΣΘΞ\x1BŞşßÉ !"#¤%&\'()*+,-./0-9:;<=>?İA-ZÄÖÑܧça-zäöñüà\f^{}\\[~\]|ĞİŞç€ğış]*$/, | ||
@@ -256,4 +256,4 @@ charListEnc: {}, | ||
chars: '@£$¥èéùìòÇ\nØø\rÅåΔ_ΦΓΛΩΠΨΣΘΞ\x1BÆæßÉ !"#¤%&\'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà', | ||
extChars: 'ç\f^{}\\[~]|ÁÍÓÚá€íóú', | ||
escChars: 'Ç\nΛ()/<=>¡AIOUaeiou', | ||
extChars: 'ç\f^{}\\\\[~]|ÁÍÓÚá€íóú', | ||
escChars: 'Ç\nΛ()\\/<=>¡AIOUaeiou', | ||
charRegex: /^[@£$¥èéùìòÇ\nØø\rÅåΔ_ΦΓΛΩΠΨΣΘΞ\x1BÆæßÉ !"#¤%&\'()*+,-./0-9:;<=>?¡A-ZÄÖÑܧ¿a-zäöñüàç\f^{}\\[~\]|ÁÍÓÚá€íóú]*$/, | ||
@@ -268,6 +268,6 @@ charListEnc: {}, | ||
chars: '@£$¥êéúíóç\nÔô\rÁáΔ_ªÇÀ∞^\\€Ó|\x1BÂâÊÉ !"#º%&\'()*+,-./0123456789:;<=>?ÍABCDEFGHIJKLMNOPQRSTUVWXYZÃÕÚܧ~abcdefghijklmnopqrstuvwxyzãõ`üà', | ||
extCharsEnc: '\fΦΓ^ΩΠΨΣΘ{}\\[~]|', | ||
escCharsEnc: '\nªÇÀ∞^\\€Ó()/<=>Í', | ||
extCharsDec: 'êç\fÔôÁáΦΓ^ΩΠΨΣΘÊ{}\\[~]|ÀÍÓÚÃÕ€íóúãõâ', | ||
escCharsDec: 'éç\nÔôÁáªÇÀ∞^\\€ÓÉ()/<=>ÍAIOUÃÕaeiouãõà', | ||
extCharsEnc: '\fΦΓ^ΩΠΨΣΘ{}\\\\[~]|', | ||
escCharsEnc: '\nªÇÀ∞^\\€Ó()\\/<=>Í', | ||
extCharsDec: 'êç\fÔôÁáΦΓ^ΩΠ ΨΣΘÊ{}\\[~]|ÀÍÓÚÃÕ€íóúãõâ', | ||
escCharsDec: 'éç\nÔôÁáªÇÀ∞^\\\\€ÓÉ()/<=>ÍAIOUÃÕaeiouãõà', | ||
charRegex: /^[@£$¥êéúíóç\nÔô\rÁáΔ_ªÇÀ∞^\\€Ó|\x1BÂâÊÉ !"#º%&\'()*+,-./0-9:;<=>?ÍA-ZÃÕÚܧ~a-zãõ`üàêç\fÔôÁáΦΓ^ΩΠΨΣΘÊ{}\\[~\]|ÀÍÓÚÃÕ€íóúãõâ]*$/, | ||
@@ -274,0 +274,0 @@ charListEnc: {}, |
@@ -38,3 +38,3 @@ var defs = require('./defs'), | ||
} | ||
for (var key in options) if (key in tlvs) { | ||
for (var key in options) if (key in tlvs && !(key in params)) { | ||
this[key] = options[key]; | ||
@@ -97,3 +97,3 @@ } | ||
//Since each pduHeaderParam is 4 bytes/octets, the offset is equal to the total length of the | ||
//pduHeadParams*4, its better to use that basis for maintainance. | ||
//pduHeadParams*4, its better to use that basis for maintenance. | ||
var params, offset = pduHeadParams.length * 4; | ||
@@ -199,3 +199,3 @@ if (this.command_length > PDU.maxLength) { | ||
} | ||
for (var key in this) if (tlvs[key]) { | ||
for (var key in this) if (tlvs[key] && !(key in params)) { | ||
var values = tlvs[key].multiple ? this[key] : [this[key]]; | ||
@@ -202,0 +202,0 @@ values.forEach(function(value) { |
@@ -17,3 +17,3 @@ var net = require('net'), | ||
this._busy = false; | ||
this._callbacks = []; | ||
this._callbacks = {}; | ||
this._interval = 0; | ||
@@ -63,3 +63,3 @@ this._command_length = null; | ||
this._busy = false; | ||
this._callbacks = []; | ||
this._callbacks = {}; | ||
this.socket.connect(this.options); | ||
@@ -66,0 +66,0 @@ }; |
{ | ||
"name": "smpp", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "SMPP client and server implementation in node.js", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/farhadi/node-smpp", |
@@ -5,3 +5,3 @@ node-smpp | ||
[![Build Status](https://travis-ci.org/farhadi/node-smpp.png)](https://travis-ci.org/farhadi/node-smpp) | ||
[![Build Status](https://api.travis-ci.com/farhadi/node-smpp.svg?branch=master)](https://app.travis-ci.com/github/farhadi/node-smpp) | ||
[![Dependency Status](https://david-dm.org/farhadi/node-smpp.svg)](https://david-dm.org/farhadi/node-smpp) | ||
@@ -22,3 +22,3 @@ [![devDependency Status](https://david-dm.org/farhadi/node-smpp/dev-status.svg)](https://david-dm.org/farhadi/node-smpp#info=devDependencies) | ||
the names defined in SMPP specification. So get a copy of | ||
[SMPP v5.0 Specification](http://farhadi.ir/downloads/smppv50.pdf) | ||
[SMPP v5.0 Specification](https://smpp.org/SMPP_v5.pdf) | ||
for a list of available operations and their parameters. | ||
@@ -25,0 +25,0 @@ |
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
63213