{"name":"webrtc-adapter","version":"7.0.0","description":"A shim to insulate apps from WebRTC spec changes and browser prefix differences","license":"BSD-3-Clause","main":"./src/js/adapter_core5.js","module":"./src/js/adapter_core.js","repository":{"type":"git","url":"git+https://github.com/webrtchacks/adapter.git"},"authors":["The WebRTC project authors (https://www.webrtc.org/)","The adapter.js project authors (https://github.com/webrtchacks/adapter/)"],"scripts":{"preversion":"git stash && npm install && npm update && BROWSER=chrome BVER=stable CI=true npm test && git checkout -B bumpVersion && grunt build && grunt copyForPublish && git add package.json release/* && git commit -m 'Add adapter artifacts' --allow-empty","version":"","postversion":"export GITTAG=\"echo $(git describe --abbrev=0 --tags | sed 's/^v//')\" && git push --force --set-upstream origin bumpVersion --follow-tags && git checkout gh-pages && git pull && cp out/adapter.js adapter.js && cp adapter.js adapter-`$GITTAG`.js && rm adapter-latest.js && ln -s adapter-`$GITTAG`.js adapter-latest.js && mkdir -p adapter-`$GITTAG`-variants && cp out/adapter.js adapter-`$GITTAG`-variants/ && cp out/adapter_*.js adapter-`$GITTAG`-variants/ && git add adapter.js adapter-latest.js adapter-`$GITTAG`.js adapter-`$GITTAG`-variants && git commit -m `$GITTAG` && git push --set-upstream origin gh-pages && git checkout master","prepare":"grunt build","prepublishonly":"npm test","test":"grunt && grunt downloadBrowser && mocha test/unit && karma start test/karma.conf.js"},"dependencies":{"rtcpeerconnection-shim":"^1.2.14","sdp":"^2.9.0"},"engines":{"npm":">=3.10.0","node":">=6.0.0"},"devDependencies":{"babel-core":"^6.26.3","babel-preset-env":"^1.7.0","brfs":"^1.5.0","chai":"^3.5.0","grunt":"^1.0.3","grunt-browserify":"^5.3.0","grunt-babel":"^7.0.0","grunt-cli":"^1.3.1","grunt-contrib-clean":"^1.1.0","grunt-contrib-copy":"^1.0.0","grunt-eslint":"^19.0.0","grunt-shell":"^2.1.0","karma":"^3.0.0","karma-browserify":"^5.2.0","karma-chai":"^0.1.0","karma-chrome-launcher":"^2.2.0","karma-edge-launcher":"^0.4.1","karma-firefox-launcher":"^1.0.1","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-safari-launcher":"^1.0.0","karma-stability-reporter":"^3.0.1","mocha":"^5.2.0","sinon":"^2.2.0","sinon-chai":"^2.14.0","travis-multirunner":"^4.4.0"},"gitHead":"b377586c9d3d13b46b7d9693babb0fbc36ee7847","readme":"[![Build Status](https://travis-ci.org/webrtcHacks/adapter.svg)](https://travis-ci.org/webrtc/adapter)\n\n# WebRTC adapter #\nadapter.js is a shim to insulate apps from spec changes and prefix differences. In fact, the standards and protocols used for WebRTC implementations are highly stable, and there are only a few prefixed names. For full interop information, see [webrtc.org/web-apis/interop](https://www.webrtc.org/web-apis/interop).\n\nThis repository used to be part of the WebRTC organisation on github but moved. We aim to keep\nthe old repository updated with new releases.\n\n## Install ##\n\n#### NPM\n```bash\nnpm install webrtc-adapter\n```\n\n#### Bower\n```bash\nbower install webrtc-adapter\n```\n\n## Usage ##\n##### Javascript\nJust import adapter:\n```\nimport adapter from 'webrtc-adapter';\n```\nNo further action is required.\n\n##### NPM\nCopy to desired location in your src tree or use a minify/vulcanize tool (node_modules is usually not published with the code).\nSee [webrtc/samples repo](https://github.com/webrtc/samples) as an example on how you can do this.\n\n#### Prebuilt releases\n##### Web\nIn the [gh-pages branch](https://github.com/webrtcHacks/adapter/tree/gh-pages) prebuilt ready to use files can be downloaded/linked directly.\nLatest version can be found at https://webrtc.github.io/adapter/adapter-latest.js.\nSpecific versions can be found at https://webrtc.github.io/adapter/adapter-N.N.N.js, e.g. https://webrtc.github.io/adapter/adapter-1.0.2.js.\n\n##### Bower\nYou will find `adapter.js` in `bower_components/webrtc-adapter/`.\n\n##### NPM\nIn node_modules/webrtc-adapter/out/ folder you will find 4 files:\n* `adapter.js` - includes all the shims and is visible in the browser under the global `adapter` object (window.adapter).\n* `adapter_no_edge.js` - same as above but does not include the Microsoft Edge (ORTC) shim.\n* `adapter_no_edge_no_global.js` - same as above but is not exposed/visible in the browser (you cannot call/interact with the shims in the browser).\n* `adapter_no_global.js` - same as `adapter.js` but is not exposed/visible in the browser (you cannot call/interact with the shims in the browser).\n\nInclude the file that suits your need in your project.\n\n## Development ##\nHead over to [test/README.md](https://github.com/webrtcHacks/adapter/blob/gh-pages/test/README.md) and get started developing.\n\n## Publish a new version ##\n* Go to the adapter repository root directory\n* Make sure your repository is clean, i.e. no untracked files etc. Also check that you are on the master branch and have pulled the latest changes.\n* Depending on the impact of the release, either use `patch`, `minor` or `major` in place of `<version>`. Run `npm version <version> -m 'bump to %s'` and type in your password lots of times (setting up credential caching is probably a good idea).\n* Create and merge the PR if green in the GitHub web ui\n* Go to the releases tab in the GitHub web ui and edit the tag.\n* Add a summary of the recent commits in the tag summary and a link to the diff between the previous and current version in the description, [example](https://github.com/webrtcHacks/adapter/releases/tag/v3.4.1).\n* Go back to your checkout and run `git pull`\n* Run `npm publish` (you need access to the [webrtc-adapter npmjs package](https://www.npmjs.com/package/webrtc-adapter))\n* Done! There should now be a new release published to NPM and the gh-pages branch.\n\nNote: Currently only tested on Linux, not sure about Mac but will definitely not work on Windows.\n\n### Publish a hotfix patch versions\nIn some cases it may be necessary to do a patch version while there are significant changes changes on the master branch.\nTo make a patch release,\n* checkout the latest git tag using `git checkout tags/vMajor.minor.patch`.\n* checkout a new branch, using a name such as patchrelease-major-minor-patch. \n* cherry-pick the fixes using `git cherry-pick some-commit-hash`.\n* run `npm version patch`. This will create a new patch version and publish it on github.\n* check out `origin/bumpVersion` branch and publish the new version using `npm publish`.\n* the branch can now safely be deleted. It is not necessary to merge it into the main branch since it only contains cherry-picked commits.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/webrtchacks/adapter/issues"},"homepage":"https://github.com/webrtchacks/adapter#readme","_id":"webrtc-adapter@7.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"fippo","email":"fippo@goodadvice.pages.de"},"dist":{"integrity":"sha512-5eg888t3H3I1JRTPQyiMAitkgTt3T0WA6vG1T5226z37j/AFeZWoYy5OB5+2QAOlypLT4snDA3FxIzHv2UlnUw==","shasum":"2d51693976badc761fe62d76b86dbb12159eeb48","tarball":"http://registry-npm.ywwl.com/webrtc-adapter/download/webrtc-adapter-7.0.0.tgz","fileCount":92,"unpackedSize":915040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+7sECRA9TVsSAnZWagAAFtUP/2G6SkeJRrEf+37Pb/nU\nAVaWAuGiWEdgFhq/bs1zjTvCFGUo0Ink8CN+IFnPHdFYvvYNeH5TtZf2oTIm\nBm3s3gDGGp4XuQjz1rGOTmC4r3ouG1B2S0WTUVrtN7iN+N3TsmdyZxFuherr\nelUSVjgTRo/zrpY3CzJQ+Y2r8Moy1Nb02PhhlPxMFFy19P2p+uHwFVnMwkcW\n4k0Zk5RI5CJ9aoXqM9kT/y5eiShckXBmzm4bf3ih6ssMF+TQSKQizgliFeXl\norATKH14CyoMZj+OMFdD/OAINW0q5cgvzPb0LeLywIu5hDx4L0W8VNZ811kf\nNerYygSZZSyhD3Xv3rwicMSs/cufCYiwfouyaK7Jox/BFjCoSoWZH4ZJNBLk\nya71KA6FysRCcxESJm3wCwyMpSBlnrK1fEyB5MNUHvxLlFF5bs97OtCdnjfQ\n98qKMBq/iITIptG4YOZr41orGewieQZvz+IqpMch9mK1CkHascjvrGl4ZVv6\n7pf05x8kRvpJcALmgxgGYHVVVZHgS1isH3yl2ky/0kcq87nsP7c5Ues6Lop2\nV7SxF3qa4y0wj0askXlkivecgCVADclQ+6sSEF9F0Ks7R/C8ZBd7NPRvRiG5\nhCA46d/KW/SN0sHH5XvGnG35Nv21EZfIokkmvRjKYAdjWfiQCOd4SpRbK2+L\nhUXe\r\n=YHNL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIiFsPyXiC342Np4/+QtX9iwpA1qn+RuVOoiJ46bJ/BAIhAJso13JqFuNSYwNwKc6AEGu8Y9Igu/b+96lrlqpy9tP2"}],"size":210170,"noattachment":false,"key":"/webrtc-adapter/-/webrtc-adapter-7.0.0.tgz"},"maintainers":[{"name":"alvestrand","email":"harald@alvestrand.no"},{"name":"kaptenjansson","email":"cjansss@gmail.com"},{"name":"mirko.bonadei","email":"mirko.bonadei@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webrtc-adapter_7.0.0_1543224067984_0.9627134377769171"},"_hasShrinkwrap":false,"publish_time":1543224068128,"_cnpm_publish_time":1543224068128,"dist-tags":{"latest":"9.0.6"}}