{"_id":"@financial-times/n-memb-gql-client","_rev":"53-a0db70d52d06126cf4e7a8c17482acf5","name":"@financial-times/n-memb-gql-client","dist-tags":{"latest":"2.2.4"},"versions":{"1.0.0-beta.1":{"name":"@financial-times/n-memb-gql-client","version":"1.0.0-beta.1","author":"","license":"ISC","_id":"@financial-times/n-memb-gql-client@1.0.0-beta.1","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"}],"dist":{"shasum":"c45e6658a3e7fe1f7005eed59e09a48dd4752e78","tarball":"https://registry.npmjs.org/@financial-times/n-memb-gql-client/-/n-memb-gql-client-1.0.0-beta.1.tgz","integrity":"sha512-XA2KWCbT64wi3+5+h6GbnFaAv1k8aOnZc2+X7snIwo9ZQLCaGEgsz8kgdXV0Wxs1C55tDlakISLwR61z1cCjjQ==","signatures":[{"sig":"MEUCIEDIqVbylogWpurI7sxQIMzIyGIVjPqUrQxHeEtryZSuAiEA0TIzKpfkPXBTAYmS+/bUgTs9Eoj7w4apKwfatNpvSuM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"c45e6658a3e7fe1f7005eed59e09a48dd4752e78","gitHead":"551c7e9697039d318f40d14e840707a01937a951","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"financial-times","email":"strategic.products@ft.com"},"_npmVersion":"3.10.8","description":"A tiny wrapper around the membership graph ql api, with some convenient methods.","directories":{},"_nodeVersion":"6.9.0","dependencies":{"node-fetch":"^1.7.3"},"devDependencies":{"chai":"^4.1.2","nock":"^9.0.22","mocha":"^3.5.3","sinon":"^4.0.0","eslint":"^4.7.2","lintspaces":"^0.5.1","proxyquire":"^1.8.0","@financial-times/n-gage":"^1.9.5"},"_npmOperationalInternal":{"tmp":"tmp/n-memb-gql-client-1.0.0-beta.1.tgz_1507133095053_0.5443290967959911","host":"s3://npm-registry-packages"}},"1.0.0-beta.2":{"name":"@financial-times/n-memb-gql-client","version":"1.0.0-beta.2","author":"","license":"ISC","_id":"@financial-times/n-memb-gql-client@1.0.0-beta.2","maintainers":[{"name":"financial-times","email":"strategic.products@ft.com"}],"dist":{"shasum":"557840d87639bc48d53456b104c9c8ea81bc84ac","tarball":"https://registry.npmjs.org/@financial-times/n-memb-gql-client/-/n-memb-gql-client-1.0.0-beta.2.tgz","integrity":"sha512-3+GMN6VJJbSp4FafosTOOJ/Fp4gN6hEehfSV8wzvNwqIKyBGna0d+RIVv5TtIYcp1C3YWFNexKQK3iPMap8Y6w==","signatures":[{"sig":"MEQCIHy48e5zLmrRS6USasd95AWJxos9PTtx978zc2BTzwvXAiAH3rDQj35hpKpt775wDeCVpEMIwXjR/ybuYmh87Sa4QA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"557840d87639bc48d53456b104c9c8ea81bc84ac","gitHead":"441fb7a03053deec8bbc8873d1259945c25b98e4","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"financial-times","email":"strategic.products@ft.com"},"_npmVersion":"3.10.8","description":"A tiny wrapper around the membership graph ql api, with some convenient methods.","directories":{},"_nodeVersion":"6.9.0","dependencies":{"node-fetch":"^1.7.3"},"devDependencies":{"chai":"^4.1.2","nock":"^9.0.22","mocha":"^3.5.3","sinon":"^4.0.0","eslint":"^4.7.2","lintspaces":"^0.5.1","proxyquire":"^1.8.0","@financial-times/n-gage":"^1.9.5"},"_npmOperationalInternal":{"tmp":"tmp/n-memb-gql-client-1.0.0-beta.2.tgz_1507299921511_0.19376280973665416","host":"s3://npm-registry-packages"}},"2.0.0-beta.1":{"name":"@financial-times/n-memb-gql-client","version":"2.0.0-beta.1","author":"","license":"ISC","_id":"@financial-times/n-memb-gql-client@2.0.0-beta.1","maintainers":[{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"quarterto","email":"mwr.brennan@gmail.com"},{"name":"the-ft","email":"strategic.products@ft.com"}],"dist":{"shasum":"b79b472519ca3fc03d835ab6a2e17bacf1cf74b6","tarball":"https://registry.npmjs.org/@financial-times/n-memb-gql-client/-/n-memb-gql-client-2.0.0-beta.1.tgz","integrity":"sha512-Fq297ZFiSKGIWNnmPr1stOJI8I6xw12xpgX8mOxQrKlqkKZqrdadMB6TSrmhMekCjmErRsgKeX5aXX4vZ9CMLQ==","signatures":[{"sig":"MEYCIQCr/te8IgfoN/bAukcgt8gyNIF8uOYGK5kKzgVfeI5jDQIhAMVMaNt4J+9MWQ4DxMhHbzbFQDGJTixDAP5Gfkm4ydXw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","engines":{"node":"^9.2.0"},"gitHead":"27db7fcffb79c541bda53d0d279cf5d2cb4d7ec7","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products@ft.com"},"_npmVersion":"5.5.1","description":"A tiny wrapper around the FT Membership GraphQL API","directories":{},"_nodeVersion":"9.2.0","dependencies":{"node-fetch":"^1.7.3"},"devDependencies":{"chai":"^4.1.2","nock":"^9.1.3","mocha":"^4.0.1","sinon":"^4.0.0","proxyquire":"^1.8.0","chai-subset":"^1.6.0","@financial-times/n-gage":"^1.16.0"},"_npmOperationalInternal":{"tmp":"tmp/n-memb-gql-client-2.0.0-beta.1.tgz_1511784029243_0.8965294626541436","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@financial-times/n-memb-gql-client","version":"2.0.0","author":"","license":"ISC","_id":"@financial-times/n-memb-gql-client@2.0.0","maintainers":[{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"quarterto","email":"mwr.brennan@gmail.com"},{"name":"the-ft","email":"strategic.products@ft.com"}],"dist":{"shasum":"6414a478572969e7c5aad4d02a6ff24b5a9fc1b8","tarball":"https://registry.npmjs.org/@financial-times/n-memb-gql-client/-/n-memb-gql-client-2.0.0.tgz","integrity":"sha512-0I2HYmgWXB4Jy6rnGGQDh1vJidKJbZKLE3wKE1UUW0BPO8a38I0KKIp0Til1bwu4Uzv4tKzcAsCV6bIm5j3pSw==","signatures":[{"sig":"MEUCIQCB5Hzx8ieFDRHf8YJHxiI6Cw2kOD/1hKbkygHKVpzWLAIgIURUiWcqTESCERKyEXnocpLzlSupiSnjjD+Z0ys8uU0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","engines":{"node":"^9.2.0"},"gitHead":"c59710facc9ad3501eb515290c1b94db5ff41973","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products@ft.com"},"deprecated":"This package is deprecated as of Tue 21 Jan 2025. It was built to interact with the Membership GraphQL API which was retired on 08 Apr 2024.","_npmVersion":"5.5.1","description":"A tiny wrapper around the FT Membership GraphQL API","directories":{},"_nodeVersion":"9.2.0","dependencies":{"node-fetch":"^1.7.3"},"devDependencies":{"chai":"^4.1.2","nock":"^9.1.3","mocha":"^4.0.1","sinon":"^4.0.0","proxyquire":"^1.8.0","chai-subset":"^1.6.0","@financial-times/n-gage":"^1.16.0"},"_npmOperationalInternal":{"tmp":"tmp/n-memb-gql-client-2.0.0.tgz_1511865659794_0.5303086016792804","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@financial-times/n-memb-gql-client","version":"2.0.1","author":"","license":"ISC","_id":"@financial-times/n-memb-gql-client@2.0.1","maintainers":[{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"callumlocke","email":"callum.locke@gmail.com"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"quarterto","email":"mwr.brennan@gmail.com"},{"name":"the-ft","email":"strategic.products@ft.com"}],"dist":{"shasum":"968ad04894518f4d6128d4a9736fe18f52163e59","tarball":"https://registry.npmjs.org/@financial-times/n-memb-gql-client/-/n-memb-gql-client-2.0.1.tgz","integrity":"sha512-mrx9tZXdoIALvPOJaOpe35hkXLGwcmQOoUjcLZ3IwhT37K22ekLmWVSUgDW38b6GojW0jV8GqAiSAqvEkke+CQ==","signatures":[{"sig":"MEUCIBUfVX6xjUrQb2519HnSHJ5a/2Vr9UwKMona0baLZAkMAiEAto1GxVUGPqIu1ppCY3rgIYMJ7OoNDDE1o2AAY2puHss=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","engines":{"node":"^9.2.0"},"gitHead":"477f9ff6bc36960123f51bd3550369bbc04ad0a1","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products@ft.com"},"deprecated":"This package is deprecated as of Tue 21 Jan 2025. It was built to interact with the Membership GraphQL API which was retired on 08 Apr 2024.","_npmVersion":"5.5.1","description":"A tiny wrapper around the FT Membership GraphQL API","directories":{},"_nodeVersion":"9.2.0","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"chai":"^4.1.2","nock":"^9.1.3","mocha":"^4.0.1","sinon":"^4.0.0","proxyquire":"^1.8.0","chai-subset":"^1.6.0","@financial-times/n-gage":"^1.16.0"},"_npmOperationalInternal":{"tmp":"tmp/n-memb-gql-client-2.0.1.tgz_1512569397021_0.04672215785831213","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@financial-times/n-memb-gql-client","version":"2.1.0","author":"","license":"ISC","_id":"@financial-times/n-memb-gql-client@2.1.0","maintainers":[{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"callumlocke","email":"callum.locke@gmail.com"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"quarterto","email":"mwr.brennan@gmail.com"},{"name":"the-ft","email":"strategic.products@ft.com"}],"dist":{"shasum":"4d764576c37f5b48f3c0a3014e758e63a9cfa0dd","tarball":"https://registry.npmjs.org/@financial-times/n-memb-gql-client/-/n-memb-gql-client-2.1.0.tgz","integrity":"sha512-qr0pj1HWMR3/7NvkSQ2iS+KdEcx9txZcudC8AdADRnk4Qpi+qXxr5jGGOAY7BDbxEFSvx/EJUz1rb7hcOkf2SA==","signatures":[{"sig":"MEYCIQCa0V23JGAVqDNjuMbbkFKJrIIkTojRMh2HU+86ZJF7QwIhAJnbQzJzzap/7XR8fAlDBQe3nxErPUAchbCyxeJQLrUA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","engines":{"node":"^9.2.0"},"gitHead":"7b57407046688eb0152a1f23ee03155fb5a5a59b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products@ft.com"},"deprecated":"This package is deprecated as of Tue 21 Jan 2025. It was built to interact with the Membership GraphQL API which was retired on 08 Apr 2024.","_npmVersion":"5.5.1","description":"A tiny wrapper around the FT Membership GraphQL API","directories":{},"_nodeVersion":"9.2.0","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"chai":"^4.1.2","nock":"^9.1.3","mocha":"^4.0.1","sinon":"^4.0.0","proxyquire":"^1.8.0","chai-subset":"^1.6.0","@financial-times/n-gage":"^1.16.0"},"_npmOperationalInternal":{"tmp":"tmp/n-memb-gql-client-2.1.0.tgz_1512989275542_0.6759662516415119","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@financial-times/n-memb-gql-client","version":"2.2.0","author":"","license":"ISC","_id":"@financial-times/n-memb-gql-client@2.2.0","maintainers":[{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"callumlocke","email":"callum.locke@gmail.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"quarterto","email":"mwr.brennan@gmail.com"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"the-ft","email":"strategic.products+npm@ft.com"},{"name":"zhenyulin","email":"zhenyu.lyn@gmail.com"}],"dist":{"shasum":"e04735036180b95b7d7f3a652c637ba13aab481a","tarball":"https://registry.npmjs.org/@financial-times/n-memb-gql-client/-/n-memb-gql-client-2.2.0.tgz","fileCount":15,"integrity":"sha512-KzcfoSRtGIbKi/dGocNGx2wFtruBZmACP54d6Am599Jy1dq0RFZqSeQncZDLANGdYU7I6Qip3WYi9KbtEHb9Rg==","signatures":[{"sig":"MEUCIQDv0mMC3/gf0NySbiVfvyrhI4xDJu05X0zoMjIpX0lGwAIgDA2a+NLs1SzN4oc2XaAugf1j7Zw2fQudgP8iPKJFRlQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18720},"main":"index.js","engines":{"node":"^9.2.0"},"gitHead":"734308c096b0c4e140151bc5afb79f065db6d58b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"deprecated":"This package is deprecated as of Tue 21 Jan 2025. It was built to interact with the Membership GraphQL API which was retired on 08 Apr 2024.","_npmVersion":"5.5.1","description":"A tiny wrapper around the FT Membership GraphQL API","directories":{},"_nodeVersion":"9.2.0","dependencies":{"isomorphic-fetch":"^2.2.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","nock":"^9.2.3","mocha":"^5.0.5","sinon":"^4.5.0","proxyquire":"^2.0.1","chai-subset":"^1.6.0","@financial-times/n-gage":"^1.19.14"},"_npmOperationalInternal":{"tmp":"tmp/n-memb-gql-client_2.2.0_1523264360099_0.054866728609910265","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"@financial-times/n-memb-gql-client","version":"2.2.1","author":"","license":"ISC","_id":"@financial-times/n-memb-gql-client@2.2.1","maintainers":[{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"callumlocke","email":"callum.locke@gmail.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"quarterto","email":"mwr.brennan@gmail.com"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"the-ft","email":"strategic.products+npm@ft.com"},{"name":"zhenyulin","email":"zhenyu.lyn@gmail.com"}],"dist":{"shasum":"3b4af5c3669ad6c3dcd18e38169de086c22b593a","tarball":"https://registry.npmjs.org/@financial-times/n-memb-gql-client/-/n-memb-gql-client-2.2.1.tgz","fileCount":15,"integrity":"sha512-Xdh+2kFpN7QBOe1JUnwJVC/vZRXcN+K7pAKdWaMdyaakYO3HRBKghMfki33TaAdjFMFubvude1/ohzaTy6v/GQ==","signatures":[{"sig":"MEUCIQCKLMxl36/Ach5ZQOQBAVt7UCcj5ykQJRHWcCmE6xmJvQIgR/deU39Mt9pkpdspRG64DEPVCXNPoqxV/JsI2vain/0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+roACRA9TVsSAnZWagAAwEsP/1yFmSy4n6BBvLdWrtdg\n9TpDk+UOc/ZUiaoNR5nsQwy2OZoGqmH8xIE8ePFZTYLmRiYAgkzSIlPUVSIC\nZJWhL2v5IWwWyG7q5u5a0xlkdGbuL4W0fZgtLfELaS8vCiUEyZjZCM+ckb6l\nR5Q/OhDYuLp7twTsFfIAfolN0EwYrMn0YgvWOT/uaxgQ5DjEaep92uAdU0zh\nFmfjkqCo35K0VJA2f2q3GJlzz0e+RV71LhPvpj0TKTOrxWJQEkKCQtt9Zf67\nVrGCD+FslRDPmEi8tsWCv2ANrwHZ8/+ykmiBFbrJt+9D69xmrUlosjF3Oydn\nTGZoAnC0P1fFaDE1UbJe03oVMMZb9OHawbpG38ExvGC7nCPxZf6CnP9Qs4Lv\n8PRwJH6KQeev5QB18igWaOnaBVsUS+NJHXdac44vutnsr/hmdGT8DD+bF39/\nWS4rf4NDKLVJ1Irt92zGAlJQTtIggTJwjca1ACpOnAQK/4hDDl/OmxvEN9i5\n6pUvsfv3UzIQXhnJ+IQQ7Fp975d8aNQw7OT62nd8DDt6m4EEeo9y2kW4KFo3\nqb8alTgDaKeorRQe7DjFvMQ/MBt/YS7NlcB7xNltXgZrEkyqF2BaeyprH8hU\nojVmmguvAY8ODJofkWwgHmXNZMpqo9ExdcWDzmyeiJolXNsZDK05Fh9L7xSc\n6K2Y\r\n=K0Ui\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":"^9.2.0"},"gitHead":"f45e445eb62949297839f2487374a48ba1e5560e","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"deprecated":"This package is deprecated as of Tue 21 Jan 2025. It was built to interact with the Membership GraphQL API which was retired on 08 Apr 2024.","_npmVersion":"5.5.1","description":"A tiny wrapper around the FT Membership GraphQL API","directories":{},"_nodeVersion":"9.2.0","dependencies":{"isomorphic-fetch":"^2.2.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","nock":"^9.2.3","mocha":"^5.0.5","sinon":"^4.5.0","proxyquire":"^2.0.1","chai-subset":"^1.6.0","@financial-times/n-gage":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/n-memb-gql-client_2.2.1_1526381055927_0.6542757009254723","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"@financial-times/n-memb-gql-client","version":"2.2.2","author":"","license":"ISC","_id":"@financial-times/n-memb-gql-client@2.2.2","maintainers":[{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"callumlocke","email":"callum.locke@gmail.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"quarterto","email":"mwr.brennan@gmail.com"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"the-ft","email":"strategic.products+npm@ft.com"},{"name":"zhenyulin","email":"zhenyu.lyn@gmail.com"}],"dist":{"shasum":"5e98a80a94c6e39b2f78de58095d6d405808b41f","tarball":"https://registry.npmjs.org/@financial-times/n-memb-gql-client/-/n-memb-gql-client-2.2.2.tgz","fileCount":15,"integrity":"sha512-0C9BP3cUktmHYrJWo3KtCa0XMtg3nMsFQWzJR5zDwe29c46Jisy2qUmXQBL1DEhnwq8raFvoTJDSv5r8U/RFXg==","signatures":[{"sig":"MEQCIGbIJFu3o9J/Z5bLOgZbzFPuC2bktZOd/D7zhLOQlWYmAiAqSBrohWD/X4Ho0cDj5Fnl/IxY4YoA6AJO+xCxAyhisA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/DLTCRA9TVsSAnZWagAArcYP/0Lo8RcBwAB2Z3p64t3J\nKhG/b7qOkt10Uu6Jd0vG/Os9nYtUWvTYZiURgyKcDMfceD0FbliaV5fZcsBm\nw38vs9Y3Qr0AiUVzFkDwt+u9gSGfnrHvAIHPoKGFMsY0ET5Y1eOfHjx6PIG5\nYiJWo35LqH2OPBrQZLGRVBM3EZiiGwdLHCg9LK0elF65P6D5SImbUTdarPYA\nvkOiBuK/Sd7kXqfLrpk8GzZkd35Zv2fSEg7D+lARb3he/e5MMCTT1wQy42Em\nvRpMjFTohmMDz3zgOvc/gzZwF4qJfw4Rom3Qx8KW7bmHNujYBLkD3R8OkBxi\n2XpnJ0xlLOhaE0APYjoBiiiUtyHhCGr2HlYjsoXdWfvKpvSFroqpDbmJtSqX\nwfSS46vxCGdCQSVW3/Brd6n8sJSzYR4b4AFrTFj2rRvXqrxNmzDL2LaVU3S3\nJfiHUr1qVqzZA06Deye17svpB17Hr1exf+DW00Dvx3rwxJ1HeQLm6IOxGVrx\nQF20ElMO8xj4uXetWLgd29Xg7FnvJKqR0Q/jbhlIWnx7m6n3KhTOFRV7F3Fl\nezvwScqAeqEvQmo/T4qgZPQUDJxsuVSLsb9cKEqCAQdLWkK9C6NU4K1qymfO\nN2GK7ln4mg7DUOYF/PvLWGyLaDMf96qYp0flt0gQ6lE4yi2HBiEHjTpN3khh\nhN+U\r\n=0rEN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":"^9.2.0"},"gitHead":"0cb388e639dfb6f340c00e8b6d281d69a819fb7f","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"deprecated":"This package is deprecated as of Tue 21 Jan 2025. It was built to interact with the Membership GraphQL API which was retired on 08 Apr 2024.","_npmVersion":"5.5.1","description":"A tiny wrapper around the FT Membership GraphQL API","directories":{},"_nodeVersion":"9.2.0","dependencies":{"isomorphic-fetch":"^2.2.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","nock":"^9.2.6","mocha":"^5.1.1","sinon":"^5.0.7","proxyquire":"^2.0.1","chai-subset":"^1.6.0","@financial-times/n-gage":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/n-memb-gql-client_2.2.2_1526477520910_0.1184303620912055","host":"s3://npm-registry-packages"}},"2.2.3":{"name":"@financial-times/n-memb-gql-client","version":"2.2.3","author":"","license":"ISC","_id":"@financial-times/n-memb-gql-client@2.2.3","maintainers":[{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"callumlocke","email":"callum.locke@gmail.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"quarterto","email":"mwr.brennan@gmail.com"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"the-ft","email":"strategic.products+npm@ft.com"},{"name":"zhenyulin","email":"zhenyu.lyn@gmail.com"}],"dist":{"shasum":"8ad626f994326cd6f39ec440842be4f9f136e663","tarball":"https://registry.npmjs.org/@financial-times/n-memb-gql-client/-/n-memb-gql-client-2.2.3.tgz","fileCount":15,"integrity":"sha512-cD49b0wJREc8JJPlTWTaJMHpdLRbDlXnvEM0fZEP0j1gzQAgd45TdvLCrsYzSDDLAG0jyM3ZRgCtQoCENWaghQ==","signatures":[{"sig":"MEYCIQCVVdw9OLmnABbJ/cSZvI/me7eYiRJ/XcHsWbrP4NH5PQIhAPCDP9/vO4RzR+q1/C0YEH8vAWyH28jiNorUrGSl1oiF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2HFdCRA9TVsSAnZWagAAZesP/in9uZrY4LzutzmimFUs\nArhuDew1jlJgs89aBzaEVZxBFrJDXjGXKm6DYBSF7gXhnL04Ds++T4uVnErQ\nu4zZWXWRkM+0jnmNeS02B/5uiGJgdJjTXRLqxDHMkfpEtJSW2mfBlGeaC/7I\n1C3Mi06x2uNHYamK3rSptvaoq3Nzo1Mf8FUVljV0X1/CdAjZ1ssMnpcCtNV2\n0kOC+aXD3B4psw3Ic5hQ1GSNtqerT2GcFLnE4174If8PtEM7TQY34+dYls/j\n2cD0xKpi/yNWt/yI31vp9/S8zFU8+/TvFXj6QPpsHhK7nFP5SJ+0WDtdQi1n\nbq058o7Fg1ow35GA2sXeyDtm3RFliyxJgKRGfJfPuwUDvLS/JSrzGMuaCQeP\n+rN8LCNk8TpRkgTboQxWjLU9lNqvgl5yGLwcC55ecJxIJ+5AaCU1mB8pwiY6\nS8ZFSG7faGPXHRag7qla1cqXm/nMoDHuOHW5Y8EAc+HNRKdjiHfUOEIjdBax\niqGXncIUcYo69EB+cYNA0jLSp79wUCaJyWteWAITC0EagHZdYnYTVl/isLEP\nNhrbbouvNaDswSY0YyaGputxaRMVzi68FibjKpmFhXM/z6NSlvobZaaJf1JK\ntfwEOxKNZk/8Jzki1OaX2pCRsCsPRpvPg5dNrLaAuHt7Lis/Nl/zOjMynWAb\nF7sh\r\n=1RpX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":"^9.2.0"},"gitHead":"b01b1cd5b4c360785e639e0be9c3ac1bf0cc49f1","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"deprecated":"This package is deprecated as of Tue 21 Jan 2025. It was built to interact with the Membership GraphQL API which was retired on 08 Apr 2024.","_npmVersion":"5.5.1","description":"A tiny wrapper around the FT Membership GraphQL API","directories":{},"_nodeVersion":"9.2.0","dependencies":{"isomorphic-fetch":"^2.2.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","nock":"^9.2.6","mocha":"^5.1.1","sinon":"^5.0.7","proxyquire":"^2.0.1","chai-subset":"^1.6.0","@financial-times/n-gage":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/n-memb-gql-client_2.2.3_1526547246247_0.3203540195797445","host":"s3://npm-registry-packages"}},"2.2.4":{"name":"@financial-times/n-memb-gql-client","version":"2.2.4","author":"","license":"ISC","_id":"@financial-times/n-memb-gql-client@2.2.4","maintainers":[{"name":"nikita.lohia","email":"nikita.lohia@ft.com"},{"name":"notlee","email":"lee@leemoody.co.uk"},{"name":"efinlay24","email":"euan.finlay@ft.com"},{"name":"emmalewis","email":"emma.lewis@ft.com"},{"name":"aendra","email":"howdy@aendra.com"},{"name":"the-ft","email":"code.management@ft.com"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"chee","email":"chee@snoot.club"},{"name":"alexwilson","email":"a@ax.gy"}],"dist":{"shasum":"2689e8348f30d47dedf010c7b8d89b6b44a7d2d4","tarball":"https://registry.npmjs.org/@financial-times/n-memb-gql-client/-/n-memb-gql-client-2.2.4.tgz","fileCount":38,"integrity":"sha512-YjuPL+peSimfRv/SlAEZdROF2RKSBvw1pAl/ZmENMvI3z+z9XkQEQBCnsp4t2T9e2jlFDwuqEwtWPOSvEr+K3w==","signatures":[{"sig":"MEQCIGFHVoROnpRRSEvCKmRL3Ntq30H4MSWL5bNyfckIYsKkAiA17XL4cjAMF3Xu+qUcWiGr0uFuaTeqNOvbzcetm0g4EQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":509852,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidL7hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkdxAAkI2vJU+x7s/rp3JJxF89vkznbRPfzmpwsc3VZzGJghIo0LEJ\r\nKc/RRQWfM4fbeiXvIKud4rv+RIhaCPBxkOAonrgcpbKbIF/DJzTOJc+n0l5z\r\nKf87y2/aT/a5nizypOZzWnoyUIhDb0jyAVzZspF3RBCvRI4iNyI8LOHsrg92\r\n6CukDsgDJHdDv/IwX+LcEtGTaoaEPsck8yu9dxHPH7LUWIEt8ONaeud2ArO9\r\nzPv3q1VpAL3iT+z782kiQS+XmhD2NXDrD1lUfrYvNEU01OC3aDj1swjSlqHi\r\nqbhKGwQECRoDY7WnV+RYLYV2CiEbHtZM5ybqYISPWAtoZmAkjA4SWf7B8nIY\r\n6cDRXn50d5xAAG8GLTMBLwNpC9bPQl+L6AhMaM6J1tpKkwDjC6CCeIhQFXBT\r\n4xMlFa9Y12oTjnbnNeLegDe/V7MmiDX6/40656YLHuUR75tmDNY+rRY1yaNd\r\nXBnqBDVCNGHwFxPxrszSHdGEM0Rdg1DEJHegmaDWJLOZp9AdWezwV4OnV6O8\r\n3E1bsCFC40dESXvlpCLOM717v+GZzHPKFd3g7+vKT7RDyiCWbAbJGhAMO1NC\r\nYkU5LW7wKXJyYvCkqPGTOTTRUZLGgOQIMoakP5XoSBBbJ6dJQdzwaGqqEBI6\r\nGSt2TfkCHohwtfW3xiP1NKRff1drMb1sgrg=\r\n=BeX3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"pre-push":"make verify -j3","commit-msg":"node_modules/.bin/secret-squirrel-commitmsg","pre-commit":"node_modules/.bin/secret-squirrel"}},"volta":{"npm":"7.20.2","node":"16.14.0"},"engines":{"npm":"7.x || 8.x","node":"16.x"},"gitHead":"0525e0f6228cef62c44df951beb8cde5ae01ddbc","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepare":"npx snyk protect || npx snyk protect -d || true","preinstall":"[ \"$INIT_CWD\" != \"$PWD\" ] || npm_config_yes=true npx check-engine"},"_npmUser":{"name":"the-ft","email":"code.management@ft.com"},"deprecated":"This package is deprecated as of Tue 21 Jan 2025. It was built to interact with the Membership GraphQL API which was retired on 08 Apr 2024.","_npmVersion":"8.5.0","description":"A tiny wrapper around the FT Membership GraphQL API","directories":{},"_nodeVersion":"16.14.2","dependencies":{"isomorphic-fetch":"^2.2.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","nock":"^9.2.6","snyk":"^1.167.2","mocha":"^5.1.1","sinon":"^5.0.7","proxyquire":"^2.0.1","chai-subset":"^1.6.0","check-engine":"^1.10.1","@financial-times/n-gage":"^8.2.0"},"_npmOperationalInternal":{"tmp":"tmp/n-memb-gql-client_2.2.4_1651818209110_0.9787402444864928","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-10-04T16:04:56.843Z","modified":"2026-06-23T16:02:46.023Z","1.0.0-beta.1":"2017-10-04T16:04:56.843Z","1.0.0-beta.2":"2017-10-06T14:25:22.338Z","2.0.0-beta.1":"2017-11-27T12:00:30.205Z","2.0.0":"2017-11-28T10:41:00.870Z","2.0.1":"2017-12-06T14:09:58.048Z","2.1.0":"2017-12-11T10:47:56.512Z","2.2.0":"2018-04-09T08:59:20.434Z","2.2.1":"2018-05-15T10:44:16.023Z","2.2.2":"2018-05-16T13:32:02.771Z","2.2.3":"2018-05-17T08:54:06.303Z","2.2.4":"2022-05-06T06:23:29.228Z"},"license":"ISC","description":"A tiny wrapper around the FT Membership GraphQL API","maintainers":[{"email":"code.management@ft.com","name":"the-ft"},{"email":"info+npm@rowanmanning.com","name":"rowanmanning"},{"email":"yay@chee.party","name":"chee"},{"email":"a@ax.gy","name":"alexwilson"},{"email":"howdy@aendra.com","name":"aendra"},{"email":"emma.lewis@ft.com","name":"emmalewis"},{"email":"lee@leemoody.co.uk","name":"notlee"},{"email":"hamza.samih@ft.com","name":"hamza.samih"},{"email":"robert.boulton@ft.com","name":"robertboulton"},{"email":"leila.micollier@ft.com","name":"leila.micollier"},{"email":"rob.godfrey@ft.com","name":"robgodfrey"}],"readme":"# n-memb-gql-client [![CircleCI](https://circleci.com/gh/Financial-Times/n-memb-gql-client.svg?style=svg&circle-token=9e848c99b5855349388da529fec5322103189b06)](https://circleci.com/gh/Financial-Times/n-memb-gql-client) [![npm version](https://badge.fury.io/js/%40financial-times%2Fn-memb-gql-client.svg)](https://badge.fury.io/js/%40financial-times%2Fn-memb-gql-client)\n\nA tiny wrapper around the membership graph ql api, with some convenient methods.\n\n```\nconst membQl = require('@financial-times/n-memb-gql-client');\n\nmembQl.canned('user-query', { userId: 'XYZ' })\n\t.then(res => {\n\t\tif (!res._ok) {\n\t\t\t// valid response but contains errors\n\t\t}\n\t\t// handle response\n\t})\n\t.catch(err => {\n\t\t// handle error\n\t});\n```\n\n\n## Usage\n\nEnsure `MEMBQL_API_KEY_PROD` and `MEMBQL_API_ENDPOINT_PROD` env variable is set.\n\nBy default queries will use production.\n\nYou must also set `MEMBQL_API_KEY_TEST` and `MEMBQL_API_ENDPOINT_TEST` if you wish to query using the test environment.\n\nFurther more you can set `MEMBQL_API_KEY_MOCK` and `MEMBQL_API_ENDPOINT_MOCK` if you wish to use a mock mode.\n\n### `membQl.query(query, variables [, {testMode, mockMode, keepAlive, timeout}])`\n\n- `query (string)` a raw graph ql query [see below](#custom-queries).\n\n- `variables (object)` contains the variables required for the query.\n\n#### Options\n\n- `testMode (boolean) default=false` whether or not to use the test endpoint and api key.\n\n- `mockMode (boolean) default=false` whether or not to use the mock endpoint and api key.\n\n- `keepAlive (boolean) default=true` whether or not to keep the connection to the GraphQL API alive.\n\n- `timeout (integer) default=5000` connection timeout cutoff, in ms.\n\n- `overrideHost (string) (optional)` an override host to use instead of MEMBQL_API_ENDPOINT_* (remember to include protocol and correct path).\n\n- `apiKeyHeaderName (string) (optional)` an override header to use instead of x-api-key (e.g. ft-next-backend-key or ft-api-key).\n\n\n### `membQl.canned(queryName, variables [, {testMode, mockMode, keepAlive, timeout}])`\n\n- `queryName (string)` the canned query name [see below](#canned-queries).\n\n- `variables (object)` contains the variables required for the query.\n\n#### Options\n\n- `testMode (boolean) default=false` whether or not to use the test endpoint and api key.\n\n- `mockMode (boolean) default=false` whether or not to use the mock endpoint and api key.\n\n- `keepAlive (boolean) default=true` whether or not to keep the connection to the GraphQL API alive.\n\n- `timeout (integer) default=5000` connection timeout cutoff, in ms.\n\n- `overrideHost (string) (optional)` an override host to use instead of MEMBQL_API_ENDPOINT_* (remember to include protocol and correct path).\n\n- `apiKeyHeaderName (string) (optional)` an override header to use instead of x-api-key (e.g. ft-next-backend-key or ft-api-key).\n\n\n### Canned queries\n```\nmembQl.canned('user-query', { userId: 'XYZ' });\n```\n\nSee docs on canned queries [here](https://github.com/Financial-Times/memb-graphql-api#canned-queries). Query names can be found [here](https://github.com/Financial-Times/memb-graphql-api/tree/main/assets/static/query).\n\n\n### Custom queries\n```\nconst customQuery = `\n\tquery($session: String!) {\n\t\tuserBySession(session: $session) {\n\t\t\taccess {\n\t\t\t\tisB2c\n\t\t\t}\n\t\t}\n\t}\n`;\nmembQl.query(customQuery, { session: 'XYZ' });\n\n```\n","readmeFilename":"README.md"}