{"_id":"@arc-publishing/sdk-swg","_rev":"55-bffa26a979898eb45fba0f7fd4127f50","name":"@arc-publishing/sdk-swg","dist-tags":{"sandbox":"1.79.0-sandbox.0","latest":"1.79.0"},"versions":{"1.53.0-sandbox.1":{"name":"@arc-publishing/sdk-swg","version":"1.53.0-sandbox.1","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.53.0-sandbox.1","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"7afae34f4f848aa588f72756c41aa8ef841d4412","_id":"@arc-publishing/sdk-swg@1.53.0-sandbox.1","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-8FG22ixvxnzJhR/CS8rDQvzsf4iRBZCDRU1ZBIuKRyODHHd/1AHr3XccTD7qmqsYfEKKP2R34+te1mtTQGj2sQ==","shasum":"940a606833dc319e70c45a8ace5fd3c263934f72","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.53.0-sandbox.1.tgz","fileCount":4,"unpackedSize":47242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnCn+CRA9TVsSAnZWagAAwxMP/jdN7HmA2J9Vvvf6Bne2\n1a3yddlL2p9qLi7S2Bxgnlr2zZknLuoNQ9lxFrl0lhZzhfEA/ynVZybfPX/T\nn4tVHweJ6+eGd9NMd0USfBeUbEmR3M01RD4eYbK1TvLWjXUy+ubQEG8Kbfxf\nbZSBFTzgQFuMif3wCQ1UZhkt50JHW1LMANBWr9LQda6K7phN2F7erIoFtQz3\nfqWxyPGrH0dXjPF5eNEG4yTTEl8PsEDnEBjNj5xLHgKjZ6qMt1mJF44OH6Fp\niXGfu85idY4xZVuvMRFue/uS9OktD16eDbWVAL91k6oRG26YEAo0fizp6ZK9\naiIxtKCzURCG8jWkS/I82Cfz4Z6tuExL0Ehrz0r3tcbg6V/WtzhhSY8cMuro\njSOYbHyVOPyzLuZAL416coZ3q6hjL6vzHTqDOJ6N2ow/TNFkhoX2VvGxqtal\nPJ9CPZJ9SU/0dYLBn/emyd6+e8LMikDq8AE+DGjMMc+z/C1cdfWHP5LLdlmA\nDEnGQV0UCrADQsSaD9EjbF/QogKUjexPJ1Wqs2ZX88DuKc/51S7xtWVN3Whm\nXmMKQNTEzFNn1v3/q6mwzdONoP15HZkwtmAr3MvyMo2Gs9CBj3sM0WCk4fyC\nN9nUfwynbPJhPsD4fB+xtbdN8qK5HUqJXEMbATs/OKTaizj7yQY3lCXcB+Cz\n7Iji\r\n=3mUs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGF3phmWvlDNF75WzNdgcgEzHIf5vGv41IgkdDhWAeCwIhAIwTMHAUeSKuJtZG1gNwnfKnM/o7uA0cpgUnmBQ1uXkO"}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"styonsk","email":"styonsk@gmail.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.53.0-sandbox.1_1620847102349_0.4116293489313443"},"_hasShrinkwrap":false},"1.53.0":{"name":"@arc-publishing/sdk-swg","version":"1.53.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.53.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"798e33188d7716086836e27fa84f031ce348c218","_id":"@arc-publishing/sdk-swg@1.53.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-oAu0m6+2VphQ5yaQrLkCfQfji795Vhd8Yw189kmm7ZCShkuGBIDgDzXhGGvzFpCvG4poXBzoBR6D1C3Nj/A6xg==","shasum":"7baea4d9b0eaea5aba45a2dc0a089a6d8dcdde8f","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.53.0.tgz","fileCount":4,"unpackedSize":47222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpRkeCRA9TVsSAnZWagAA9dAP+wZOmmiBc+FuPHZxVlaj\n2iidGZZ7IwO6aBswxuhW8TeMCStoV/rm7Kgyz6hIn0ZQieb23PkV2/iQfJtS\nKC/1dkBgsEKUr6iBmXitwagBdgEC12+q82P/iINBP8etR5y7PpDmB9NmCTja\nWJ1uyjsU45oBoaUvY1zWBDC6CQDNiOehOmxbHVuInHxy/A29XEABRCNa25XT\nVRwPnOh2h5/MswRj2QZJ/wq1dcn5LKOJV8VmI6UWFro4X5MCXTLRxCWSDWco\nJps3/wVmo+uxVFCnzBv/hR+rcDJy/dhV6d4AiCY5KOOI0Uip6FjJ6fJxM8oV\nHr9TpxY1NR2kwXSM3e3QNg2HVE+L1yqhsu3UIVxWz++c45PH0vNuuzwuGYGz\n/xsqwkDXMXVsZEgRp+qUokkyAYIToS3FTylL/P1Nh/hnplXUVfSXMH5pbaet\ncBdLtlQ9gfyWBn1rUyQGrQSke5ctwFK6gvAZDJ4kaLEmwI8Gg5ddfgSWtsM3\n9BP0n92/vwQR0JcE5R4t7OwpJxAXAZbsEqgVjrWQLWsi/+ebekDTFHTt6qS0\nd4sA32JeD3cIWpOtvviRhck7SE7YWCw1O8gUkoK83Km7Shq0UFaxfSvQ85Ty\n+5e4IlBHnwOgMhBTscztxR4PNYmPaMWgXf/pEkl62SieVdOcuAnVWWDHur0C\n4CX9\r\n=9F1/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFz7poZLiIAjyz/1hZC/ynmig1KvJUp4dePDJL6IPwYuAiEA69+DDnwcOcAK6clBdiMMQxoOAyDlJh/Pu9FTX8qThtw="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"styonsk","email":"styonsk@gmail.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.53.0_1621432606524_0.42527754129870465"},"_hasShrinkwrap":false},"1.54.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.54.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.54.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"f496598b4502a6d0d88af2461fda2871cdeb5987","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.54.0-sandbox.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-+IHVMSD4i9Pv+o24MFucn6arce/xn5wqbCF7FT+sK18TO6qK83XzWCFwo3FkFKK4nllfb/5F45ejwJQ76kNRtw==","shasum":"765c78a7007f4d06cfb647632fc9a065911e7421","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.54.0-sandbox.0.tgz","fileCount":4,"unpackedSize":47242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwOq/CRA9TVsSAnZWagAAjs4P/iPNU+nndfaXCHPyDgf1\nG3SEeEbsCiqhJsdqU4oe269MCvQlqqQ3Qf7p+3NiUUZphRBzOomNIbLIN816\nzFzadDtLxqkLsHOJgleyQO/m+OopGa+hp8ogt/QNF0higjzUMRhpuZPqMv31\nysdMraj5upvXajfytOpMgKXG/wg4WxGgsIZydZ0Lkffr0KoHwBSoG6yj88Xw\n6AFRlpP5WXe4Ttv4mqyKPf1hwdgfWOv0BtDZceCykB+07UIcfAzxOeB0KPfk\nriNFt54hvl2dSBpRpSJCIViO6ymLJpw/K2dc+nrYxDNhMOkHA/yq8ItUwuB1\nbbOrldl8z8gLivpf2B6blmaYv9Lvt58dbF6sa1fSob6fz0xyMO3M0bY8oYuL\narLHGl6arwA5FxC9sKGHtBlXvNtDdkUeSy4ri+RUmfMuhBES9l7tOqhb078Z\nukFM8u1vy7yvPXXZiPf3rv2eMFDAUpJ3p+pMdUsEoaf54Kg9sj1TEqLtP5IP\nAiSB5nKSrlv+2TiNorO6ZfPI4hseXaIwJYuvi8gX5hw5URd1JCs87ZIt4J7H\ncuK5x5aQRVISjd4+bFbn/0zxijsOEArzP8axkG6On/4hG5ejVL4oTMhF5WkK\neuKX60zC8Q3HytITupHmBrcNiFFgzsF6uQLK9kR5LIYMqDYZCAJRz4ELnI6R\n94/n\r\n=j62i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHYCBH/736iRmG2ENrNRBq/oF3XNu1lzc5CWY21aLDHVAiEAsS33xdwjCdROQm+1NXaneQCtB2/a8s9LTtxG9dycs8w="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"styonsk","email":"styonsk@gmail.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.54.0-sandbox.0_1623255742912_0.9161619804604959"},"_hasShrinkwrap":false},"1.54.0":{"name":"@arc-publishing/sdk-swg","version":"1.54.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.54.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"171912cff821951dfcd1bab249e13d96dec94b4b","_id":"@arc-publishing/sdk-swg@1.54.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-d7QdbhebUrcqT5IVq3ouOjjuqYTXOtazM1+fyPYOjmau+w32nzAtMGQYlwuxPX0i4nlIz460XihbqUI/MAyxXQ==","shasum":"c345bdbb9a28a39213c4fbcf24702e182be13b80","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.54.0.tgz","fileCount":4,"unpackedSize":47222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyj3GCRA9TVsSAnZWagAASbgQAJUtUH9BFnvkA0cQRvOT\nO7xN3SpoC7hBbXakIPV7qjtB6pWIK6DBTQeAl4qYrjclCWQ4jEzw0P93IPem\nZzyGgxCnVFEX/cAINpWoXEfpg+yVL6hmGPU6aj+1Mv3rIHc+o7HeqIMdjn6p\namK1ObEdu70+Aig1IZo84vyjJHXsNjAq5LBKeYrIR2/5nK5N+OHyRnYGc8wF\n4Xw4o/Ac0m4IYP8BZb5G40s2M7Izp/6BhWekYQ56Mb6CkZ89IurqoixVKYuC\nC9b8HmDYqHxfH080mYUBegQkBF2HatP90ZyQcT5sjhMykco6iTLzz1o9BoBg\nr69fONih3StLEwQd71n64nRbe2uPNtG2ePFV++yUiee3G3Am7J63Jhw/Wpne\nOnb3oQzM3L9mjm7KmhbWsLA/JBhSq6fG3u6qmu/mnGClvyA9V2X+cAJ4xaYV\nqJB9L2qiwJmJTlnVwxMmBwkXIzGb/mQxRi1NtS4kg1rU3Qt6FkpS7jykq5/B\nQ6RcOs9aTw/iAiSJ9gQAkTiTPXJtclN9opr56LfQyXXW4AP09xd+S6kJG5nC\n5mztY3uryHP49OyD5i8sBwaV+JDqGeGnTQcuVvUmqw8YX/koSG9A1LpYBLTI\n2oQGO1j6JRoHqbNgSXJfDGVyQAFT+PdSkJOXG/MbR24n+HpT4sUKJI49syuR\nTcLW\r\n=khYY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj/sOsudiofcnVhc/PhxjHKiOkSp80nSRp6t4RtBYQLwIhAOQAYapMA33EXX8XXK/1Fi7eUy6kPggGQQ0PhEkiHisv"}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"styonsk","email":"styonsk@gmail.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.54.0_1623866821579_0.8545924052031737"},"_hasShrinkwrap":false},"1.55.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.55.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.55.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"c360df801f8144c11db69c096fb407159545b32e","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.55.0-sandbox.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-mUCECwJIf1oSAIyYS1hPedoqufQGA/s4OIndLjexm06qXkHCRaQ28WPxXdgkvYpNfxAhm2iw6Jk4Z7aYrOYvqg==","shasum":"7ca5b9e20992749aa8673ba04411981a7c6eba6e","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.55.0-sandbox.0.tgz","fileCount":4,"unpackedSize":47242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5eqsCRA9TVsSAnZWagAAo7EP/1PjxC0+2EWX/5EGKLUn\nbilNTch7Zcc0hp2nj9A19Wcd5QDxndA6MUqfUIi7Z6UkVGowhNo9VwSdi0BT\nYjnAWKeO82ntIC7BTWY53EVk4aF8PebRxWmbt3GqLY119f5yLzsSoShrjNoJ\nJ3dcDVQo6AmKwBwhFHYcVNuvJnOGXl0LoqOoHWlIOk9S/NCsK4/jep4oaQgp\nelupwj+Cc+mrM8Cdq8tpdffJ+rOTWBXFYGredBjCK8GvFM2r+czS4BXCYjjm\nl0Lnqw1TQwjht/cuJykGySnecXJc0vM+aMs2CW9BEwVBTU2jr0z0AiDJGb10\nlIVmJ+nD2CRppz2pTDytbYu/wNZ3TG6jvFD8xNYB67vVavm1BYYagkpRhr2l\nRWJ4P++AosikReTgg9sZWLtbS628OxDGhdVgL0tRz4n3DAb83Fo07oQbK0LS\noqPDytst5iOMx36PEGv6gsoxnp4ofH2Jm1E1ui3rF4I5G/kOVTSnlPIwPnhy\n8SWiqovTeD1dE+obGhVTzobV2rnfw4DaP66rrD5o8jK1S/FzwOWzGqs1vOA0\ns9XMMe5gYtfxTcUXA3UD5LShowEZJnC458n/eB9Yt1WBwQEf29yEj0ASjIQm\n0w0Q+xhRrXaYxqxFDSlx3QFvNGGKCY4xpu6/a3BpEODcK9UMkjcQjAdaQ8y6\n+la+\r\n=v4tb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICHF1/NE3uWu1/db9uXEjCQ+wgvHBqYWJtsXGN9u2NIgAiAjkpHJgi/Cm9301cANTw1W1FkhJVBJkcQ2EgN/H2531w=="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"styonsk","email":"styonsk@gmail.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.55.0-sandbox.0_1625680556287_0.608367218285528"},"_hasShrinkwrap":false},"1.55.0":{"name":"@arc-publishing/sdk-swg","version":"1.55.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.55.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"a8265199c71ff6bb3aa4c071d1c5f04cb22246e5","_id":"@arc-publishing/sdk-swg@1.55.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-XljFNRjnUuzLcXP7zCfY2o2DJg0jnZLZLEy+kzaoxNVa+tx+ebHEcvzubilnCYDMf6CDLFEQeF3dHeSfDt63aw==","shasum":"bf76e7fe8a0431adf1420c6cea9113e6e607919b","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.55.0.tgz","fileCount":4,"unpackedSize":47222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7yZQCRA9TVsSAnZWagAATT8P/iZYTZ9/6+PNtNu++pLS\nXI9e0Qq1cb9C1aNWVp0oTiKVs+mOZyZEsEphWLFBgYU63dkSoditAD3UAmrj\nxH0DOcv8hgKP6ts+q9LEFzrIkCE0aVkOARXIPDK+OOGPiA+rtmwsJzrKZjmo\nrZ7wsEm76MG1J2bfviROjQO4CIXbNltezXQTmXJ3fyHTb0Lu/VhnlP2qKAlj\nl15NxUfH+7J88+E2UUPVFarLZ17dcHgA/IERliWViy6ml0fzIOctlk/BMKze\nC1XrCkI4JENwovGvqMhpmCRVFOGtW2BH+mZfzzyxkzvI6WExU5lraS+W0L7q\naVzbBRtVO3ryVkUwG80vm35/OkG9MTscQUuI8au0GCntKh6UoTx/8SC7v3md\n6UArLiKJGikdd9TYDAlv51DT7NfQ2WZ3by9XC1itH30UzvxHrgPNYiOClnED\nrTQbs7Z0K5hSucEoVuVOa7XcRNzxTUK+XRTtlkZHyvedd7PHGbR0fvI1Eeli\nAygO0q8C5lY6mjPKvtTajYoLaZQxssfIY3pa5F97jR1OuYzQPlhLuVy/2/cq\nS91YxcWpipVTlVuZDjx3+e0pCBxogWYhgsrDJKogkQBEkUocITI82KfRo4J8\nJ7gjBE7w9VDQ5llHpvVR6vyIELVF80W5n/mQuCsYdS0bs06iwMy63FmIJZoH\nozYG\r\n=vA/E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG4A0wJTIBX7+XEu4NQzNXCw69fMY4XUuk9ZwH8RiDjKAiB9HzWqhICIAFmFZEi9SI6IFRskbKKE7Fmo+H8MfS40YA=="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"styonsk","email":"styonsk@gmail.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.55.0_1626285647972_0.5877596273721131"},"_hasShrinkwrap":false},"1.55.0-sandbox.3":{"name":"@arc-publishing/sdk-swg","version":"1.55.0-sandbox.3","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.55.0-sandbox.3","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"ef08449389c3b7d46efbf3c163c72306b0e97494","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.55.0-sandbox.3","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-JmjatJFcBkIOOdLi/eALZ6b7ncDHkmj3XsploLIHZZGbhoZbNZ5fFKc0/F/6YouzGkkv64m3k96A+3dpkDg6CA==","shasum":"23a37317ee5283abcf97105da9ee11cd48d6faab","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.55.0-sandbox.3.tgz","fileCount":4,"unpackedSize":47242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+YdWCRA9TVsSAnZWagAAqB8P/06d/QNgrMykhoLctkIe\n7nLd0JVEQRG3zwQQq6H73xt5/jPuViKdOOFSPmRCup+5ADASekeevU6EjE8b\nnCTyVUbnRJHPQwKv9ENqNBmG9nJWFIAZvOwNsIBjBsdCyAuK4tDyXKv5x3gG\nn8Jm7YUC/+8mEQlmFwX+q27M7K4gJBq0zEgOnsJwObHWJGN4Nbl/W9mPGlHY\nF3/lToCOfiqhNw5wFsyFgTLCndSPh8BYubn5vq+3Ijx5anVzWT8QNcs697+h\nbrKHHeE0zw/yF9mvwnI05j+a9mz98awXV2eCn8qg113pPT4fw1PPy37Zi/Yw\npI6rB5jOgeYpks1OKaW023yDhDQTpVAagztyOjaaBhfMYO4cUcnUUbE6bjIW\nJDfzNGBD3yJJGq3Ip9etODXytJqehofznJD/6+3m35GtWp5IgoiRksBR3E+r\nDGmB/YlPSF+USGIMrtWz4yLfdO3Eppznjt9MWB7ogBK1fD4ajYNfAmOYspjq\nNTdjItIUKcj3vlr9RIIMqiWzTqpsW5ECTPMzv1RXtktAxRf/OyO0ZFyhmW0u\nfDbCm/UfpNoGx3BM2Ge+/hwLVoNvVtygSu6vnKq3QxGn3eOlYi8GzftIzDK4\ncT4rWLUgOYsloASQ1OvsVJAApWoOqczQAMjUDG7tD6nw5cDbImUIwmfnUsEO\nLh5y\r\n=qOhE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFr3C7vUxLPXr66/xCWdFD7IMFGAEBtJ+tWMaEI0CRdTAiAUNabRaNo4Wy2T3Qs/v+66z2IqDb1+m0s/ktrnV+yqMw=="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.55.0-sandbox.3_1626965846255_0.12818682089978117"},"_hasShrinkwrap":false},"1.56.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.56.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.56.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"c3b324de59a09eebb65cbddaeeed2ed8c97fab41","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.56.0-sandbox.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-5oLocAmPfcU4XbAkw6nT0BAteDZu6IfppyyHZvnJK/KOxlnUH3bhAcNeiFzYG8qd7dIKzQXFkRqMiF6Sn+kbtQ==","shasum":"57c13dd543dd0e7b1f791a4202e6da6141b057a2","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.56.0-sandbox.0.tgz","fileCount":4,"unpackedSize":47333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhC46OCRA9TVsSAnZWagAAg90P/RJxVMGZbyEswLXCEW5U\ndeNiu0h//PvfP/PtUYlw/EmbHBHke/oEq3rmQeQ6Y5Cnr6gBmZrfGx/7Clt0\niFKZbWdkYlRrS3OsvvUlKOMnW6s2R3yF0HTWaVIrotc4pyKLq8VCP+TgUDHh\n3/guuT4zSavyhhtAIuOVD7DLn9Iv+A6XZy+ae448H0JAudVRlw+Phoh+Tssd\nrse7lZEWB36S9BYuhdGkgVz9UCHNxDcfwHFW/zGM+ixMXYxON6UNjxJXiK4i\no/+swJWPsX5nLvOdhknsM02m3zd9WnfEWEqFshDguk/4BQKXu9jXrtK6Tzob\nG5a/wv4sns5Y6mc/8m/ghIVWcq2UwTm0cdia7vDEl3d1WP4hH9RS/aRQ6LH0\nZChr2RevsGT+XiSX4auyl5B1UosxJMO0M9P5FFlAOA8PApTOz0BOBposk2o6\narzs8CpOU/b3wTouYFg89GceMeP0w/RWBojZKJQAUGjBCyN0i2lXPAcOMLc4\nsApdx5tyLOXloP7M9UcdrArzmhecJL4b8x0prUPcwBt3SgkrAkjTt2T5ViNJ\nfs40dLNOxLCexbeSbAuLMcl6SiBQwSyPmzhAI/cd3B2ZtCp1kvyYeH74uZN2\nGLt/xJxt1vtSSGE0mRoLje2ebTG4UC6aX0psi1pCAZImdOsvE+dWneEJ+NS2\nGTwE\r\n=h+Zl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj4k9/xg6mC8k5yOuW3EJ0dw0KASA7goMWnSxNU/6kJgIgfaEn5cYwGWBTLgddzdUT52VmJLFQR21b2jMj5cC0EUk="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.56.0-sandbox.0_1628147342359_0.14325376164722314"},"_hasShrinkwrap":false},"1.56.0":{"name":"@arc-publishing/sdk-swg","version":"1.56.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.56.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"ff947102e34bd44c058ce92da965e9ef2a761a38","_id":"@arc-publishing/sdk-swg@1.56.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-yGE0dOkQglzeNMJTIPl/9uvlU/3aqLOlZP1EUcnTlZKQjqSJ+weQ8+WPa4ng3Pvsfw7ws6IXe0RUC5UtmOJVvw==","shasum":"d76ba983441918bcb246fb679544ddc5690752a9","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.56.0.tgz","fileCount":4,"unpackedSize":47313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhE9l4CRA9TVsSAnZWagAACicP+wT6rx7Q3W5JMVQNofvM\np4IGm7T8eUXsxOMbiwA/+96qgxu55qgUj1TNqrBkph2PnpmkzzIBa3yfxwgE\nboCj3t8511Anru5X25mIealJwnsAiFEcJtZKk/x81q8oMujkgJ2UW05WtWXH\nRTq1wkBlYLUzkj81RwAHTq5Tclm1Lije8m5FvPdiTAha/dMP9oJSwKdyjdme\n+RXEzUGk9z7NcbLpY7JzKcvqCwOk1y0gsB0k7VRCYJgVujUpOyagA20/0MCk\nGluh86H3w4Wf+aTIaM0xYVJeCkJW59iDm40+OHKJ1KTv4+5t34+BXftTVYVp\namPNI/mjtDUNuLao/yz4hCL5nsvOb+A/ylU2d4yQf6vSi7FHr4h7WCOztW7/\nshv68blDbj/grvbVkTa3zlT1z0Rdbj3yPEhgKfMUDdxY5Voymt8ka6N2KqUd\n5FqSSm7Pz6Raq7G9RNnxwJ5VnPBgSbUqCwnDqW+MpGVptfSdMaL6JYNdRLWW\nJwDi0Mx80ltq0+QnBiMkgKFuiBAHL3cGJe7dst9/8dw0XjPTM+BQefQRTa7G\nKiz4um2y59Ykn6B4+J1aEbkRTS/BGfrN9qe4W0aA4V4ei2RD/2UoLkCvv38D\nlXLCAXYJbXd0yANOfMXETg9SSRBivEuVv/pAcZ/qpHBTq/GFC5YcmyQWY5Fp\nSo0x\r\n=Kafg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTxmhhKJ3VFHDp2LlYA/VAnlvdH8kF1pkK6DjkkA+LrAIhAObsEUbahxmVKewWh8VRma5URf21WJwBtiIYcansZ6+T"}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.56.0_1628690808561_0.8986133344518006"},"_hasShrinkwrap":false},"1.56.0-sandbox.4":{"name":"@arc-publishing/sdk-swg","version":"1.56.0-sandbox.4","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.56.0-sandbox.4","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"64df564751907d3bf2c29c3a9164cb3c6ef9b373","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.56.0-sandbox.4","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-J1LQe3faa2wxnX5VWtvVHvUMeQQ+oqZwi8AEaH0OwlpQM89VdCJc3bc8XKeBS+ESG7L3N6XgtKSGWXtHdHCZvA==","shasum":"e7ad7570cc16e08dc1e99085d2b20151b07a6504","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.56.0-sandbox.4.tgz","fileCount":4,"unpackedSize":47333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhH/AWCRA9TVsSAnZWagAAwxwP/RlsrigSCgKOPY9SPKW4\nLCgRKJqAUW8/ZHL8oORuNMjhy90e6AaD4bippZSOk+XwTH17ZVnVtjOrd02P\nFfp+x8Ax+IiwAUlagHU9Af+GNOM/HF4me0dtFQhbFbxLcHCKj5l2Px8rCR95\nWzqO1KR9kzIF70tSfEcGlGPXJqrOXANzkEFUlY75SOI84iUcVt1Zj/Wjhj69\niIcflm1n8ojPq8WMcNlYaqm9ySiEjbkShC9R7xdj1N3gO3jp0nuT57c0SoNJ\nsHxqwgQ5Nwu85FnpRfbOH0ParjzJaXXRuhcrnGgMpvqZUjAOxZGoaUv3wRp7\naDB3dMDPbGDq62wcobiW4D2ZJQO8n+tkP8K/AXogSev9HoXUJjhYr5fShfiE\nyTVjnqQI7ptk3b4xLBKkY8GZrWecsnJJz0rzJIVpfgeUEjdlSgmmmIgmWcn+\nSVtGFJLfdRmPVM4CKzFB6x5YZpuWZ8uERoo/TONeE9VW8cfMc555IzXUZNcs\n36sgCsNJq9ynmzReO0Gt2PM1RLlHqfKnsD8h/SZ3igBpCm26ckYm4Q7hfUR1\n6u203dtjWReAx9mz9XcNk6ceWApsd8jgC4WlEBCoVF5ATaOu3xzy5ruUesg4\nTJTGMdWrJv83gZejhJxkj2SWsRctEkWXZ8ZkEO4vs1TyFnS315Xjc/Ucp9P0\n7JdH\r\n=IV2Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCV2z+qEaEQoIr1nhJOKu29ypPMqs+nit0VQj2uQMJXDQIhAOFnE1CF1pCfouXAR7xCwHwpGFaTPcaEtGh/6tD3EWWL"}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.56.0-sandbox.4_1629483030435_0.2916964187771969"},"_hasShrinkwrap":false},"1.56.4":{"name":"@arc-publishing/sdk-swg","version":"1.56.4","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.56.4","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"14b4b2809ea39be78e28adc01041a87e42aa9c8f","_id":"@arc-publishing/sdk-swg@1.56.4","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-8AX3VQt+kOiMI8yEui/Gg7MA+HyKLtJKHJKBXG9TO/8TMRIk7i82jcPFdA5pxlOkEOdABw6A6lc5ylx2HBy/IQ==","shasum":"9342cd88cf7a8089d6c427b8b775c4b1e5e46620","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.56.4.tgz","fileCount":4,"unpackedSize":47313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLS92CRA9TVsSAnZWagAAhLcP/3ewRclvTJziureNm8Dg\nl0YgwNnt2n8cY4bgMFRkDPmAMCgEmxMKbyQrDhQMzihqFFDED9vDsPt8cHc9\nSttc3xvbnXH2H5kHdJHd0q6SsUYhgQ11LnpPJnVoP/dmKsmVAvYDAePNEQcm\nJP/CW+0aCqMbH+X1OjiK6cM1k5rTf/w8kagGHAk0Je3VO1CsKfPV3bbcfTg8\nw4FSD73WOZTarh71ibUv0LH9XzfrFxBJfcqIt7mpEbv0lS81EyWKTRmJBi/h\nZKKOaRPNIQXhoFaqRguu1RbU7KxllwVDgy37XNP2WG5eBAhVzFjcaTHOTyeu\nNfHt4SWPUafRwu/n6Fqk8ETum7o5RcP6axUQHzbApGGyVOb6TzopmikjK/Rd\nIoQcDBQiOEI80N86GoZZzN9Lw7UWYQFWH7yZU1IdmkrjxMEP4dYBntRUwJmH\nsCXvq0ciee2Hy/ebvK2eOT/2HfjER3nrCsTLD6IlEWkykLbmAq7w33Dw6lkl\nzEVf30tYrjx26rRR1lwvz/33bgk1iiExcYovsmSNITigXdzxRPDuEjGsJRvY\nSzDh5YAv0EYiIcFe8Hyy/RgACIu3DY6pZSI6MzxHT15kkkk7lw4uRpBasOON\nwYPedLdCtPrczJrELcBh4rMmBeMt3zFiSuqv26VZKnb2JA1hQ1VafF6InWxb\nzmh7\r\n=YtBc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwdZ2eTgddv7o9wjpdxlgJYaHGk8dRSM9XyxHOtFWyfAiBFkXhCZ5fMFHCNEXXVQ7RM3Wuy6rssiod6ZM/zY+LJqw=="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.56.4_1630351222566_0.8094725123682385"},"_hasShrinkwrap":false},"1.57.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.57.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.57.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"ba2d0f4c2cbdf797160f00c77afa48557cab4ea5","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.57.0-sandbox.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-hNLK38uHDNBJC6aJL8FvWSBkvg6qtsi/GLN7nu918wTT4qptBpr2weHdbKCnN83P1u6DMMptA0s4QIO69zWIDw==","shasum":"913e5e36de7fabddf733bfe12ea4aec84212d3bd","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.57.0-sandbox.0.tgz","fileCount":4,"unpackedSize":47333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL+oWCRA9TVsSAnZWagAAJDAP/j4Sh/6RMvuXh+7jGvZN\n7jMNxzqsc8crNZf1Nq9Q/Om1NvhKAv+2w8aK1JuT9x6t/ClS4zD2JXibGK2u\nqij9k38YfpdEsM8MIMM5Hqe0+LIJ7vexiaEf8eft6UupUbzStxm62yA0Uo4t\n02L8oJ4CCRNJZBkiTDTP/Mt0UHcuFQdXKb1QIzoem+IEq9QdR2PcQRAkzk6V\n01/oP2Ke5n4GfozGJkAuSHZ7gZCXwmTrkvr7L9v+NJtP8BT3dHKaaPGEP/17\njLqW/z00z4WBPubERRlOhLDAY/sbF/N8fXWIb0mjUNY3K0v/RjDIYxEtHFTq\nFiaPee7kRAPMGrVAyN+BDVXzrtDVrkg2+yADG/K5DzRJWqh71G3Kqty+V7la\nc4is07DlWXNm2acdCJGHsEErqA2Khmu/qlNdSnZ2oV4HmtgM1pVy0QOiac+W\ntkQJw7XpUUwXcLV2V8BoRg4tWVuEdyYWauvryWksYWTjSGnq7BObmx4dYMTW\ntMXp+oDd1rwqfzTOIfMm75kzPDNGI1SXB1Ave4a/74dc040TO7eQuvZFBRk2\na6QnpEa3Ppj8hoz+uEoW2YPmFpxAJhndEs+TU/SpNPDutrutDyIDFo/tR0/5\ntpyTSeXa357BvkBH4d/tGBOoXQ9fsTYIuGqXW/NUWVAlva1QyOLI6yp7yxDS\nwDSb\r\n=aXzR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTL/mvwm+VTsR8+qL4TctkJiiCPaQ15lJTgFB5Ku8VpQIgepifYIoIDdGoKF5asxfIUuoP+GiwtAKVmOb+5ihERD4="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.57.0-sandbox.0_1630530070651_0.18322539059974785"},"_hasShrinkwrap":false},"1.57.0":{"name":"@arc-publishing/sdk-swg","version":"1.57.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.57.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"3d24344ab7ee17be4e71e25dd8d4a91219f34ee6","_id":"@arc-publishing/sdk-swg@1.57.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-pSZ2KlPUfzRfLZWBxou5qNqPNvm9F3K5D/XRxQ6OS+hBEnf8fhu9+m8bFqziIkql1lY7DHXeoMk2MEA6euQa7w==","shasum":"de695463b51172a9daa90e29e56014dac505d0b8","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.57.0.tgz","fileCount":4,"unpackedSize":47313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhONfpCRA9TVsSAnZWagAAidIP/0YZztUVCuD3l5aEa6Vm\nbjT3IxWMQgj9ei5MSou243C5CbwDXJQULkMaRo+oUsQJRG6oPYz/kXflYoWp\nl7obBq9DGvw1eWStMFQfb9Ay4RU+m4zF6r87hWivw+aVy9l2G/tjLQJAjDgi\nI2cKYmd69evN43ni5NL12UHKHk3HQT1RuSbdSnfbaKs7QqQTpQBCj1PJGIzv\n1ljids/hycYbR5McMwt72RZazpbJd8Pj4t+5AdCSqcL1iWhcV8NdVxYJazzX\npEeP0v8ixP84+vg+3Clv9+vk6vhkx3PcMT4kGGkIPVGq014p5JbckS+z8LvH\nZ3OL8eV9iXbdqfhxX9rlLVi+QnuGAxZ2N1aZ+DKRoO2hd+EOTgfXeZ/aBKcO\nlcewHOlEINMeyQ6J3oDpNkD2tIs1T3EvDh9w6IQOS7n8vdLEJM2LcwyhPWUh\njKm6wpZJskM+tZtnFHUgNpGgRmnI5/xBdExLhAlsCtD+t01JnHOlcYYVb+K2\nBQ7EjU2XJZ0LHtRa1eVQ1Z2l/bzhubl6IQtjznox5+m/ux1EOvmW5EKDXw6X\nA3RwcRmwMYKrNJCvGKlZM+5QgOMjNwBstXtOLz6tWe1z6b+X3Rn6jmkm7odr\npD1q52SAz2FcPiYAAl87ghfFzGJs1PpgJ47y0vZZr+STdjLr0ZTLzf1qsNHK\n/k0b\r\n=i/aI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEXlF3slXiFSxYWwf/TOW+4X+Ls35bjTHF5wKwR52QwYAiEA6t5nnpQXSG/ZZC69kQUbs2s5wwbKahupuAewBRzPsFA="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.57.0_1631115241177_0.188611070855915"},"_hasShrinkwrap":false},"1.59.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.59.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.59.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"8996c29f7b8424bfe6c198b8537e018b0bdaef44","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.59.0-sandbox.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-hGhcXeF0w//qySwJX+GUfKkBqcU7V7HPR/yOFd7As2ZH8cg4lVLnH1LiMoncutsN9BG1sNpQxyULy8Z9mnT2pg==","shasum":"4f66c42b2262f7fb4c99d05f952ef70d4303e16e","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.59.0-sandbox.0.tgz","fileCount":4,"unpackedSize":47333,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSryFUoSsd6p55ldC/Oc3DJD1hSe5y+qi3G/87WXtOmgIgEsKzjOMcpp1yVXet2Zul46aB4u9r2QWD+kHy7xBUVEU="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.59.0-sandbox.0_1632927643253_0.34151550860422386"},"_hasShrinkwrap":false},"1.59.0":{"name":"@arc-publishing/sdk-swg","version":"1.59.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.59.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"d75d093a3db874a1dd4f261257223dbdc0126433","_id":"@arc-publishing/sdk-swg@1.59.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-UnDYyGol44MwEQ9zvaPwsk1v9YQSOkNWLXFXFgu20HpGPbAMgEBzskpaAKiQ4ALFpzZ/YAIKmVmsj25kxBaYZQ==","shasum":"33691db81aad9bd9d868062f87c47ad65daaf295","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.59.0.tgz","fileCount":4,"unpackedSize":47313,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZSwVYNIFEvJRLvEQekpHh1Bw9OLzSIG2cWQfdQDlgwAIhAOhYtXx+7Wvxikk7+xOOSgU9BdiQse8L38Cnl9flKAFM"}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.59.0_1633538586069_0.5734945787584582"},"_hasShrinkwrap":false},"1.59.0-sandbox.5":{"name":"@arc-publishing/sdk-swg","version":"1.59.0-sandbox.5","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.59.0-sandbox.5","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"13601b331c088dc2d318283c5dbe0cc7b6c10017","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.59.0-sandbox.5","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-grAyXru5YYPv6PoCMxvR6w/WOE7x9YdYWCfbg0fGlz2F782fj2sR6qEZ2+/UGNeKF3T4445bRAHA+nCJ/MMdtA==","shasum":"e6b64fe1134aa70806f4586dd1592923e5316ef8","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.59.0-sandbox.5.tgz","fileCount":4,"unpackedSize":47333,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDqHmgi3Q3S+vpPvTDAFUw6pH6rG+y9kDUPBgVrupCkgIgfO+p3KDQaPq8V5jYnhYsKjL1s5y8ZPctvsVzVjRqtlA="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.59.0-sandbox.5_1634315526873_0.5633237273961393"},"_hasShrinkwrap":false},"1.60.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.60.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.60.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"e8e66e0028aeccd87f3e7f37312f1c86f7fcaa90","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.60.0-sandbox.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-xn9TAX6z0IGQxA5cz0R/EfBBfgGoTrU2huqsvvgo1SnyOh37TYvP5O8TgMPlSEUZTOnPAamUczKzQZm7bw69Hw==","shasum":"9f50ab81c9937c7f4164322c6742fa0a64472bc8","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.60.0-sandbox.0.tgz","fileCount":4,"unpackedSize":47333,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWMDwQj7dAAdZdKMLcp6iSEzwtyWyUe5EUaaBHgQ7SuwIgSOjkn4qbCdCaC7puYUOIqbpfyv4YVivj6OYez7ptD5k="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.60.0-sandbox.0_1635356375010_0.9774983410546316"},"_hasShrinkwrap":false},"1.60.0":{"name":"@arc-publishing/sdk-swg","version":"1.60.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.60.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"e675e455ecca83b38e4deb66ac44d68f86d70fe4","_id":"@arc-publishing/sdk-swg@1.60.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-UqeP7Zakh/EEUDokv+PJc3oPq9e/YchOMSRLNu/bg147xAd6hth5Q0sDpxYtysjw3zd6vftnRj376b5V43Svrg==","shasum":"6003edc2f62da5c7be29fd81e46f7adf888755d3","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.60.0.tgz","fileCount":4,"unpackedSize":47313,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXcsVS8iRVJlZdkccWp9unVHM3pyv4RT9FjxyT7VQorAIhAIxbu+4wKvcKuS7gnCO2ICAueiomo4c2McAnU6A+dabe"}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"danielkim1","email":"danielkim1@protonmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"yonm","email":"ymaalo@protonmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.60.0_1635949203763_0.5346482637129546"},"_hasShrinkwrap":false},"1.61.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.61.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.61.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"1a97ea83a058e3cf477b61be4ce26708c487d179","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.61.0-sandbox.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-GWFRp7hyBivJ6043SKpHYuhlxpecpfJrKQmNT8mHq6E6faSE761IDy1/TjYnj4awX1aJwObB2OEWoO2XlRnGLg==","shasum":"fe4fbcc9f276510b607c28ef42a3cc90fb385d2a","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.61.0-sandbox.0.tgz","fileCount":4,"unpackedSize":47333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsPtVCRA9TVsSAnZWagAAjRUP/RvQ4cC2qd1zBKevpaBi\ndmB0luYg5Fs2oXN1hqASYCqWeY/lm1XrrtnxGPQYQJqtN/YtphKuCaHT9OB+\n8dITS1lggaawk87GqbNn4AT/IzLU9tM32xuUMUNoXCVPwXfTkjY++3rYhwtH\npnmFdFX72Wldgc0vlnaNyJhUnHmkyOpKDIp4fdbzx/103pj8+d0fGzMOAxPT\nVcVcjLZwrRTPUEKuzQ5cVzTuQ2RGQT9qaqF/36k5x9awXPJyTEkuT3LMakYr\nQ2wA4yPUoW69/cbBEinWjzL1Fa5XtfNOmQAwyFLzaI/FSLAZM+CC8MLpsNjZ\nJQVEYG342InL+5wvH4tCQRvZU6WzkjwcVvbpo8JXtacDQ41A7E03JtyNxoW3\nIORePvs4iudbwjLUPZUugBNt6zJ0U0iiRVWa52O7AKj3TWbS7OCuLVvcDThs\nShXOPGiwW9F8GULdUJI07FQS2lMZpihXxtvvpSh8quDsVeBs8RSXAEGGEm4w\nUp/HW0mPiiZOAQ4dOQAeMF/owMaYpirE7d6mxVASJilXmQa1kqdI59VSfcn3\nX8BPpXl4dwlPxOLpWXbvtQiUi5WWUHD3bQtHvb0D0c6OTW10noPlqU+zAhug\nYfmLUhbaIRIGEwrd5y8q+6wikdvf56G4Z9NCIOMHsiBYYLDvZMuDIjp5CEoU\n3Pm6\r\n=Zgbw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWaL+CQK9LW/iDhnkftvgXg3Hqhg14lh+AFuVbdLp84wIgPfUCj7LLsBc2CKnNdzNnDuVHZLEcM4WTLSxq5+GP3TI="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.61.0-sandbox.0_1638988628768_0.003527931164549969"},"_hasShrinkwrap":false},"1.61.0":{"name":"@arc-publishing/sdk-swg","version":"1.61.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.61.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"c73b9812f64155c70b338de92744b5d89ee3992e","_id":"@arc-publishing/sdk-swg@1.61.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-DHSL4eJFteWthK6wPrkaNaQoQRJfJGWbC//QmbtAsucM6M86J9etya/fR1XhwHopxBWQQt7jufeU5bG+9cggnA==","shasum":"e0b849751bea1b89515153be3f687f0736b50889","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.61.0.tgz","fileCount":4,"unpackedSize":47313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuhiiCRA9TVsSAnZWagAAmUsQAJsURLTEwaJ78nqGr/SU\n1iTqoWYNMUp6Nre4sN49lpJoxtO6ffa7YaTAF1ZVR1L3g21patw9PR+3paUe\n5lGIGIn8RCYsT1qdJKCoFRw/F1U9AoAxk1F6/iWASxBrE8IrkisD0Bys7k8g\nFQwJZL8OjJGo2I+UOSHxIGykbmS88BshfWNEyqKHH5NyBeT9q9MPwuwGkBw7\n7yo/je24peGhX+ogQNikvG+Uzjif5DEYGjXUa2gpPWtlP0P4p+/qVSdm/I9x\nQhoa5KbVLn3ShV/zdXnrIakjtGj7IVwJ+jFx63lWkt6+Jy2S4WzS0wNXu5Cm\nhT2orT8lhQCm5I8wfWbbzzJHFNtutkiHM2PHXLe0keVbce8g9n2ZS4gvUElR\nEGgHl+y8hzdFR5/q0CQiclKnZo/4Xi73YSidgfZd2qgAwIemThVp0RnhphSM\nXxQeqr8c53EgbhbTw6fiZCXfF0NSZqWUsrB7zCB4tOeEmtiU8oRHyNDyUR9/\nLjaw2ihc35GqUIfvQY0TplmYJEKCgu4ajiYR6ZuxFN7MUMlaWOOmOzW096fd\n7iPbdycvUfaA3PunIJTN+0PWAAR0ixxKQ1g8izy4l6NC05afIfuNjr4LYfef\nw5CJKyagGsG1ok6arsCNvyPNlKpD0qitclsK9s7X3ib3bTtF26jvAmeJnXmo\naKPn\r\n=vcT4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCO6WTUS8KeVt8Koh25C6/jekktL6h9Hl8kk0QDkxUPAIhANo4Kj5xpYiHTUm3pXF4GlhDrG8eyX6M0SuhFCGEOuTg"}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.61.0_1639585954047_0.6151488744250766"},"_hasShrinkwrap":false},"1.62.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.62.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.62.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"77e9dafc291776ef957760e66b7792353ba83bf0","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.62.0-sandbox.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-k09PKJ8xDM7xpcMavg3a7bMaNucNSWBZsPZPDuonXBzS949sK6qvpMEVgXQ5j9xgitt1CG6c4BjSJh6ulvGfFA==","shasum":"75294987ab314156328fc527a6a90b51200bfa0d","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.62.0-sandbox.0.tgz","fileCount":4,"unpackedSize":47333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6FLMCRA9TVsSAnZWagAAuQYP/RRpDoypa/he7XXnXfgm\nP7RBv5mdfP1VSJine/4xp83gA5MLWYchDw9MYlNGPTJVbXTTusXP+rzZg+Eo\n9VI3rn7gzMQJCERfhtpNU6yYA8/e7RAhb2vr6TYTVmSCNOl5dWqtECzP2LJP\ne/yc7WRXiRrsKTcZh+rcToNvvyF3qNnjKJlnhGkrGZUrVM4qg6l/kz7Hb35o\nYCQIlPoyVxLW0Eu4q5DThGy8id82wthy8EOCk//1N1A7Kvx9klZvcCk5l22t\nvvhpStLtIE8MsDtZhsBz+2tHnca3jtroh0e3ILQPNJwChZ5V+axESa5fA6B0\nilZq87KgeVtkx9tvBOyf22U41TnvhBRIYow1AidgU1bKXDcnhJGtQhxrvNSP\nRYHNU7Jet7wpMh2aM3ulQOTvwvDHrAIAmjMfeyNwrS9vUHq2ZQbk3JKPX5JY\nIGpAZ0I6UfV6273ouwBmvKZmOi3rUVPV7G1POjSX+g4r3nlbb4pmOnu8itV6\nNXWHsC1jDQOQWtdjBrqcoFStjE/lWjAHDz81iWR0VU/UrDiaQmBV21rlpMXr\nOzNOcjosenRz/C9NvfecaUvVVJTiGKeerVjAK7GRcEGcEMN30su+g/HEwfXp\nn/OoZU/qYZIVwgN1I6sHfSJKge8adoO117Y1nCoyMxCzhZjZf8eQGj7MZh7+\nFSO8\r\n=gDm5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBW30//UeW9uf7SATCkDtVWALLwZo/qZTJ7zblEPamMJAiEApt/3sa3aTpYp7BioEB77p0H3gJA6Iggt/OrQBcukDHE="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.62.0-sandbox.0_1642615500146_0.26916775810828164"},"_hasShrinkwrap":false},"1.62.0":{"name":"@arc-publishing/sdk-swg","version":"1.62.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.62.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"ab0f2f40f5fd6c82c6fefe7ad8de6e614dd7fd0b","_id":"@arc-publishing/sdk-swg@1.62.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-xpZnjBuT1LsEn8V5g/Z3F6NtqRIhixs7Ui5Joy4+FjvINsuMFcFq8kAr2/1TbOXbTYewCGoL7SJwZrsMm6jS3Q==","shasum":"c504731c1ee0d79cdc1366e41b229ff2a489a08c","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.62.0.tgz","fileCount":4,"unpackedSize":47313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8XbyCRA9TVsSAnZWagAArw4P/i1U8S2ck1uK+okuMEaL\nNZyKAl0urlsuw3Bhk95Sd7fpvp0rigHRm0fbybPIP2GxFR0bz+ciEKtZtqUp\nskNZEafXAHzUHWKLOm2U/Y4IdDT1yXLIVOJpJKhyyWCD/KLl79bxm5CP+xhc\nF0LYV46dPfAeO5/3+ehPyyYFUpdRxtbrV2hJGW1b+q0lyt4v6GOmaHXEFPe9\nBJ3r7YF5xlA1eDojHAaV9bYogVrlZQyHEiH6a01ujsWR66UrJ6FLF9nzGngn\nVDoI5L9Cr1X1BIaAy488d2Dd2Q12XWpBL3xspj00neSDFGG1R1TGOs8XVcpW\nwjo1Z6lJFaSg3kKq/kvxLDT1Lzo2jsA+8zGqiSF0fJil4Avratikp94avxlB\nLu/MAc0z0LfBU1dWeEHa55DWY/4Io13HmN5zjHcJfODj61E8IAGFgO9bengT\nOa9FZQrdkYBUfIop9tX9JI8hQyMi5chsYD/Od37HJ1cRhzw9ssaV8WV7if76\nvmpwV5+llkj7E1oLzu6wKRJ9o1l4gk7kUdOdkDfoiG0b6dQvd0LfpdEgm5CS\nrlkHST23M6lbuq6aF28wBxgT9vJPy4T5qU+pxNUg5OTF+lv5K5kFeN8QXY7i\nwM9v/WGEMBb9vRkD4L9ziH8N+q5WJICi0fm9y1uyO1uVf/rXTZaUpmtQjUiK\nOq/6\r\n=NOXP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIButm4xcdQPczKKfS3vl0fvPsbYsju+0+Q+w75O8N5SMAiBMwZ3pB/s3j4te8nITN+xrEfnSPiffkZ9P6Ne5zjM6aA=="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.62.0_1643214577942_0.9271990697946324"},"_hasShrinkwrap":false},"1.63.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.63.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.63.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"6c30fefca8060e5b0bb3536a59127fdac92f6220","readme":"# `@arc-publishing/sdk-swg`\n\n> TODO: description\n\n## Usage\n\n```\nconst sdkSwg = require('@arc-publishing/sdk-swg');\n\n// TODO: DEMONSTRATE API\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.63.0-sandbox.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-hfi7NVMoKFzv7xMT/+Z0AvhVRuyZejNc+DgX/7tzRsyuYU0/bUV5wDHu/XhlHImaPI6TyDBnMcT/zycxkV+5DA==","shasum":"98551bbcdacdc641f8e3b29ea6264f5087a85067","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.63.0-sandbox.0.tgz","fileCount":4,"unpackedSize":47333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiA/aVCRA9TVsSAnZWagAAYVYP/R1gb1ULBbZjsEzMF4W/\nUpx+Yy97+W3HXqOnwiaRapkk7duWtm+LYlA2YaEWBN86gWkxTeVo4Gl3Dt9f\nR1sRhIM99jGDVy0ho+AURHyjYaNJO3SIdF2z7hWarQRTJ7ud21ZWf+Lah+aC\nbQE6zVqxPBHAZxYjtbKj8H3dkzT4zuoV+1gDW6xRkXrAjGFqddEdsiu+kU+4\nptF2iAXb5BwQxbEWbJ14+rjmxwU0raLSgB4SwfIAtvIZtRT5+uHfKPMIO9H/\nc3HU4tm/piYzIWlBkAutBS5j4SFs/9Y4R0Y4xaV1hVfNpgU37emICmEUMxFN\nHt/wlrXLzrfhOyXkQm9WtbBnt5BcRSphpWyWZ4mXLLiiVKNliImMNtKlGbZk\nwEX4vA+8Lu7er9DEoaTJawYEDV1BOWlAdTHnchP7Y8AxlKiNlDzYCZZL1VIW\ndbEwpDm0UkxT/RCMZLmxkdouec5FJQ30WFx30+maVRr8ucmxUqcJB5QmTqwh\nz42SX0Is7uzDYI8fStZgyTSrBfvuAfze5NdyNz8uzw2YSDxz3Vsh4wCbT34o\nEgK1Ou6ggSRzrdk/wJtcTH91MWGazyyA0If8Anw+airNo5HvqiLncutlEeuH\nt7E6CoUI5USm1vGy4XxrryIYeHoCh02+O7u9rmFMXQStD/uTEPNw95fJKp8n\nhMpN\r\n=e/4y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2KO3GwAx2mSclHQDKvKM75+VE4XZN/CPg4nqAQpenkAIga2QAMjNsGoFKADP26O+IoBK4MIWJPivlVXcF2Di5VgA="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.63.0-sandbox.0_1644426901022_0.8023811075798606"},"_hasShrinkwrap":false},"1.63.0":{"name":"@arc-publishing/sdk-swg","version":"1.63.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.63.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"7d5c7ee97f5a15daf750d74884ce6edb2acf0ff4","_id":"@arc-publishing/sdk-swg@1.63.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-oleY9B23psnDpPY0fXVTAWWkAGZQq1JmUCxInPXPKcMu6+ECslJBAAB8EGGPGpWUFKJWPgkS1KBTnLj1FzNHtw==","shasum":"38efdbc676ec000d2364273ab781fcb189858be5","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.63.0.tgz","fileCount":4,"unpackedSize":47313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDRFVCRA9TVsSAnZWagAAApUQAKKQFshX5XO926TkURgn\nQi4lX/Qfr68o8iiuYJVfQaSCAfdiDHwEuMIAnPrN6cAFj02XYhpbNqLFnUAW\ncaEKonB9Nw/OBebpPa42lIDmTZTRQGkQbbQJ/gA2kc5FpTn5DhEi23DjKI8b\neScnpmmq5Ti3DIs5IrSIl/NCkgXg0S2fzhjGEgwjq3rDh+CbSxihSt6hJi1U\nRvbWfBX4XdZSxq19E5FgmUjxLcCg8CIcMauuZmcfh4AZDqbMUJ8nfgVXodr9\nKwA/tDq2MpHKjaSyMtqMIaTu5rLdHHGffgLoYhqLhwXa4/vEnRG7YJAqZmEx\nFR4eXydpGRnm5qTeQQhw07/pPMRwKSzSldNhi0kOUWd2mzGtlHtHyhrh7olQ\nZDS292vSP700W8BQULK4R2lMAGaxlF/oE5Qn+MOszT8mZaf/rZ1eicmFFLop\nozc+k4qW2x066F1uhqLCQm+aUryJBhom+TWfEprY+is1FvGbHwLNXzy/+OzX\nanoFTuocNk8NKRjnc37tX1nwLI/oMecOyYM48XREcdplGqAV0rjzX9C6Mz5s\ngfz87Q0RsNPSffbhi7xC7HCi8Otwq8nKTcEgZwqwFA6DBvPZVtVUO7mhBah9\na5M/BeAPjPVKgmYt9qVaQrPFO/8vHqj3KL7d6KNdWuzZ+9CK4a9x/b/fGKwG\n2eNj\r\n=x+9o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDkRZNCkcfeRdUi5rGea4Gmb3kM2AmH2LJqHI/znoZNfAiAyJVqs0U6zkaUXAS5CZbK3JxPbCyxoU/iRX2BalNYJTg=="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.63.0_1645023573066_0.5113165136727613"},"_hasShrinkwrap":false},"1.63.2":{"name":"@arc-publishing/sdk-swg","version":"1.63.2","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.63.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"83a37a2d760b4773bb008cf6908f151c164cb0d7","_id":"@arc-publishing/sdk-swg@1.63.2","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-0ny1mrbwe/9QASNWm3/cbkBZ1n9fbb+Qqt9vs9j4boTgte+90ilcXjmHHYPbRhVto0OW/9sEzVqt9+aavSgM0w==","shasum":"4ca39b0b05174e1db473e12f641238b275f1623b","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.63.2.tgz","fileCount":4,"unpackedSize":50918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDXD1CRA9TVsSAnZWagAAJHUQAI4J4mXyv/GhN1qRhhsP\ncO0enOJafFGqil/ILV5xZHXgvP827+N6SjSd1NOJQVy4pU1SQngTs37LLuqb\n/NyyxA3nDk/iZcZNsq7ThQ1bGP9k1LyqkvYSSKcF9BwkmwmkX7vyEpLJL/eq\nDycuperFWBPIhJgcwvaqKAziCi5CJHrD0F8xZ4LXWwlxrNcRnaYwAujYBpAo\nqnWIezHgmFg6Il36HiEro2otWj74iA2ANx5eFgqhf8VMjT3i+dCZtad75z5n\n+KEELfofoLSIDDQOQ8UjdshL8LNwJ/rXVf63PqOoum7ylD8uwEUso8FTcVd1\niUccOIa4jymaMcPL7xXIE39WMMPJKVKjKwLU8DX8W8ctwqHa00FWMuXea4e7\nAn0bfkBPHaWCEvzktFEAl5LaAUZD+ftIMJkZYYTqoRfb5IrpMiaZyYbl0sXE\nZA2PFt1tkRscZ8UDWTr4E7vFHyDudj11rp8tjszGqq1uOiMVxdK9qf8CKy0b\nv7cV15cww7vwlS/eAZjdSvh0DUmpAcV+d/U8IHg9hGdLVMoeL/Con0m9g3nF\n/wwkSHwWsm4OCDS0AAWcap8jUfs25RKe3tcSZge1gXQYxlyFInsbTcW4JZRo\nM4VcTUYPs5/2Rlcb/HDmYnX6lESe6kpUGp39Z2mZMple7kXHnLbH1n9lrX3/\nR6eG\r\n=Cs5W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF2XelZwbvFt+DP+hWhLwzANnfYp8t7yNFmxEq8ch6C6AiBReHqjd0bx9YWV+aD+SijK7Q9KXaYMKz7Kq8LyNf6wsw=="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.63.2_1645048053343_0.6066209995484177"},"_hasShrinkwrap":false},"1.64.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.64.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.64.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"80b008a8ce9a73b0778e05b9914baf804aae7b6a","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.64.0-sandbox.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/3.22.1/node@v14.17.0+x64 (linux)","dist":{"integrity":"sha512-DpayKazZBx7EEHMd0C8CgZ5xd3Kk+Yk0LTZY5YqxREiQjRdLvxGZ4jdPWKugcFn+a5tFYq+ioJhP7VKvZ+AdUA==","shasum":"44fbfbb0ace46234a5e788d3ee7fe21e2ad5e45f","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.64.0-sandbox.0.tgz","fileCount":4,"unpackedSize":50938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKPkDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7TA/+JLsb2xFg+2k5M1++SE+qGB1CILVG03dxvy9yU8d/R9FrC9vW\r\n3Mw6qlXGyT+0tXx1dALXzbFoPwBA156XL1ybnjH2wAJUb25id5usw2UDqwcm\r\n92Kd9B1wsQskHX9VXX1XLsgYTlHIAtKuPvkF2/aFQiA8B4t1QfJRPkkYU3RG\r\nFsU3reymJ4IxF4EM/qKwA646Fl91PeahbjyT9DmsC2e5mzcyF/oMUYBfkk/0\r\nXZ8n46VK2koQFAFyl2PuHAmVjz3BkIyQtGVORSOJj2wOPJgWjOtPMOL6wWbM\r\n55dhL2YyXTX2EeirwkB6BIccmMKON9hI3vbaCOtTyHUm26pbcX1TaFwwZNuL\r\nPJyJGN3q0PGLIG37tLWna7dqiUz/IO9DLDwiII4cv/HUT7mU1JnlUjRqykfJ\r\nq2wTl4p+VMh9uFbQ8SBFogBXCvj5qFMBUhdikxT3/TkZ5hTUPaL317BWm4pE\r\n7t8hCLtZPDG/5a/roPWSZ3nOa6OGAYzJsDIpNadSPJ7GwVVcFEEcWdYhL8iW\r\nYVEknslD/EYmk13DCyiOU8x4M07xioDJSUOY+CKf+IHgsVqogT8zjdCZLFWE\r\nAAPBHLXwig53m+IA8vUgtZb4vUjgnEQQdrFIC2I4Zp55KIinGHeuC72b0oH1\r\nbF2vt7sgMpJUnyo7XFiZ45naKBhbTI3obfo=\r\n=DG3W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPWt5ROr2IDhuU1rAlojYW96jjWLDR0p7mzizfBViCtAIhAIaSbB6ykSqkVkyf6UJ9RPJhc7TKx3OFuU5rxWRe6q6O"}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.64.0-sandbox.0_1646852354333_0.11021757863881554"},"_hasShrinkwrap":false},"1.64.0":{"name":"@arc-publishing/sdk-swg","version":"1.64.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.64.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"3ec895ea84e22d2fd84daae8a66d922e47481d16","_id":"@arc-publishing/sdk-swg@1.64.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/3.22.1/node@v14.17.0+x64 (linux)","dist":{"integrity":"sha512-WRVmK7Wrjyt3iL6huZEvPIexpErguGFjTxVw70FjwQ5VSaZJ57bPBImjIuT6f62X2SwQa2qrHDjd47XCj3WtEA==","shasum":"ddf7a3a07ab911e19416cbcbf0e5ca9ec646167f","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.64.0.tgz","fileCount":4,"unpackedSize":50918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMzoHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmourg/+IHSLHDO7S10Dm5fxjZZsMITNCKfjShwSHU9rTqDcIBwheJBs\r\ncUElm8rdoHYNn25B9Qd2ecNqM9OU3oF0vv8d/Nxe8rTzuvdbZ6sDtzoTzzv1\r\nMeD24I0E2xLUAyG7sP0dhJ04P328px4VWnyYtlsZ7wVGmrCURTwDM5OfrS0R\r\nvy4D+cVjEiHJ8489f2DL0gT2q09AdEAuT0Lo66x8xeHQ9GK7eMDkCl+RZPtt\r\nhXJbCC5dihyHWGp/2ZPwrqmGoatskeBl+Ajiiu8Ym/MRlSlYLgkBxq2hVyn8\r\nPo4tbp+XLszqk+orZ5o0fA312fmmPq7bc5wl6FsxuOLofo9Ow1aRwNLiujnJ\r\n8KqgZRGXujRKbZ/V+EbbbZUoPL9omCQHixlET6FnQXuLqnchT4PKcx7Z7VEo\r\nANp7iGR+uDh04m1pxmllK66Iu1D7dm0IiFJlhnnOH0VIUkVEMc4qDNyr3K4F\r\nKegOHCPGynY7gRPacoKvNpOCk1k4ff9vsDqoy5fCbnzbG7pMkgO5QFKhQnxd\r\nzb0oXfx5GJ3zXhKm4Lb2pJNMytXzcCmJ8LOZIps+icv5GyV1EwWMtP796lF5\r\nnsZQgcOpxPk2rTa4FubnrdGL7gd1WWyds7tGGRC1DETlMHpbbs8ZMAGbixXP\r\nCn6BxrP/UabFDFnmuwjBomd19P9PB6eMBpo=\r\n=Z74a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGlhVj/JLL/yazIz7f6/hofGRpf/LXNL6tSxx91K+xM+AiBR15iGOzblYEydkl+w4gIWk3NHczPrzTu/QCbWEMzuSQ=="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.64.0_1647524359223_0.525252327175934"},"_hasShrinkwrap":false},"1.65.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.65.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.65.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"7e6bfe9bd05bab6d424c8fa75b93c943fc2d7e68","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.65.0-sandbox.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/3.22.1/node@v14.17.0+x64 (linux)","dist":{"integrity":"sha512-cLOZezTYJO5EaddgHpAsPMSQkmOv/Hrn3hmCEaekj+zmhcMXcsFLRhplD4ZYB+CI0BkN+BnRQDYhNwfrLZYsfg==","shasum":"ddefe1311276a9a1bc469570bb7af474aece3516","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.65.0-sandbox.0.tgz","fileCount":4,"unpackedSize":50938,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDhOhDGBXFy2b7dRbhxBmOEkXG7IZjlN0B6FrtAf3c8gIgaj1d77ljIeqvn3KLe+iSY/UOZhkstGfBlWKbDw1vmG4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSx2oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOTA//WlusC+kJSSXhfaUEJ/O8YOzJcwcxHZsV5WZDe4Bws+Su/cwT\r\nVVsKc7k6ysquA/3l757gWU9DC65DeuZ1HRy/NVsWQGbnO7ueyy+EQbPvT81v\r\nmueNraxoX7VcxDpFT+bK67fEq4507p0zzRxzPLI5E3I7w6MISJxuaPQoff0l\r\nh2La7hoiZJ0ClTAkx+U1vYfAPCJhEOhu/bDkTDMG/XhKx4MUCut2cyBRD8Ps\r\nEoa+Yu3VO+akbDsxtMyWwnbo/z6Ua74/spGgqaT3ikb9dglyubeVjRNzkozj\r\nOeftmi3hckT5K63ae9YKG4Ky7rqpetn3/xcMG/fDTipIoG0fFUvkjGtUUd2W\r\nYhEVxUUjwnC59+RiphgtGDTYGFV0ZzrQxJUX0pV393vGCex2WkLJbc6gnX0r\r\n6VcCvOkjiOHM37DrPidJE3XCdrib+cLbKiW6JlJaUL9L3HiVj+GQEHkxt7Qq\r\nl2I2MvDFvyIRUS5zYu/eEHdK5MjqwGZcupF4FnwDBvXewoe4QkDJ0HVwge8U\r\nqI438JEDfe1lPyhXRXMdy+hvGFQf9W1SL6vVz8pj8RsBSuL2agiNjkVHfbVc\r\n37Zpe6cLDVozEcZ+0G0lPRhqUngRWk3IHvPb2Q/S3AQii7H+TZRFmwDCAZUV\r\nc99oW/L8Qw7VA3nfQKHysyLvGYqUCTq/hiM=\r\n=zFEH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.65.0-sandbox.0_1649089960112_0.15950841719318487"},"_hasShrinkwrap":false},"1.65.0":{"name":"@arc-publishing/sdk-swg","version":"1.65.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.65.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"d204f15adc5badc38dc959cdda070f6e44df3b19","_id":"@arc-publishing/sdk-swg@1.65.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/3.22.1/node@v14.17.0+x64 (linux)","dist":{"integrity":"sha512-viq3ewt0Tp79c1lC2/B8xs6SFqpGHZ4LDxklkFT43Bd23DlSbIOtr6QXHXBRl88b4rHj2qAAr69lNefNk4/c7w==","shasum":"e2ee1cab27a098ebc7068920494332e810d24742","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.65.0.tgz","fileCount":4,"unpackedSize":50918,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx0ZWtGC8rucIkTOw1WlwqJ5vTpDvhT7IEkU6FYhmDSwIhAM4Wvr1j52sG2/pW3vtkV6ggzMED3gT9dJmqIjTgPXle"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTvALACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrebBAAhADzSKW7+V3t2qG5OTnJ7ZNGFYVSeJLAVJfRNybQVQ02OdQX\r\nWfe8wxYJb8+gUt6Mewokcs3mRyBcRu1X00F6+IRYyUB+EjEdzNoDNr6Jgxsn\r\nwzxlecySQPoAgRSaX9loapW5RSM9zJMt21UfILO28ldaaND7omKA1UdfoOlY\r\nuR4Zg7XJieOueIUMG2jo0ZuWnlVLG1YR4oUW/5jF5CW/qrzeyD2YYBkZOzAh\r\nWOCZi93zycuq+HG6Uxdp/Y5wYZWhK8jLHthW8t/ym8B/9lGLe/UvG7uPYeD0\r\nSBp6qQpvtqqCreuLSc1Fq3aKmmnRu1hEd38z2J7FwLgcIvn0rIwsnPW8xGW+\r\nBSAgndoUGCU2bDBtTCxd9piLYMMVYORxS/K6bMy3aCu4VIC3SFy5f5D6N+MX\r\nJDIoaeOV1FOtA7Dgg2+Q5AT86N+xNAT+AXzLeqNvE7POzraDdlFjKkT/qlOq\r\nSS0dQXXjOV+al7Cr0TqdyeQvTp1iz0oKMSFsall/FXP0boy+RQZKfuPO7s+O\r\nkeKgd5kMq0eyt9gBWXu5tpjffJTN9ZZWLzZa/aHqtqQRbysG7VsnsiS0u4Vb\r\nvcB1tul8qqJwB+ltDl+9ptoZBtG02klAdUJ+9yJgnIRLwmRUyrWks2HaDuGc\r\ntaoTBiF40NrKhHXLg3tfmubAjZecMwtIK7M=\r\n=dS1G\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.65.0_1649340427526_0.20630166481262946"},"_hasShrinkwrap":false},"1.66.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.66.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.66.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"5a20a14f3a9b1de27adfb0bc463eed0136ed23d0","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.66.0-sandbox.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/3.22.1/node@v14.17.0+x64 (linux)","dist":{"integrity":"sha512-E+ataCrVgmuYhNg9dXrtnLnz8P8EciVa771z5aOe9Pd7Z8bl4y1/TFdTNUw+IoKll8Fj23OpTzLLGY4IgZs5QQ==","shasum":"d97070e627337200b915eef022f6725e69cde8d1","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.66.0-sandbox.0.tgz","fileCount":4,"unpackedSize":50938,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEHYFGDwq7HxeTm3SpQJaGexlPBIO/E0MqewlTD5WbmwIhAIolIjTRktlt8XG3SUHFQQuZSydKYE0efcrGhk0RvvD2"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaZ7+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp59A//T8x3NRI6Sml2CeOrfNtWX1FA3IUnR90GFdIb6RMvHzOTkXes\r\nB5kY4mbo5n1oaj2XBMz5ANKJ2B/XXiG7WwfhgtJzM31qu8+Oq6amIhwl0l8t\r\n5v+b/2nfTrq3XvyPcpy5VNxXwxaa3gJ3WORHtL1Qpfp3YYP0Zcv0t8QbkBux\r\nDlImu9tEXCNSZxBufiY0cJSVT+QOaBqQJhLxk4u5XUUGG3F8OZlL8h2xVBtt\r\nWcfL1xOfFhBFinuMlpOn0KexL/CfxT4RDIzIrybnKzA99g4G0zPCuPVqiKJS\r\n+rwyDBI3YOJ1i3vWONP4nATttzoMzy+BlAWmNg9h2YXNN4pzyY+/FUAs0bbH\r\nG582Z5Bm8RVbst7qdODneJiQBVEOYF/y+yhMAJiUdAla8843Ob3drTRhR5LG\r\nmZ/kf4qKFI0dRIMClJ7uZjE80vQe/nORI/SeddgBvdE8uz5qmFevOk6ZLRCp\r\nIXn3+9+Slq2fLpdpjoHAVp0qIFUI937Lx5aP17UySsebWPn3g1REMMZymcwP\r\n0VHXhJ0FTw6jmW9gW77yj0ojIOPoo3QEUAY7bjxmEIeORf9yqCAaNWDP4MVz\r\n15qsfJtmL/9qyoicgRuR/h2jVk3xk09jZolnuNorBT3uSbTc3RwTwYH5dbGK\r\nSbj6LJuxZhEMJ9A8wOkKR/VubIRjdIuz21o=\r\n=OoPM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.66.0-sandbox.0_1651089150480_0.03266214201871298"},"_hasShrinkwrap":false},"1.66.0":{"name":"@arc-publishing/sdk-swg","version":"1.66.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.66.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"5bec99ef0b189aac841c340ddd983ebc49f761eb","_id":"@arc-publishing/sdk-swg@1.66.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/3.22.1/node@v14.17.0+x64 (linux)","dist":{"integrity":"sha512-ZuO70k6eSRW9nezWszzDRPh5mKLZGGhP1DETyN5mtcfhr64y98btvU8rskpg8ibQYH750gvspmlbawII71FxlA==","shasum":"dc9891fd59a8c63a617eb8c5115c52f12453dce7","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.66.0.tgz","fileCount":4,"unpackedSize":50918,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAdONFDivgkoQUwETKMjEQiqsEu0sCjenBjLEHxucDCeAiBNIGzzrsVI5Y4vjmCpOW4Wj2S1oJemhSXJ+TcfKfixBQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiculWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7ZhAAmCq4T5nfyno/wL+yb3UFSZZ8q+6blkeG/nJ6khrYbdlN8hhx\r\nd3WGmOgrtjvfXNsp/PxWG/rJmbNmTpqCan4WotfrlLjBqF23N5MdJCOE4qJi\r\nf+kJkRq7CyhT/kVuYNbyrsGIdae+ddLjqCTeK2zTGxTF9qGPtW9IX8FudnpH\r\nRmmtAIl3Vbzl5hjrGkRjMvMzqg509t4hsfvaWF4aZNGacrz0DrQNxseE9wPo\r\nK+aqSNJG06CmEAk0Iqz/fjhAoR734EmBJgEMRjFXilUGs/6ZiUyGsHCufsff\r\nP8daJ9zo8hIYplacg3yOXnYSaGfdrhr/bxDX49xOouQE0lDMQMG7n9RqmYNk\r\n7N08+dAtNjZiuOFh5REp5vJLXhoTZz0hNtZu1jkvK3bzhDiNCJUYHffndy1m\r\nAF1NPPR2UBXRm1REfCSZN3qHDPK83nr7PYmksN8C3tUy+2zvUM8LC0vdyosV\r\nJbjpE7JwhSxFoTe5Gk+w4U3F7x3ErI6TIgrn9TMk9AjZLcFebVbXkDWhIB3S\r\nynyK7HW0Y+jOQ5npdmXPIv4hKMhYPmFhMxxFBvpnb1yTJsMR1ZTrnU8ClStq\r\nt5HyYPu3plKnInE+NlXXdWFFcEM2jG88h2e97iP12sOgC00INY9chDIcM+OW\r\noX5/dWQKADotriLc+2r+YbxRyCUpLwr21Es=\r\n=8cQW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.66.0_1651698006698_0.6858659282237809"},"_hasShrinkwrap":false},"1.67.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.67.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.67.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"839f0137cf4680f0bd8b6c27b6ce9a705ce77392","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.67.0-sandbox.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/3.22.1/node@v14.17.0+x64 (linux)","dist":{"integrity":"sha512-Ij9zjkqudXuVI5ZR45a/6OjBwjzfHk4nNTp2ySSUxoX6iQahO+SOMZEv6hqUIxuHgr5DfnjZPfMWGxYYke2FXw==","shasum":"a83abb0bc7e1f409512f3f137464529611700bce","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.67.0-sandbox.0.tgz","fileCount":4,"unpackedSize":58165,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIiv8+8OMjEDGBy4MKFmLnTzYnE02k+X1EjPkfNrPh1QIhALrhFtbOXK12Sve9d0V7hclQgVYvVXearsXsQIiR7jhk"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivLXvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7iw/8CC+EkCt+k/l4CEnY8l9c5tnBZBbvWqV2V5ACqpcvgSrJeSgQ\r\nawWP3e25MYW7mONfXqFcUSkP0N0R2shMDWepohWcWp10J0KHZ/h6x1MGOJhu\r\neLp1/FxxDa5njthY7NJ5qkg9nukdMNWdu2M0R8sqVPQqtFf4ebvJO0xfwEMq\r\nTze/GsdX5CKNUMW121ZR9KT79WSLfbxJqXTfgqt6/MEsxrzSqACFnSNcHCyr\r\n08SL2YRIWEU+EvHsdxRzW9/MWMlrVagSsHiW2dBUUbJWtVHp8E9CHjFmS2kF\r\nEuzK2l/F7xp6RM+bu8cvric2to48q9vLAYVfTJDkHiKeHodIo44kfUbvvH+P\r\numJuXwJvEF/+xerF5T9emnkm/Uixfd1BAaAXu6x6F9xGqXz+39nDEc//nUal\r\nWUoW4c85WsCaVVakPu3DPVGZ5PIrCRT8RPxSGqTcj4ZX+h7o3e5RU4xgcT3g\r\nDdRln9gUE2Xc+c4y0DcvlbzrMVAORXvNKynqP1adyMJvNYgkPwjjz0VGYuxY\r\nle2BdzkiQnb4Nx45UQbj1pEAt2rlmDlJMFn9U+4uv+Sp41Ii2llpd5MEzsFS\r\n9yVhwNcoI+bpYk6oINb9YlGspYx7KG/PVw6/umE8o0rqDa43vC6JuMm8P0gO\r\nsHEXnvLppQIRxY92XT0fxzuFbBkzg+lERvc=\r\n=2SQn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.67.0-sandbox.0_1656534511310_0.5252918281466665"},"_hasShrinkwrap":false},"1.67.0":{"name":"@arc-publishing/sdk-swg","version":"1.67.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.67.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"7f3b5a1214b5deda76d6fb2aae4909e22ebfeb0e","_id":"@arc-publishing/sdk-swg@1.67.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/3.22.1/node@v14.17.0+x64 (linux)","dist":{"integrity":"sha512-WqxQFER88npphFGNcJCgRx2d2FBHIJkaw6ReSo10i5TOhhLpb6/ZA7YYUyjwA8FnwbWmX8Tnhbire1OtBZFb5A==","shasum":"e5c315c1eca5585bf511e20dae2f8fc1928300ea","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.67.0.tgz","fileCount":4,"unpackedSize":58145,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTasTS4zPtwIGUgqQF0oDhg6SdIaLxCXykJgF2WVcRcwIgRGCxuOYCBHEUjWn06xtwja+Q6AGYMH25+wcWo+BllgA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixc50ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrRUw/+MwW+aDH8I/Ba6+B13Y8f6yNG96GxBseMMyeJ6Yhd/wYpJCu/\r\nXBtBGJoGkQ/w5cbIM7ST0ML9dv8ifvirE/V8RbBtOno18SmOoqhlWZsY/D1o\r\niVcNvR11kVP3dKdE2I117xFNvvvRe4rPGPSY02WQzgkPQvxH+ekH3Q4YS2fg\r\nsZ3th8yvUysTR6KtAGv/xo+eIVs2bT5QuvHWtnBPjBxaa4Gd5NorsUDp5K3L\r\nv1p7DSmeqlEUWi1VyweWubuQdAcVnMgKPuidSpcMqJ5VLstF+SfoeVSEEBf3\r\n8t0+ylPHPK/ndR1G7JiJjMKqSVARfTFEJkuQa+YPi+5WwImN08JQ+r1iFq/5\r\n/H5p4m4wCoxehUJluAQzy8UrJ+RinN4LcvzufHOgM7QgIGpJ4NpreH80GUBF\r\npUhbbkp9J2wg/yXXkqVGTw6WDRsaay27fDlsw9JFhiU+hz3e7oqY8MoST6Ew\r\n5YPp0kTHkwzpsu//31aChYWaZe1LQnEb9uK363ea9BxKSEAsuIcnRt14awtY\r\nXVdUv0zU5rsJW2KuHbqBbTbBRYU7fVKkyvCfLMHjZZ1BoCVF4/h3OZw4XqW9\r\n4ncLuaYo4bvh2WFNerS913RPkarTV04UKMis1blF5CarLy306oW0u904Fgpv\r\nd+k/nXiOHmpr+sx4UD2YYrNeCYbh8zvTJ7Y=\r\n=m6lH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.67.0_1657130612135_0.8023415649370289"},"_hasShrinkwrap":false},"1.67.0-sandbox.3":{"name":"@arc-publishing/sdk-swg","version":"1.67.0-sandbox.3","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.67.0-sandbox.3","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"c4d87ce92066474f6de5bc5c75411e254d80b880","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.67.0-sandbox.3","_nodeVersion":"14.19.3","_npmVersion":"lerna/3.22.1/node@v14.19.3+x64 (linux)","dist":{"integrity":"sha512-+fD+UQo+Uuc04En/mUSM461NvhjZFAc+VMfDbAfPku5DfIsqtjgTpn6PqNM8SIZ7NWHtYcHuvRh2WWbrf6FW+w==","shasum":"4ca3915b130bde937ec3807f074de4ebe43991e0","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.67.0-sandbox.3.tgz","fileCount":4,"unpackedSize":58165,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjBMOhdDzOJ3JljVrnbPmgl76EKaz5YhJrMITB7imrAQIhAKncaE2UHfmbzFze9FJOlixGTUWFla1U5bQx7gMXaOwe"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDTNrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr08g/8Cky36UCsUO+KZnPaTHnmkJ7OL84R2wqCIEgpP7xgj73Q2/3F\r\nCLILPUdg+k77TJ1TQRX0CLxr09JoTDEj7/XooPntTf0ilgXA7EjIq/lhnnfN\r\nhoDvh3WdNT3jlwQTC64dh9SWfqrongqwhWddqlCFwXrWi49ZGAwsAdR8cq/0\r\nu0BTPIYjhJxXlciZ3BfaIvoCPWobi6BnZZ7s+kvUif2HcOhLyWzbflR7zULb\r\nV7b5PkcwnC48dsJ8q0YmxnMciXddFtyZKWuRxJ7Q87j/iysI5qQDMJftvkHu\r\nJeW3R1Bo0FzTiZRsotzVBti1OSbLgepsE774Cnbgn0dimZGgIvPIKKUsmeXI\r\nGb5c8vPoiTR9wc5xYBjGnlIWDsu12YXDLx7/MDlk4hrx30DapYBBrOHgbEcO\r\n6aTuEb2VDnd79WtmeQLnx1gUKkn8uhDHKd/AGrSoBxxg0tqIjxxwD58uM+7g\r\nU3ZGAJcROzgK5MaD5/1bq3tdw4TdKKZgLgPkMYJvkFWXxh2vJpEGK4nDNjji\r\nnck9rlLgPCticspbSOJm1a7DEuKzHFNKg/d9lvTnH1TmOvRdjhLkiLiuvqXe\r\nLQO/FCAYFHc9zZlwABICbpylyOnk/f28k4HqCF2W0fmKFS4mkh6Va0nd3fft\r\nq7ZPpiuTqM1kUS5Owl25QCU8LOZgbAWhw7A=\r\n=91Cr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.67.0-sandbox.3_1661809515460_0.7031786194415857"},"_hasShrinkwrap":false},"1.67.5":{"name":"@arc-publishing/sdk-swg","version":"1.67.5","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.67.5","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"9b27d9c149a95a70bc22803c5b96791c3e00507d","_id":"@arc-publishing/sdk-swg@1.67.5","_nodeVersion":"14.19.3","_npmVersion":"lerna/3.22.1/node@v14.19.3+x64 (linux)","dist":{"integrity":"sha512-IheGjOiCDT9Kq6Q5WnaG1nexauzqHAsVll4iDZf+myCnMaYnxVvPo7PBiU53vR989iV9KSySa2s9/w08aXyXTQ==","shasum":"7571f16f911864936ec388556673e02c173f6572","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.67.5.tgz","fileCount":4,"unpackedSize":58145,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEt1FwM9veubSe46nPGWt3dDVxbC0gWO0xriVVB6w2RjAiBHeP2U+QiCmSaswT2GsIpMP/8uNuiteDcs7e3PwI9UOQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjF186ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWKA//cvPV8SZs6Zwpmsa6AKhRXNebJUg9+VrjVM5PQWd+zt51Y+rz\r\nIbFfTGNjkpEAZdrNktHNvqfqzrKSWmCIrq/FyFZLrJnCP1TWaxNQW7sKEhe2\r\niCv8xy/Ou9OcD1xnx7ovQnOfvPPfQDrYMv8OyVFzB8C6w85+OhshGG4PT/lb\r\nOhiEvLoCHyb5aTadmEcui/3gf9qHRHh601EXu5d/bdN0UNYCj73pQ1hvcDcR\r\nXltzQuWa17YUrUJN/d7MKDmgTbTKABrIQiZyxEVJRaGmHHqsKkwo4pUWskuH\r\nrhlckgnBLZVJ0sD3pP4WMjrnrEqvRufsQGXCyXs0dax1Z721ICyLExC1QFEw\r\nnUcEKhMOG3zVl9O2mFigZ4qJ+T9t+l6+zU6XsWjk/hTkfrNzwmkq0gQxKuiD\r\ney88kJuaMDHcR7veCInp8KdoNkQBEIyzm51Mjcr2cxcA6SRm9L6WHbha0fsl\r\njb0h3THNaOP6YjMH6g9/VRRdQCAmVX0+kfTzRhwcBKoD9QCLWJbA4A6fsZJv\r\nmTeT+SZAl0CuV9PfMVkxezOeg8iWsdCKK3Yqz3MPzBAhwiiHi/RLa2cgzMgr\r\nhmGrGRJ5bYOfTVaYsqydXOKmTX5bRSJbEyZrVuu2hWw/kX9NC0+G710dIKLq\r\nastuyBOa5SEIPjVccj+kQAkjUu5g+tjfpb8=\r\n=R/Dq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"badmintonkid","email":"cm.jasonyoung@gmail.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.67.5_1662476090329_0.04408021861025957"},"_hasShrinkwrap":false},"1.69.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.69.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.69.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"4a87e2722771191c7f65df10ddffce7a20d5e276","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.69.0-sandbox.0","_nodeVersion":"14.19.3","_npmVersion":"lerna/3.22.1/node@v14.19.3+x64 (linux)","dist":{"integrity":"sha512-gmC4vJWk3ZD2jujPigz42Y4Jf2q/UxaqxG4Zp5abCpeeeOV29FI3fC/VnNT4jALVox3u+fFzp6xv+dXs+dPsdg==","shasum":"9532713657ef252f21f7bfbea06eb3f9833d44c8","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.69.0-sandbox.0.tgz","fileCount":4,"unpackedSize":58165,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRQxFG9ZIMsvWrIspcI61allgAkd7NdC7zfDFLhG2fmAiAIOzRphgDXZWdy23XiJcsLv7Pp8Y+qMHJIMmw7hTVevA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPx4ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqroA//WBMLObDkNTW948kfoBoEdXpUSN/hs8CGvtdqOEUVfEPspvlg\r\nxcr1afhXbCduKKmahvI4HyDSzT8ki1LxJnbyd18QEDEANz/ODzNblwyUX9Cu\r\neq2oJiLBmJMhYn9U0XdiHdi5luHY2LOechajHzqmekA8ntDSnISKUYhgZa+F\r\nFLIO7LvHxjGU1Q2tbGYPOIyjLr8+h1TdrjxAmA884GW/9oGkt827WlN3CEwn\r\n6yfc0kmTSy+P0v0i8FMuYvQchaR0SVPLMbnx/k7knRaCShtZebYZ12+/lLmz\r\n9CJnOr2123+/0zRFOvj9f+YWc4PvdjudUjXURfD5G05GAuVnpGRFBA0Tkq8V\r\nQzaWW66UymhU4fFbFIIqpdzWd/Q77HzyjyXC7RfIqD3EMKfGt+n23Gn+lK+n\r\nmV6f56Ume6lZRFvstxKCQWG9nedM7ooSTvt0Rm/pQNMgz7+CqbcuWvZs5VOj\r\nNOt1hUU4hj8VnPbq7+GvZoRICiwUxaU3J4jfcLuIKssJALdVdTQVbnTmewsG\r\n42Sb1x5w34WXpGDcV4LYme6HaZ30ftN1PhXcHyE+b/bJ7hXwrXy/cfEQpfH6\r\n9oGRi3X/uFibkpOyOonLonnUSApNzkQpr3yiTBVNxCFmCXJDrZTPEUxrZviF\r\nsCq3/CLwKeAb0FsdMTE7tlORdHsPpbqtpfs=\r\n=FEeX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.69.0-sandbox.0_1665080857158_0.13965686915521602"},"_hasShrinkwrap":false},"1.69.0":{"name":"@arc-publishing/sdk-swg","version":"1.69.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.69.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"6b59dc9bfed9fe384dcab8e3ee3069e504dd7feb","_id":"@arc-publishing/sdk-swg@1.69.0","_nodeVersion":"14.19.3","_npmVersion":"lerna/3.22.1/node@v14.19.3+x64 (linux)","dist":{"integrity":"sha512-7dlA8Tvpr6y39XrLOCmjpoHOvqDWQk/wX9voqUel9ybh7LpkWCo90UIvUM+8wufrIo4ZXz/Kf6rWKVcyCxD0lA==","shasum":"dfa1306a28fb8793856771cd27032026d6a2f022","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.69.0.tgz","fileCount":4,"unpackedSize":58144,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCE4sJiVYlyB8Xk8DMhB+GQeSio+t90fO9VYJhWKFRIAiEA5JskXRiyCJNjydqzpmOqr1m9gsQSMyIhhjCo8leVJ5E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRt4CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVMg/+IyRIANUIW3krFpTkDYM5j0W5x+VB1DG1tb7NzxZ3Kg4KzRka\r\nEyAEUsAc+Jcmo9gWqyIvDDB/KNc+eWVfZuoGu5B3XaWvzBTPPNNBrv7pj6hu\r\nYhJX10yaItARWz0N+RoK7gA2K2DnraLJ7bwe6B2s3rcDOQLsO2YfpE4p9ZtA\r\niONDK8DQOf27GqPgru4Pz9vY8WLGuB0MroGVg4pnPlOjZhtlrB53XQSih7iN\r\nL99AunD7gntln/uoCUzxAh5VKwh50rTqKunBTxCi/xoBos/HfwoXYIIlOquU\r\nw58pxSMHNBJyGsqWvUdz4HT6tF5sZfP1iwvjTcRdWsueS4HYtRMWdazcGpmp\r\nm5soJx6u/Ii/Vv4moQmkOJRFjECPRInLPbp1Nv5ppvsmq5T8DR+Hdd0yQKjv\r\n6dLsL4KXLYyOJwvlcQjfwegtNhHX/Nhn+Lz4wcBhH9DMGHoVYLz+gFRAKo/Z\r\nrOu8s2D1oZr5FZiVzkccGX3aceDti3nQ986MofnSDycvol93y2w86vg8JlsT\r\nPsSKScL10iHwUQqoRI1SQqLkBYo5g4eP22UShtQOrU+5YPcb8atuS2woNR/l\r\nQzU59rYYmgVMSZZfeMDo0jzSFRKClHaUSXLocQhGZt9YNAwWVsevLzMdUZ6K\r\nuU//ReV8DRGqFcIeVoFBiE0+qW38e/mPveQ=\r\n=70sJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.69.0_1665588738073_0.26366384641684637"},"_hasShrinkwrap":false},"1.70.0-develop.0":{"name":"@arc-publishing/sdk-swg","version":"1.70.0-develop.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.70.0-develop.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"43294f9b48916ce14ec5c50d7cfc10e9dc8b6119","_id":"@arc-publishing/sdk-swg@1.70.0-develop.0","_nodeVersion":"14.19.3","_npmVersion":"lerna/3.22.1/node@v14.19.3+x64 (linux)","dist":{"integrity":"sha512-os7fpHARc1CIn8lNWHSHhfJbSc6QempvGgW/W4Lv84azQ6IqanWtJPKGSQkBTvnPWVuzjpwKNwaeUC1I79Pydw==","shasum":"75f1edaac322a7eefa1a6eb0cd9d38c3ee09f08c","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.70.0-develop.0.tgz","fileCount":4,"unpackedSize":58288,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH7aeCd+PpvORZexjsIogfKCtpckQYNvanR0ZWhQq3b8AiEA0sJTWsH1uDbFAYIoviW55Rj3GI4RK9fUyymzheaEwFs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbUWaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKSQ/9EggNSqcehGmMUOXytC7xcgnNo0RU7Q6qVXBfwvkpwr5vU5Cr\r\nzYyp/bG5voZo0f3F0yUumRxQsog3gIrxdhUFsXhhj7fQA7vuNjTae0KIryPc\r\nlYoxbFvZuCV45RivaUKmj1XpgTyzWi9O1oqjpDZ6phERl9GxU7XAVQlI/SqG\r\nrrIIKYEHEcqE8yRojoWPU9J/7XmZ8u6IT272eJaR2IHk/prn+xmJAmHE6wn2\r\n/RKZdzIUaipRMCAxabBTNG8w8xCV2z6qqwKyINVtgqqwixBCcXOuWaBD/nvD\r\nWbcdnVUD5OgLHv3ZNSEVbpDUzEh7jT7Oe0s4UoVEUdmMHTQTgRRSq0UcjCOd\r\nUv0T/jABTYKcTjz9jgla23VINFNaE5AWnUiGTZw5Z6BoM4WuEValNKrzu6tV\r\n6hEnvdstt0AUqiINEp49e6Y0QRHfCGEL73ysZxR/S2YX2Sl1TAL8fmBcvSJR\r\nQP6H/lYt1pXphVFOwa8OzRuV05DoYtQJoYJ/0J3oguK3p6HVSbRljY3z64KF\r\nBDTF9B0ua2TOUxjcyvE00zTGqpEIGsMbW0ZTapSuokgKUQaNjhQEVK9CsPr9\r\nGLzedJHCZMCVg+ZK7veChaBm7TGvyKZ67niOE8qywnmq8toGC0gR4/cNCUs7\r\nlofoFjhE3VIBE9Sd5yZ0H1jOhmZKCDPXyQY=\r\n=YB4V\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.70.0-develop.0_1668105626230_0.46161340334954626"},"_hasShrinkwrap":false},"1.70.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.70.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.69.0-develop.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"8af751f58fef5beab1703bdb593db58ec8dd7036","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.70.0-sandbox.0","_nodeVersion":"14.19.3","_npmVersion":"lerna/3.22.1/node@v14.19.3+x64 (linux)","dist":{"integrity":"sha512-4gmr7xNg1cRFWyC3JGXo9tKUGmTGxmw/IWHQl3F/3xxzPo/Ko8OIAqeMwVDlOW4TesjgirxnOaWPBYmVwTv/bQ==","shasum":"b188170e14a3d53c903bf8f0ba1cdf3986b5d295","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.70.0-sandbox.0.tgz","fileCount":4,"unpackedSize":58334,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI4S52tQEAOfdyt49DV6Zv26Gn42Jm8mTNXYvKkDA/PwIgBogdmI0yvgPSAJNzqd5Hj5PB1GAlD9IUaMUgrWURiG8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjd6cqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrC3Q//SCGKu6zKHdgT520puV1doD5Z/yWzr7F+5nTBH9WACjvbwi2+\r\n4umMSPk/9Xjoaipcg9SUqjHnXL5GSy0vFZ71nilr33yiW7dl1gRd9jsiF1S9\r\na1AVnN0hkhxHJcJdGhzNHFL7hpjKvG0fII54WKw1KJaE3s4KJlWQOHQQviZu\r\n2SXUzBEZn9zSH+S33ebYnIP+0EXY237Z8Idi3zaJEoKlN/NdDZB8PNJn4ngp\r\n94mMHEEWhls9qXLCtUy2SsVUMmVjP+u82zapO7lXDI5lYtoOCjH8tX/PxtiO\r\nVvBzP4/kFy1SZs19GN+3DX/uduALEX8PBpecofS/Hbyz+WVTXdXa7DnpQ0PC\r\nd7jPyXrFQxo+zluXZpviWyuwAp1kJPeM7G2eQCTb6R3DNMF7Cbv2CksgupX/\r\nsISMjnEXIAL+95FODoGKFsUNpEysG+ZWuIw7AhJKgdL8qxCVBlYni96Mf0np\r\ncKXCg7SODWxXwiFKI7myXlVo/xX19sUqb2w4K2OWfKdguEmkEmUSrWO2JTog\r\nMSA4DCm5N+Thqrm8njhNBeKE9dNn5c7DcjBVctCl6lF7u6SDdPCiKyBxfzpu\r\nbZWCKTXldxA9hpj6mPcbF6t2LOGyHd+MwN1q+dkBSdi0Jg/MXBUVgGkLTwuf\r\nxRziUraDCilWFWhVKeRl3atYKeY2hkf6LzU=\r\n=sm3s\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.70.0-sandbox.0_1668785962011_0.01554374238989542"},"_hasShrinkwrap":false},"1.70.0":{"name":"@arc-publishing/sdk-swg","version":"1.70.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.69.0-develop.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"1e079bcd3794031edf8b170bb47f5e66c95430cb","_id":"@arc-publishing/sdk-swg@1.70.0","_nodeVersion":"14.19.3","_npmVersion":"lerna/3.22.1/node@v14.19.3+x64 (linux)","dist":{"integrity":"sha512-dw0a0rYvh3cxf7jv4h00EQjWjqFRy/1hm2Nk/EZ4gCBfjrgR0E+Ah4sfqrwd9ghBP5uM7kf6juXBu6jZmWoDgg==","shasum":"a8e1bd8be323cb0c13f8486af25a11367c3c21d7","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.70.0.tgz","fileCount":4,"unpackedSize":58362,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaylgoT3LJ7dGel3QT3qHh9+8yxpwdi+MDxtoQ6Gm2DAIgJBMHLNOHLRY6pZSWA1GF13CtuCHrKzJAkJa2PNgqz34="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhpEnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4lBAAnh77Pr+69J2M95haIdLprby8vWp72nRaMVFa5ENoFOkJSn2L\r\nmRcYMVtpgcEkSZIagh1BGhf6z8IJE833FzQjRPnTVldH2Ns0rlu+ed36sPUT\r\nJvStwUMIHixlIoj3XIP9eB64qngFPRJQhIludiLUxS6Nj0XJ/aF1J+bzUMWL\r\nAvxRCgMZX6J9vBHiXyDrHpY/zBsa0Sx2ZgRzSNJ+8Y+uM955qmMHaKKqS9m/\r\n6YzvHuaLX/2acGD/Ri5Se9/DMp1pKGSMqm72Zy8H6ofobBQe1O0tCy9REmOE\r\nrCbth7xaF6QsVvwmZgvwX/BJ3QuSMllyw4p7Nf1ZpDZwCtRv7wNbVvZIi4nW\r\nwuyKBi262IEw73A7rLxqFMBG+14TCIdT727QZvKTsHkbrw0hhTOStNAh5uaL\r\nLm+8b/65luROPPUQLM1D/Vyp3K0TaYMCA5RFpzVOeg6YvACWMEkAg+ZQG8uy\r\npKIT+wTWAQhfpBxcW0QHg1ncA/DZjARbTpYMi8tMhaj+OzB47fw7C8TzSSFq\r\nQ5FRzaHANcK3UKplPZwat5PvemRZkzmxfL4gAnvZKeF4gu7cWpLSSDjvXZYI\r\nVkpHQkwRBxEVfz4CgheG7TqmbDuplzf3Xbvb3t/6fmK5Cob0vtkvXIi9MJG9\r\n73mNh1pT5OxjCrnzFoYEYMJCmOLFRCerd04=\r\n=BtCv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.70.0_1669763366851_0.22484747502808844"},"_hasShrinkwrap":false},"1.71.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.71.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.71.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"60bd54c654345b96426876d07e6ff4afede8fc4c","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.71.0-sandbox.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-HLe8QX3U9QzuhDYMGObwHoFQiyO/XZh7p+NpDSAD5GmHclxzjo0TLbY40pxxlTTkJe8L7y7Z/wo6hXChQ7t1lw==","shasum":"bd23231fb5f56e657c43489634d93e2096f1d7e7","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.71.0-sandbox.0.tgz","fileCount":4,"unpackedSize":58372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIARltAqd38nT403FtAvhA9nlegXtLMms6YLl1H48VeeGAiAeSNzziZGA8Fycl2U9KxLfp2/lMIQKmyYrywQmncqtrQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwDunACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJrhAAo0cCcaptzwQ36xpNlqnc8F9Ack2hybFiSsLmnNNBo096B+1l\r\ncZqoaSUtqhv6A422lkTj2slByF1idKqm/XNrbduO5UlcXMswo1E+P87CifAt\r\ngK9tRKwRE13cRMiNrcU1x6+dutEN2ge2c37f8v3jFT9Dv2CNSfEoxbBVdg1j\r\n2SCf0L58vLMOguTUPDnZg0mG26x9R27UspTCojJnftqreswqvDrx+fLyUWBK\r\ndCt+xMmlgXTutdlQAnn37E8f3GZZdUAH4r4wjAvpGaXssf+Ps/cv4NKUU3dV\r\njsooFwkzjaV7KfnOd08M56KBjBk5vjDl7uhfzDyu0pmiph43GZ8DTsDp2kKg\r\nDOMrRHXqgwHKO3XOGxxsPqglJr8C73ChrDi5bbuixbvvxZoA+Qc2TzyD1HKT\r\n6EairDj5jdtuBcXr8BUlr7nbV1dUsAXAyb42gpP93OkF5mk+WKlQ81KCxkUT\r\npUaWAD9YA32zhUzbJqTA9a63q77q4yVB7Tkt1kUkI5hy16iu4S2gAQA8RTZX\r\n2q+zDwO7WEMy6YqyC2DeA2PcmUojT0a2dLhTGsT75frD8GYOE/RouBoE3Qsh\r\ng5C6tLYer3F4xBE1+sylHZdotk8JFAvoecxQJWXSE1gCvD2uniVcRKjWBpS6\r\n0H3rgujCabfUG44gtFbLlnVsmYWTnh6hotQ=\r\n=cxgV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.71.0-sandbox.0_1673542567246_0.7647166914312753"},"_hasShrinkwrap":false},"1.71.0":{"name":"@arc-publishing/sdk-swg","version":"1.71.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.71.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"74340420ceefb8cd21ee4547bd4c5d3ae2d25b15","_id":"@arc-publishing/sdk-swg@1.71.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-6K+B1gK8Cnh8w8vPgEHe5sPG8zxKNAwo0oonUC5GAfMiETibyfU+fb1BPk4huGMxJXWD639H/qo6HCeXhVYqXQ==","shasum":"636386d6bacb79a75b1fee675e3b9679a2317540","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.71.0.tgz","fileCount":4,"unpackedSize":58352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaRU9CAjCR1etcqYvizEFUJsXVL1H5caUKl8ZJpS/uUAiEA/lJvbl2tgVzG2265VsBQQnwVRZ338HlD5WBkMOolfOE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjySX0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoE+w//WYJQloMdTgp0sUBDuhhEgIH7f1c7SRSLDdpg9FtoHfKPYjpH\r\nlNW2/f14tWUvLzFperKPHWvk6EV0CtUoPyGGgmKqJIm3TEUlmkR/Ess50hn+\r\n9ecN9IBPv7c0hwGNMrPtk97leB0QDFS0YoHtI3mRZEoi6CfAY8x8Vn399Se/\r\nCSGopQ0cEwGlqnZN2wO7XPrhYu9Z6yZ2zfm5LQe3ucKZciwmwABzuYhY5xjb\r\nFjuRj8CDnl3W3mxrV/LjSLfZROHeCun3IQ1qX/f8lPpbpPzMiljc1bQQRMkW\r\nOl+yRJbHMwE/VxPyLIfefrLyJksQKyDLWYxNJL7YjoG8STBkprM33oY/7snL\r\nENqJSYka49kHnbW2lgBdaivixtp2hi4YW/X42DYEfDwbvbdOEepvT238V0Vy\r\nmAzo8C+WrXT1AxVXbnpO4GCSzasDDbYYdX9TlddpOkduKdFM856wDvcSjd0q\r\n2mp/VtdaQLI3vrd5ZTF+UQwPDhdJNbMlm9ZpmGfXp3Aef+hF/9d7oQ7ZUBFb\r\n38dTxxaoI4ivF6kBD1izkLooI6cW/LObChu35jOr73atS/unaUgU7YuYkcf+\r\nNFJuQu009QkzjvucEw04py29jG3YotQNrKMf0BDTnFuMFDm34S8YT0NPBxnY\r\nK0ca98bDO1DGuT4gclTiH9vePXQNpIJJge4=\r\n=BXs4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.71.0_1674126836031_0.27557338439237156"},"_hasShrinkwrap":false},"1.74.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.74.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.74.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"ff1e435289ac51f762058a83667254aa1d67f02e","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.74.0-sandbox.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-wpZnuxLz7H+z6rYiBypQ6/xJ2iKIvcNev+aLhnItJEPLzFQSh62r825gj/qmOOo5UdT7tnJMyQr26EZHBXt3rQ==","shasum":"2dd4c8b5083185d3b1c17a9b0e55cb500705daa3","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.74.0-sandbox.0.tgz","fileCount":4,"unpackedSize":58372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8gcpkU74bd8/6zlwrJV3qrvb/dj44DHTgbV3acQ0CtAiEAloaqWtvjB3LmAXdXIdFpBh/oxQwoHnEiDonlWREZ/qY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj99qJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYVw//ZeoPT+1kCBPEVCosTItD/jFPUE583VVRvW2LQVtM64ygF6Xm\r\n2ucPpyNgCgz/9wXEuh3ED89s2uQYpXTInVZ+6qYEM9NWSeXex4DIRxZtls4Q\r\nI4i82XryaxVXBZrV94OEG1aHDEtJ984s2xt4eNl2/1a0+4fOhKZH/wz82wyb\r\n7MqvKMWMGU/aZDGnssU5aeMxdoCFp700D/NAAPy/NBWz6rtpQ7of+CHlrVQa\r\nmSquibWUuKFue+ZMHBUkjtDBWIV95sVG+/sq80O/QJ0XCWJ4thFFGh4eVc5B\r\nm00x3iy+4mLj5LQ/siJfMTZpLjnLniUF2u2253u3Q2iplGH/quyrULvnmiUw\r\npf9U+wHpRRnCbf6grT7ZEus1J9hhMu8vvp8RFcchh7ScVQ3cMV9sTju8e6UG\r\nIo3TbtHIWcAvwmFxG38o6jjWo4IVuUIOX9GkOlYQtUZhWR6vVQetERMP6RO4\r\nR6DvuwhyUer8H9SmdgVTUvTH8RvBwrlm7Mc/Nwixvrj5WFL/VbKBun1uiBh0\r\n9JauHcFNdQ/JCxv3I861S+wUOnhpQBG7Y6LTc7oB59HYL80wYiGA53PvAfIz\r\np/dihXqkosCJACiGToedZCNKGos3trW7LSXOvh/QRDdAq0fTjxh6O6ehFTme\r\nDY0lIergnjrc4JDoGBgckAI7wY6NDPgSPTM=\r\n=+QqC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.74.0-sandbox.0_1677187721774_0.6410619140031355"},"_hasShrinkwrap":false},"1.74.0":{"name":"@arc-publishing/sdk-swg","version":"1.74.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.74.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"40661913667d59c93c1f9dde812442651a204b4e","_id":"@arc-publishing/sdk-swg@1.74.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-q4+CTMrnuzTgbS1cfh+jjEVSNFTUw+2VYTL1XI1l7G2BSrAYCUaQEelv0aJ+XO69OV4OiuKl21zbmtff4PCM4Q==","shasum":"dab57a30db39998c4bdca5fae576a8021d109876","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.74.0.tgz","fileCount":4,"unpackedSize":58352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv0UAOv6L7HfFJr7AwDcZM6R+EJjOt7HKVHVAGMbMqBwIgAOOyv1Ayhcdv4Ejo/Ah+BCASJjppMdzPqQgLhcW9zkw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAK2JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSXBAAnSNuDv1/QeEk7kk0tyYxQ+6Y29aC3nWMbtkMx3DnF/Xb1LFt\r\nERSgTKCySGMK9dVmEltNfkqV0rpqL66Q2iMgzv/fI4tN6nFeA7oxyCM1kKdN\r\n54WJQXXgDjfI6YRXBBBdgcwAwnjUuAvXw7PAtZa3GjCvbVZxXK0OjeS2mOCP\r\n5FzuaVcP/icEJP7xdbhNdFCJeGu7STu9wiG1LafTIkAbvwLI4Hpo7SrfHAco\r\nvgTK2+ksx4F+Fh9CQRybgbNDOhzWoPiGvuXB+yOAtgKPHhj9gk7pz7c6GGxJ\r\noLGmvU/IMn5EyjiV+KoUIwlTroRc4XZTHDUnPLyIgczbn56gFlNuOVJbIYWN\r\nGF9PYKzJjyTdEQXE8z55xhh7286le42Sldz7meOxaC06iG16tW4gzAa2n6DX\r\nGiSc0OBZSLKQrliG9aEETd6rjul9fLE8dYvr0cInAIpYWBsJDQ8vBBG9HZvf\r\nLjnKfg3mDlKp2pQwk3d/LplF3uXKL2yGvRqbuPHUcZtr5HxiPzItsrJGKSIH\r\nN4PArcbBouq/H/PRbP1P2jHWiyX/MURecdQithbTItOP0yA6mVX0/2MINgQF\r\nbeYndvynjz5SJwdMLiarICgCULi6ENQb2pWXG8MlGvQdf/mRHqH9lUVDSv+G\r\n+lXCFuGvYulICo/HCZ/DUi8YblUYZjCUDlk=\r\n=wnV7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.74.0_1677766025541_0.4638593522860015"},"_hasShrinkwrap":false},"1.75.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.75.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.75.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"6833d6b599752f4c65f3c512330e1663e5534a4b","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.75.0-sandbox.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-35rVjP6mWfw3zLK+8MHph8P9/INgeRR064vgEubs4jpEFlzWW5BHtesQQ/6n+BxMgMCtKIYnbCTIA3/EasSuPw==","shasum":"40af7e309254de5d0af29feedb37787f72183bf9","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.75.0-sandbox.0.tgz","fileCount":4,"unpackedSize":58372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtivQMqBT/Blm/Kv1Eh9yakL19f93QgxLj41ExGm7RgAiA7pGdS+we3Dy6l/fCeWDukczfAJErDTt79dWbXVMJSTQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGHWEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmooXxAAme6RQukv6peBB0ZyHlL8ey3mslyqjnsjYRp4WvWMKDMHIKSL\r\nPA2CUYuPaiGpyaXuBXWXuVtum4lxQbxUTo34lQPdDpuncNcvtqbWqkcnHIQ9\r\n0Gtrk3A4EjzUKUEN7uNOsD+pvYXBEXiTFjZBQ+zdT3jjU9Phz037xKXxN0gT\r\n6MHnUqxTaNrJyVIM+2Dmcluh8wci1M/G/TNMKEXIUF/pjhzGXyL+N+yGrnGd\r\naJAfnIdSo4xMW8m76okGLE006MMQHwfa4QF3Nptaa/Aa8wFPWfpjObYxOkWq\r\nFUk7Dt1X00gngjzN2Li+ixy6v88zSDlIqf3Sh0Sw+Z0Gi3iaI/UpMZyOBwDu\r\nGK7YrxOzZtwQkOPuvAdIeXl2Y6+z43afPzlPN3puygCV0lUCkiweH7AIDNKv\r\nA2vk07OsNTz3eiShrslImFxM4nDYBy9yvqMN39wYaoaAnwdEuB5rCrCqfpk7\r\nDiEKsHGWU035YRwosjkWStLJYEifg2RDI5EvMfKXpMRb9Km+rhe7lwRFaWMn\r\n5PupF9QHIpYLshCAbfnE8vRJkdj/rsdHtCdGFmUgT/qQ0GRMtendPb5LW97y\r\nUwQKttm1hwC3n/VhpVSArFIT1r9sN48bzp1EpQylONXm7f/T9WquUXWWqMSX\r\nu/qkpFSu83kNicRRPTk/QI53p/Sv1Y9H/Zw=\r\n=VRG4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.75.0-sandbox.0_1679324548329_0.47015603215230484"},"_hasShrinkwrap":false},"1.75.0-sandbox.2":{"name":"@arc-publishing/sdk-swg","version":"1.75.0-sandbox.2","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.75.0-sandbox.2","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"34b50af88c3a84f28f6fa96138f4d930a03cc574","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.75.0-sandbox.2","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-YmdZzV5TzuRuOtM/xaBfr86MkQ56vCvIL45ZAxJOD6ZLcpDQth/+3rZbkcOoDN4LREQa01gSu6hHQCyAxQNtkA==","shasum":"b7605eda9560f443b53d3af6ef1ac2ad1f3d78a1","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.75.0-sandbox.2.tgz","fileCount":4,"unpackedSize":58372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm7Stn1FAvrNZHyH3UB5TaasIqvHwONpWgiERHLpyddgIhAIO9A/Nsl/VKlYBTGErOjTMyBuS+CH4bE1+6OQ2OWL/t"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIzFcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq65w/9HvqZe6WuJMsyudAAoQsToO1kYje32xbDyg7GjGnnlQB5AFrL\r\n5HtpGwX+mRaPmRqkI2jBzBZFMeYyy+2kdoBol+mdXFRo5PnY0KoihxNx1RPA\r\nrD4ZdjmZpMZI1SUUZtm5XXXUErehYCPLacr5/nTHfgQJYekmzR7xZvYg3CPk\r\nTmbjV6dZKBsFtiejvQg1XFmzDvACwp7kUPtqHpy4AsuW3LEMii7TuHSHyU+G\r\nAaGo1EWJW6Ejk10p2p1OrV2P16F7fnC4gVKRmlEyF0JFNiXz+mUxPYCW9qTl\r\nqQJeNYCnqiu5uBBfd7qeRey3C3e5OPkYRdZordv1Eq6UL9jYRiIG28LWGHLy\r\nv2z9dMT+fERwB4jddHP+ppJmC3nebV0Dybi3gmN99+NqpLWlEvcM/Lf6WChh\r\nLlIMihXt3Xshv73ZmZM9vn4nQnoYCDVA68TkX7YETEcJVhCqJOs1ooQtVpLg\r\nEonj9CQSidDUHfm35/gO1kKsp5UuFgUfTutJWaAcxzcfckIi+e3DcyUz7ERl\r\nzCTNyAlUj1kEy3rrIfw4irJ7APMsmucgtJ8/Q0JScB2F0IMDI79wz4u7Irta\r\nNs8LzyeDqwS/aW21FfWB2tgr9Fvsouth0AA51c7q2HhmsInQbg+JgAI9hqE8\r\nKnGDnGrqjyq7wykhVsay+esI3YTRC2ZorYM=\r\n=oSLz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.75.0-sandbox.2_1680027996653_0.38710497918773856"},"_hasShrinkwrap":false},"1.75.0":{"name":"@arc-publishing/sdk-swg","version":"1.75.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.75.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"4a523199bed18d891f7fdc74da7ecb814e7baaf2","_id":"@arc-publishing/sdk-swg@1.75.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-kabXrjUeUM4Dm+ujeyC9qcjgi/tUNelnEF11GxPcmQtmN82cTomPiQ4npSPI10NI5fhhW8qx805ivUgDc89FRg==","shasum":"e9880cd96ba56614a37c240a62607dbfc9b8c364","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.75.0.tgz","fileCount":4,"unpackedSize":58352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCHZdqoK9DP9hTYtShEnjd+C2YP+AIDn6vCXWiv7O1gwIgKYXg3HZRhMnBBqJFdsz7N1GeflEat6z8sVP8LLFCqho="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJY6iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmopmg/5AYX/Oj7uFJQtpZcCVxAy8dLZEkgJTRQb9/18IO0prhGPXH3d\r\n6qQKL2KXIc31C0GBFZo0plmDEoGaaY567esCcglv3+36fZh0qGx+v7JxtLLD\r\nVDA0g1twZxOKYSNUpwaHqAd5y1u69/1CrLtXHP1VGnTwy1KhSkPSefg+pcV5\r\nEae81rABYiC3uoCXS76RCjFLIH7PriRx3RvQ9cdgUV0hCFnPjfs5yd4w2iYc\r\nItkoaP2ZLVcIA6PDYmHm38Ik8Zoaop8lwv9LeacXT4kD4VY1pNZuhAxEgl8+\r\nYCzG3968IxK2BnAXkSmPDRr17+V3PCKH0HzEaypokLAMPpZ2+A146vvZoXof\r\nNFYPYkJDTqOOxi553G5ftI8J+Nn7QdncGOK/F4xxeWMHC6WKR6MyecfEN/rg\r\nfeMZ2X70HyTGxB+ZGVQrbWgc8rPlbulMSYU1gRTIQOJDF9FDH3VcMfOmdvDF\r\nQ5PkhKsUINEJv5Jd9MM37VKP88sdm3phs0B6zumVpS65eaNmI1QE2ymExt6O\r\nGXpHzbYBQA7clCitHMZoFrNYcbanaucAjjr/HA6BoWDQbPXjoan3rYbuHge2\r\n+F+p8lx6j2mpb847lyUV4fdjcSDYO1eTymA62iRFFc+CCZaQzVvuA45xyHb9\r\nTedznvpz1Sm/LGriaaajsdEU0IZkTGfVA8E=\r\n=lv1z\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.75.0_1680182945841_0.19394448433380562"},"_hasShrinkwrap":false},"1.75.0-sandbox.4":{"name":"@arc-publishing/sdk-swg","version":"1.75.0-sandbox.4","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.75.0-sandbox.4","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"8106f36b6501c7d752fd81d6089b1d13e6d40bb2","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.75.0-sandbox.4","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-l2uq5Usj39IPn02xo5tbDCj0avGtL6jSPRqnqaeooDm6WnvfivEcgZ1UOjOxQa3zI3CbVif/sHlWyf2IfNOkxg==","shasum":"4217f1810af6ce01a556a9897f9cfeb1cc345aee","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.75.0-sandbox.4.tgz","fileCount":4,"unpackedSize":58372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8yKrCuS86gmOFnHdGMTizXNl+Y6zxdCuyT3f2dVdQvAiAIydcV11qvTv4ELTi7jUKLVjWD4Ow1VQ41I4wItrHyYQ=="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.75.0-sandbox.4_1683035595799_0.4283888752926768"},"_hasShrinkwrap":false},"1.77.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.77.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.77.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"0c6da5ec618e4b340f136c7a5f8ea710f9c6f6d6","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.77.0-sandbox.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-tUwsfCo+O4zQl6mXBuAvkcgOecw3Z5GyTZKKuMji/98UModQBDq1vO6TD5Ux3hrxKkxjPgDq4FCEgToCu2ofrw==","shasum":"baef405052b2b31fd50dc97acfd86133c474f68b","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.77.0-sandbox.0.tgz","fileCount":4,"unpackedSize":58168,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFWDiSRChyvMTn9p3tJFOWrjrikEYaGtGl11B2Yh2wm/AiA0UalJG7xMG6cnSoqiuetkQI8B9kll/KY7msXf3R9nHA=="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.77.0-sandbox.0_1686843603756_0.8442676064747796"},"_hasShrinkwrap":false},"1.77.0":{"name":"@arc-publishing/sdk-swg","version":"1.77.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.77.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"9df0fdc16748d8e5b338bef5595ce0aead6df33c","_id":"@arc-publishing/sdk-swg@1.77.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-ElOs6zgjjLJm5Or+P8B5/TiyXFY/BVyGsLt3kyKWPTBvPjaqEQVea8zFMZXkoXJBP8+7VIYBod06+AvT56rYsg==","shasum":"0b83e92c2e64e27eab68fdaf10369691b49ee46c","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.77.0.tgz","fileCount":4,"unpackedSize":58148,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3uDPgps5KzSKjX0KH+gFQGH3xV5RyC9G3gAk4RswjQAiEA0atChLVmOpB02qbcscyFK1nspCnbqXsbvV7ivZK9Dbg="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.77.0_1687447263114_0.24054349209598147"},"_hasShrinkwrap":false},"1.79.0-sandbox.0":{"name":"@arc-publishing/sdk-swg","version":"1.79.0-sandbox.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.79.0-sandbox.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"a4537753a97361ddf4fa0096e9a266fc2b5bcbdd","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md","_id":"@arc-publishing/sdk-swg@1.79.0-sandbox.0","_nodeVersion":"14.20.0","_npmVersion":"lerna/3.22.1/node@v14.20.0+x64 (darwin)","dist":{"integrity":"sha512-7ZXk9QSUMmzdvOr5y7U3mf6mUd81zcOCmIWCYZQljRXUnvM/XF5s/et2I9hmRa/RHX68/97Jy/zJrzt1xlQ1Aw==","shasum":"3c7cbc3b191030d2b3e0aaba31ba735b0eab3b39","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.79.0-sandbox.0.tgz","fileCount":4,"unpackedSize":464576,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHkOuGQzHSPI7HbkwAku3S/1LBnbm05g3jGZZn1dxdimAiEAoN4Gwu+ASxsPewo3FwocJ2m5okh4N4CskfiCf+1jHhQ="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.79.0-sandbox.0_1693428957325_0.8581683676834686"},"_hasShrinkwrap":false},"1.79.0":{"name":"@arc-publishing/sdk-swg","version":"1.79.0","description":"SDK for using Subscribe with Google with Arc Subscriptions","private":false,"keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","license":"ISC","main":"lib/index.js","module":"index.js","directories":{"lib":"lib"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"scripts":{"start":"webpack-dev-server --config config/webpack.config.js --watch --display=normal --port 8000","build":"webpack --config config/webpack.config.js","prepare":"npm run build"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.4.4","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.4.5","@types/babel__traverse":"7.18.2","babel-core":"^7.0.0-bridge.0","babel-eslint":"^8.2.6","babel-jest":"^24","babel-loader":"^8.0.0","babel-plugin-dynamic-import-node":"^2.0.0","babel-plugin-rewire":"^1.2.0","clean-webpack-plugin":"^0.1.19","eslint":"^5.2.0","eslint-config-prettier":"^2.9.0","eslint-plugin-jest":"^21.18.0","eslint-plugin-prettier":"^2.6.2","exports-loader":"^0.7.0","html-webpack-inline-source-plugin":"0.0.10","html-webpack-plugin":"^3.2.0","imports-loader":"^0.8.0","jest":"^24","jest-junit":"^6","jsdoc":"^3.6.2","minimist":"^1.2.0","prettier":"^1.14.3","rewire":"^4.0.1","webpack":"^4.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.0.8","webpack-dev-server":"^3.7.2"},"dependencies":{"@arc-publishing/sdk-identity":"^1.79.0","@babel/runtime":"^7.1.5","@babel/runtime-corejs2":"^7.3.1"},"prettier":{"singleQuote":true,"printWidth":100,"tabWidth":2},"gitHead":"735959624ef07fc05cc0456fcd78a6745b24c5b8","_id":"@arc-publishing/sdk-swg@1.79.0","_nodeVersion":"14.20.0","_npmVersion":"lerna/3.22.1/node@v14.20.0+x64 (darwin)","dist":{"integrity":"sha512-nq9k5dYH9hu+YKTd7ycBCpwHo7N6okTvD5HJBfTyP0l0O5LwRzHZhJI0YQSXOoM6nBRB2aAD9x5C4yCwu7W1pQ==","shasum":"e003ab007637c49dbf2b01f56e3bfa43b7011715","tarball":"https://registry.npmjs.org/@arc-publishing/sdk-swg/-/sdk-swg-1.79.0.tgz","fileCount":4,"unpackedSize":464556,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETkuwtrOIfPhqpECMhZuD1YfFiNuNvP6I2gRgBK3G2BAiEA28YfCDw8Cyue8+DuH87MVN9bpjkv7+Pt1qzOXKvyqWo="}]},"_npmUser":{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-swg_1.79.0_1693509594562_0.5650775857432884"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-12T19:18:22.084Z","1.53.0-sandbox.1":"2021-05-12T19:18:22.509Z","modified":"2023-08-31T19:19:55.111Z","1.53.0":"2021-05-19T13:56:46.688Z","1.54.0-sandbox.0":"2021-06-09T16:22:23.064Z","1.54.0":"2021-06-16T18:07:01.761Z","1.55.0-sandbox.0":"2021-07-07T17:55:56.438Z","1.55.0":"2021-07-14T18:00:48.117Z","1.55.0-sandbox.3":"2021-07-22T14:57:26.430Z","1.56.0-sandbox.0":"2021-08-05T07:09:02.522Z","1.56.0":"2021-08-11T14:06:48.694Z","1.56.0-sandbox.4":"2021-08-20T18:10:30.592Z","1.56.4":"2021-08-30T19:20:22.781Z","1.57.0-sandbox.0":"2021-09-01T21:01:10.872Z","1.57.0":"2021-09-08T15:34:01.370Z","1.59.0-sandbox.0":"2021-09-29T15:00:43.418Z","1.59.0":"2021-10-06T16:43:06.267Z","1.59.0-sandbox.5":"2021-10-15T16:32:07.043Z","1.60.0-sandbox.0":"2021-10-27T17:39:35.183Z","1.60.0":"2021-11-03T14:20:03.887Z","1.61.0-sandbox.0":"2021-12-08T18:37:09.046Z","1.61.0":"2021-12-15T16:32:34.222Z","1.62.0-sandbox.0":"2022-01-19T18:05:00.318Z","1.62.0":"2022-01-26T16:29:38.336Z","1.63.0-sandbox.0":"2022-02-09T17:15:01.203Z","1.63.0":"2022-02-16T14:59:33.242Z","1.63.2":"2022-02-16T21:47:33.471Z","1.64.0-sandbox.0":"2022-03-09T18:59:15.012Z","1.64.0":"2022-03-17T13:39:19.445Z","1.65.0-sandbox.0":"2022-04-04T16:32:40.267Z","1.65.0":"2022-04-07T14:07:07.630Z","1.66.0-sandbox.0":"2022-04-27T19:52:30.610Z","1.66.0":"2022-05-04T21:00:06.863Z","1.67.0-sandbox.0":"2022-06-29T20:28:31.472Z","1.67.0":"2022-07-06T18:03:32.412Z","1.67.0-sandbox.3":"2022-08-29T21:45:15.643Z","1.67.5":"2022-09-06T14:54:50.524Z","1.69.0-sandbox.0":"2022-10-06T18:27:37.385Z","1.69.0":"2022-10-12T15:32:18.390Z","1.70.0-develop.0":"2022-11-10T18:40:26.456Z","1.70.0-sandbox.0":"2022-11-18T15:39:22.186Z","1.70.0":"2022-11-29T23:09:27.045Z","1.71.0-sandbox.0":"2023-01-12T16:56:07.387Z","1.71.0":"2023-01-19T11:13:56.224Z","1.74.0-sandbox.0":"2023-02-23T21:28:41.962Z","1.74.0":"2023-03-02T14:07:05.720Z","1.75.0-sandbox.0":"2023-03-20T15:02:28.490Z","1.75.0-sandbox.2":"2023-03-28T18:26:36.815Z","1.75.0":"2023-03-30T13:29:06.042Z","1.75.0-sandbox.4":"2023-05-02T13:53:15.898Z","1.77.0-sandbox.0":"2023-06-15T15:40:04.019Z","1.77.0":"2023-06-22T15:21:03.279Z","1.79.0-sandbox.0":"2023-08-30T20:55:57.526Z","1.79.0":"2023-08-31T19:19:54.800Z"},"maintainers":[{"name":"maddoxnelson","email":"maddoxnelson@gmail.com"},{"name":"design1online","email":"jadendreamer13@gmail.com"},{"name":"juliebacon","email":"julie.bacon@washpost.com"},{"name":"amyerz","email":"amyerz@gmail.com"},{"name":"raclar","email":"rachelpost@yahoo.com"},{"name":"arcsubs","email":"merwan.rodriguez@washpost.com"},{"name":"robin.giannattasio","email":"robin.giannattasio@washpost.com"},{"name":"chenghsinw","email":"cheng-hsin.weng@washpost.com"},{"name":"mattkimwp","email":"matthew.kim@washpost.com"},{"name":"styonsk","email":"styonsk@gmail.com"}],"description":"SDK for using Subscribe with Google with Arc Subscriptions","homepage":"https://github.com/WPMedia/arc-subs-ui/tree/master/packages/sdk-swg#readme","keywords":["arc","washingtonpost","arcpublishing","arc publishing","sdk","swg","subscribe with google","arc subscriptions"],"repository":{"type":"git","url":"git+https://github.com/WPMedia/arc-subs-ui.git"},"author":{"name":"mattkim93","email":"matthew.kim@washpost.com"},"bugs":{"url":"https://github.com/WPMedia/arc-subs-ui/issues"},"license":"ISC","readme":"# `@arc-publishing/sdk-swg`\n\nThe Arc SwG SDK is an out of the box SDK to integrate Subscribe with Google with your Front End article/paywall, checkout and login pages.\n\nThis SDK is responsible for the following:\n\n- initializes SwG.js when a visitor loads the page\n- handles various Subscribe with Google flows:\n  - Syncing entitlements between Arc and Google & vice versa on article reads and on login\n  - Handle purchase responses from Google’s web Subscribe with Google flows to sync Subscribe with Google purchases with Arc\n- provides callbacks for your application to use to: - handle syncing on login - linking an Arc purchase of a SwG enabled product with SwG - pass to Arc Paywall to check Google entitlements for paywalling purposes\n\n## Pre-requisites\n\n- Article pages are annotated with SwG JSON-LD annotations\n- swg.js is loaded on the page\n\n```html\n<script\n  async\n  subscriptions-control=\"manual\"\n  src=\"https://news.google.com/swg/js/v1/swg.js\"\n></script>\n```\n\n- Google's Auth2 SDK is loaded on the page\n\n```html\n<script>\n  window.ongoogleload = function() {\n    window.gapi.load('auth2');\n  };\n</script>\n<script src=\"https://apis.google.com/js/platform.js\" onload=\"window.ongoogleload()\"></script>\n```\n\n- Arc Identity and Sales SDKs are installed in your application and used for auth and checkout.\n\n## Usage\n\n```javascript\nimport initSwg from '@arc-publishing/sdk-swg/lib';\ninitSwg({\n  Identity, // required: fully initialized Arc Identity SDK\n  Sales, // required: fully initialized Arc Sales SDK\n  googleAuth, // required: fully initialized Google Auth2 SDK\n  swgSku, // required: swg sku, in this format: \"{site}:{sku}\", i.e. \"example.com:premium\"\n  onSwgPaymentSuccess, // required: callback function for when a user successfully checks out from Subscribe with Google dialogs. Usually used to reroute the user to the homepage, or the\n  onLoginRequest, // required: callback function for when a user clicks \"already subscribed\" on SwG checkout screens. This should direct the user to the login screen on your site.\n  customOnRejectConsent, // optional: custom handler for user rejecting consent\n  customEntitlementsHandler, // optional: custom handler for comparing swg entitlement to user entitlements which should take care of any necessary logging in, linking or creating new accounts to ensure user is allowed access if the entitlement exists.\n  customSwgPaymentHandler, // optional: custom handler for ensuring Arc and google are aware of swg subscription purchases\n  customLoginHandler, // optional: custom handler for linking Arc subscriptions to SwG or vice versa when a user logs in.\n  customIsSwgEntitledCheck, // optional: custom handler for checking whether or not a logged in user has a SwG entitlement.\n  customLinkToSwgHandler //optional: custom handler for linking an Arc purchase of a SwG enabled product to a user's Google account\n}).then(\n  ({\n    swg, // swg subscriptions object. see: https://github.com/subscriptions-project/swg-js/blob/master/docs/core-apis.md\n    entitlementsHandler, // returns either the default SwG entitlements handler, or your custom entitlements handler\n    isSwgEntitledCheck, // returns either the default isSwgEntitledCheck, or your custom check. This should be passed to ArcP.run() as an option for checking whether or not a logged in user has a SwG entitlement.\n    loginHandler, // returns either the default loginHandler, or your custom login handler. This is used to link Arc subscriptions to SwG or vice versa when a user logs in.\n    linkToSwgHandler // returns either the default linkToSwgHandler, or your custom linkToSwgHandler. This is used to link an Arc purchase of a SwG enabled product to a user's Google account\n  }) => {\n    // render your application\n  }\n);\n```\n","readmeFilename":"README.md"}