{"_id":"@blockmason/link-sdk","_rev":"6-853b33a67dccd8ce1e70ccc7a970de68","name":"@blockmason/link-sdk","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@blockmason/link-sdk","version":"0.1.0","description":"Convenience library for accessing an API hosted on Blockmason Link.","main":"index.js","repository":{"type":"git","url":"https://github.com/blockmason/link-sdk.js"},"author":{"name":"Devin Canterberry","email":"devin@blockmason.io"},"license":"MIT","publishConfig":{"repository":"git@github.com:blockmason/link-sdk.js.package.git"},"scripts":{"build":"rm -vfR lib; babel --only '**/index.js' --no-comments --compact true --minified --source-maps false --out-dir lib src; cp -vfR package.json yarn.lock README.md LICENSE.md lib/","clean":"rm -fR lib docs .nyc_output","coverage":"nyc report","documentation":"rm -fR docs; (cd src; find . -type f -name index.js | xargs jsdoc --destination ../docs --package ../package.json --readme ../README.md)","lint":"eslint src","test":"find src -type f -name spec.js | xargs nyc --silent --check-coverage --lines 100 --per-file mocha --require @babel/register src/spec.setup.js"},"devDependencies":{"@babel/cli":"7.4.3","@babel/core":"7.4.3","@babel/polyfill":"7.4.3","@babel/preset-env":"7.4.3","@babel/register":"7.4.0","babel-eslint":"10.0.1","chai":"4.2.0","chai-as-promised":"7.1.1","eslint":"5.16.0","eslint-plugin-ante":"1.0.2","jsdoc":"3.5.5","mocha":"6.1.4","nyc":"14.0.0","sinon":"7.3.2","sinon-chai":"3.3.0"},"licenseText":"Copyright 2019 Blockmason\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","_id":"@blockmason/link-sdk@0.1.0","dist":{"shasum":"0c605079e5ee25cc278516fce2085823a49546cb","integrity":"sha512-Ahuv/1T2b3XGHN0CocEP5ng6haCA1wPuzYuvn2oCdaGJqcLyaNgu1WzSh3rAbD58rxjY2wcgPU90MNrnGHwsYQ==","tarball":"https://registry.npmjs.org/@blockmason/link-sdk/-/link-sdk-0.1.0.tgz","fileCount":5,"unpackedSize":9200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcv4fJCRA9TVsSAnZWagAAG68P/03pkTqE3jtnVtkyhSK7\nbFt3HE8JUSZjpWInO5Y05r+cey8G4gYHu+o8Pkk7RN9uVHer6pp61KLFEuch\npYtziDQ+vksyM2eB8xcZ8GWONKuD5rz2fnc4K3f6st0j/xIIssPNamd+Nj9K\nKtgzJmFl+0zhNtdWi5XpfPhG/m10mgjPV3frRwziQR5lkP2PwiFg3bebu1Wp\n16PDundg3ZDckN+loF++9opTDFh6w61M96Z6JLg4EUlDEBt5DLhmpspVr9nU\ntcDPj/SQASewJPSDwKrus2cPmVvgs9hlAGMP22J03BkDK60wmpGsyP8I22dX\npXjILUnK46GsGx14zxIuyCk82E2NcqND1zFAuTuB0oURKOzNb06z7hVicVe+\ngR8PaoHoIsTTLaMoEljEZ1+HiyYnBiH83DQtw2Vin8tQXlDqFM/BqKiwbOD2\nHdR6nPe9ldSbDHqK3muAGb152WzxiYEgNcEG7pY1sKjl4Kw3vGITUh0m9nWJ\nD0RqM5EAq2IZ4k4GtL/GkS2CdfbqNayqE8Iw2wo51T1dU/QsusahqM9OvyN7\n65DTirE4cZwMY/tos2VDf3ycRABdtu87ddEBIvSTS7IjgYfccuXaEhpMxG+0\nVsEpvHJUJu3tQ9L3cicZWkPuqxgJj4YrXfg8hMs85rQAzcLdRu1XDZgaIcH5\n2Ob0\r\n=+WIv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFgRT3FkRHmtakJmyZJxNgEe4kK2uen+Yqc1ZILIiqx5AiAPikR/RGXnhd265r7YLnEnF7ELHhYgUESir5COnyOacw=="}]},"maintainers":[{"name":"canterberry","email":"devin@twuni.net"}],"_npmUser":{"name":"canterberry","email":"devin@twuni.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/link-sdk_0.1.0_1556056008527_0.8184525795001503"},"_hasShrinkwrap":false},"0.1.1":{"name":"@blockmason/link-sdk","version":"0.1.1","description":"Convenience library for accessing an API hosted on Blockmason Link.","main":"index.js","repository":{"type":"git","url":"https://github.com/blockmason/link-sdk.js"},"author":{"name":"Devin Canterberry","email":"devin@blockmason.io"},"license":"MIT","publishConfig":{"repository":"git@github.com:blockmason/link-sdk.js.package.git"},"scripts":{"build":"rm -vfR lib; babel --only '**/index.js' --no-comments --compact true --minified --source-maps false --out-dir lib src; cp -vfR package.json yarn.lock README.md LICENSE.md lib/","clean":"rm -fR lib docs .nyc_output","coverage":"nyc report","documentation":"rm -fR docs; (cd src; find . -type f -name index.js | xargs jsdoc --destination ../docs --package ../package.json --readme ../README.md)","lint":"eslint src","test":"find src -type f -name spec.js | xargs nyc --silent --check-coverage --lines 100 --per-file mocha --require @babel/register src/spec.setup.js"},"dependencies":{"@babel/polyfill":"7.4.3"},"devDependencies":{"@babel/cli":"7.4.3","@babel/core":"7.4.3","@babel/preset-env":"7.4.3","@babel/register":"7.4.0","babel-eslint":"10.0.1","chai":"4.2.0","chai-as-promised":"7.1.1","eslint":"5.16.0","eslint-plugin-ante":"1.0.2","jsdoc":"3.5.5","mocha":"6.1.4","nyc":"14.0.0","sinon":"7.3.2","sinon-chai":"3.3.0"},"licenseText":"Copyright 2019 Blockmason\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","_id":"@blockmason/link-sdk@0.1.1","dist":{"shasum":"5493a97fe8dbb51af9325908cfdf649a4cb19d88","integrity":"sha512-67zaJm6yGJBqaQeGtX425XdxUALyX6geg2yvYlnj3cQdr4aM6U5+zqUmwb4h4R+wtyykj6O701GXbNwBD5zhZQ==","tarball":"https://registry.npmjs.org/@blockmason/link-sdk/-/link-sdk-0.1.1.tgz","fileCount":5,"unpackedSize":9251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcv4i1CRA9TVsSAnZWagAARdAP/RK1JebsiZ91E1YV6QW5\nv67MoeZvD/X1XaJWJURd5UjSZYGj7razDH/Ekmb3NkRWBncGKTdu6UkaVnu9\nvh9TbC+itl0qtA69ruATkBzFQJqczOikA5ZQePfrezTVT7GvKaTwyxOM1Xxp\nhm+5oOLktlSh1Y4vBh1UMtX/prgSn9qJHI2ku+DTBo7w5U8uQ0NojmaVgJlQ\nYNekyWVU2PIANkA+RFp0qom/SLRDYkSZed7eSscLyrN7FqfrNucG+tfeweM+\nnA7x+XLnrZXD8ksxmPCz+1qv0g8/1rRKSKTlMRChl1hf3ABvnp+usDq4VV25\nkN/yFsYBqyUPeyt8CRSGmWUWceuQ0oOPp2h/ipJsPlsOAIhfH2KmBbEeyMZn\nP1IOf7SHWCPWw7M35cJFfhA+u5pKCVWBOi0fCfceF2VcScU2930JKkWzspw5\niGXj7RILH1wpUdWED7N+f/PrCUgP3nO3Nra/aMerKGdLDtt/juk52P8DiM/Z\nO59gbgHLaBCVSZNyIqPoPSrIv/zyWBv+TW4P7XPsteSOGmH9aKTTDPlyAM7u\nuwEoAbVQyB1MeLSUUEaTJ8r1TedVOFlhi6iJoEPOBLzF+Y1zWzyjbgLHHkvu\nS2C0Yh04JGjsGS5atdvSrS+zb7984H4KwaGXVhS2WWKPXZOlSUb3cf2pZByA\nC1qm\r\n=u9Mc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIENURDGKKesYGmG/lQFMNeGyNTf+1WTrGvGCTLD/x1wHAiEAvAwgdw9DoY0L5wsThOwKGM4SqSCLggkGWUasLr/W4uE="}]},"maintainers":[{"email":"npm-circleci@blockmason.io","name":"blockmason-circleci"},{"email":"devin@twuni.net","name":"canterberry"}],"_npmUser":{"name":"canterberry","email":"devin@twuni.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/link-sdk_0.1.1_1556056244371_0.020516504770361932"},"_hasShrinkwrap":false},"0.1.2":{"name":"@blockmason/link-sdk","version":"0.1.2","description":"Convenience library for accessing an API hosted on Blockmason Link.","main":"index.js","repository":{"type":"git","url":"https://github.com/blockmason/link-sdk.js"},"author":{"name":"Devin Canterberry","email":"devin@blockmason.io"},"license":"MIT","publishConfig":{"repository":"git@github.com:blockmason/link-sdk.js.package.git"},"scripts":{"build":"rm -vfR lib; babel --only '**/index.js' --no-comments --compact true --minified --source-maps false --out-dir lib src; cp -vfR package.json yarn.lock README.md LICENSE.md lib/","clean":"rm -fR lib docs .nyc_output","coverage":"nyc report","documentation":"rm -fR docs; (cd src; find . -type f -name index.js | xargs jsdoc --destination ../docs --package ../package.json --readme ../README.md)","lint":"eslint src","test":"find src -type f -name spec.js | xargs nyc --silent --check-coverage --lines 100 --per-file mocha --require @babel/register src/spec.setup.js"},"dependencies":{"@babel/polyfill":"7.4.3"},"devDependencies":{"@babel/cli":"7.4.3","@babel/core":"7.4.3","@babel/preset-env":"7.4.3","@babel/register":"7.4.0","babel-eslint":"10.0.1","chai":"4.2.0","chai-as-promised":"7.1.1","eslint":"5.16.0","eslint-plugin-ante":"1.0.2","jsdoc":"3.5.5","mocha":"6.1.4","nyc":"14.0.0","sinon":"7.3.2","sinon-chai":"3.3.0"},"licenseText":"Copyright 2019 Blockmason\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","_id":"@blockmason/link-sdk@0.1.2","dist":{"shasum":"2d061d393946453b1f983b909e501bb96ecf0673","integrity":"sha512-xgPhjaVVeuTRxb401WOmRlCXApLWLAogIHj5cRmX7EsY0+ht0B8p9uOIC/7df83c8x4u7Ia7kOS0z25qoON8DA==","tarball":"https://registry.npmjs.org/@blockmason/link-sdk/-/link-sdk-0.1.2.tgz","fileCount":5,"unpackedSize":9944,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwJRcCRA9TVsSAnZWagAAHCUQAIZRR4iNneKY3BwJl19V\nAlirmaqZcUzELaLFwKAdfmHz7gBTPKeZF0MCEeT8Zn6f1NlQwZwdPW5Oflsn\nl2ZBlpokV2t/9dg6R0nOgSkPbmMf0F936/dvUlqNtKKro7EkqPa3PJkIKJzG\nqCbBWA2C+/4IlH0N6ZUSbdNdLYSTkvepcvh9gPdmwczmfWzxhMOSoiIt/lO6\nyDp1zop77c436c4xHO4Qv2f48y4FmzuzXsWOWigwsC5m2iI+9iJxBqG/IGc3\nJTYEkdRcvvxaJz41pVV5CzlwaLMmNucdfy1aGSiaCH5n8wqZLuJObRxwd3aj\noWQpLodF6/6jL39siGP4R1+lIoqYJvY2HjPdpZRk6VISezXhKZ78BYa+4u1z\nk6pFgqayWbRBwFj4b7u+VwKx3JSxefNjyIXMprmmHzfARGAh9AOFIDdQUQWB\nGXjq8YEP4CX9EjCSPKEC+81h6JtmSSvFv/+N5B8q+Qo1f6fWY8sRKR1AkjXu\nNgNlbL5R+DwN45i39jLqSIEg9t6+cAHmbtzqbBUI43A+nAHQaRGPpjjO0ehS\n9UXVX20xWXBj2msKgtoEL0gAsUOXFzDXGVLJFuNNF2hSdjBgb+6lIbiFFn2s\n3eVLMZ+i/kk8WwiKOOQQFFRa1JUBQvkoAmT55fIlGvetccSlBu6vo75iH3E3\nQOft\r\n=Qoht\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC6gLTj1BgW5+tye2vqBCXjPLZqeHUzO0bZls+8lyN5AIhAN4PZIsfmY2ntYSjTPWzpjwodI9/q7hAqVFzjUaJyEuB"}]},"maintainers":[{"email":"npm-circleci@blockmason.io","name":"blockmason-circleci"},{"email":"devin@twuni.net","name":"canterberry"}],"_npmUser":{"name":"canterberry","email":"devin@twuni.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/link-sdk_0.1.2_1556124763747_0.5811549506718154"},"_hasShrinkwrap":false},"0.1.3":{"name":"@blockmason/link-sdk","version":"0.1.3","description":"Convenience library for accessing an API hosted on Blockmason Link.","main":"index.js","repository":{"type":"git","url":"https://github.com/blockmason/link-sdk.js"},"author":{"name":"Devin Canterberry","email":"devin@blockmason.io"},"license":"MIT","publishConfig":{"repository":"git@github.com:blockmason/link-sdk.js.package.git"},"scripts":{"build":"rm -vfR lib; babel --only '**/index.js' --no-comments --compact true --minified --source-maps false --out-dir lib src; cp -vfR package.json yarn.lock README.md LICENSE.md lib/","clean":"rm -fR lib docs .nyc_output","coverage":"nyc report","documentation":"rm -fR docs; (cd src; find . -type f -name index.js | xargs jsdoc --destination ../docs --package ../package.json --readme ../README.md)","lint":"eslint src","test":"find src -type f -name spec.js | xargs nyc --silent --check-coverage --lines 100 --per-file mocha --require @babel/register src/spec.setup.js"},"dependencies":{"@babel/polyfill":"7.4.3"},"devDependencies":{"@babel/cli":"7.4.3","@babel/core":"7.4.3","@babel/preset-env":"7.4.3","@babel/register":"7.4.0","babel-eslint":"10.0.1","chai":"4.2.0","chai-as-promised":"7.1.1","eslint":"5.16.0","eslint-plugin-ante":"1.0.2","jsdoc":"3.5.5","mocha":"6.1.4","nyc":"14.0.0","sinon":"7.3.2","sinon-chai":"3.3.0"},"licenseText":"Copyright 2019 Blockmason\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","_id":"@blockmason/link-sdk@0.1.3","dist":{"shasum":"f61082a010cbdad33f0c073cd274b31f688d82bc","integrity":"sha512-uEbj5zhU5erwfI3i0xsUOq+wyfip/XdlFP26dTfXW67MreLsPjaOT6I7IyeIyJ6qyEA4lPdRSKy8aewqZg+Q+Q==","tarball":"https://registry.npmjs.org/@blockmason/link-sdk/-/link-sdk-0.1.3.tgz","fileCount":5,"unpackedSize":9948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwOUlCRA9TVsSAnZWagAAvKwP/3BpuLXYEfCzcKzcSoa1\nf1LtNroeXsHOGzBQLFU6Ra2mJLu5jcmePjWAPZgpkY5JLNGhXK5v75WQLAWm\ndwEByqpvwXXnbeHrIQo5C5VUU6hSZ7fo3aSMMVQqa7sMVaAPAj7Ik3qYk9oK\nRjJ6bIs+g3LbCW3FcE8hhrP660ABkvGe5TGAgzCuwHKtiKp/LsruXuicLhsa\nqy9Sukapgixvni9ADZNEKgXg+6kVQMRZItJ8I8T80s6uvIf+ItpapjwplXSR\n7ODidPR9AE56ysBWaO8iQ9g9ff/wdmHVWZmqSJl6C5iSVSPd6O/0CC+KFKrF\nSseLwgtWwymR6oZWNh1gk8FBy+ARWyWCBzuL5+jC1kX/VaBlvRSf+Lr6Ux05\n2wTGIbQWsefNIukDROBbMz203UJNuGmyVKLrutNxG4nnqp3HLL+ogIW64d4w\nhZlmpe2wdEdJ7Z+6qAAPeK5mGy4QCPwn/KG5Fxp2m9uk2X2qxjRuyYyREPGy\nPyibB2XNmYNXrQYHKPoTptqpmJEdUcBHRBZ6/ADWHPimrwvmgKQaiSEiDi7Q\n5n1KhaRvOwnBqVdeuy1aWPVfNcr2jfI+lltPZcgI193SWKktpSvith+aq9GL\nP6vc9RYJ2wzRGWXE5lZiJQkRPcPamM+g1H6afDI0xt5A/zekvCpa/QshQ1C/\nS3G0\r\n=dWg6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7B/rWOhCR4XgIqTGFKIkt16UiDhQx2W6PIUeJR2G/IwIgMUMhRe0bzCSH523tDmROTznok03OvAsfsCxqgWyuJ+4="}]},"maintainers":[{"email":"npm-circleci@blockmason.io","name":"blockmason-circleci"},{"email":"devin@twuni.net","name":"canterberry"}],"_npmUser":{"name":"canterberry","email":"devin@twuni.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/link-sdk_0.1.3_1556145444544_0.9614412842516231"},"_hasShrinkwrap":false},"0.1.4":{"name":"@blockmason/link-sdk","version":"0.1.4","description":"Convenience library for accessing an API hosted on Blockmason Link.","main":"index.js","repository":{"type":"git","url":"https://github.com/blockmason/link-sdk.js"},"author":{"name":"Devin Canterberry","email":"devin@blockmason.io"},"license":"MIT","publishConfig":{"repository":"git@github.com:blockmason/link-sdk.js.package.git"},"scripts":{"build":"rm -vfR lib; babel --only '**/index.js' --no-comments --compact true --minified --source-maps false --out-dir lib src; cp -vfR package.json yarn.lock README.md LICENSE.md lib/","clean":"rm -fR lib docs .nyc_output","coverage":"nyc report","documentation":"rm -fR docs; (cd src; find . -type f -name index.js | xargs jsdoc --destination ../docs --package ../package.json --readme ../README.md)","lint":"eslint src","test":"find src -type f -name spec.js | xargs nyc --silent --check-coverage --lines 100 --per-file mocha --require @babel/register src/spec.setup.js"},"dependencies":{"@babel/polyfill":"7.4.3"},"devDependencies":{"@babel/cli":"7.4.3","@babel/core":"7.4.3","@babel/preset-env":"7.4.3","@babel/register":"7.4.0","babel-eslint":"10.0.1","chai":"4.2.0","chai-as-promised":"7.1.1","eslint":"5.16.0","eslint-plugin-ante":"1.0.2","jsdoc":"3.5.5","mocha":"6.1.4","nyc":"14.0.0","sinon":"7.3.2","sinon-chai":"3.3.0"},"licenseText":"Copyright 2019 Blockmason\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","_id":"@blockmason/link-sdk@0.1.4","dist":{"shasum":"aae7f550c0a21072eb9f0b5a98b05b5005e94048","integrity":"sha512-6WSHSBs+tB9kSGodmdv5Dg7kmr/T1Oa4HkgOVyJg5hJmxtaOki+q+UuTOihY6sfjle/B9SfK+aShfzAfMq1biQ==","tarball":"https://registry.npmjs.org/@blockmason/link-sdk/-/link-sdk-0.1.4.tgz","fileCount":5,"unpackedSize":10016,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxKkmCRA9TVsSAnZWagAAqRkP/3nz7zktwCtuTBF0xxk2\naAwvJnUwbTGflJELmszdvRzqy4LAT4tGAsxEAlBA6/MfMc1KruuzCepQUdRf\nLwApkaVaTAR5jp3GY/tyhEyPtE9v3FpfB6GvuAJiS0Z8gsrmpDcOGKQ+pqxz\n7oQJDCVMXEFy7qzOIdfRFFb62sCv0f+xnC+NdsMDBsb6UsOwJzy6xN0thj6V\ncFMvgVszRZgJZzWCB93GoBbzCSdNCOtBeBNT+yTRelf/vkQLov0nf0Jbh/20\n8dPYNnl0Uinl12X6MXzoaKwS3XKDXvQtwEYQNG2b1UKznCRtdbabwQvXpwsG\n29/Y7AV+j9Nx2XaErcCN7CZo7GEcUem55ROFfbxRloZHvKxPKEQkE5L7hvu6\nGj9P4BjbFZ+njadId6WzK+l7MFmByJ8IS8CnRMOlAJ2o9QlWoJqiAgYHMqEn\nc7fYMZwxgb0UbgqT6OOsa5Fdjfgvmnt6tt0+P6l/Blz/QAeuFHeuxky7Xnrh\ngiBvXv+Np42kpmLbP8u/DWHQute8iA+iAM/9NHtG2QcWbGQTYWhdfsCgwpjD\nIQ1ye2xt33jhicEP1eHGpWwnvbzXKhEpFQs7akC+ZlqN69PHYXiIVcWtjDpI\nA+F6IzRPiuoc/YXtS9CxeVdQe+9FYksQjXChU35U/v5q82CNKtU/QWrc4suJ\nND3f\r\n=xqqc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWRLIMM4BjyvF2Mgou0dkZNxq/vZ+QWZgwX6ZpQjVePQIgWc3xm1oKfUDTSQ+C3ImD/WBwtpjGrPrT36NAVjD7XeQ="}]},"maintainers":[{"email":"npm-circleci@blockmason.io","name":"blockmason-circleci"},{"email":"devin@twuni.net","name":"canterberry"}],"_npmUser":{"name":"canterberry","email":"devin@twuni.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/link-sdk_0.1.4_1556392229646_0.38877801820646263"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-23T21:46:48.379Z","0.1.0":"2019-04-23T21:46:48.710Z","modified":"2022-04-04T19:38:03.203Z","0.1.1":"2019-04-23T21:50:44.539Z","0.1.2":"2019-04-24T16:52:43.879Z","0.1.3":"2019-04-24T22:37:24.727Z","0.1.4":"2019-04-27T19:10:29.811Z"},"maintainers":[{"email":"npm-circleci@blockmason.io","name":"blockmason-circleci"},{"email":"devin@twuni.net","name":"canterberry"}],"description":"Convenience library for accessing an API hosted on Blockmason Link.","repository":{"type":"git","url":"https://github.com/blockmason/link-sdk.js"},"author":{"name":"Devin Canterberry","email":"devin@blockmason.io"},"license":"MIT","readme":"# Blockmason Link SDK for JavaScript\n\n[![CircleCI][3]][4]\n\n## Installing\n\nTo add this library to your app, do one of the following:\n\nUsing [Yarn][1]:\n\n```\nyarn add @blockmason/link-sdk\n```\n\nUsing [NPM][2]:\n\n```\nnpm install @blockmason/link-sdk\n```\n\n## Usage\n\n### Importing the module\n\nFirst, your app should import the `link` module from this library.\n\nUsing ES6:\n\n```\nimport { link } from '@blockmason/link-sdk';\n```\n\nUsing CommonJS modules (Node.js):\n\n```\nconst { link } = require('@blockmason/link-sdk');\n```\n\n### Configuring\n\nOnce you have the `link()` function imported, create a client for your\nLink project like this:\n\n```\nconst project = link({\n  clientId: '<your-client-id>',\n  clientSecret: '<your-client-secret>'\n});\n``` \n\nUse the **Client ID** and **Client Secret** provided by your Link project\nto fill in the respective values above.\n\n#### Using from a Node.js environment\n\nThe Link SDK uses [`fetch()`][5] to make HTTP requests. Most modern browsers\nprovide this function as a global, but it is absent from Node.js.\n\nWhen calling the `link()` function from a Node.js environment, you can\npass in a `fetch()` implementation along as a second parameter, like this:\n\n```\nconst fetch = require('node-fetch');\nconst { link } = require('@blockmason/link-sdk');\n\nconst project = link({\n  clientId: '<your-client-id>',\n  clientSecret: '<your-client-secret>'\n}, {\n  fetch\n});\n```\n\nThe above snippet uses the [`node-fetch`][6] compatibility package.\n\n### Interacting with your Link project\n\nThen, you can use the `project` object to make requests against your\nLink project.\n\nFor example, assuming your project has a **GET /echo** endpoint that\nexpects a `message` input and responds with a `message` output:\n\n```\nconst { message } = await project.get('/echo', {\n  message: 'Hello, world!'\n});\nconsole.log(message);\n// \"Hello, world!\"\n```\n\nAnother example, assuming your project has a **POST /mint** endpoint\nthat expects `to` and `amount` inputs:\n\n```\nawait project.post('/mint', {\n  amount: 1000,\n  to: '0x1111222233334444555566667777888899990000'\n});\n```\n\n[1]: https://yarnpkg.com/\n[2]: https://nodejs.org/\n[3]: https://circleci.com/gh/blockmason/link-sdk.js.svg?style=svg\n[4]: https://circleci.com/gh/blockmason/link-sdk.js\n[5]: https://fetch.spec.whatwg.org/\n[6]: https://www.npmjs.com/package/node-fetch\n","readmeFilename":"README.md"}