{"_id":"@azure/amqp-common","_rev":"58-5396410eb78908da41a64d6f72442655","name":"@azure/amqp-common","dist-tags":{"latest":"1.0.0-preview.17","next":"1.0.0-preview.17"},"versions":{"0.0.1":{"name":"@azure/amqp-common","version":"0.0.1","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@0.0.1","maintainers":[{"name":"christopheranderson","email":"chrande@outlook.com"},{"name":"southpolesteve","email":"southpolesteve@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"746fb331f33ea664326c6516f86ffec238bf07b8","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-0.0.1.tgz","fileCount":3,"integrity":"sha512-pxsUGQezjz2DdXVK7egRzqdFQ9ymTm4bBbVSIvZg9VCZ5a7VLJpFcFww0CO46DrX0XxjKEYKGOzfosn5qbh/Cg==","signatures":[{"sig":"MEUCIQDegy4S4n2thFNaBNYlLUdwHtSXjy++nCZVK2kK6lJpsAIgXRTTn2Gez/WKaljRjHIMqVNiAmPVqlWoTkN8RmhJgL0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":815,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmbj/CRA9TVsSAnZWagAAUxIP/RSw7EDIbu4vtHVhLRw/\nhR+z8yqxpTQGdsiupjf0PSMusLzZBQ1nFlQ2IeesHwH8wQDvt0OBVaMkhT1i\npbBlCPYS0/yFtAag0krAs62SrKo5hXiHEC28dPN8V8aGOzEt9hKSPwnYVgFU\niOxwQDhDj1uYa3SVPlXkmKjFXE2+nObJ3sU1tbUV/n610OSL73uSFKcx8mIf\nooKyW4c5Jma8DWC5sEJ+gEAkUO95zJsc20ZzoTucrCKrImD7Eh1SP7EN2ECZ\nfemWGhtf33pJH+SRqidUEkr7+kQX5IZODDmsd/4DKDVAQZuwMVxk6UGoRRQP\nhM5KUcLfNXttqEdri1aktcDAw4WO840t/2ITCYUpa+qMlEj9jC/ZPnBPOThq\nL4Nqi1m2Qid8T8Mt+SaxoEMvJlGbz22yIdlu3YeW5+C2Wx01tj2zYOcA2XhD\nRLVeQ9h1tUBCK+6ja5/VdfeTHqB/rL6UlKQQ5oM3ahZyz9X1CYPNsgp6JN/W\nHP3ytpYxn7+iBqommhSIXXfxfpOp9x6pdc60d1bEZ5rKFuyMeY1Z/frJBDpI\nfKMpdrvawaP7oru0pjPucEvbOF3iyQF4tb3G+2jKt1eJydWhFcFCKK4ekP1k\n0wOkS+L5Elu+qb9e8yot8RC9nTx263xyILNjY1/lA2BAgNuJJVMWt6wvfPcM\nF8Yb\r\n=lAkj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","_npmUser":{"name":"christopheranderson","email":"chrande@outlook.com"},"repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"5.6.0","description":"Azure AMQP common library for JS","directories":{},"_nodeVersion":"8.9.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/amqp-common_0.0.1_1536801022149_0.8875848641285911","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@azure/amqp-common","version":"0.1.0","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@0.1.0","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"christopheranderson","email":"chrande@outlook.com"},{"name":"southpolesteve","email":"southpolesteve@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"717f1dd9f269a7729d82d9681f5b1d6f643d2343","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-0.1.0.tgz","fileCount":74,"integrity":"sha512-dwHqQYjZpCx20e0JiVbu1OADmFZRphxp43LdPKoEm6hiLLvyPAOuLDuPo0lyC5M0ozRjOAM0hjzsHJZN5FkvOg==","signatures":[{"sig":"MEUCIEbjtZNfaRDBheZGYxIvN0urQ6bus1cyaj0rnD527Nb1AiEA2JGMW1ZwNxVE+2nDhtHpbrXZYDDS5uDkfo/dzSppzgQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":277475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbppEsCRA9TVsSAnZWagAAc9sP/3IcueYVNfDzG/lI7sYW\n6wnw7WQ4gnTo6J0r7GYhkAodePImRcsVGjpN5CxOSNmOKl1Qg+4kWKtqvBDS\n8EJTFQB1brycJVckrug0oRngXh5c1v65y5mKzRZE5GdzhF++gonOhp0DXuxL\nNREVvOiYqmF9T/K/c35u5uCCe+lH5cZNo6a+4nYH+zTaDbf917/K490arD62\naHMzPPz+UKa0SHKK7mTQt6EsizoE/XmfxOeezeHJrZtNhPlr3s+1dAxHZXfh\n4eTd2ayTzJaY2pTvo4ifZU+ZYzYAu8oskNO344kweVGv+AlcyOd2EKvHeCei\nQJPQ615pXGfzNdAobJXVaVWujxoeXWkjluZ6jUZ4EZPTXOEEZ8EgDFpKWtrq\n5J6kFd/arBLN9xUdd9HD6uNRuKoJczimk7H7ejPxQENXWo6vDeRJJGpox1eE\n9u/h5zpJAVoe6EzEgRowv/kLftn6lYES+3ueYsh2Ul+U0LDt3vcv3ZR6igBk\nlxxejmgaDlvhy3CpxBGsiJcE9gTyF9SBf6yTuIyHM88V636wXOk8ymTys3ep\nEFmrFsiEfQJTX+fyDtkWBPE38hJX1NK27X6kqxNa+puRiSOWpGF9/VpsuDFr\nvfXa3OgnlE8jnUlFg/4MYCX+0KLP6lVG3hABQbeybNpgOKsJZ8s2BDGDHO8v\nGQzR\r\n=kVsy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/lib/index.js","types":"./typings/lib/index.d.ts","gitHead":"1f0d16dcc93c60cf227ef2fa2318422452a8baa6","scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepare":"npm run build"},"_npmUser":{"name":"amarzavery","email":"amarzavery@gmail.com"},"repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"uuid":"^3.3.2","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","ms-rest":"^2.3.6","is-buffer":"^2.0.2","async-lock":"^1.1.3","rhea-promise":"^0.1.2","ms-rest-azure":"^2.5.7"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.1.2","mocha":"^5.2.0","dotenv":"^6.0.0","tslint":"^5.11.0","ts-node":"^7.0.1","typescript":"^3.0.3","@types/chai":"^4.1.4","@types/node":"^8.0.37","@types/uuid":"^3.4.3","@types/debug":"^0.0.30","@types/mocha":"^5.2.5","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","@types/chai-as-promised":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_0.1.0_1537642795657_0.37627483333644496","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@azure/amqp-common","version":"0.1.1","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@0.1.1","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"christopheranderson","email":"chrande@outlook.com"},{"name":"southpolesteve","email":"southpolesteve@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"3f7cabbe1067f83b22e2e9f34075d495c6fdbde7","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-0.1.1.tgz","fileCount":75,"integrity":"sha512-Zd57OD254adrzFSQBuTKO4Hd59B91RjRXNvoJIINcoZbg3gRuvgLgy9M0ull0tJl0TQieWUGPQeMbo0KJgvecw==","signatures":[{"sig":"MEUCIQCuK5/ES2F36+PJxBBpYoLMCaelyN/EE5vJowDIH7xKQgIgJVSyKq+H/LRj0TukQfm7hG8/opg12BihK40Lq5p/eis=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":278009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrBOiCRA9TVsSAnZWagAAgu0P/jSK2BMrFwUDEytSfn5/\no1USzhZvD24Y5vtau5tT0L0TP8teRNjHx+LAGf2ww8jWnL5rJ6bQ3tZHdi6X\n3Y9fOQ3MfadYhgcfGosxH+bKGsZSVERAoGEtjMOfY1SvB7StjBhnuz4dXMd4\nJQhqZBxkkrO8cG/KdfVPbyPKiYKfI3P7b2+nMlhiYGEmnR+INiPf7HIzu1Mw\nuNDBt+Y7b2rw7IhoEvKlGONyE7B80ZHVz+/Bcgc/IXHi32+Yxvj2AlbIiXHl\n0QBmx9OSOn/0t7n6iajYqRnZUdjyEH7zHJdiEsCPpju5zCCaruO+kh0zpVOM\nxcwhOVlFJUvUhW0s4OwZnOOELcnUOO/HJj6YzaWoHnyokwcmaN15tUj227Wu\nyxMph3TGyHoMuSHEKvZVR9J4cXuDJD938qWyuZRskf9zjsuRMVLtJh7TOz3r\nRvj5JExN0xZnQawG68bn/WQWeXDJ4NJIQSdaqLo5BwvTeDqbZfNVnGmnrr3L\n9NgzpQTd+CnvC7z1Tsz46pLhitsPv1JlC71sOVmsl1hba2fdjC9/W/Ip53y9\nYPrJLiPh8WDAwcZ+JoscuUS53RZgOligFO9FLde47mQfkJ0CWy6OyLzobZWY\nBHH1lfb3nI8+eMuRcoDoVu9twEycOOvR+fvtq1mvDfilY2Gb4qpDhD/3Tj6/\nXpds\r\n=EWlr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/lib/index.js","types":"./typings/lib/index.d.ts","gitHead":"0b297dad936d3ec59463332f2538740620a00d5c","scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepare":"npm run build"},"_npmUser":{"name":"amarzavery","email":"amarzavery@gmail.com"},"repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"uuid":"^3.3.2","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","is-buffer":"^2.0.2","async-lock":"^1.1.3","rhea-promise":"^0.1.4","ms-rest-azure":"^2.5.9"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.1.2","mocha":"^5.2.0","dotenv":"^6.0.0","tslint":"^5.11.0","ts-node":"^7.0.1","typescript":"^3.0.3","@types/chai":"^4.1.4","@types/node":"^8.0.37","@types/uuid":"^3.4.3","@types/debug":"^0.0.30","@types/mocha":"^5.2.5","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","@types/chai-as-promised":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_0.1.1_1538003873707_0.6910029125277706","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@azure/amqp-common","version":"0.1.2","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@0.1.2","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"christopheranderson","email":"chrande@outlook.com"},{"name":"southpolesteve","email":"southpolesteve@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"b1de345a006546e0bfb1a0f9fffcde90eb513917","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-0.1.2.tgz","fileCount":79,"integrity":"sha512-tyH1n5IWx1hwCUvu6v0OR8zpDvtfl5jLwDqN9Cp5XNKr+hMegWGBXEPs8waJjv8GQrIRBBukWCbqw/8bNKVnVw==","signatures":[{"sig":"MEQCIFXlJoY4ERD5yEZ+gdYdbOZrR8r/9MTzeQ2bwi0I7kgpAiBY3uAmmok7j8c87du38iarvpcUfw2TiZ5fKe6KyacdoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":299746,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrpk4CRA9TVsSAnZWagAAyX0P/iqkwy+iRbui7b/gIo8l\nckhwhJNeLemuktTOizuuOjS7NEORxer/Pm6jMstS2l82GWAlR5fsvQrfMwLH\nkT5dygTcptNlrJlENhsID+k2yACovzN2hcw1ll69Tvd82Hpr6YiIQouCWD45\nBuJCWQO4Oc3zLlcFKYNxWPvPZK8YpQKQ/XBIoH97m24vK0T+EGskDsOGQDw3\nwcdqNKtArtrpp9JxGL9+UstYQszEP4Lj2bB9G5/8VhGMJJEzG3cQtjXEUGU6\na4nDwV2+YmHm3hA6d5134AQm3K03aoxSJi6bJdTGHkz+4qNBG0f+ERrQ3MIf\nolF0logmTfck3ahXKGMVX0QP6PD1iqtcl/KgZAbN8p0HSmY1xAh5x1W3wTtw\nhCSPOdx/8ZlayAk3iSb+CdKpvU7ebGj1Pittyyxa+csrQQiO9R912rV1qrGB\nvY2cktTkN8L8RMuA1xBjJj94WILvPad4mC5/uLZ11JTwlUKv16TJm4R5PSFq\nUWLboEWJY6P0HsC5DCR9OX/GQppleKlTewIzLD/i/zTJPgeMMQBHGxFLYKIm\nw49W3v0BNip4JEyOMIo7q9pxhhFJDoZGmGCJShlVDpZb/+xVnUdAt5qO5hoh\nif7P3CmhoYzAElISF4sBaGaI6VgH9LuE1hxDd7HtkrsDfmxMhoid7j/Xehjo\nKqbp\r\n=yoSX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/lib/index.js","types":"./typings/lib/index.d.ts","gitHead":"c62511f12aa152d6dd9cf0c18b2af0f857ab5c4c","scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepare":"npm run build"},"_npmUser":{"name":"amarzavery","email":"amarzavery@gmail.com"},"repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"uuid":"^3.3.2","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","is-buffer":"^2.0.2","async-lock":"^1.1.3","ms-rest-azure":"^2.5.9"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.1.2","mocha":"^5.2.0","dotenv":"^6.0.0","tslint":"^5.11.0","ts-node":"^7.0.1","typescript":"^3.0.3","@types/chai":"^4.1.4","@types/node":"^8.0.37","@types/uuid":"^3.4.3","@types/debug":"^0.0.30","@types/mocha":"^5.2.5","rhea-promise":"^0.1.6","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","@types/chai-as-promised":"^7.1.0"},"peerDependencies":{"rhea-promise":"^0.1.6"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_0.1.2_1538169143509_0.8081332226391982","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@azure/amqp-common","version":"0.1.3","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@0.1.3","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"christopheranderson","email":"chrande@outlook.com"},{"name":"southpolesteve","email":"southpolesteve@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"d138cd2ae7ab6356823cacfd134088901be4f2e9","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-0.1.3.tgz","fileCount":87,"integrity":"sha512-CxwWO35BlxwcROzShx7QylrY/PUc3LlyqQJd18hl9Vv957O4t5r3pyK5Xn15WfMDztXmR4UVZWSApB4jWCpvww==","signatures":[{"sig":"MEQCIF6EADJTIdYZJZi6AY/vU5F89rTcra1Ifd5xa4udGJHcAiB+aAvGl4Nf0jxft4d5l8UhEfAX0BfvqifJ87juGMUN/g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":316484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsoO1CRA9TVsSAnZWagAAceUP/ibaDotYe+M8wWyOkaWf\nXW4Plp4j8NHZUa2n01Q2AM9QjiP0Nkd3IaIYXPLF+tuPRsZrZrISFiX4Imh/\nt3lYG00dbZiiieWU730LJu8oPGRWm9r0LZV6C7uPJjX9M+9mS/6JFaC2dJ5u\nuv0aenNJkiBg787h5R03umzyTTEqD7YXnRVRYNSu76heVBgjA+N5+2qWTkZK\nXtR2gjEgpUfKPJGizMOoTlG4kibh3QsoDSiZSq3LTJz/N/7Ka9EdDtlVYiKg\nil/kqDbA9dBd+o3k1eUTne7GOxto8ZC6cGp1dhtYks1byruZ+pVrR01nAPlG\nxuCt5+/zjMI9BLNf3scquwqUKXFHilqXrErqkFjPzkcHQOUyrPXwtrYWW20h\nuvClauc6qGE1QU8a2rFdx4auqHVNCEBpndLjUNTzzhCCC3yL5mfMoOKVVcsp\nqeRAi7+QE67N08KRcoPZlnsYKuho4VXpKIWHT3/+nAV38T42K+iI3U+YRVRH\nOGrtqAMjeQQhM3H/AdwMrrWCmAcgKCDHVBFVdPQRVCHW47b+d86uZHJa6EO8\nhlRgGX6FyFKV6Co0iAE78L20XdFvwKotHtFGRvOUx8U7GoVlSYAzpVbZU0el\n0A3eFK1O2S+pqY0bWjHfyxalnYhrmaRtxarsH1NKGMgR9oFeIr274NHSGSsM\naFE1\r\n=Hmdc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/lib/index.js","types":"./typings/lib/index.d.ts","gitHead":"b1c09770c05ff22eeb5c48053628b3a2725a855e","scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepare":"npm run build"},"_npmUser":{"name":"amarzavery","email":"amarzavery@gmail.com"},"repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"uuid":"^3.3.2","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","is-buffer":"^2.0.2","async-lock":"^1.1.3","ms-rest-azure":"^2.5.9"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.1.2","mocha":"^5.2.0","dotenv":"^6.0.0","tslint":"^5.11.0","ts-node":"^7.0.1","typescript":"^3.0.3","@types/chai":"^4.1.4","@types/node":"^8.0.37","@types/uuid":"^3.4.3","@types/debug":"^0.0.30","@types/mocha":"^5.2.5","rhea-promise":"^0.1.6","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","@types/chai-as-promised":"^7.1.0"},"peerDependencies":{"rhea-promise":"^0.1.6"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_0.1.3_1538425780584_0.8906628059864918","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@azure/amqp-common","version":"0.1.4","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@0.1.4","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"christopheranderson","email":"chrande@outlook.com"},{"name":"southpolesteve","email":"southpolesteve@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"709ded9976da969f8f23c75cba1110db420fc656","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-0.1.4.tgz","fileCount":107,"integrity":"sha512-EYNx4chSqy4Yjkd6h33Ju6hfwXnp16wAl/dWU01790WSqcu4BfYLNh6Z7WNdxR9QeDMzCPkc8u6V66cXlehTjA==","signatures":[{"sig":"MEUCIF2zGd7h5TXJHiMkr8MvmO4A6GTyM4pnylG2o0zoYymeAiEAoDZakM2x4PW4YnuU7KnNt647ajIdhqTM4JMUYFK01JU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":339841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbt79dCRA9TVsSAnZWagAANkUP/3/Rij9R9DclYJ76WRQE\nuovbEI32sP7hkKBB9KX+0190bpiTiix+MacIQW4M/t0mGVKuL8LgIcOSNTX2\nFgV608mjf0H8dIHtRRXCqyes0aSN00KcD4ut/727c4GIKAfFko7hikj2cmwD\n8/CZXMCgS8dU/8y0vHV5UQYrntVbLo7PSWBvL6XQG5sU56fjWKtZKwE2VFUF\nhPIVM9gT433DX57ek9mFZf3ol6WVf+cyHKS2pomPoRIHtFi2o65WkrhLpG0m\nXHSJNbuHMJe/Kke2PNYSE2d2OaWsHpQmf1BTXw+DnxBpEpMmePx02Ys+MEcZ\nafbpZ5V99I3eTNme3tjlonzV/FAZDTxo6Z6Nlkw+kKtrQuXiWxZktwdLhVbm\naD7/N3hSt43nupLtanO4RNfS18mPEszXEUJWes6QBZo00YQ4soNGOviFcxEp\nNx/3QGE6mk+G2q9ectiuwowdsqN8N0L3+XfnXdAoFB2hZa/TFhiBFe7wSPAd\nsVWJZS37goWldvHoA444MMs8Wiq1cC87N4KQ0rjCyD+6NBWN3qgVekl2b6N/\nkmaqsMcLX0Zo0zc6nJZbwSaECiUS8wDC8a7JtGIDRZmmY3Yzw4S2AA1SjvME\nD9f7xGucJWAngUc5DY5WMwuZXjm/eHLCu3XSx4O8i++ZIHhW2MTAWX9QSLD0\nnM07\r\n=/6e8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/lib/index.js","types":"./typings/lib/index.d.ts","gitHead":"bf3d06d4dca1129c02eecddf0fb135bf4ce6f8e4","scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepare":"npm run build","prebuild":"rimraf dist && rimraf typings"},"_npmUser":{"name":"amarzavery","email":"amarzavery@gmail.com"},"repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"uuid":"^3.3.2","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","is-buffer":"^2.0.2","async-lock":"^1.1.3","ms-rest-azure":"^2.5.9"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.1.2","mocha":"^5.2.0","dotenv":"^6.0.0","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","typescript":"^3.0.3","@types/chai":"^4.1.4","@types/node":"^8.0.37","@types/uuid":"^3.4.3","@types/debug":"^0.0.30","@types/mocha":"^5.2.5","rhea-promise":"^0.1.6","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","@types/chai-as-promised":"^7.1.0"},"peerDependencies":{"rhea-promise":"^0.1.6"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_0.1.4_1538768732445_0.9480827822148186","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@azure/amqp-common","version":"0.1.5","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@0.1.5","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"christopheranderson","email":"chrande@outlook.com"},{"name":"southpolesteve","email":"southpolesteve@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"198014ab55080f5bf768fb538964093517a22a25","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-0.1.5.tgz","fileCount":107,"integrity":"sha512-k2+J8qAoLDqA7XBeyIoC0ZKnUEqLk1GShb/XYRARp4YX4U7b06+H2cEZ3uoA6F45yhQJx0rIg2wH1XG4Dnheew==","signatures":[{"sig":"MEUCIQCs/fnghs8izUhdM0xL1Hv0Yr99bL2Qe8FbtIv3H3+1BQIgLYWiSTlvUsjFHbWP2soqutks+2TD6lHoN3o+B+UeDvA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":354784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx5mgCRA9TVsSAnZWagAASOkP/jJUJN+sLje5zRwB+CHC\nUIMn09eidE9BEOuKNSNdbiDlwNzXfBR9HXPgdc/4cxMwdhC5J3S/vdjJ1AWR\nc0ntSRjZKZqFJ0EH6+k6yrq9V78TDeVVvas+xaHx0YGVDlggR4wZx4yefNtc\nuHjBXLV4KnmsbJcW4NdB/1p0LuZC+FYy1jZhWSgIeIEuTXEqFUctYBqt6G2y\nzis5yL78HCirsbQLB5RLZR34SXOydAy9O5uiK2zTe51y3Fezog145/SnjHjj\n9KlpPqgSDb2dOBC3gezOXL+sjfVo9iaybSRoNHENLYOIRW+9XVp3jH6b0qrI\nX3h9jo4+7PSnRK5ce6rsViNv9YeIiTcPhWkNQIte01j7E0Ffrifu6SxbfWRt\nOWTrm8CMRr7KHL+XBQoyy9BJp9Se8oU/ZJXRyuMy3YITEf5T8HJKchnOE65W\nUerG19FbxaLuxFZu9Jp5T9Ei05EFk8zO/hA1XuYN7PbIuCVEMizjDNEAhZfN\n/HHVa718Fw2vMbveaywSEyCQLVXMJA7cUHa5vI4+0XlyWU1XuUx7em3KxdgG\nSBEBXDVoQkW5jPUcQHZ2i513WilrP4dpbDTzWxdp8+RU0o2g+yRs8GjuU3pO\nIjcSOaTFDsjE1Xxp6M/QoYIK/QqNQ+Mb7hmwhE+ywdHkEzkdCFh9tDKlhFKC\nyba9\r\n=oQd/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/lib/index.js","types":"./typings/lib/index.d.ts","gitHead":"fe5b384541094f81ae67270bb99c669d18a8dd41","scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepare":"npm run build","prebuild":"rimraf dist && rimraf typings"},"_npmUser":{"name":"amarzavery","email":"amarzavery@gmail.com"},"repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","is-buffer":"^2.0.2","async-lock":"^1.1.3","ms-rest-azure":"^2.5.9"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.1.2","mocha":"^5.2.0","dotenv":"^6.0.0","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","typescript":"^3.0.3","@types/chai":"^4.1.4","@types/node":"^8.0.37","@types/debug":"^0.0.30","@types/mocha":"^5.2.5","rhea-promise":"^0.1.6","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","@types/chai-as-promised":"^7.1.0"},"peerDependencies":{"rhea-promise":"^0.1.6"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_0.1.5_1539807647598_0.7765748416600022","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@azure/amqp-common","version":"0.1.6","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@0.1.6","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"christopheranderson","email":"chrande@outlook.com"},{"name":"southpolesteve","email":"southpolesteve@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"8e45470ccc4e955a5e020e8623a63f01208aeaab","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-0.1.6.tgz","fileCount":107,"integrity":"sha512-nrhXWkdCht9myqj70Zp2RaVkEenjNKUE6wWNNzLonumw6iy1ZEf8Uv9uTgpl35s2d/bzzjR/1Vx0gnwg26WIog==","signatures":[{"sig":"MEUCIQCXeMgesrvblmk/f02RLSsb5pJJvvqIaCkukIz8tS/Y2QIgAbJ03ctURVvjR6vYp0jBIAcpR80hdyb/AJdCQk1l7mQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":356542,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyicqCRA9TVsSAnZWagAAEUsP/376YiH9L2nobzttKR5l\nETIDwrtQYuBnFh9F3kJvy1ohFvMv6LDWLTlF4s2gdngSrH/fn7D2rOs1UCtU\nkA2fa4Bngc0rNcD2Q78nOKm9xhAAplPDygPBgthKOVjmJg1k6Jo8lCTeGpBU\ntqBbfmRTpgXLJpu6RDvSWIbpy32LopJZ4Qm0c2R7UZYbSxAyt011apuw7Jkg\nXmZvpsB0w3gHb9db+ZVB0rU2kbvqcWd5+e1pzJjgHcLTR5G6i+kqpUCBCOMB\nCJ2anUWPtiCZAs/k9XvGN7KwH+hHwZQJ/H+NnH13QkSeJjQiPRIMO9uz3HF7\nZjmILq9mkHAvJ2WhDie7lYMKiPj7tWxqfMT2HE17JVczmp60qljTWKKJrC8d\nNZMTgC4jTUYhKCD9b1oHHqGSs2g6ovEKQl5SX4nwEICgeubAV/GAEJwCLk5Q\nUicKd+zX6TWBI64qCOLbFPnX3zr4iEDHqxBCD2AORgA4LIlHzdzhhbOJDnNb\n6dFRCAiJwVfwgEXL8xQR+XueXWL2zU18bjSIeowy5zHZjDDMXQboRfzfeLoa\nTbMhy+hZJm1lzX9uzZuZT6rnIRY45v4h4BfwX+gN/+V6E7eSUMmRcvVCvCpc\nNZoqF6Aoz/uIe6LTGPuWBgir4i73NkggHBuZU+M6IeYWU+fhORcyQ8jCLrDx\nMaDA\r\n=Ou09\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/lib/index.js","types":"./typings/lib/index.d.ts","gitHead":"a84af8b3acff08d4784e945ddfb54c30fd11cd8a","scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepare":"npm run build","prebuild":"rimraf dist && rimraf typings"},"_npmUser":{"name":"amarzavery","email":"amarzavery@gmail.com"},"repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","is-buffer":"^2.0.3","async-lock":"^1.1.3","ms-rest-azure":"^2.5.9"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.2.0","mocha":"^5.2.0","dotenv":"^6.1.0","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","typescript":"^3.1.3","@types/chai":"^4.1.6","@types/node":"^8.0.37","@types/debug":"^0.0.31","@types/mocha":"^5.2.5","rhea-promise":"^0.1.7","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","@types/chai-as-promised":"^7.1.0"},"peerDependencies":{"rhea-promise":"^0.1.7"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_0.1.6_1539974953331_0.9585269090130413","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@azure/amqp-common","version":"0.1.7","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@0.1.7","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"3ff059215de95609e2fbc59d0057ed7754399c40","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-0.1.7.tgz","fileCount":107,"integrity":"sha512-M9Q2Vj5az1MMWD+DwxclJrvB1mCjcIWQnguA9LqR6mC4fzAhi2KG9lxlsce4C5CK+aSjxTEbNJsCiIn3rllhZw==","signatures":[{"sig":"MEQCIAdCP/x2938K5UHEhMD+7JsezzIvLH93cEPzZWiIR0eIAiASz683KvMyzINnN0KYupinvZiEjhuzuieKdrqwJ/csZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":357739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0mtYCRA9TVsSAnZWagAAYTIP/1r3n8pTuIh8gMO9jRzr\nSK5gXTEuVv5z40uHjMPH9uI08h1YJGsn7X+Uw2ELSrzX04lCJRvFQ9Pm5vEx\nMpRaWJeWfAHu/+f7/EDvWLBp3s7Q+b2vbFzxYHblDA/KIIe39IwWZq6RK8Y3\nvUCyJuOfSOEcFme+zYEgFpR8wvd5D8O2+J5N4+uYFdvTqBVRqP1spEoxAMwm\nosd/4kN+o/jZ/xeN8zFuYSk4plNC2eKQABkhZv9HLHlfcbMriiL9oW7WxYG5\n5X44km3nAEOU8/WhkgwF7uk4C4jZOU3yXFpEtRvB2+e4f7WtMvQ2fnSA9pcJ\nptomMk1itNG7AXwWEYeFgBktuutTXuDd+RuvZqgPMWDvhFEwM1GTCMuwU5hJ\ny/gNnvJYJZuwqrvdZr0dox9qvTvMxQPNcc9kcWvp+2WYp52EznGUtpJ+OlsG\nCfDBPcUThdma5F5AnGkDsJ6hHMPWVdOLOVU3cDw1zSPyLLsTJX9QTtU1tCzE\nplq2Qo39NWAXVmmv96j4XDDA5f35nTlypcH2fQcU2PLPqsKYi2alnXOeKa4E\nAbZCf2HMBXxA3+F/GiLRccaNob6n37QizAOBcHed+vT+T3b/tHZRVCVHK3SC\nOZQ223MSv3T1+P61WBdtWJq1bgxyGFFzk6FRh1XWMcXerTMGx7uztHiXGm1K\ncxim\r\n=pjYk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/lib/index.js","types":"./typings/lib/index.d.ts","gitHead":"3804bca8e9ae231fcbf176a16c38bd82203322ce","scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepack":"npm i && npm run build","prebuild":"rimraf dist && rimraf typings"},"_npmUser":{"name":"amarzavery","email":"amarzavery@gmail.com"},"repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","is-buffer":"^2.0.3","async-lock":"^1.1.3","ms-rest-azure":"^2.5.9"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.2.0","mocha":"^5.2.0","sinon":"^7.1.0","dotenv":"^6.1.0","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","typescript":"^3.1.3","@types/chai":"^4.1.6","@types/node":"^8.0.37","@types/debug":"^0.0.31","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","rhea-promise":"^0.1.7","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","@types/chai-as-promised":"^7.1.0"},"peerDependencies":{"rhea-promise":"^0.1.7"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_0.1.7_1540516695198_0.6805823777235729","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"@azure/amqp-common","version":"0.1.8","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@0.1.8","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"d078d7a0bf6e4cd3e2814709fa1e29dfefaa454e","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-0.1.8.tgz","fileCount":107,"integrity":"sha512-sXngWHZ9fJ6L2MFG+sFFBmtnQqoJwRZL68dPiAQVy0nTrxPfiMFjl2Us4Qj5oe2SP3x7X54xxP1mpuZQWNQ0nA==","signatures":[{"sig":"MEUCIQC+b+b0QXpAXa7TgE2PjeMIv9ywWkqoqp6DmA1/xQaOcgIgBQ7JdCTxd3o3hJrtFws2VSev3/pUl/Z1Hsdvtnn/Wv4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":360823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDzO3CRA9TVsSAnZWagAA544QAIiVuC1h3/B6lldBu0YB\nlNo+8d90KbfvlxqgpYQZbZMzNr42a8sBTc1StAo9HCR1Sl4azG6YIF1x9ttK\nkhcnGzc2Th9tpyuaPzMoXgHCbOCRL0xA8G6v8r4Mku+J3hegt95L+RfOhmux\n31vBKN+LmCPhtFmojLgHqiSJ5ldXscPea4dHgY8slsp+i/QXX/tnietEreSu\n2itIDXz61z3K5lqyLcXjgLPb1O7OMQEPIF3JTsFFYRxHeiM1Ro8sk8UNPvqu\nBv1W/1teQ9674R7bXpgM40aZ3IZ5liV2+AgYMec2CNRrDD/JhMRT2olG7TXf\nUClRsuFUMsd5c8/mUG4TgwOG2WkcbrTe9TAOCKS0Cl7FITGMnKOyVyrZ+c6R\njf6tbuUmWTYrrxCRz/wlUS7QLEr9jnDMPJR0XyLB9zRV2HPdNiYClvFBy6kZ\nWCDtq+9WboTbeE0tRCT5cO6BcHpDX/W6EhikbX2M3qjA0d3yzG6HzSjdeM3S\npMbmGcEBvJBlyf1IVP0J3wQ0x8s0XN5jTpijNk+t2wKW2q8sCMHXgcK1WAHh\ncMIfxJtFcagVrYL5jY0vzTklBZkZNq88sPkYKm9ivFj4ydIsWbwRG8W8AeKz\nijKOOldwuZCuqN1q7gAuOGiGOrveh/ul2knueIc+D6dxQnuhQ8mdMWa/410l\nLs56\r\n=nEar\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/lib/index.js","types":"./typings/lib/index.d.ts","gitHead":"2a1918d3803bc9f8010d4cc2572b229b2417b6fa","scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepack":"npm i && npm run build","prebuild":"rimraf dist && rimraf typings"},"_npmUser":{"name":"amarzavery","email":"amarzavery@gmail.com"},"repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"10.13.0","dependencies":{"debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","is-buffer":"^2.0.3","async-lock":"^1.1.3","ms-rest-azure":"^2.5.9"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.2.0","mocha":"^5.2.0","sinon":"^7.1.0","dotenv":"^6.1.0","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","typescript":"^3.1.3","@types/chai":"^4.1.6","@types/node":"^8.0.37","@types/debug":"^0.0.31","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","rhea-promise":"^0.1.7","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","@types/chai-as-promised":"^7.1.0"},"peerDependencies":{"rhea-promise":"^0.1.13"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_0.1.8_1544500150927_0.0675858142837642","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"@azure/amqp-common","version":"0.1.9","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@0.1.9","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"f6d5fbdfcb6ee9e00d339ed26bc2a8ab14668ead","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-0.1.9.tgz","fileCount":107,"integrity":"sha512-B/HFWNbqAjFjhj8x/zlHcpuYtsr92l3ZVArJdumi2kpN2Di/h4g6GIa2JeQEDD+rkLa3oAR6zHKfJbGnybOmvg==","signatures":[{"sig":"MEUCIQD4FBaxIwtvDwN1LDtjrQbtb2A2bG/eg8a7Nzd6ScfK/gIgUABIalAzP4RIs4yePYwCYODSr5aSfqvAYwlbIDREMdw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":361957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcFKEXCRA9TVsSAnZWagAAvXoP/RAGsx6YSdB59VU15wRp\ng13jLuKlKc42BpqPUFEOqkLFi+5bLYCcSRidHjU03RlRax2UZ2cKlSxf4TYS\ngrwXE41qsBxM1Ho0HelAgL7FYpA0dpKjroS6LsohtzFEBkvUzojxAIMqyq+/\noj2FKn11F9JPTUIKVOu8O06jU0VU9ajONSE2hk3hqvVUztTO1uwmDJqgkRBr\nwdxJ0VuSXNCKb1UiV/D0yoP+Bn99VRWBEmu0ASkUZ59VxkZMjjWuZj1EfMQT\nvFvF7aoXsrxfbBR5oG5MMmwINUXSLVzWJJfCuLg5rvRrGIxtjBWw7L3w397G\nBQLvUHO4iABnlKDnn/X7jKFcVdPnDLvT5NU4S2KFDfwFZdTwlbQdb8beo9Ed\n+a7WCf0E69NvnE/rPHTET3zyb0aJZBMlJgkWFnP/B/vYgklGaz1R10LrV551\nBgVPJfJhGTLlIgT0ni+6lj+FhwNqoDOn7BtzvHRUaaQ1ThQIRkDF8HRKN0l8\n7Wf3GACcbfrAAZFTkZlyeqJJbHJ9mNP1hvLtA//bvG32pK+wfXHivPrNqqm2\nCzg7M31iX9Wi4JkhrDgSKV9145oHpVVgyIdBIaB4BNxEB0LlhixXwzX+rTyW\nB9eR5EHahin65ZO8ZbTs5beRNlk/4bJm9ektlQ2Fgc89VqDROPwxoesbIew1\nCQ16\r\n=S0Ou\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/lib/index.js","types":"./typings/lib/index.d.ts","gitHead":"32fe06693357be8860953ed0a2587e93a120a8bd","scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepack":"npm i && npm run build","prebuild":"rimraf dist && rimraf typings"},"_npmUser":{"name":"amarzavery","email":"amarzavery@gmail.com"},"repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.4.1","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"10.13.0","dependencies":{"debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","is-buffer":"^2.0.3","async-lock":"^1.1.3","ms-rest-azure":"^2.5.9"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.2.0","mocha":"^5.2.0","sinon":"^7.1.0","dotenv":"^6.1.0","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","typescript":"^3.2.2","@types/chai":"^4.1.6","@types/node":"^8.0.37","@types/debug":"^0.0.31","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","rhea-promise":"^0.1.7","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","@types/chai-as-promised":"^7.1.0"},"peerDependencies":{"rhea-promise":"^0.1.13"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_0.1.9_1544855831052_0.8052373099284447","host":"s3://npm-registry-packages"}},"1.0.0-preview.1":{"name":"@azure/amqp-common","version":"1.0.0-preview.1","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.1","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azuresdkengsysadmins@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"mikeharder","email":"mharder@microsoft.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"65dc9bd07abe8c1aeb59efde7a190b590929bfff","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.1.tgz","fileCount":108,"integrity":"sha512-lTwonzbFtDLHqxddUJ3as6tR803NTgdT4TfN2D9Awdznu15rSGZjVOP++pLjS/qRahqK5fg+PMjZPWj1BTY6NQ==","signatures":[{"sig":"MEYCIQCE+oVpy1rhIsa2JAk4E58HS0ziJF0Qk3Vb3zqDsSekPwIhALCpJA6YYiq7K5vflpTLKwqVUz+PycXAwIXGCLLCLA1y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":366583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPnXSCRA9TVsSAnZWagAAANIP/RHWlUD5oFurU705Ccgf\njUo296mE4dFp1z41fkaHnAIr20XR87dF620AiJpv2TwTTcbHiHUDETgYe9Zs\nNZSR/Am0kHsH/kRx8Ckiqd5LqOEwi/oSG7JQKg8untS/qF+7MAVNki/BvwdI\n+Mlj6GSzb9Na0SJ/iBKb7Gss77mNXCuhS15yrCi6qKF0E/ERfhRkyukXMeb8\nq9/UDpjEjqIPrteaN60VNkHF6DVZ302udIh/hgSn2zPfMLTAFtKs1nsygGDu\nFUR8hHsRI48oALgjvOVJu8lW+hDQGfgvpaQwofnNA3jgxvcLNnTv95WWjSMI\nuFlBfTUCtdkdMrFof0JqvWzTFQUVEWJG1kSpVVJq4kOO3gBPqoxrcusrwrlR\nqUqYNMjf0Luhr8MlQL2/BXeT+CVEA2Rj04bfcVQfA7clUKmU0VBa+Ha+mUqK\nQRNqhsl+q2K9/e++z+A/eT9J1XfLnYoNA3nzIkkPXO5mj/kZyH3jIlIPoKWj\nfX1aRcp6hYZHvjQ9+m0Z4AsGoOGR5Ugfebi33sKVsOXdef3kScFDXN5f6Djb\nAn02Wst7u9Kzb1x4qgrNVtV+hiLHdKqLTdsbMb1Tf6DQts6PmsEYjisDslTw\n+HHFd1kUqsstqXWbKZg0g0YceGn55qtwECmxYU8Xaum7ZMgqoWtqSVjNbWk7\n7Ndu\r\n=l+Os\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/lib/index.js","_from":"file:artifacts/drop/azure-amqp-common-1.0.0-preview.1.tgz","types":"./typings/lib/index.d.ts","scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepack":"npm i && npm run build","prebuild":"rimraf dist && rimraf typings"},"_npmUser":{"name":"azure-sdk","email":"azuresdkengsysadmins@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.5.0","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"10.14.2","dependencies":{"debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","is-buffer":"^2.0.3","async-lock":"^1.1.3","ms-rest-azure":"^2.5.9"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.2.0","mocha":"^5.2.0","sinon":"^7.1.0","dotenv":"^6.1.0","rimraf":"^2.6.2","tslint":"^5.11.0","ts-node":"^7.0.1","typescript":"^3.2.2","@types/chai":"^4.1.6","@types/node":"^8.0.37","@types/debug":"^0.0.31","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","rhea-promise":"^0.1.7","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","mocha-junit-reporter":"^1.18.0","@types/chai-as-promised":"^7.1.0"},"peerDependencies":{"rhea-promise":"^0.1.13"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.1_1547597265367_0.8226862560680441","host":"s3://npm-registry-packages"}},"1.0.0-preview.2":{"name":"@azure/amqp-common","version":"1.0.0-preview.2","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.2","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azuresdkengsysadmins@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"mikeharder","email":"mharder@microsoft.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"3e8b6031809a8d55e459ca55490bb15a45010d99","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.2.tgz","fileCount":169,"integrity":"sha512-Y/mzCA3fmzEwbPUqJ/QfOYOeP8nS1gWJB/caRXOmyqIIGmbyrYEA4yR/5rJVsSq3NRoWencEc+jXE3b2D+h+MQ==","signatures":[{"sig":"MEQCIDoyvORDsCsAqtKUiC3AvEuzQRlK6DdEPy7sJ28CQW/9AiBwehakeRVSXufv4UsHDpptuIWKVlZ6fKuo83AlCn0eXA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2162126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclTvwCRA9TVsSAnZWagAAu5EP+QCCYmyDy6Gcl8El2ULJ\n6zTrtIlGVaWaM+ePvrGQS43H31scL6rA5GtsCcbttgqrsz44P7il96SMCNc2\nX3Thndy1xP8yc2CnbEVJ16FgGa1LXYtDURxqrAMaI6CM+nG7nQ0ciXi+F6oG\nzg/RReF5yUhhiXg/r7h6Z3qij2N+SciY0iRyJAbqDXLbEET5YQX8AGo6Rzrj\ny45NvyeWdOaK/vbHt1jVNn5C+Hot8VlNqAoDOZweg7fWr8rJX7nOjM0RyNVh\nguZIrqO1idCdcpuZwG125NU4JJODCiB5WeY/YJQJ2tNAtcAPI+4ULs5HHmcH\nQKPzEOym4EkHajuzl4EWIZCHWqnrQSIvNVtLvG9B6FgKic8KgPGZOYaFqbg4\nre79KFI3e1uSGsJsARuZBktKtsGg5zVk9z5/dw6L4js4uO+ddGD1Tnwm9bNB\ngF9TPcqVATTM3mpuFC962MpaC/bh9Ps8Zi/sRlFCRH0UtatNISYzftKFH7yP\nEPAmbK+uHNdllNLAge5zCXsvpKZkkAq5CDVLmcM/IDFc+ya8Y30KWqWFSzc7\ngqARrVtThU12fnuAncf2pWBdM/i3YwaZFqzb+bZvOI8kQGjsGzBIr3//Kd1k\n6eh1OQH4Up9V1dSSD1HkR40SHVlom9XkVDhKslo1TL5Zk0HQ5WaL/ulbyWfn\nyhgi\r\n=JmVS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:artifacts/drop/azure-amqp-common-1.0.0-preview.2.tgz","types":"./typings/lib/index.d.ts","module":"./dist-esm/lib/index.js","readme":"@azure/amqp-common\n================\n\n[![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/amqp-common-js?branchName=master)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=61?branchName=master)\n\nLibrary that provides common functionality for different **Azure** Javascript libraries using amqp protocol. \nSome of the common functionalities include:\n- CBS Auth\n- Request-Response link for sending request and receiving response over AMQP\n- Error translation of different AMQP error codes.\n- Creation of `ConnectionConfig` by parsing the connection-string\n- AMQP message header and message property transformation\n- AMQP message data transformation (encoding/decoding) that most AMQP based Azure services use for communication\n- RetryPolicy for retrying different operations\n\n## Pre-requisite ##\n- **Node.js version: 6.x or higher.** \n- We would **still encourage you** to install the latest available LTS version at any given time from https://nodejs.org. **It is a good practice to always install the latest available LTS version of node.js.**\n- Installing node.js on **Windows or macOS** is very simple with available installers on the [node.js website](https://nodejs.org). If you are using a **linux based OS**, then you can find easy to follow, one step installation instructions over [here](https://nodejs.org/en/download/package-manager/).\n\n## Installation ##\n- Installing this library\n```bash\nnpm install @azure/amqp-common\n```\n- [`rhea-romise`](https://github.com/amqp/rhea-promise) is a peer dependency. You need to explicitly install this library as a dependency\nin your application.\n\n## IDE ##\nThis sdk has been developed in [TypeScript](https://typescriptlang.org) and has good source code documentation. It is highly recommended to use [vscode](https://code.visualstudio.com) \nor any other IDE that provides better intellisense and exposes the full power of source code documentation.\n\n## Debug logs ##\n\nYou can set the following environment variable to get the debug logs.\n\n- Getting debug logs from the Event Hub SDK\n```bash\nexport DEBUG=azure:amqp-common*\n```\n- Getting debug logs from the Event Hub SDK and the protocol level library.\n```bash\nexport DEBUG=azure:amqp-common*,rhea*\n```\n- If you are **not interested in viewing the message transformation** (which consumes lot of console/disk space) then you can set the `DEBUG` environment variable as follows:\n```bash\nexport DEBUG=azure:amqp-common*,rhea*,-rhea:raw,-rhea:message,-azure:amqp-common:datatransformer\n```\n- If you are interested only in **errors**, then you can set the `DEBUG` environment variable as follows:\n```bash\nexport DEBUG=azure-amqp-common:error,rhea-promise:error,rhea:events,rhea:frames,rhea:io,rhea:flow\n```\n\n#### Logging to a file\n- Set the `DEBUG` environment variable as shown above and then run your test script as follows:\n  - Logging statements from you test script go to `out.log` and logging statement from the sdk go to `debug.log`.\n    ```bash\n    node your-test-script.js > out.log 2>debug.log\n    ```\n  - Logging statements from your test script and the sdk go to the same file `out.log` by redirecting stderr to stdout (&1), and then redirect stdout to a file:\n    ```bash\n    node your-test-script.js >out.log 2>&1\n    ```\n  - Logging statements from your test script and the sdk go to the same file `out.log`.\n    ```bash\n      node your-test-script.js &> out.log\n    ```\n\n## Examples ##\n\nPlease take a look at the [examples](https://github.com/Azure/amqp-common-js/tree/master/examples) directory for detailed examples.\nYou can run the examples by cloning the repo or copy pasting the below sample in your sample.js file.\n```bash\n- git clone https://github.com/Azure/amqp-common-js.git\n- cd amqp-common-js\n- npm i\n- npm i -g typescript  #This is optional. However it is useful to have typescript installed globally on your box\n- npm i -g ts-node     #This is optional. However it is useful to have ts-node installed globally on your box\n# Make sure to set the environment variables and then run\n- ts-node ./examples/cbsAuth.ts\n```\n\nThe samples below are generic for EventHubs and Servicebus. You can find EventHub specific examples,\nin the [examples](https://github.com/Azure/amqp-common-js/tree/master/examples) directory.\n\n## Example 1 - CBS (Claims Based Authorization Specification) example\nYou can find more information about cbs authorization over [here](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-protocol-guide#claims-based-authorization).\n\nNOTE: The code block below has been later referred to as \"./cbsAuth\".\n\n```js\nconst { ConnectionContextBase, ConnectionConfig, CbsResponse }  = require(\"@azure/amqp-common\");\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\n\nexport const str = process.env.CONNECTION_STRING || \"\";\nexport const path = process.env.ENTITY_PATH;\nexport const connectionConfig = ConnectionConfig.create(str, path);\nconst parameters = {\n  config: connectionConfig,\n  connectionProperties: {\n    product: \"MSJSClient\",\n    userAgent: \"/js-amqp-common\",\n    version: \"0.1.0\"\n  }\n};\nexport const connectionContext = ConnectionContextBase.create(parameters);\n\n/**\n * audience The entity token audience in one of the following forms:\n *\n * - **ServiceBus**\n *    - **Sender**\n *        - `\"sb://<yournamespace>.servicebus.windows.net/<queue-name>\"`\n *        - `\"sb://<yournamespace>.servicebus.windows.net/<topic-name>\"`\n *\n *    - **Receiver**\n *         - `\"sb://<yournamespace>.servicebus.windows.net/<queue-name>\"`\n *         - `\"sb://<yournamespace>.servicebus.windows.net/<topic-name>\"`\n *\n *    - **ManagementClient**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<queue-name>/$management\"`.\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<topic-name>/$management\"`.\n * \n * - **EventHubs**\n *     - **Sender**\n *          - `\"sb://<yournamespace>.servicebus.windows.net/<hubName>\"`\n *          - `\"sb://<yournamespace>.servicebus.windows.net/<hubName>/Partitions/<partitionId>\"`.\n *\n *     - **Receiver**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<event-hub-name>/ConsumerGroups/<consumer-group-name>/Partitions/<partition-id>\"`.\n *\n *     - **ManagementClient**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<event-hub-name>/$management\"`.\n */\nexport async function authenticate(audience, closeConnection = false) {\n  await connectionContext.cbsSession.init();\n  const tokenObject = await connectionContext.tokenProvider.getToken(audience);\n  const result = await connectionContext.cbsSession.negotiateClaim(audience, tokenObject);\n  console.log(`Result is: ${result}`);\n  if (closeConnection) {\n    await connectionContext.connection.close();\n    console.log(\"Successfully closed the connection.\");\n  }\n  return result;\n}\n\n//Audience is for an EventHub or ServiceBus sender.\n// You can uncomment the following line and just run this sample, if required.\n// authenticate(`${config.endpoint}${path}`).catch((err) => console.log(err));\n```\n\n## Example 2 - Send a message\nBuilding on the above mentioned cbs auth sample, after authentication, we can send a message to EventHub or ServiceBus.\n\n```js\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\nconst { Sender, SenderOptions, EventContext, Message, Delivery } = require(\"rhea-promise\");\nconst { authenticate, connectionContext, connectionConfig, path } =  require(\"./cbsAuth\");\n\nasync function main() {\n  await authenticate(`${connectionConfig.endpoint}${path}`);\n  const senderName = \"sender-1\";\n  const senderOptions = {\n    name: senderName,\n    target: {\n      // Address for EventHub Sender, it can be \"<EventHubName>\" or \"<EventHubName>/Partitions/<PartitionId>\"\n      // For ServiceBus Queue, it will be \"<QueueName>\"\n      address: `${path}`\n    },\n    onError: (context) => {\n      const senderError = context.sender && context.sender.error;\n      if (senderError) {\n        console.log(\">>>>> [%s] An error occurred for sender '%s': %O.\",\n          connectionContext.connection.id, senderName, senderError);\n      }\n    },\n    onSessionError: (context) => {\n      const sessionError = context.session && context.session.error;\n      if (sessionError) {\n        console.log(\">>>>> [%s] An error occurred for session of sender '%s': %O.\",\n          connectionContext.connection.id, senderName, sessionError);\n      }\n    }\n  };\n\n  const sender = await connectionContext.connection.createSender(senderOptions);\n  const message = {\n    body: \"Hello World!!\",\n    message_id: \"12343434343434\"\n  };\n\n  const delivery = await sender.send(message);\n  console.log(\">>>>>[%s] Delivery id: \", connectionContext.connection.id, delivery.id);\n\n  await sender.close();\n  await connectionContext.connection.close();\n}\n\nmain().catch(err => console.log(err));\n```\n## Example 3 - Receiving a message\n\nBuilding on the auth sample, post authentication we can receive messages from an EventHub or ServiceBus.\n```js\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT License. See License.txt in the project root for license information.\n\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\nconst { Receiver, ReceiverOptions, EventContext, ReceiverEvents, delay, types } = require(\"rhea-promise\");\nconst { authenticate, connectionContext, connectionConfig, path } = require(\"./cbsAuth\");\n\nasync function main() {\n  await authenticate(`${connectionConfig.endpoint}${path}`);\n  const receiverName = \"receiver-1\";\n  const filterClause = `amqp.annotation.x-opt-enqueued-time > '${Date.now() - 3600 * 1000}'`; // Get messages from the past hour\n  const receiverAddress = `${path}/ConsumerGroups/$default/Partitions/0`; // For ServiceBus \"<QueueName>\"\n  const receiverOptions = {\n    name: receiverName,\n    source: {\n      address: receiverAddress,\n      filter: { // May not be required for ServiceBus. The current example is for EventHubs.\n        \"apache.org:selector-filter:string\": types.wrap_described(filterClause, 0x468C00000004)\n      }\n    },\n    onSessionError: (context) => {\n      const sessionError = context.session && context.session.error;\n      if (sessionError) {\n        console.log(\">>>>> [%s] An error occurred for session of receiver '%s': %O.\",\n          connectionContext.connection.id, receiverName, sessionError);\n      }\n    }\n  };\n\n  const receiver = await connectionContext.connection.createReceiver(receiverOptions);\n  receiver.on(ReceiverEvents.message, (context) => {\n    console.log(\"Received message: %O\", context.message);\n  });\n  receiver.on(ReceiverEvents.receiverError, (context) => {\n    const receiverError = context.receiver && context.receiver.error;\n    if (receiverError) {\n      console.log(\">>>>> [%s] An error occurred for receiver '%s': %O.\",\n        connectionContext.connection.id, receiverName, receiverError);\n    }\n  });\n  // sleeping for 2 mins to let the receiver receive messages and then closing it.\n  await delay(120000);\n  await receiver.close();\n  await connectionContext.connection.close();\n}\n\nmain().catch(err => console.log(err));\n```\n\n# Contributing\n\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.microsoft.com.\n\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/lib/index.node.js":"./dist-esm/lib/index.browser.js"},"scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc && cross-env rollup -c","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepack":"npm i && npm run build","prebuild":"rimraf dist typings dist-esm test-browser test-dist","test:browser":"npm run build:browser-test && karma start","build:browser-test":"npm run tslint && npm run tsc && rollup -c rollup.test.config.js"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.7.0","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"10.15.1","dependencies":{"url":"^0.11.0","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","@types/is-buffer":"^2.0.0","stream-browserify":"^2.0.2","@azure/ms-rest-nodeauth":"^0.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ws":"^6.2.0","nyc":"^13.3.0","chai":"^4.2.0","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^6.1.0","rimraf":"^2.6.2","rollup":"^1.1.2","tslint":"^5.14.0","ts-node":"^7.0.1","cross-env":"^5.2.0","typescript":"^3.3.3","@types/chai":"^4.1.6","@types/node":"^8.0.37","karma-mocha":"^1.3.0","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","rhea-promise":"^0.1.14","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.2","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","rollup-plugin-commonjs":"^9.2.0","@types/chai-as-promised":"^7.1.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.0.1"},"peerDependencies":{"rhea-promise":"^0.1.14"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.2_1553284079980_0.6456027017692334","host":"s3://npm-registry-packages"}},"1.0.0-preview.3":{"name":"@azure/amqp-common","version":"1.0.0-preview.3","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.3","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azuresdkengsysadmins@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"mikeharder","email":"mharder@microsoft.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/amqp-common-js","bugs":{"url":"http://github.com/Azure/amqp-common-js/issues"},"dist":{"shasum":"0621c1ebb668ccec3497f7febd00c958220690c1","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.3.tgz","fileCount":119,"integrity":"sha512-YDPQwTP2I79CM3xi0GHb0XaIi8GJjgrJe5LImlBLz47gTGF2cr5lH+id8g4cg+H/PaulQjbUYh8XwXDdYFVYAg==","signatures":[{"sig":"MEYCIQCwcW42LMqQHqz7oOk/5SC0ZlQ+GpdhDywXWZicObpEEgIhALxWrqCicn1mitwk+o4yzDvFGHeeVqGlJUNHDBouvj1e","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2000058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvgkeCRA9TVsSAnZWagAA3xMQAIfbdo098/PhlO2xnWK2\neydkoeAgrjj3oZihruCGkYDUrZpPE+izNsc7R1BXqGmXAh20GkApTrovkT4Y\n5y1iLcYHLi7SFo30FRzcnnHYZdBFzP9PKKVzNQAURwwhZwbfeEWygp7UfUVc\nJzB91HZAVXyVurcPB298Z3V2icA1hUrd6hB5pu6dRLEsqC9oQLfc7DxrcRzZ\n4kFZW2ctDfv6ynqBk+YF/CY+M+6pKu5Fb2SgxkP73kfb1QzxVf6BDdRkLKf/\nTHMrd89xyOoGLOzJffEjj31JmVznlHmKY0n+0n6knAieblyQDYSNMcy7inMx\n8UhUsHdNvc1vmC4iU8A2fjLTV296DkNvTzzVDPBsj8TpX2fZJ8i/H7pbnybF\nhAkwpmqpdfH0D9T3uzKUuD5CpNfIcIh1tFcwn6Plx0EJ7SJqi+KWyZbcWmMt\nB/+tC4AGYXNLzWJyRTrI+yagmOzeQHRhxEtsoGdWfUXUSUJYltiHYjv5kdsV\nBd7tK63QdpFy/Y2k0/0YgkgFPyxcJW2Vjbxu3WreqQcwTAvLxPxVah431nSx\n9t+LjR3/zbfMwFWOit58dat13yq92pM5KDyS92M400k/5MGzCox7TrW2veGT\nsguQ2MjzP9aBm37xYaJL/0nGzJc2oKu0+9+c9A0tIT36dLjbs8DhyzEvrcGS\nKlPK\r\n=AgM3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:artifacts/drop/azure-amqp-common-1.0.0-preview.3.tgz","types":"./typings/lib/index.d.ts","module":"./dist-esm/lib/index.js","readme":"@azure/amqp-common\n================\n\n[![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/amqp-common-js?branchName=master)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=61?branchName=master)\n\nLibrary that provides common functionality for different **Azure** Javascript libraries using amqp protocol. \nSome of the common functionalities include:\n- CBS Auth\n- Request-Response link for sending request and receiving response over AMQP\n- Error translation of different AMQP error codes.\n- Creation of `ConnectionConfig` by parsing the connection-string\n- AMQP message header and message property transformation\n- AMQP message data transformation (encoding/decoding) that most AMQP based Azure services use for communication\n- RetryPolicy for retrying different operations\n\n## Pre-requisite ##\n- **Node.js version: 6.x or higher.** \n- We would **still encourage you** to install the latest available LTS version at any given time from https://nodejs.org. **It is a good practice to always install the latest available LTS version of node.js.**\n- Installing node.js on **Windows or macOS** is very simple with available installers on the [node.js website](https://nodejs.org). If you are using a **linux based OS**, then you can find easy to follow, one step installation instructions over [here](https://nodejs.org/en/download/package-manager/).\n\n## Installation ##\n- Installing this library\n```bash\nnpm install @azure/amqp-common\n```\n- [`rhea-romise`](https://github.com/amqp/rhea-promise) is a peer dependency. You need to explicitly install this library as a dependency\nin your application.\n\n## IDE ##\nThis sdk has been developed in [TypeScript](https://typescriptlang.org) and has good source code documentation. It is highly recommended to use [vscode](https://code.visualstudio.com) \nor any other IDE that provides better intellisense and exposes the full power of source code documentation.\n\n## Debug logs ##\n\nYou can set the following environment variable to get the debug logs.\n\n- Getting debug logs from the Event Hub SDK\n```bash\nexport DEBUG=azure:amqp-common*\n```\n- Getting debug logs from the Event Hub SDK and the protocol level library.\n```bash\nexport DEBUG=azure:amqp-common*,rhea*\n```\n- If you are **not interested in viewing the message transformation** (which consumes lot of console/disk space) then you can set the `DEBUG` environment variable as follows:\n```bash\nexport DEBUG=azure:amqp-common*,rhea*,-rhea:raw,-rhea:message,-azure:amqp-common:datatransformer\n```\n- If you are interested only in **errors**, then you can set the `DEBUG` environment variable as follows:\n```bash\nexport DEBUG=azure-amqp-common:error,rhea-promise:error,rhea:events,rhea:frames,rhea:io,rhea:flow\n```\n\n#### Logging to a file\n- Set the `DEBUG` environment variable as shown above and then run your test script as follows:\n  - Logging statements from you test script go to `out.log` and logging statement from the sdk go to `debug.log`.\n    ```bash\n    node your-test-script.js > out.log 2>debug.log\n    ```\n  - Logging statements from your test script and the sdk go to the same file `out.log` by redirecting stderr to stdout (&1), and then redirect stdout to a file:\n    ```bash\n    node your-test-script.js >out.log 2>&1\n    ```\n  - Logging statements from your test script and the sdk go to the same file `out.log`.\n    ```bash\n      node your-test-script.js &> out.log\n    ```\n\n## Examples ##\n\nPlease take a look at the [examples](https://github.com/Azure/amqp-common-js/tree/master/examples) directory for detailed examples.\nYou can run the examples by cloning the repo or copy pasting the below sample in your sample.js file.\n```bash\n- git clone https://github.com/Azure/amqp-common-js.git\n- cd amqp-common-js\n- npm i\n- npm i -g typescript  #This is optional. However it is useful to have typescript installed globally on your box\n- npm i -g ts-node     #This is optional. However it is useful to have ts-node installed globally on your box\n# Make sure to set the environment variables and then run\n- ts-node ./examples/cbsAuth.ts\n```\n\nThe samples below are generic for EventHubs and Servicebus. You can find EventHub specific examples,\nin the [examples](https://github.com/Azure/amqp-common-js/tree/master/examples) directory.\n\n## Example 1 - CBS (Claims Based Authorization Specification) example\nYou can find more information about cbs authorization over [here](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-protocol-guide#claims-based-authorization).\n\nNOTE: The code block below has been later referred to as \"./cbsAuth\".\n\n```js\nconst { ConnectionContextBase, ConnectionConfig, CbsResponse }  = require(\"@azure/amqp-common\");\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\n\nexport const str = process.env.CONNECTION_STRING || \"\";\nexport const path = process.env.ENTITY_PATH;\nexport const connectionConfig = ConnectionConfig.create(str, path);\nconst parameters = {\n  config: connectionConfig,\n  connectionProperties: {\n    product: \"MSJSClient\",\n    userAgent: \"/js-amqp-common\",\n    version: \"0.1.0\"\n  }\n};\nexport const connectionContext = ConnectionContextBase.create(parameters);\n\n/**\n * audience The entity token audience in one of the following forms:\n *\n * - **ServiceBus**\n *    - **Sender**\n *        - `\"sb://<yournamespace>.servicebus.windows.net/<queue-name>\"`\n *        - `\"sb://<yournamespace>.servicebus.windows.net/<topic-name>\"`\n *\n *    - **Receiver**\n *         - `\"sb://<yournamespace>.servicebus.windows.net/<queue-name>\"`\n *         - `\"sb://<yournamespace>.servicebus.windows.net/<topic-name>\"`\n *\n *    - **ManagementClient**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<queue-name>/$management\"`.\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<topic-name>/$management\"`.\n * \n * - **EventHubs**\n *     - **Sender**\n *          - `\"sb://<yournamespace>.servicebus.windows.net/<hubName>\"`\n *          - `\"sb://<yournamespace>.servicebus.windows.net/<hubName>/Partitions/<partitionId>\"`.\n *\n *     - **Receiver**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<event-hub-name>/ConsumerGroups/<consumer-group-name>/Partitions/<partition-id>\"`.\n *\n *     - **ManagementClient**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<event-hub-name>/$management\"`.\n */\nexport async function authenticate(audience, closeConnection = false) {\n  await connectionContext.cbsSession.init();\n  const tokenObject = await connectionContext.tokenProvider.getToken(audience);\n  const result = await connectionContext.cbsSession.negotiateClaim(audience, tokenObject);\n  console.log(`Result is: ${result}`);\n  if (closeConnection) {\n    await connectionContext.connection.close();\n    console.log(\"Successfully closed the connection.\");\n  }\n  return result;\n}\n\n//Audience is for an EventHub or ServiceBus sender.\n// You can uncomment the following line and just run this sample, if required.\n// authenticate(`${config.endpoint}${path}`).catch((err) => console.log(err));\n```\n\n## Example 2 - Send a message\nBuilding on the above mentioned cbs auth sample, after authentication, we can send a message to EventHub or ServiceBus.\n\n```js\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\nconst { Sender, SenderOptions, EventContext, Message, Delivery } = require(\"rhea-promise\");\nconst { authenticate, connectionContext, connectionConfig, path } =  require(\"./cbsAuth\");\n\nasync function main() {\n  await authenticate(`${connectionConfig.endpoint}${path}`);\n  const senderName = \"sender-1\";\n  const senderOptions = {\n    name: senderName,\n    target: {\n      // Address for EventHub Sender, it can be \"<EventHubName>\" or \"<EventHubName>/Partitions/<PartitionId>\"\n      // For ServiceBus Queue, it will be \"<QueueName>\"\n      address: `${path}`\n    },\n    onError: (context) => {\n      const senderError = context.sender && context.sender.error;\n      if (senderError) {\n        console.log(\">>>>> [%s] An error occurred for sender '%s': %O.\",\n          connectionContext.connection.id, senderName, senderError);\n      }\n    },\n    onSessionError: (context) => {\n      const sessionError = context.session && context.session.error;\n      if (sessionError) {\n        console.log(\">>>>> [%s] An error occurred for session of sender '%s': %O.\",\n          connectionContext.connection.id, senderName, sessionError);\n      }\n    }\n  };\n\n  const sender = await connectionContext.connection.createSender(senderOptions);\n  const message = {\n    body: \"Hello World!!\",\n    message_id: \"12343434343434\"\n  };\n\n  const delivery = await sender.send(message);\n  console.log(\">>>>>[%s] Delivery id: \", connectionContext.connection.id, delivery.id);\n\n  await sender.close();\n  await connectionContext.connection.close();\n}\n\nmain().catch(err => console.log(err));\n```\n## Example 3 - Receiving a message\n\nBuilding on the auth sample, post authentication we can receive messages from an EventHub or ServiceBus.\n```js\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT License. See License.txt in the project root for license information.\n\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\nconst { Receiver, ReceiverOptions, EventContext, ReceiverEvents, delay, types } = require(\"rhea-promise\");\nconst { authenticate, connectionContext, connectionConfig, path } = require(\"./cbsAuth\");\n\nasync function main() {\n  await authenticate(`${connectionConfig.endpoint}${path}`);\n  const receiverName = \"receiver-1\";\n  const filterClause = `amqp.annotation.x-opt-enqueued-time > '${Date.now() - 3600 * 1000}'`; // Get messages from the past hour\n  const receiverAddress = `${path}/ConsumerGroups/$default/Partitions/0`; // For ServiceBus \"<QueueName>\"\n  const receiverOptions = {\n    name: receiverName,\n    source: {\n      address: receiverAddress,\n      filter: { // May not be required for ServiceBus. The current example is for EventHubs.\n        \"apache.org:selector-filter:string\": types.wrap_described(filterClause, 0x468C00000004)\n      }\n    },\n    onSessionError: (context) => {\n      const sessionError = context.session && context.session.error;\n      if (sessionError) {\n        console.log(\">>>>> [%s] An error occurred for session of receiver '%s': %O.\",\n          connectionContext.connection.id, receiverName, sessionError);\n      }\n    }\n  };\n\n  const receiver = await connectionContext.connection.createReceiver(receiverOptions);\n  receiver.on(ReceiverEvents.message, (context) => {\n    console.log(\"Received message: %O\", context.message);\n  });\n  receiver.on(ReceiverEvents.receiverError, (context) => {\n    const receiverError = context.receiver && context.receiver.error;\n    if (receiverError) {\n      console.log(\">>>>> [%s] An error occurred for receiver '%s': %O.\",\n        connectionContext.connection.id, receiverName, receiverError);\n    }\n  });\n  // sleeping for 2 mins to let the receiver receive messages and then closing it.\n  await delay(120000);\n  await receiver.close();\n  await connectionContext.connection.close();\n}\n\nmain().catch(err => console.log(err));\n```\n\n# Contributing\n\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.microsoft.com.\n\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/lib/index.node.js":"./dist-esm/lib/index.browser.js"},"scripts":{"tsc":"tsc","test":"npm run build && npm run unit","unit":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts","build":"npm run tslint && npm run tsc && cross-env rollup -c","tslint":"tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts","prepack":"npm i && npm run build","prebuild":"rimraf dist typings dist-esm test-browser test-dist","test:browser":"npm run build:browser-test && karma start","build:browser-test":"npm run tslint && npm run tsc && rollup -c rollup.test.config.js"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/amqp-common-js.git","type":"git"},"_npmVersion":"6.9.0","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"url":"^0.11.0","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","@types/is-buffer":"^2.0.0","stream-browserify":"^2.0.2","@azure/ms-rest-nodeauth":"^0.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ws":"^6.2.0","nyc":"^14.0.0","chai":"^4.2.0","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^6.1.0","rimraf":"^2.6.2","rollup":"^1.1.2","tslint":"^5.15.0","ts-node":"^7.0.1","cross-env":"^5.2.0","typescript":"^3.3.3","@types/chai":"^4.1.6","@types/node":"^8.0.37","karma-mocha":"^1.3.0","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","rhea-promise":"^0.1.15","@types/dotenv":"^4.0.3","chai-as-promised":"^7.1.1","@types/async-lock":"^1.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.2","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","rollup-plugin-commonjs":"^9.2.0","@types/chai-as-promised":"^7.1.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.0.1"},"peerDependencies":{"rhea-promise":"^0.1.15"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.3_1555958045822_0.20673978686250893","host":"s3://npm-registry-packages"}},"1.0.0-preview.5":{"name":"@azure/amqp-common","version":"1.0.0-preview.5","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.5","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azuresdkengsysadmins@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"mikeharder","email":"mharder@microsoft.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.5/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"cd51bd5fbe2c32d59a23b932d3c2c7b9c90e0684","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.5.tgz","fileCount":120,"integrity":"sha512-ICtYUGzkrOEia7DN3t5znbPucZB7RAUHVuNwuJ0GvnLPXflZggMOxCt5s+fKupZ5xzRVzsC27lFZX52f3Wpg4Q==","signatures":[{"sig":"MEUCIBSZfnnDhI9XW4j3EFlhSkqrVOdL1zWGrNn3vVCRxfMZAiEAr5KBhFuP8YhUrPOdieIjE6AudYTOkFdNs+01KesgqBc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2175823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1IRtCRA9TVsSAnZWagAAXCMP/1MEle44UEkSkOGMa4u7\n3uGbDYp+Txeuqmfp0u1EC2YaHdQjDdZD7IZBj0w7iselH3J77EXTHBxpeFh7\nh+h4q/rFpiUv08zEX7YyHTpSLGo2cR9/PGfthSzQNXf1B2BP5wz2z52RtrQe\noHKKLTD+mfyqftJ+ZUaRuYqkQ+AIkSAKMhrNhMi5W+d1gACSE3CVdRhlGpPt\nCqZ1X1ucY2GHMSHAmkWnEYqJbO/OXZaB8tGYb8w5SJgnfn1SZNF6xg3A/lwP\nDURRJJZKpv1ToijXPwZ0GXuchA/1sy1MCo0Sf/mdQtQ7wVAa4BOOuzjNdFoa\nuBXispC81HWzYiNr6ixkwM68SxJaw0mcJxhBYByMJzOrHs1Aldzu/hkMve2B\nANMjULIUaIiSVzMWFzSZUi8Mmjd0NSNm58T3LQgSHeGEXsK7o6CrlnjqATR9\ndY1sSavidk2YrWTQEIAzbIPFWbA5I0VbElPN0Q2UF+WZCkMQVLn+OSRSPylZ\nXJPPfX2oJUSEqUjYTI+rknq0DF7L80i9OofmN+2rlZStOR5QwKA5GuqvWg1E\n8tFpO40NJ80yma+0jowpbWOhK91ooiM71gieA6Wn5kx2ph842LiQh4MIEFoa\njjNp1yn3JgMNn6pEbhzyH19lCvxSZ4y3O9I5nCzU/QNy1ti9nK7lgeXfI97H\natQh\r\n=JXCE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_artifacts/packages/azure-amqp-common-1.0.0-preview.5.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js"},"scripts":{"lint":"tslint -p . -c tslint.json --exclude samples/**/*.ts --exclude test/**/*.ts","pack":"npm pack 2>&1","test":"npm run build:test && npm run unit-test && npm run integration-test","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config .prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"tslint -p . -c tslint.json --exclude samples/**/*.ts --exclude test/**/*.ts --fix","prebuild":"npm run clean","test:node":"npm run build:test && npm run unit-test:node && npm run integration-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"tsc -p . && rollup -c rollup.test.config.js 2>&1","check-format":"prettier --list-different --config .prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test && npm run unit-test:browser && npm run integration-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- ./test/**/*.spec.ts","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.9.0","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"url":"^0.11.0","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2","@azure/ms-rest-nodeauth":"^0.9.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","rhea":"^1.0.4","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","rimraf":"^2.6.2","rollup":"^1.0.0","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"^3.2.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","rhea-promise":"^0.1.15","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","rollup-plugin-commonjs":"^9.2.0","@types/chai-as-promised":"^7.1.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0"},"peerDependencies":{"rhea-promise":"^0.1.15"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.5_1557431404791_0.6842861443786581","host":"s3://npm-registry-packages"}},"1.0.0-preview.6":{"name":"@azure/amqp-common","version":"1.0.0-preview.6","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.6","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azuresdkengsysadmins@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"mikeharder","email":"mharder@microsoft.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.5/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"c2bf0e29725f4548f0a8fdd3a8525d72c1ed4dfe","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.6.tgz","fileCount":115,"integrity":"sha512-5XJZaJGtGoPmLhFx5y0vfCXiAHksoA4fdSnHAfkgEm4krhCW1jt1LH/6aJdUwUTJe+bz6m3Pv0sG/ILG0Vd65g==","signatures":[{"sig":"MEUCIDg0HeOrrhpOU/qEjmz+ihmDoEpZAXBQ61fBdXySdRgMAiEAxkPX0SnSC58ST+f873T+6ydB+eOE9hPFa5+4JOsm7ks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2188794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHOwdCRA9TVsSAnZWagAAr+wP/3t8CI0xILGNlJfE9orL\nbfW3sYKBxHXDAeRHe38WD1ugSC8hi+EEFqCYlMeprcP8R6R4pz2l7RybLio6\nKaHx6VHaPLjeuwkjp5183XJUDIaRY8fhSecHN3Xp8v+GpIINdsH0mUpi24tP\n/4KFIp3TgVs7sAZzOSnP8XpcTbjPC2ajL+20SHpkD0iLyZXB0Qd87yMuk8aQ\nYfy3ha1ObdaZHlqhjRSPZlBhRn2JzWlhEDN40Kw4pxVl6PVrJIqewjgLgoad\nQB1i1CDrwkLEpj8wUIqyJwq06Qyu9Iwl2mBjczxlxnIQG4Mgn88klWxHc4kT\nutyDmHLH0FIqqsSPZehBAfgSnuDp4mjs9IMHMN4756W3P1lqI2RVDBrTsk8h\nzxjMrGzTNriUZf7UxouLK3P2DHfpfjbWJqdetju0WEZF5xvPQGb+M05awI7S\nzXqnFQpRJ1Kpuus4RBmMFYC/lyPLSp0OiHTDNKqnUAhob+/fejoJ5zjPBB4t\nSS84hF2sTBlTYiKcKLXccjpOLxKvcod+AEmtQmbyqu9QbMIp5K63X4C4q/Xm\nHzjL31cLscNycL9u0+YcZKYCOyeZ9IumUSWIL4D6B46jTxDTXLmZ8gvv9HvG\njT7bsmbI0qgxh7Yoa8yWUqZVtZAlgzHWpn+neQuHvLX5asO2OWvDDTPvN0v4\nziNX\r\n=HmRn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.6.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run build:test && npm run unit-test && npm run integration-test","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config .prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test && npm run unit-test:node && npm run integration-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"tsc -p . && rollup -c rollup.test.config.js 2>&1","check-format":"prettier --list-different --config .prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test && npm run unit-test:browser && npm run integration-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- ./test/**/*.spec.ts","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.9.0","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"10.16.0","dependencies":{"url":"^0.11.0","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2","@azure/ms-rest-nodeauth":"^0.9.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","rhea":"^1.0.4","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"^3.2.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","rhea-promise":"^0.1.15","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"peerDependencies":{"rhea-promise":"^0.1.15"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.6_1562176540352_0.6493868562206127","host":"s3://npm-registry-packages"}},"1.0.0-preview.7":{"name":"@azure/amqp-common","version":"1.0.0-preview.7","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.7","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.5/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"2ed57bea34824aa79daa07261d5cfb3782676524","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.7.tgz","fileCount":115,"integrity":"sha512-Lz8fsedD2YtUPXU0MwXew81XHJsU3OxL9YnHbf23EIhbqb1b5kA92QFjZNOoGiFLwGNfDOEj937M7XUsKoco3Q==","signatures":[{"sig":"MEUCIQCGsNlZH0+EclARonPV8FhfKOLBumeSden3+a8bSxONnQIgDXGS/LonQ7Cz0sL7rIT7bvadqTMpBZTuPOylaZSIJYI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2192781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhRGKCRA9TVsSAnZWagAAsngQAKIjRipywCWYrAn0THPj\n1HgkfISXNWZ6sRcIz/XEeFuxBqAQxlg4BQ7MPcW1CwiZAQq/a3YkZlr1FbN8\n1QXHLL/qhM7E26YpwetuCkqbJ4XoNomMwcDNjSxQmCCk6u90fyAQI4ATD5B7\ny1c3iHUOrttycCxtw/F3xGLZ+qcSRIGYDRl3fLln5YCf4zdJ3cfrtvhKApi9\nsYVoSjvZokJqu7dC9xQZGigcm59i18oN1mzAXjeQQtuC2VHOV1HJIPWtiCIw\nxDp7a1IleEADDquzsBq+4mIwYNcs18KenBS8WfVj1FpZtjdWXubQ8iSWgIc4\nK0Pzx/ieTuyJ6+T9pSZx5bTUqrbgVEwxXB0/UWau3BZySrIr6s2NwY4G02t4\n5fGGqZZ3oSApxPO72BdaZcUi7J0drDcRUUkSsYcP2hKZwr2j8YmPOljzhJGd\nf9vvu00MvB5NqVCIdLZR9J6N2y79W+2ezJao5BNAVedx0oyQv/mfXovM9jdZ\ncDDJLA2Hrvgs24GID0w8pdBuSZwL6GeRkwIqdrp8OkdCMKOE9nE1Rn+fUoJh\nt0Ca+7KTnwnbJWSKGCiJmxA3TY/ukV+ECYOwTuYLieywEDLK/31HlQnW5qZw\nfsA8yx9j5tbyyHNowe5zXzskT7gtYU2AewiKWLgGNYVYA6bYx3MTkJj3BXLg\nGFBU\r\n=mPhZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.7.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config .prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test:node && npm run unit-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run build:test:node && npm run build:test:browser","check-format":"prettier --list-different --config .prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test:browser && npm run unit-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" mocha -r ts-node/register -t 50000 ./test/**/*.spec.ts","build:test:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","build:test:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.10.3","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"url":"^0.11.0","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2","@azure/ms-rest-nodeauth":"^0.9.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","rhea":"^1.0.4","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"^3.2.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","rhea-promise":"^0.1.15","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"peerDependencies":{"rhea-promise":"^0.1.15"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.7_1569001865255_0.9226592019478355","host":"s3://npm-registry-packages"}},"1.0.0-preview.8":{"name":"@azure/amqp-common","version":"1.0.0-preview.8","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.8","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.5/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"9ab48ff059c3c0b5d1d7328d560d429634821df1","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.8.tgz","fileCount":115,"integrity":"sha512-Fn13SPn03FaWXeh07/QKGrX2KKszxly74hapQ0jAAoA6iwD3YlPaqEg/FoX6Sd7MSIldJrPqjNADlrtPVPmjTA==","signatures":[{"sig":"MEUCICIz9CLXOdYwqy6Q+70/NmV/wcir3O0n2fpXidzshSmpAiEAjkh3w+3fgYzdVj4tOzuVhHOPvkZJSldcSDvdCk7hxMY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2197048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3XkdCRA9TVsSAnZWagAAR3UP/jx4rd83xI9UKH0B/4rG\nbcHr7UAQhb+UXOmPWiijuM+qNKNU60kb3vFZxGDRkaX0GxO0m9ekh1qaOI4L\n1uhhlRRZxarm9+zll9F/JbSKb5/2DhzWQZRZiRQ1PGsKu1hJWbEuPKkth6U1\nKIDylN5E7GvpTadDLNDLwALk9u9Gc3XS83Mi4oDpRttmfBR5tRxiijFhgyNq\ndj0ZIVkvHWhrzNuIkaY9o1Pg7+XEYTHLtB2+1uXzUYeytE7OVGv4GlmIDhbW\n02u7tte6bBpZlZJdAeIzEKtVJRuBi4ojYMHg8o58Lgz0MnJaogGlPQSe+7Vg\nmc59jngyoKyN8F43lY8wQL3F6YIenpcnPfwXPiekjtn1koJtkoYXXqs1qCd6\njUbxKVhx7hrZIihqKcqGaTY0oP5K2M9yYAyel7NtZzWaQ9DmKadSvft1JoU+\nGHa0RI/oeLEVhkwfqd/5LJtiqspoIpEOAJ7NhOXbVgbhF1m+eSlQeKusl4Fc\n226du8bGU4XyMBILjDeowsVTBPG0DORAczKR9cBxJueIeenr/7jxCVcL2eih\ndWqjz+7zQ1/YRBrDKQIMtzvpGOu9iQcT51Cnk042A0j/gkQfVssP8GN2QI0x\nhXr8EwLKmrMj2iF4/PA+UWKRW2Gu5xCQMQ6RuSHlzOTjMqUWRtDWFJTI3Vj9\n7QtN\r\n=KJuS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.8.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test:node && npm run unit-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run build:test:node && npm run build:test:browser","check-format":"prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test:browser && npm run unit-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" mocha -r ts-node/register -t 50000 ./test/**/*.spec.ts","build:test:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","build:test:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.12.0","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"url":"^0.11.0","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2","@azure/ms-rest-nodeauth":"^0.9.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","rhea":"^1.0.4","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"~3.6.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","rhea-promise":"^0.1.15","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"peerDependencies":{"rhea-promise":"^0.1.15"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.8_1574795549075_0.005349505120753495","host":"s3://npm-registry-packages"}},"1.0.0-preview.9":{"name":"@azure/amqp-common","version":"1.0.0-preview.9","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.9","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.5/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"9c4bb1185a31442f69a35fb5d1dcde36e90bd42e","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.9.tgz","fileCount":115,"integrity":"sha512-RVG1Ad3Afv9gwFFmpeCXQAm+Sa0L8KEZRJJAAZEGoYDb6EoO1iQDVmoBz720h8mdrGpi0D60xNU/KhriIwuZfQ==","signatures":[{"sig":"MEUCIQDJ7Irf0QmzBdVDEenyWmxnNP6jLP72vreravIaL2IziQIgC3Ptc1yIQ93AZ2t/RIrAOQFG/UjTmsIy+03nyiUnknI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2203634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8DjQCRA9TVsSAnZWagAA1JEP/Aw7RyypXHQNmCJBPesc\npQG5F8tDH0YkG2oXFVdHErpP8h6RLdwYqDMNzdcYthLXhsiC091JW2rtYd+d\nj4WIBuQZuETAlMQsQjRuN3NY4/EFevBFZMJkBwOyHB5x/yJbUHAi3tj0duPG\ng8hQvvHLp259ZIOBFQ4aeAVeWhtaBG+SsCShPzDnFBBALDNriiub4TL5O8oQ\nQawYQXjqwIsl7/Ry2u+adE8C8kv6rynItYxLM26O+Z+rJssFv2t/WZU2qWHN\nSBMyHssBxklgUpWdO0HB6+BeJMcTn+Vyc+6foGufMbsVEz04ozrtudUsNSSE\n3nev92SX9VIE+hURaEKYsS6DM8fLs1kDnu9s9xgQDjEldWE1gMzggRr9h0YX\nH0mF8YfYZAbHhRD5/exW45UORXVMtE48c7r0tXlP5Gnu6d+RB9JcLR24rcx/\nv7cqsmItkYGzHSOx7gv5GZUXGEes2ACs0Av4kbAiylww0dXwV97hj30qufnf\nzANU773QEYLTuJ7LVLRsb5Q2Pa4nH4u7mtkCZJ0KxUbbUV6XWaZwQ6DloJMl\n5N9NY9HXE8nJGDwajcQDZzl1jBraWAdbcefaE7pfsy5hzvwh7FAOq+R8ogpN\nahf1QOEP1OV9A+0+t+VGSZUybfSA/CiJKeVzrFhd4pAc0LnQQZ7kxQajnLCU\nRItn\r\n=ntQx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.9.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test:node && npm run unit-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run build:test:node && npm run build:test:browser","check-format":"prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test:browser && npm run unit-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" mocha -r ts-node/register -t 50000 ./test/**/*.spec.ts","build:test:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","build:test:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.13.1","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"url":"^0.11.0","rhea":"^1.0.15","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","rhea-promise":"^0.1.15","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2","@azure/ms-rest-nodeauth":"^0.9.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"~3.6.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.9_1576024272002_0.37755380208105294","host":"s3://npm-registry-packages"}},"1.0.0-preview.10":{"name":"@azure/amqp-common","version":"1.0.0-preview.10","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.10","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.5/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"6dd39ec8fe9cf750776d04b87d715687f7a6ed5e","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.10.tgz","fileCount":125,"integrity":"sha512-1Qm74g99Rrb7xBzl5UFKLA9/DZEfiwmlgc5XX8Alwknkzua4Mf2XPaky3vuXMZ03ClG4Sbhl4U9NleQ83SrEzA==","signatures":[{"sig":"MEUCIAI5/znDWcpJyBJEBxVlyItNnme99inhBUCueEHk9s64AiEAsJSis3lBpv4+xsTq0/9qPlh4vlhUZGT4TVzLH0isgCg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2245288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQhimCRA9TVsSAnZWagAAITMQAJy5LeVvLKO8r3pW9EdS\n5ZmO0DPDwojFvpDfNRmezDtYUL70zVCzq9JrcavE1ostkJ95/Kwm8XJPIl06\nvMaq52aFY0TAfv3nTPGK1BYGkmE5M6F5GRPEvN3B3Sbf2nQG/Dl3Caz1oJgt\n2n85rtI8CpCXwYUOr2kvDZZPhaK8JFFrKU8komBkOt7J4YZqd/RN1crfwClA\nspdzv83garcETpKWhuGQ7ewr3MQpqU3q5bBzdDFrLqm0pUcDSHTXykO5vrVD\nVG8CkT0oRXIaq+r1c4ccjFtTFRJXKRnist+h4HebvY3RzE26BykP2SP4HrSK\nsWcIfPppu80yL/4tnDB4BxC0qz6G9MWGn3fKF2086XorJah2w2sLdNQKUwta\nCj8lfTl8LqHkXdnPcmWsBtu1v2bNMrcSaHmYXVtRGb09EHfSiXhwlYDrBqWw\nlBFRZxBruZg6xlsSp6fL/qaZYUD2AXYOFGnRU53qWKF4Pn7MjoXzCirkmTgh\nItljsCqDGwYl8OW1/vMT6MCNmAMEDDzH4iEOKk0MINk4Uw6SLdVt61QzEj1S\nZi+4l3IILayk6U7yaMmrDJUVdfJDslrPH+fFjxyFTGyQrCVWZGj/LsmZCvRm\nCe4yN4xtm2A2Lwch2HmodIuNJHnnZlJlgSM5c7tXxX3HufdbJRHkEvKNof0d\nCs0N\r\n=36/c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.10.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js","./dist-esm/src/util/checkNetworkConnection.js":"./dist-esm/src/util/checkNetworkConnection.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test:node && npm run unit-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run build:test:node && npm run build:test:browser","check-format":"prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test:browser && npm run unit-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" mocha -r ts-node/register -t 50000 ./test/**/*.spec.ts","build:test:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","build:test:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.13.7","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"url":"^0.11.0","rhea":"^1.0.18","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","rhea-promise":"^0.1.15","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2","@azure/ms-rest-nodeauth":"^0.9.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"~3.6.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.10_1581389989435_0.6757830002417762","host":"s3://npm-registry-packages"}},"1.0.0-preview.11":{"name":"@azure/amqp-common","version":"1.0.0-preview.11","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.11","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.5/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"f93350a2b435eb1aa8b93e551e30309f1beff0a2","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.11.tgz","fileCount":125,"integrity":"sha512-2mcrbKzaUNB2M5Qs/KupPIsRScPeNabRCWC5ZJ4V2UMfrHlWAIrpS5YS8Ezd1/9Y+J7ZNU5NUXZu8pZY/jxqDQ==","signatures":[{"sig":"MEQCIGPTKxSbJmx2ZbAJ+7o1NgdPysFl51gQrTf5H8eg/TZlAiBSmOLtYYZdLaalaZbqQoTVvuNbuYMRvVPFOQjwsJFwCQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2249686,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb+72CRA9TVsSAnZWagAAXDoP/1QPO+ApHNjLRgfc4uMF\nMWvSRW3vWCfOsxsUr9ltlFbNEd/fjS94VC2/39R9TI1OiORhSDBz2JxCL0Az\nba7AT1e7Vrn1ME7OSkDTpTpww8RiQDZ/hX0QfwCirD7vGJNZGFlN9kxfS2JE\nfbslvVzVhnvzQRnmt+7MSpkm+PA5aSLt8s8etCrLJgqLY6faaGQA500oVXKJ\nCpw4ky5Jx8ou4vnLf+zfQwwcvp5hViVhxzsc23y/eZ16NWA8NIENSLYirL/p\nWIwlc2i2Vjbk1vs7EgE+ovtWDwbqivyohq10ZoyNBRG/SVC4UmDctFSfD0h9\nHAi9Ms05Hd2DgiAKut2J8H8gd6qjKGaeCwp1p01MW8Es4G2YXdiKjk7pFLzc\nJLOB/W3yllRCI+FB9uRTGws/ud+o/RSKE14Y7nG+LtZX+9yN/g26DuYs7isD\npZ9gn3/iWHymHf2x1EHL5xaibOltCVusxPiTczYdig05weAQKC6yUQ/dAgVm\n3jUTZ+CH1wYAkQ2t8hOQ3Nq5DMh8HV9XmtxjBAjmdikXw1CZ7y0hKcbYyrzv\nfUW5kfkmF+0ZwQetOrx01woUprXAQjR4bfRRDy72zIz6lGXJ6ShYRxrbJTmU\nbqjnV/B5brMX1EWdB6lhwgkoGu1N587ZD+qMpO1A4AF+N98wUb8JXVkaRTbo\nX17D\r\n=0+P3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.11.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js","./dist-esm/src/util/checkNetworkConnection.js":"./dist-esm/src/util/checkNetworkConnection.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test:node && npm run unit-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run build:test:node && npm run build:test:browser","check-format":"prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test:browser && npm run unit-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" mocha -r ts-node/register -t 50000 ./test/**/*.spec.ts","build:test:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","build:test:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.14.2","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"url":"^0.11.0","rhea":"^1.0.18","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","rhea-promise":"^0.1.15","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2","@azure/ms-rest-nodeauth":"^0.9.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"~3.6.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.11_1584393974008_0.0647387042812615","host":"s3://npm-registry-packages"}},"1.0.0-preview.12":{"name":"@azure/amqp-common","version":"1.0.0-preview.12","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.12","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.5/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"ed83a540551ecd90f8174e8e364644b136be5bfa","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.12.tgz","fileCount":125,"integrity":"sha512-Oj/DzJAsJLpyztqpvxVcngQ1wbERVtd5Vb+tIO2+jHvuIF4zZQOLkwy+KsOdcVAM9PHd5TswpycQl6G26SW4hw==","signatures":[{"sig":"MEUCIAxcSxgrTqgqHlb8XlFgbKmI4Mi74w03kFNouGJmdG3AAiEAhSVkyeGOBR7eHTK0aRDEYa0cRbl28BYEVasDpxLHb10=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2254874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehS56CRA9TVsSAnZWagAAYjEP/0Wfz1xxWVktTgAluUHb\nrCmboT8fpGCDGZjOb2rnXtBdQSDKj5lado0CnVUhpJ0DU+dgMy7R+caz88RY\nZK/dpL5ZbREDI3xUQpq1T42WMQvXszDm7hnklEvNuurcqxKYn5isZ+EP1s3Z\nsFHqqVxrLgHMVIjDsnn3jNJz1HQ7NvBEXnpvlkuE4JeSCirfVPKND14CG4GW\nPFpRvUULbZFoMIC54Tr2Bmk0lZcDC1PnRM0T7375ziQTJ0Fh3US4AA47D0nZ\nq9xMuO9I9eTr2QF8254cp/R3gnI9Pnw5jZe+Frs3rLhi0Cj29T19MGdVWBJX\ntnFi3rj7rgXvZYDOAOjIAyFC69mDeGeoLXGwc897Fx6NR55WlHL/njbPauw4\n/XqCqfQj/CeKO4Hp95aMS1PVcvjrkxxpPgrKdrl6qou/+IHSeSrTLssumUMd\nhyR29aTPWk84ZfoYKiq1MZd7HcMSN/ZFpyJm82s+auuR4xwBYeU+NWBhnCl4\nQ3dtSDsFEFuNwRt2lidmlnZptQ0A5HgUkEgu1Xu+awjEaqqliySxNn2zSoff\nOWXja2Paq2TZTbdO9g56Jd+4sBj8jjmIfk1+19WjWM7b0xR63ygjhjKl/B78\nniW1PtziGed0l8+dyYowZxCwp290Hyv14CHCcEmcav5Sk+ZJaTMsQpEc97HY\nmsrO\r\n=Si/0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.12.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js","./dist-esm/src/util/checkNetworkConnection.js":"./dist-esm/src/util/checkNetworkConnection.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test:node && npm run unit-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run build:test:node && npm run build:test:browser","check-format":"prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test:browser && npm run unit-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" mocha -r ts-node/register -t 50000 ./test/**/*.spec.ts","build:test:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","build:test:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.14.2","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"url":"^0.11.0","rhea":"^1.0.18","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","rhea-promise":"^0.1.15","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"~3.6.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@azure/ms-rest-nodeauth":"^0.9.2","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.12_1585786489979_0.4311767880795552","host":"s3://npm-registry-packages"}},"1.0.0-preview.13":{"name":"@azure/amqp-common","version":"1.0.0-preview.13","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.13","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.5/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"1517885966366514cad619e3d6f51b702f7045c4","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.13.tgz","fileCount":125,"integrity":"sha512-v19NGXFm8Hzr2bj/DSWYc2anaDcoAeFQXJGuBT8QO7eS13vaELQNGaynOGipEcI313A1778R/FFCk4o+dylIiw==","signatures":[{"sig":"MEQCIF0i9J6umIGnEG/LwhifL/ExC8xhqlHd0+grilQ9d50+AiBlVwA/XlhjlDD0VZzt23EYz6kaYqlaVsNNbdnrv+RRrg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2257882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJen5NUCRA9TVsSAnZWagAAHsoP/A3kBeqjIfccGNHkBSM3\nXst9wzgBu3EMCtyOyipDTRpUkJCXsYRb6YTMwAKC4AUTbRMmoADr0ffR8/fD\nmLPrpZLJxFIval1fJvS4t5gjOb6xr/W1M3SmzvNUr0vgMCcMIf+LFXBG8Uui\nPYwTAG/RD9DVTBis3EGUuNgx9x5shkW2yU/IZJ4bx3d4vwTsrluKvY7FjUjK\n1i78DOk+E7e8nJbQ6IHCIOzG3qpzY/KkAukDHwNt5g6vqKgp+WoVeeadZWGP\nLIbC4csALZBCOWcqt+xkexQAFQzX+mOANg2hyUlEDwlqeKa3/5JJkExwoLL+\n9SvUBdr0Uz7TvvOuUwZiOA67Cm6SYdDBCqAPaGvvNFBhJ8qM/7ACVCUXxQ3R\n0qdb/0iwBJiCKJVlDaebtZjr9FRkgzI2acRKt1OaqiS+oF8d8Eb1Mf7wEi6Q\nRlF/y1gb9H9lqAhdDCYdEMQT+c8ZOaR1y4fPKlwrimQasOKX1c2Utrpgq8H2\nTRARBEn+Myq3FtMGOq2g+bDljBdH4zcb7LRygxUCTAia6Wy/O1y9aPkQLWeT\n/J3HJMsaSo0rnO0KBR8j//PmCkL8uQeuw8SXu68rlDJkoNxUYuZ4Nk1z6Fjd\nn6Beh+SCVyCGPtpr4mKhyChxDl/UeODjlcEicWcoLZbcMbQ6PWcbNCuajq60\nH9Q5\r\n=U8vZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.13.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js","./dist-esm/src/util/checkNetworkConnection.js":"./dist-esm/src/util/checkNetworkConnection.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test:node && npm run unit-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run build:test:node && npm run build:test:browser","check-format":"prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test:browser && npm run unit-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" mocha -r ts-node/register -t 50000 ./test/**/*.spec.ts","build:test:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","build:test:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.14.4","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"url":"^0.11.0","rhea":"^1.0.18","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","rhea-promise":"^0.1.15","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"~3.6.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@azure/ms-rest-nodeauth":"^0.9.2","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.13_1587516243412_0.49015438718500803","host":"s3://npm-registry-packages"}},"1.0.0-preview.14":{"name":"@azure/amqp-common","version":"1.0.0-preview.14","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.14","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.5/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"61557a62c7c8f6e882d85d2d56e0207986de2521","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.14.tgz","fileCount":125,"integrity":"sha512-OZ/r6CS3qnTCqP4q2iGrt6JLp3BEbdByAO2yQYGxWlg+FBE/LQZQ+Qjk8QCXOATiRrJDFFu28eYOzAhgAZcz+Q==","signatures":[{"sig":"MEQCIAll+h9ZCMPSihKThTVXfUp+wcnFf3spxI0aL2NzjKvoAiBmtH00+kLS7ktMlqeMYwHbMv2ajCX6y/Tz85AyJqNVVQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2257843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesg6QCRA9TVsSAnZWagAAe+kP/ixQ5O0/I+6ZQ66saBFa\nNUewGuiLFy3wAINpDz/kyBDek4M0oja4vqdHEUMeIxWJyb/XzzqRiKo1y6Kp\noXIGoIcsD897+QvnpKoo/v4KcSY3p7k+eSVPi4OUBnc7QCpv1kU7kLs8K2ni\ng5D7kdjvvJIDsCqDlM4AuvaQ5aqpCSWehz2Kd6ZSBgyXueh36RLbvaIv9jhl\nYMk4c2QDkH239eCQq1xBfLZSnrLYi/g6Ici3ImIc9HuTlT/vM3dSFqR07uDE\nwESD2L9qhczCNKakZhU0j73nBYUuDHJClxAgBInIZC7vIYgV4Z23L1Il5Zhg\nSTXlKzREVLdITzPwVy2L+z1eTrS6m2HaHNZk5TUHOMKrsRNYLXwiHJSxwtT5\nIQ53F4JXKmA6bBph676J+behX83oTdYCKaDcmBwHFBnBfS/Ap7+EKw4VPv1d\nEoKIJZLXivzPz+qai4lPLvcflyBcRvv/lse92AFvcXevD3AB9k/rsyQXFili\n8Q/uKjpaYIDpnhvU0XUJ0zKiGzm/Sgp/TI25xSkPzs4pWIJC29/11oANzVBa\nb8FF6/SI3BOQoiGri43v7sCLXrQEBb4Xo3sRfDC3qyePzlpUGt1aTvNAdqkF\na4DOX+j4gP38zRKSf3WHCdgugMmDkrF+QXpehmfakRXVQIcH/laCynCJLp0R\nsmtQ\r\n=6gdJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.14.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js","./dist-esm/src/util/checkNetworkConnection.js":"./dist-esm/src/util/checkNetworkConnection.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test:node && npm run unit-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run build:test:node && npm run build:test:browser","check-format":"prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test:browser && npm run unit-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" mocha -r ts-node/register -t 50000 ./test/**/*.spec.ts","build:test:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","build:test:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.14.4","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"url":"^0.11.0","rhea":"^1.0.18","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","rhea-promise":"^0.1.15","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"~3.6.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@azure/ms-rest-nodeauth":"^0.9.2","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.14_1588727440125_0.9904337892726671","host":"s3://npm-registry-packages"}},"1.0.0-preview.15":{"name":"@azure/amqp-common","version":"1.0.0-preview.15","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.15","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.5/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"dd3a1ed225d66ba48af9cd01d416e6d526023777","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.15.tgz","fileCount":125,"integrity":"sha512-EoxNsVR7yLioNKRz5JBwQAE9pEdPVGCmmQbPKkZHP72vE5NhaLnOwHOCrk/311cuhJ8aQ60eiLUtF9J2XrEZyA==","signatures":[{"sig":"MEUCIQDJtj5xLiEuE9r9FQo/gnk1HopszCqB9lB3dBF2CMI6VAIgcAYagSA1lSTNcbW8CPkzAoOuczCz0ZA3Y++6Y8oIGBE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2260913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuyC9CRA9TVsSAnZWagAAlRwP/R64Dsn5ru/PXuetcGm9\neGlthrcSFuQ+EIyPl5sVv36M6DJ2VBJPb+a4TMxNsUk+IaLmLEmQcCk+6hnL\n5if0ue+U7hb9zA6olubAMZaTYQ1E4YyNbE5X9I4XI3rRqucSBdPOXVnBV9Z6\nOAy+OrMdcCcIUSq6A3sf06bCvCWMCzvF9HDWj05v0b6SnGsofuiMqHBfUkj3\nvljIaGkfwv7BpJiVD9HVwSJqIy7Ir1zJUiYoobWjVZ2/tLFtHaNT/ZYICfsT\nn0G9Nrx6U+AdW0ZViHc9WjJ7MneGgCs+uaggQF2jqtVZfFuvTn7QzSeJywf7\nc86WExPYz+Y3kZv5cApfPMk88UPm/h2D9MVdBkTh5xq42r+aRyDQE/yX4TYA\nsy9er4MG1TLhsxAWrRG0Bc6bN03vSp4UedxCKcWSU6POYbdcYWLn2PMdC1rM\n2kis+nRZCqmkQQCG1ACgvOzWrYIft6G5CU9XYO6Zb+xhWAuA+tW0DNT3HuZt\nzH/DjPs6fxEHwjeP1twUtYqga2ariW7JfJrzJ1GzcenG4g393o5ccNDDgpvb\nCqGhVa246AWkfMmecmNPiQTzd4ANC59lg1HVhZQ5hfnyA0J3cQqqfD0MtlTG\nC4jGtgLoAZNYrNuhhQPi50o8JStBLlmmqY6KNU/2DtMpZMvbnsNLNM4KubFm\nsysz\r\n=U2o0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.15.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js","./dist-esm/src/util/checkNetworkConnection.js":"./dist-esm/src/util/checkNetworkConnection.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test:node && npm run unit-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run build:test:node && npm run build:test:browser","check-format":"prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test:browser && npm run unit-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" mocha -r ts-node/register -t 50000 ./test/**/*.spec.ts","build:test:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","build:test:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.14.4","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"url":"^0.11.0","rhea":"^1.0.18","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","rhea-promise":"^0.1.15","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"~3.6.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@azure/ms-rest-nodeauth":"^0.9.2","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.15_1589321916658_0.3659961019790907","host":"s3://npm-registry-packages"}},"1.0.0-preview.16":{"name":"@azure/amqp-common","version":"1.0.0-preview.16","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.16","maintainers":[{"name":"amarzavery","email":"amarzavery@gmail.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.16/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"3b7a9d39f7503347530fe9afddf92fa7bfd1ec5e","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.16.tgz","fileCount":125,"integrity":"sha512-rMTBh54lV6/SBujXfPX0OqN+UNpG1zR4EYY+JP66QM0D2jzNdxLiv6gart5Ersy4Tmd89MRlgikaj5+t5NsDgA==","signatures":[{"sig":"MEQCIFxvyDbKeT3SaY+VR/H8Bf93dCEHvyD/4NvS99lcfNy3AiAkf5RbtWtO1/CR+P4UXzFbfeXXX6z1WieGrqqWvNwgJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2261583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPCgiCRA9TVsSAnZWagAAX3IP+wQ4gi6GkymbNO+2vg97\nDenFyO9Xgt4mn4jNYXOBVnvFw/7Myjcsmhn5OZiy9EadUBchqOf6j0XYLS3y\nQ17087R+Qyptg2wqX34+UYWJ9IcGRS7/nr14Eh1Jitp6vXmFZvcD9gWOZVPe\nzfor6ORTBZpBsMuT5K+Ah2asqaKHw7mTWCjyIvhCl0i0K1q1Te7hSR18UCl+\n9eIJRXfiBRusO2UCq+YImGAjYmhHuGE0cdL+KCsSsxH2y4Ygzw2fL7kzxAZZ\nrLdoHPJpvAkWx4ykv8C8yf5wthbFPgS6XKquVFy06PUUiHRRz6f6d3Y10OBe\nmyKbVPeEifsGJqoeF8LpIWO4kmrSfY5NDN97im4nTLvYbz3P021DtkmsKjTD\nSUBp23FKPVZea8Woq5/JqBPVRI5k4JUzVzZCccRBTgCiIc/E8j8mUMyJe0sg\n7zewCwt9jjxRd3WcZzGwNrDBAnD/YmzEmOJVyHmLG41xnAO7nibNNvB2jGO3\nUFA03m6hBv10Fj45IQDU5mFgwszcjOtgA1MkBr16RuK6bRANy3vOHExopD4k\nK9e61Fv8ZWX3Az5EDS7493BRBpy2FOrVnAmtYE24dg0SwQb83ThG2d+Iy/RK\nZf4OG1d5qBZ3RaHGqT9GpwUHO+Fi6wpkcsE362z0lc0ZnXUHO33eyXcY7G0a\npNdw\r\n=w60X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.16.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js","./dist-esm/src/util/checkNetworkConnection.js":"./dist-esm/src/util/checkNetworkConnection.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test:node && npm run unit-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run build:test:node && npm run build:test:browser","check-format":"prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test:browser && npm run unit-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" mocha -r ts-node/register -t 50000 ./test/**/*.spec.ts","build:test:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","build:test:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.14.7","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"url":"^0.11.0","rhea":"^1.0.18","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","rhea-promise":"^0.1.15","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"~3.6.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@azure/ms-rest-nodeauth":"^0.9.2","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.16_1597777953565_0.4458030419868433","host":"s3://npm-registry-packages"}},"1.0.0-preview.17":{"name":"@azure/amqp-common","version":"1.0.0-preview.17","author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/amqp-common@1.0.0-preview.17","maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},{"name":"veronicagg","email":"bggve@outlook.com"},{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},{"name":"vladbarosan","email":"vlad.barosan@gmail.com"},{"name":"billytrend","email":"billy.trend@gmail.com"},{"name":"amarzavery","email":"amarzavery@gmail.com"}],"homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.17/sdk/core/amqp-common","bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"dist":{"shasum":"9b8a30d386fd840358fb97c1a2134bd0baf5536c","tarball":"https://registry.npmjs.org/@azure/amqp-common/-/amqp-common-1.0.0-preview.17.tgz","fileCount":125,"integrity":"sha512-mrvRLvBYbylOBAhU0AeZk2jKDZ63nnleJs2KBYzs3wFx/Vz7J9YLtMYq9/s1CX1T2RFERj9w6lRXY42wGjC4iw==","signatures":[{"sig":"MEYCIQC7V/pUsuil7dZsXALXO4Mw+eUFfDw3BIcLQ1aY8tjQcgIhAIQipz1wP/m7DYmdPWkg4wC/JcUr5U9Tq7bMLgme9EYA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2265654,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW7N2CRA9TVsSAnZWagAAQu4P/1vPXSq/Ib2yUFkMSR82\nlzjA8K9iSDqTuMJCZAcUOiWai6Ao5JDj234PWqZlVH2hckCWDkFf97fao3G8\nibibj346y+nFidwOORsmwJYmBHXVWetMYZB89jz3dMYauRTCuvBhCr3og9L/\ne6B+33JHdO/iMFzIkbXIsKjxVsB4PpjGzzlsVLJnBXUlF69icHTSZfj6g0k2\nofHS7GIsXoKhTZTHGh+24e4OwZylJvADiquijm1yXh6n+105DLO7qE4FMbER\na/sCRogyFsy5dnZ6bv5+GNoairZ15HojX8ZlA/fFd9ISf2ByPB3nLpKVGMWl\nMffW2G5PQ4l7P4zboZSFOdBJwSk9QPSp884faIeQaKqqbUqPibZoU2RnEJmP\nG9eGw1f6SQSfL+Zdh96ue1h+cURpGDYTZoTkbUgMNbG//p6JN6yucfISrOju\nO078JABiLA17tU11yqcr2ud6nJLSW0rf76BB2f38/KuHSQXEt9owCF35TKW8\n6AiZ0qFjVx8YEO2NkxOega0bohOH+Wg9iNbsVWVRIcq7omim2wpjMz/ni9f7\nuQsC+EyJ3CrS6uNoju/2MDi63uuFOjmMigq1lqalKsxRwX1x/ipetkGmPiHy\nYCcNjnYuoPLC27u68ghIcov8CmkkDFy157pH2+Y3FO9em6DUg3BF9sI5WLAL\nHE3K\r\n=MLEC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","_from":"file:/home/vsts/work/r1/a/_publishArtifacts/packages/azure-amqp-common-1.0.0-preview.17.tgz","types":"./typings/src/index.d.ts","module":"./dist-esm/src/index.js","readme":"# Azure Core AMQP client library for AMQP operations\n\nLibrary that provides common functionality for different **Azure** Javascript libraries using amqp protocol.\nSome of the common functionalities include:\n\n- CBS Auth\n- Request-Response link for sending request and receiving response over AMQP\n- Error translation of different AMQP error codes.\n- Creation of `ConnectionConfig` by parsing the connection-string\n- AMQP message header and message property transformation\n- AMQP message data transformation (encoding/decoding) that most AMQP based Azure services use for communication\n- RetryPolicy for retrying different operations\n\n## Getting started\n\n### Pre-requisite\n\n- **Node.js version: 6.x or higher.**\n- We would **still encourage you** to install the latest available LTS version at any given time from https://nodejs.org. **It is a good practice to always install the latest available LTS version of node.js.**\n- Installing node.js on **Windows or macOS** is very simple with available installers on the [node.js website](https://nodejs.org). If you are using a **linux based OS**, then you can find easy to follow, one step installation instructions over [here](https://nodejs.org/en/download/package-manager/).\n\n### Installation\n\n- Installing this library\n\n```bash\nnpm install @azure/amqp-common\n```\n\n- [`rhea-promise`](https://github.com/amqp/rhea-promise) is a peer dependency. You need to explicitly install this library as a dependency\n  in your application.\n\n### IDE\n\nThis sdk has been developed in [TypeScript](https://typescriptlang.org) and has good source code documentation. It is highly recommended to use [vscode](https://code.visualstudio.com)\nor any other IDE that provides better intellisense and exposes the full power of source code documentation.\n\n## Key concepts\n\nThis SDK houses core AMQP common related functionality in use bu Azure SDKs that use the protocol.\n\n## Examples\n\nPlease take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.17/sdk/core/amqp-common/samples) directory for detailed samples.\nYou can run the samples by cloning the repo or copy pasting the below sample in your sample.js file.\n\n```bash\n- git clone https://github.com/Azure/azure-sdk-for-js.git\n- cd azure-sdk-for-js/sdk/core/amqp-common\n- npm i\n- npm i -g typescript  #This is optional. However it is useful to have typescript installed globally on your box\n- npm i -g ts-node     #This is optional. However it is useful to have ts-node installed globally on your box\n# Make sure to set the environment variables and then run\n- ts-node ./samples/cbsAuth.ts\n```\n\nThe samples below are generic for EventHubs and Servicebus. You can find EventHub specific samples,\nin the [samples](https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.17/sdk/core/amqp-common/samples) directory.\n\n## Example 1 - CBS (Claims Based Authorization Specification) example\n\nYou can find more information about cbs authorization over [here](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-protocol-guide#claims-based-authorization).\n\nNOTE: The code block below has been later referred to as \"./cbsAuth\".\n\n```js\nconst { ConnectionContextBase, ConnectionConfig, CbsResponse } = require(\"@azure/amqp-common\");\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\n\nexport const str = process.env.CONNECTION_STRING || \"\";\nexport const path = process.env.ENTITY_PATH;\nexport const connectionConfig = ConnectionConfig.create(str, path);\nconst parameters = {\n  config: connectionConfig,\n  connectionProperties: {\n    product: \"MSJSClient\",\n    userAgent: \"/js-amqp-common\",\n    version: \"0.1.0\"\n  }\n};\nexport const connectionContext = ConnectionContextBase.create(parameters);\n\n/**\n * audience The entity token audience in one of the following forms:\n *\n * - **ServiceBus**\n *    - **Sender**\n *        - `\"sb://<yournamespace>.servicebus.windows.net/<queue-name>\"`\n *        - `\"sb://<yournamespace>.servicebus.windows.net/<topic-name>\"`\n *\n *    - **Receiver**\n *         - `\"sb://<yournamespace>.servicebus.windows.net/<queue-name>\"`\n *         - `\"sb://<yournamespace>.servicebus.windows.net/<topic-name>\"`\n *\n *    - **ManagementClient**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<queue-name>/$management\"`.\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<topic-name>/$management\"`.\n *\n * - **EventHubs**\n *     - **Sender**\n *          - `\"sb://<yournamespace>.servicebus.windows.net/<hubName>\"`\n *          - `\"sb://<yournamespace>.servicebus.windows.net/<hubName>/Partitions/<partitionId>\"`.\n *\n *     - **Receiver**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<event-hub-name>/ConsumerGroups/<consumer-group-name>/Partitions/<partition-id>\"`.\n *\n *     - **ManagementClient**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<event-hub-name>/$management\"`.\n */\nexport async function authenticate(audience, closeConnection = false) {\n  await connectionContext.cbsSession.init();\n  const tokenObject = await connectionContext.tokenProvider.getToken(audience);\n  const result = await connectionContext.cbsSession.negotiateClaim(audience, tokenObject);\n  console.log(`Result is: ${result}`);\n  if (closeConnection) {\n    await connectionContext.connection.close();\n    console.log(\"Successfully closed the connection.\");\n  }\n  return result;\n}\n\n//Audience is for an EventHub or ServiceBus sender.\n// You can uncomment the following line and just run this sample, if required.\n// authenticate(`${config.endpoint}${path}`).catch((err) => console.log(err));\n```\n\n## Example 2 - Send a message\n\nBuilding on the above mentioned cbs auth sample, after authentication, we can send a message to EventHub or ServiceBus.\n\n```js\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\nconst { Sender, SenderOptions, EventContext, Message, Delivery } = require(\"rhea-promise\");\nconst { authenticate, connectionContext, connectionConfig, path } = require(\"./cbsAuth\");\n\nasync function main() {\n  await authenticate(`${connectionConfig.endpoint}${path}`);\n  const senderName = \"sender-1\";\n  const senderOptions = {\n    name: senderName,\n    target: {\n      // Address for EventHub Sender, it can be \"<EventHubName>\" or \"<EventHubName>/Partitions/<PartitionId>\"\n      // For ServiceBus Queue, it will be \"<QueueName>\"\n      address: `${path}`\n    },\n    onError: (context) => {\n      const senderError = context.sender && context.sender.error;\n      if (senderError) {\n        console.log(\n          \">>>>> [%s] An error occurred for sender '%s': %O.\",\n          connectionContext.connection.id,\n          senderName,\n          senderError\n        );\n      }\n    },\n    onSessionError: (context) => {\n      const sessionError = context.session && context.session.error;\n      if (sessionError) {\n        console.log(\n          \">>>>> [%s] An error occurred for session of sender '%s': %O.\",\n          connectionContext.connection.id,\n          senderName,\n          sessionError\n        );\n      }\n    }\n  };\n\n  const sender = await connectionContext.connection.createSender(senderOptions);\n  const message = {\n    body: \"Hello World!!\",\n    message_id: \"12343434343434\"\n  };\n\n  const delivery = await sender.send(message);\n  console.log(\">>>>>[%s] Delivery id: \", connectionContext.connection.id, delivery.id);\n\n  await sender.close();\n  await connectionContext.connection.close();\n}\n\nmain().catch((err) => console.log(err));\n```\n\n## Example 3 - Receiving a message\n\nBuilding on the auth sample, post authentication we can receive messages from an EventHub or ServiceBus.\n\n```js\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT License. See License.txt in the project root for license information.\n\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\nconst {\n  Receiver,\n  ReceiverOptions,\n  EventContext,\n  ReceiverEvents,\n  delay,\n  types\n} = require(\"rhea-promise\");\nconst { authenticate, connectionContext, connectionConfig, path } = require(\"./cbsAuth\");\n\nasync function main() {\n  await authenticate(`${connectionConfig.endpoint}${path}`);\n  const receiverName = \"receiver-1\";\n  const filterClause = `amqp.annotation.x-opt-enqueued-time > '${Date.now() - 3600 * 1000}'`; // Get messages from the past hour\n  const receiverAddress = `${path}/ConsumerGroups/$default/Partitions/0`; // For ServiceBus \"<QueueName>\"\n  const receiverOptions = {\n    name: receiverName,\n    source: {\n      address: receiverAddress,\n      filter: {\n        // May not be required for ServiceBus. The current example is for EventHubs.\n        \"apache.org:selector-filter:string\": types.wrap_described(filterClause, 0x468c00000004)\n      }\n    },\n    onSessionError: (context) => {\n      const sessionError = context.session && context.session.error;\n      if (sessionError) {\n        console.log(\n          \">>>>> [%s] An error occurred for session of receiver '%s': %O.\",\n          connectionContext.connection.id,\n          receiverName,\n          sessionError\n        );\n      }\n    }\n  };\n\n  const receiver = await connectionContext.connection.createReceiver(receiverOptions);\n  receiver.on(ReceiverEvents.message, (context) => {\n    console.log(\"Received message: %O\", context.message);\n  });\n  receiver.on(ReceiverEvents.receiverError, (context) => {\n    const receiverError = context.receiver && context.receiver.error;\n    if (receiverError) {\n      console.log(\n        \">>>>> [%s] An error occurred for receiver '%s': %O.\",\n        connectionContext.connection.id,\n        receiverName,\n        receiverError\n      );\n    }\n  });\n  // sleeping for 2 mins to let the receiver receive messages and then closing it.\n  await delay(120000);\n  await receiver.close();\n  await connectionContext.connection.close();\n}\n\nmain().catch((err) => console.log(err));\n```\n\n## Troubleshooting\n\nYou can set the following environment variable to get the debug logs.\n\n- Getting debug logs from the Event Hub SDK\n\n```bash\nexport DEBUG=azure:amqp-common*\n```\n\n- Getting debug logs from the Event Hub SDK and the protocol level library.\n\n```bash\nexport DEBUG=azure:amqp-common*,rhea*\n```\n\n- If you are **not interested in viewing the message transformation** (which consumes lot of console/disk space) then you can set the `DEBUG` environment variable as follows:\n\n```bash\nexport DEBUG=azure:amqp-common*,rhea*,-rhea:raw,-rhea:message,-azure:amqp-common:datatransformer\n```\n\n- If you are interested only in **errors**, then you can set the `DEBUG` environment variable as follows:\n\n```bash\nexport DEBUG=azure-amqp-common:error,rhea-promise:error,rhea:events,rhea:frames,rhea:io,rhea:flow\n```\n\n#### Logging to a file\n\n- Set the `DEBUG` environment variable as shown above and then run your test script as follows:\n  - Logging statements from you test script go to `out.log` and logging statement from the sdk go to `debug.log`.\n    ```bash\n    node your-test-script.js > out.log 2>debug.log\n    ```\n  - Logging statements from your test script and the sdk go to the same file `out.log` by redirecting stderr to stdout (&1), and then redirect stdout to a file:\n    ```bash\n    node your-test-script.js >out.log 2>&1\n    ```\n  - Logging statements from your test script and the sdk go to the same file `out.log`.\n    ```bash\n      node your-test-script.js &> out.log\n    ```\n\n# Next steps\n\nPlease take a look at Examples section above to use the package.\n\n# Contributing\n\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.microsoft.com.\n\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","browser":{"buffer":"buffer","stream":"stream-browserify","./dist/index.js":"./browser/index.js","./dist-esm/src/index.node.js":"./dist-esm/src/index.browser.js","./dist-esm/src/util/checkNetworkConnection.js":"./dist-esm/src/util/checkNetworkConnection.browser.js"},"scripts":{"lint":"eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o amqp-common-lintReport.html || exit 0","pack":"npm pack 2>&1","test":"npm run test:node && npm run test:browser","audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"tsc -p . && rollup -c 2>&1","clean":"rimraf dist dist-esm typings temp browser/*.js* browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml","format":"prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","lint:fix":"eslint -c ../../.eslintrc.json src test samples --ext .ts --fix","prebuild":"npm run clean","test:node":"npm run build:test:node && npm run unit-test:node","unit-test":"npm run unit-test:node && npm run unit-test:browser","build:test":"npm run build:test:node && npm run build:test:browser","check-format":"prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","test:browser":"npm run build:test:browser && npm run unit-test:browser","unit-test:node":"cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" mocha -r ts-node/register -t 50000 ./test/*.spec.ts ./test/**/*.spec.ts","build:test:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1","integration-test":"npm run integration-test:node && npm run integration-test:browser","unit-test:browser":"karma start --single-run","build:test:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1","integration-test:node":"echo skipped","integration-test:browser":"echo skipped"},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"sdk-type":"client","_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"_npmVersion":"6.14.8","description":"Common library for amqp based azure sdks like @azure/event-hubs.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"url":"^0.11.0","rhea":"^1.0.18","util":"^0.11.1","debug":"^3.1.0","jssha":"^2.3.1","tslib":"^1.9.3","buffer":"^5.2.1","events":"^3.0.0","process":"^0.11.10","is-buffer":"^2.0.3","async-lock":"^1.1.3","rhea-promise":"^0.1.15","@types/is-buffer":"^2.0.0","@types/async-lock":"^1.1.0","stream-browserify":"^2.0.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ws":"^6.2.1","nyc":"^14.0.0","chai":"^4.2.0","karma":"^4.0.1","mocha":"^5.2.0","sinon":"^7.1.0","assert":"^1.4.1","dotenv":"^7.0.0","eslint":"^5.16.0","rimraf":"^2.6.2","rollup":"~1.13.1","tslint":"^5.15.0","ts-node":"^7.0.1","prettier":"^1.16.4","cross-env":"^5.2.0","puppeteer":"^1.11.0","typescript":"~3.6.2","@types/chai":"^4.1.6","@types/node":"^8.0.0","karma-mocha":"^1.3.0","mocha-multi":"^1.0.1","@types/debug":"^0.0.31","@types/jssha":"^2.0.0","@types/mocha":"^5.2.5","@types/sinon":"^5.0.5","@types/dotenv":"^6.1.0","chai-as-promised":"^7.1.1","rollup-plugin-json":"^3.1.0","rollup-plugin-shim":"^1.0.0","mocha-junit-reporter":"^1.18.0","rollup-plugin-inject":"^2.2.0","rollup-plugin-uglify":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-promise":"^4.1.1","karma-chrome-launcher":"^2.2.0","rollup-plugin-replace":"^2.1.0","eslint-config-prettier":"^4.2.0","rollup-plugin-commonjs":"^9.2.0","@azure/ms-rest-nodeauth":"^0.9.2","@types/chai-as-promised":"^7.1.0","eslint-detailed-reporter":"^0.8.0","rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/parser":"^1.7.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-globals":"^1.4.0","rollup-plugin-node-resolve":"^4.2.0","eslint-plugin-no-only-tests":"^2.3.0","@typescript-eslint/eslint-plugin":"~1.9.0"},"_npmOperationalInternal":{"tmp":"tmp/amqp-common_1.0.0-preview.17_1599845237722_0.8433790217386801","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-09-13T01:10:22.056Z","modified":"2026-03-19T20:32:16.058Z","0.0.1":"2018-09-13T01:10:22.686Z","0.1.0":"2018-09-22T18:59:55.877Z","0.1.1":"2018-09-26T23:17:53.893Z","0.1.2":"2018-09-28T21:12:23.969Z","0.1.3":"2018-10-01T20:29:40.766Z","0.1.4":"2018-10-05T19:45:32.634Z","0.1.5":"2018-10-17T20:20:47.792Z","0.1.6":"2018-10-19T18:49:13.542Z","0.1.7":"2018-10-26T01:18:15.428Z","0.1.8":"2018-12-11T03:49:11.108Z","0.1.9":"2018-12-15T06:37:11.255Z","1.0.0-preview.1":"2019-01-16T00:07:45.642Z","1.0.0-preview.2":"2019-03-22T19:48:00.159Z","1.0.0-preview.3":"2019-04-22T18:34:06.044Z","1.0.0-preview.4":"2019-05-08T23:42:33.925Z","1.0.0-preview.5":"2019-05-09T19:50:04.929Z","1.0.0-preview.6":"2019-07-03T17:55:40.563Z","1.0.0-preview.7":"2019-09-20T17:51:05.388Z","1.0.0-preview.8":"2019-11-26T19:12:29.274Z","1.0.0-preview.9":"2019-12-11T00:31:12.150Z","1.0.0-preview.10":"2020-02-11T02:59:49.674Z","1.0.0-preview.11":"2020-03-16T21:26:14.231Z","1.0.0-preview.12":"2020-04-02T00:14:50.168Z","1.0.0-preview.13":"2020-04-22T00:44:03.580Z","1.0.0-preview.14":"2020-05-06T01:10:40.261Z","1.0.0-preview.15":"2020-05-12T22:18:36.821Z","1.0.0-preview.16":"2020-08-18T19:12:33.791Z","1.0.0-preview.17":"2020-09-11T17:27:17.888Z"},"bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"author":{"name":"Microsoft Corporation"},"license":"MIT","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.17/sdk/core/amqp-common","repository":{"url":"git+https://github.com/azure/azure-sdk-for-js.git","type":"git"},"description":"Common library for amqp based azure sdks like @azure/event-hubs.","maintainers":[{"email":"amarzavery@gmail.com","name":"amarzavery"},{"email":"vlad.barosan@gmail.com","name":"vladbarosan"},{"email":"bggve@outlook.com","name":"veronicagg"},{"email":"azure-sdk-npmjs@microsoft.com","name":"azure-sdk"},{"email":"npmjs@microsoft.com","name":"microsoft1es"},{"email":"microsoft-oss-publishing@microsoft.com","name":"microsoft-oss-releases"}],"readme":"# Azure Core AMQP client library for AMQP operations\n\nLibrary that provides common functionality for different **Azure** Javascript libraries using amqp protocol.\nSome of the common functionalities include:\n\n- CBS Auth\n- Request-Response link for sending request and receiving response over AMQP\n- Error translation of different AMQP error codes.\n- Creation of `ConnectionConfig` by parsing the connection-string\n- AMQP message header and message property transformation\n- AMQP message data transformation (encoding/decoding) that most AMQP based Azure services use for communication\n- RetryPolicy for retrying different operations\n\n## Getting started\n\n### Pre-requisite\n\n- **Node.js version: 6.x or higher.**\n- We would **still encourage you** to install the latest available LTS version at any given time from https://nodejs.org. **It is a good practice to always install the latest available LTS version of node.js.**\n- Installing node.js on **Windows or macOS** is very simple with available installers on the [node.js website](https://nodejs.org). If you are using a **linux based OS**, then you can find easy to follow, one step installation instructions over [here](https://nodejs.org/en/download/package-manager/).\n\n### Installation\n\n- Installing this library\n\n```bash\nnpm install @azure/amqp-common\n```\n\n- [`rhea-promise`](https://github.com/amqp/rhea-promise) is a peer dependency. You need to explicitly install this library as a dependency\n  in your application.\n\n### IDE\n\nThis sdk has been developed in [TypeScript](https://typescriptlang.org) and has good source code documentation. It is highly recommended to use [vscode](https://code.visualstudio.com)\nor any other IDE that provides better intellisense and exposes the full power of source code documentation.\n\n## Key concepts\n\nThis SDK houses core AMQP common related functionality in use bu Azure SDKs that use the protocol.\n\n## Examples\n\nPlease take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.16/sdk/core/amqp-common/samples) directory for detailed samples.\nYou can run the samples by cloning the repo or copy pasting the below sample in your sample.js file.\n\n```bash\n- git clone https://github.com/Azure/azure-sdk-for-js.git\n- cd azure-sdk-for-js/sdk/core/amqp-common\n- npm i\n- npm i -g typescript  #This is optional. However it is useful to have typescript installed globally on your box\n- npm i -g ts-node     #This is optional. However it is useful to have ts-node installed globally on your box\n# Make sure to set the environment variables and then run\n- ts-node ./samples/cbsAuth.ts\n```\n\nThe samples below are generic for EventHubs and Servicebus. You can find EventHub specific samples,\nin the [samples](https://github.com/Azure/azure-sdk-for-js/tree/%40azure/amqp-common_1.0.0-preview.16/sdk/core/amqp-common/samples) directory.\n\n## Example 1 - CBS (Claims Based Authorization Specification) example\n\nYou can find more information about cbs authorization over [here](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-protocol-guide#claims-based-authorization).\n\nNOTE: The code block below has been later referred to as \"./cbsAuth\".\n\n```js\nconst { ConnectionContextBase, ConnectionConfig, CbsResponse } = require(\"@azure/amqp-common\");\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\n\nexport const str = process.env.CONNECTION_STRING || \"\";\nexport const path = process.env.ENTITY_PATH;\nexport const connectionConfig = ConnectionConfig.create(str, path);\nconst parameters = {\n  config: connectionConfig,\n  connectionProperties: {\n    product: \"MSJSClient\",\n    userAgent: \"/js-amqp-common\",\n    version: \"0.1.0\"\n  }\n};\nexport const connectionContext = ConnectionContextBase.create(parameters);\n\n/**\n * audience The entity token audience in one of the following forms:\n *\n * - **ServiceBus**\n *    - **Sender**\n *        - `\"sb://<yournamespace>.servicebus.windows.net/<queue-name>\"`\n *        - `\"sb://<yournamespace>.servicebus.windows.net/<topic-name>\"`\n *\n *    - **Receiver**\n *         - `\"sb://<yournamespace>.servicebus.windows.net/<queue-name>\"`\n *         - `\"sb://<yournamespace>.servicebus.windows.net/<topic-name>\"`\n *\n *    - **ManagementClient**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<queue-name>/$management\"`.\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<topic-name>/$management\"`.\n *\n * - **EventHubs**\n *     - **Sender**\n *          - `\"sb://<yournamespace>.servicebus.windows.net/<hubName>\"`\n *          - `\"sb://<yournamespace>.servicebus.windows.net/<hubName>/Partitions/<partitionId>\"`.\n *\n *     - **Receiver**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<event-hub-name>/ConsumerGroups/<consumer-group-name>/Partitions/<partition-id>\"`.\n *\n *     - **ManagementClient**\n *         - `\"sb://<your-namespace>.servicebus.windows.net/<event-hub-name>/$management\"`.\n */\nexport async function authenticate(audience, closeConnection = false) {\n  await connectionContext.cbsSession.init();\n  const tokenObject = await connectionContext.tokenProvider.getToken(audience);\n  const result = await connectionContext.cbsSession.negotiateClaim(audience, tokenObject);\n  console.log(`Result is: ${result}`);\n  if (closeConnection) {\n    await connectionContext.connection.close();\n    console.log(\"Successfully closed the connection.\");\n  }\n  return result;\n}\n\n//Audience is for an EventHub or ServiceBus sender.\n// You can uncomment the following line and just run this sample, if required.\n// authenticate(`${config.endpoint}${path}`).catch((err) => console.log(err));\n```\n\n## Example 2 - Send a message\n\nBuilding on the above mentioned cbs auth sample, after authentication, we can send a message to EventHub or ServiceBus.\n\n```js\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\nconst { Sender, SenderOptions, EventContext, Message, Delivery } = require(\"rhea-promise\");\nconst { authenticate, connectionContext, connectionConfig, path } = require(\"./cbsAuth\");\n\nasync function main() {\n  await authenticate(`${connectionConfig.endpoint}${path}`);\n  const senderName = \"sender-1\";\n  const senderOptions = {\n    name: senderName,\n    target: {\n      // Address for EventHub Sender, it can be \"<EventHubName>\" or \"<EventHubName>/Partitions/<PartitionId>\"\n      // For ServiceBus Queue, it will be \"<QueueName>\"\n      address: `${path}`\n    },\n    onError: (context) => {\n      const senderError = context.sender && context.sender.error;\n      if (senderError) {\n        console.log(\n          \">>>>> [%s] An error occurred for sender '%s': %O.\",\n          connectionContext.connection.id,\n          senderName,\n          senderError\n        );\n      }\n    },\n    onSessionError: (context) => {\n      const sessionError = context.session && context.session.error;\n      if (sessionError) {\n        console.log(\n          \">>>>> [%s] An error occurred for session of sender '%s': %O.\",\n          connectionContext.connection.id,\n          senderName,\n          sessionError\n        );\n      }\n    }\n  };\n\n  const sender = await connectionContext.connection.createSender(senderOptions);\n  const message = {\n    body: \"Hello World!!\",\n    message_id: \"12343434343434\"\n  };\n\n  const delivery = await sender.send(message);\n  console.log(\">>>>>[%s] Delivery id: \", connectionContext.connection.id, delivery.id);\n\n  await sender.close();\n  await connectionContext.connection.close();\n}\n\nmain().catch((err) => console.log(err));\n```\n\n## Example 3 - Receiving a message\n\nBuilding on the auth sample, post authentication we can receive messages from an EventHub or ServiceBus.\n\n```js\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT License. See License.txt in the project root for license information.\n\nconst dotenv = require(\"dotenv\");\ndotenv.config(); // Optional for loading environment configuration from a .env (config) file\nconst {\n  Receiver,\n  ReceiverOptions,\n  EventContext,\n  ReceiverEvents,\n  delay,\n  types\n} = require(\"rhea-promise\");\nconst { authenticate, connectionContext, connectionConfig, path } = require(\"./cbsAuth\");\n\nasync function main() {\n  await authenticate(`${connectionConfig.endpoint}${path}`);\n  const receiverName = \"receiver-1\";\n  const filterClause = `amqp.annotation.x-opt-enqueued-time > '${Date.now() - 3600 * 1000}'`; // Get messages from the past hour\n  const receiverAddress = `${path}/ConsumerGroups/$default/Partitions/0`; // For ServiceBus \"<QueueName>\"\n  const receiverOptions = {\n    name: receiverName,\n    source: {\n      address: receiverAddress,\n      filter: {\n        // May not be required for ServiceBus. The current example is for EventHubs.\n        \"apache.org:selector-filter:string\": types.wrap_described(filterClause, 0x468c00000004)\n      }\n    },\n    onSessionError: (context) => {\n      const sessionError = context.session && context.session.error;\n      if (sessionError) {\n        console.log(\n          \">>>>> [%s] An error occurred for session of receiver '%s': %O.\",\n          connectionContext.connection.id,\n          receiverName,\n          sessionError\n        );\n      }\n    }\n  };\n\n  const receiver = await connectionContext.connection.createReceiver(receiverOptions);\n  receiver.on(ReceiverEvents.message, (context) => {\n    console.log(\"Received message: %O\", context.message);\n  });\n  receiver.on(ReceiverEvents.receiverError, (context) => {\n    const receiverError = context.receiver && context.receiver.error;\n    if (receiverError) {\n      console.log(\n        \">>>>> [%s] An error occurred for receiver '%s': %O.\",\n        connectionContext.connection.id,\n        receiverName,\n        receiverError\n      );\n    }\n  });\n  // sleeping for 2 mins to let the receiver receive messages and then closing it.\n  await delay(120000);\n  await receiver.close();\n  await connectionContext.connection.close();\n}\n\nmain().catch((err) => console.log(err));\n```\n\n## Troubleshooting\n\nYou can set the following environment variable to get the debug logs.\n\n- Getting debug logs from the Event Hub SDK\n\n```bash\nexport DEBUG=azure:amqp-common*\n```\n\n- Getting debug logs from the Event Hub SDK and the protocol level library.\n\n```bash\nexport DEBUG=azure:amqp-common*,rhea*\n```\n\n- If you are **not interested in viewing the message transformation** (which consumes lot of console/disk space) then you can set the `DEBUG` environment variable as follows:\n\n```bash\nexport DEBUG=azure:amqp-common*,rhea*,-rhea:raw,-rhea:message,-azure:amqp-common:datatransformer\n```\n\n- If you are interested only in **errors**, then you can set the `DEBUG` environment variable as follows:\n\n```bash\nexport DEBUG=azure-amqp-common:error,rhea-promise:error,rhea:events,rhea:frames,rhea:io,rhea:flow\n```\n\n#### Logging to a file\n\n- Set the `DEBUG` environment variable as shown above and then run your test script as follows:\n  - Logging statements from you test script go to `out.log` and logging statement from the sdk go to `debug.log`.\n    ```bash\n    node your-test-script.js > out.log 2>debug.log\n    ```\n  - Logging statements from your test script and the sdk go to the same file `out.log` by redirecting stderr to stdout (&1), and then redirect stdout to a file:\n    ```bash\n    node your-test-script.js >out.log 2>&1\n    ```\n  - Logging statements from your test script and the sdk go to the same file `out.log`.\n    ```bash\n      node your-test-script.js &> out.log\n    ```\n\n# Next steps\n\nPlease take a look at Examples section above to use the package.\n\n# Contributing\n\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.microsoft.com.\n\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","readmeFilename":"README.md"}