{"_id":"@nomadreservations/ngx-stripe","_rev":"53-8d86401263e02da72b64e5c6425e3f40","name":"@nomadreservations/ngx-stripe","description":"@angular wrapper for StripeJS","dist-tags":{"rc":"1.0.0-rc.1","latest":"1.2.3","beta":"1.2.0-beta.6"},"versions":{"1.0.0-rc.0":{"name":"@nomadreservations/ngx-stripe","version":"1.0.0-rc.0","description":"@angular wrapper for StripeJS","main":"./bundles/ngx-stripe.umd.js","module":"./esm5/ngx-stripe.js","es2015":"./esm2015/ngx-stripe.js","scripts":{"clean:dist":"rimraf dist","build":"npm run clean:dist && node build.js","build:watch":"nodemon -e js,ts,json,html,scss --ignore dist --ignore documentation --ignore demo --ignore build -x npm run build","build:release":"npm-run-all -s doctoc build compodoc","publish:dev":"yalc publish ./dist","build:dev":"run-s build publish:dev","build:watch:dev":"nodemon -e js,ts,json,html,scss --ignore dist --ignore documentation --ignore demo --ignore build -x run-s build:dev","test":"karma start","pack-and-build":"npm-run-all -s build pack-lib","pack:watch":"nodemon -e js,ts,json --ignore dist --ignore documentation --ignore demo --ignore build -x npm run pack-and-build","pack-lib":"npm pack ./dist","publish-lib":"npm publish ./dist --registry=https://registry.npmjs.org/","publish-lib:next":"npm publish --tag next ./dist --registry=https://registry.npmjs.org/","commit":"git cz -a","release":"release-it","release:major":"npm run release -- major -n","release:minor":"npm run release -- minor -n","release:patch":"npm run release -- patch -n","compodoc":"compodoc -p tsconfig.json","compodoc:serve":"compodoc -p tsconfig.json -sw","compodoc:watch":"compodoc -p tsconfig.json -w","docs":"npm-run-all -s compodoc:serve","docs:watch":"npm-run-all -p compodoc:serve compodoc:watch","docs:publish":"bash deploy-docs.sh","doctoc":"doctoc README.md --maxlevel 3","watch":"npm-run-all -p build:watch docs","postversion":"git push && git push --tags","demo":"npm-run-all -s demo:install demo:serve","demo:watch":"cd demo && npm run start","demo:serve":"run-p demo:watch","demo:install":"cd demo && yarn install","demo:aot:yalc":"run-s demo:yalc && cd demo && ng build --prod","demo:watch:aot:yalc":"nodemon -e ts -w src -w demo -w public_api.ts -x run-s demo:aot:yalc","demo:watch:yalc":"nodemon -e ts,scss,html -w src -w public_api.ts -d 1 -x run-s demo:yalc","demo:yalc":"run-s build && yalc publish dist && cd demo && yalc link @nomadreservations/ngx-stripe"},"typings":"./ngx-stripe.d.ts","author":"","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":">= 5.0.0","@angular/core":">= 5.0.0"},"devDependencies":{"@angular/animations":"5.2.0","@angular/common":"5.2.0","@angular/compiler":"5.2.0","@angular/compiler-cli":"5.2.0","@angular/core":"5.2.0","@angular/platform-browser":"5.2.0","@angular/platform-browser-dynamic":"5.2.0","@angular/platform-server":"5.2.0","@compodoc/compodoc":"1.0.5","@types/jasmine":"2.8.4","@types/node":"9.3.0","angular2-inline-template-style":"^1.3.0","chalk":"2.3.0","codelyzer":"4.0.2","core-js":"2.5.3","cpx":"^1.5.0","cz-conventional-changelog":"^2.1.0","doctoc":"^1.3.0","jasmine-core":"2.8.0","karma":"2.0.0","karma-chrome-launcher":"2.2.0","karma-jasmine":"1.1.1","karma-sourcemap-loader":"0.3.7","karma-spec-reporter":"0.0.32","karma-webpack":"2.0.9","npm-run-all":"^4.1.2","reflect-metadata":"0.1.12","release-it":"^5.2.0","replace":"^0.3.0","rimraf":"^2.6.2","rollup":"0.54.1","rollup-globals-regex":"^0.0.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-json":"^2.3.0","rollup-plugin-license":"^0.5.0","rollup-plugin-local-resolve":"^1.0.7","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-sourcemaps":"^0.4.2","rxjs":"5.5.6","shelljs":"0.8.0","sorcery":"0.10.0","source-map-loader":"0.2.3","ts-loader":"3.2.0","tslint":"5.9.1","typescript":"~2.5.3","uglify-js":"3.3.7","webpack":"3.10.0","yalc":"^1.0.0-pre.16","yargs":"10.1.1","zone.js":"0.8.20"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_id":"@nomadreservations/ngx-stripe@1.0.0-rc.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-ZhsEZN29SFeMcjqNRIwQfJlTfcVPxZNDIzvR8hYANJBLXbfbv6w+Je5ZFim+H6HMAQAZq4B9wui/NwWkRcslxA==","shasum":"bce51e247f30b6d0e844ccfdea8386e667193f0c","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.0.0-rc.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKBmbIIaGhiuO3g0ypp34rhZ4PAVJnXMgsLTWe/bL/lgIgb/vW8FMxuOQKyXzcjWqL0BrGICa+rP7EnlhZSNCulyE="}]},"maintainers":[{"name":"paulryan","email":"paul@campgroundbooking.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe-1.0.0-rc.0.tgz_1516303225164_0.0587421681266278"},"directories":{}},"1.0.0-rc.1":{"name":"@nomadreservations/ngx-stripe","version":"1.0.0-rc.1","description":"@angular wrapper for StripeJS","main":"./bundles/ngx-stripe.umd.js","module":"./esm5/ngx-stripe.js","es2015":"./esm2015/ngx-stripe.js","scripts":{"clean:dist":"rimraf dist","build":"npm run clean:dist && node build.js","build:watch":"nodemon -e js,ts,json,html,scss --ignore dist --ignore documentation --ignore demo --ignore build -x npm run build","build:release":"npm-run-all -s doctoc build compodoc","publish:dev":"yalc publish ./dist","build:dev":"run-s build publish:dev","build:watch:dev":"nodemon -e js,ts,json,html,scss --ignore dist --ignore documentation --ignore demo --ignore build -x run-s build:dev","test":"karma start","pack-and-build":"npm-run-all -s build pack-lib","pack:watch":"nodemon -e js,ts,json --ignore dist --ignore documentation --ignore demo --ignore build -x npm run pack-and-build","pack-lib":"npm pack ./dist","publish-lib":"npm publish ./dist --registry=https://registry.npmjs.org/","publish-lib:next":"npm publish --tag next ./dist --registry=https://registry.npmjs.org/","commit":"git cz -a","release":"release-it","release:major":"npm run release -- major -n","release:minor":"npm run release -- minor -n","release:patch":"npm run release -- patch -n","compodoc":"compodoc -p tsconfig.json","compodoc:serve":"compodoc -p tsconfig.json -sw","compodoc:watch":"compodoc -p tsconfig.json -w","docs":"npm-run-all -s compodoc:serve","docs:watch":"npm-run-all -p compodoc:serve compodoc:watch","docs:publish":"run-s demo:aot:yalc && bash deploy-docs.sh","doctoc":"doctoc README.md --maxlevel 3","watch":"npm-run-all -p build:watch docs","postversion":"git push && git push --tags","demo":"npm-run-all -s demo:install demo:serve","demo:watch":"cd demo && npm run start","demo:serve":"run-p demo:watch","demo:install":"cd demo && yarn install","demo:aot:yalc":"run-s demo:yalc && cd demo && ng build --prod","demo:watch:aot:yalc":"nodemon -e ts -w src -w demo -w public_api.ts -x run-s demo:aot:yalc","demo:watch:yalc":"nodemon -e ts,scss,html -w src -w public_api.ts -d 1 -x run-s demo:yalc","demo:yalc":"run-s build && yalc publish dist && cd demo && yalc link @nomadreservations/ngx-stripe"},"typings":"./ngx-stripe.d.ts","author":"","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":">= 5.0.0","@angular/core":">= 5.0.0"},"devDependencies":{"@angular/animations":"5.2.0","@angular/common":"5.2.0","@angular/compiler":"5.2.0","@angular/compiler-cli":"5.2.0","@angular/core":"5.2.0","@angular/platform-browser":"5.2.0","@angular/platform-browser-dynamic":"5.2.0","@angular/platform-server":"5.2.0","@compodoc/compodoc":"1.0.5","@types/jasmine":"2.8.4","@types/node":"9.3.0","angular2-inline-template-style":"^1.3.0","chalk":"2.3.0","codelyzer":"4.0.2","core-js":"2.5.3","cpx":"^1.5.0","cz-conventional-changelog":"^2.1.0","doctoc":"^1.3.0","jasmine-core":"2.8.0","karma":"2.0.0","karma-chrome-launcher":"2.2.0","karma-jasmine":"1.1.1","karma-sourcemap-loader":"0.3.7","karma-spec-reporter":"0.0.32","karma-webpack":"2.0.9","npm-run-all":"^4.1.2","reflect-metadata":"0.1.12","release-it":"^5.2.0","replace":"^0.3.0","rimraf":"^2.6.2","rollup":"0.54.1","rollup-globals-regex":"^0.0.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-json":"^2.3.0","rollup-plugin-license":"^0.5.0","rollup-plugin-local-resolve":"^1.0.7","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-sourcemaps":"^0.4.2","rxjs":"5.5.6","shelljs":"0.8.0","sorcery":"0.10.0","source-map-loader":"0.2.3","ts-loader":"3.2.0","tslint":"5.9.1","typescript":"~2.5.3","uglify-js":"3.3.7","webpack":"3.10.0","yalc":"^1.0.0-pre.16","yargs":"10.1.1","zone.js":"0.8.20"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_id":"@nomadreservations/ngx-stripe@1.0.0-rc.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-sMRZyiyqqorrXkL5mdoye0eyN0xrFjg9J3UGK7l5EKByRJQ+P7pP3/WdJV9k40gxMONLaPmFmNkcRO8VtLRncA==","shasum":"5a035174b728478363f7ab680b142345ee8a5086","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.0.0-rc.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrRYyWNGiM+SxBpEZQ/1o1MnupcsU12MxmuLTGto9WrAIhAL+M1zPT/YaH27/tHnNNWYiQD4lkQAW+GW+fJF7tDiQm"}]},"maintainers":[{"name":"paulryan","email":"paul@campgroundbooking.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe-1.0.0-rc.1.tgz_1516306367316_0.4325847513973713"},"directories":{}},"1.0.0":{"name":"@nomadreservations/ngx-stripe","version":"1.0.0","description":"@angular wrapper for StripeJS","main":"./bundles/ngx-stripe.umd.js","module":"./esm5/ngx-stripe.js","es2015":"./esm2015/ngx-stripe.js","scripts":{"clean:dist":"rimraf dist","build":"npm run clean:dist && node build.js","build:watch":"nodemon -e js,ts,json,html,scss --ignore dist --ignore documentation --ignore demo --ignore build -x npm run build","build:release":"npm-run-all -s doctoc build compodoc","publish:dev":"yalc publish ./dist","build:dev":"run-s build publish:dev","build:watch:dev":"nodemon -e js,ts,json,html,scss --ignore dist --ignore documentation --ignore demo --ignore build -x run-s build:dev","test":"karma start","pack-and-build":"npm-run-all -s build pack-lib","pack:watch":"nodemon -e js,ts,json --ignore dist --ignore documentation --ignore demo --ignore build -x npm run pack-and-build","pack-lib":"npm pack ./dist","publish-lib":"npm publish ./dist --registry=https://registry.npmjs.org/","publish-lib:next":"npm publish --tag next ./dist --registry=https://registry.npmjs.org/","commit":"git cz -a","release":"release-it","release:major":"npm run release -- major -n","release:minor":"npm run release -- minor -n","release:patch":"npm run release -- patch -n","compodoc":"compodoc -p tsconfig.json","compodoc:serve":"compodoc -p tsconfig.json -sw","compodoc:watch":"compodoc -p tsconfig.json -w","docs":"npm-run-all -s compodoc:serve","docs:watch":"npm-run-all -p compodoc:serve compodoc:watch","docs:publish":"run-s demo:aot:yalc && bash deploy-docs.sh","doctoc":"doctoc README.md --maxlevel 3","watch":"npm-run-all -p build:watch docs","postversion":"git push && git push --tags","demo":"npm-run-all -s demo:install demo:serve","demo:watch":"cd demo && npm run start","demo:serve":"run-p demo:watch","demo:install":"cd demo && yarn install","demo:aot:yalc":"run-s demo:yalc && cd demo && ng build --prod","demo:watch:aot:yalc":"nodemon -e ts -w src -w demo -w public_api.ts -x run-s demo:aot:yalc","demo:watch:yalc":"nodemon -e ts,scss,html -w src -w public_api.ts -d 1 -x run-s demo:yalc","demo:yalc":"run-s build && yalc publish dist && cd demo && yalc link @nomadreservations/ngx-stripe"},"typings":"./ngx-stripe.d.ts","author":"","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":">= 5.0.0","@angular/core":">= 5.0.0"},"devDependencies":{"@angular/animations":"5.2.0","@angular/common":"5.2.0","@angular/compiler":"5.2.0","@angular/compiler-cli":"5.2.0","@angular/core":"5.2.0","@angular/platform-browser":"5.2.0","@angular/platform-browser-dynamic":"5.2.0","@angular/platform-server":"5.2.0","@compodoc/compodoc":"1.0.5","@types/jasmine":"2.8.4","@types/node":"9.3.0","angular2-inline-template-style":"^1.3.0","chalk":"2.3.0","codelyzer":"4.0.2","core-js":"2.5.3","cpx":"^1.5.0","cz-conventional-changelog":"^2.1.0","doctoc":"^1.3.0","jasmine-core":"2.8.0","karma":"2.0.0","karma-chrome-launcher":"2.2.0","karma-jasmine":"1.1.1","karma-sourcemap-loader":"0.3.7","karma-spec-reporter":"0.0.32","karma-webpack":"2.0.9","npm-run-all":"^4.1.2","reflect-metadata":"0.1.12","release-it":"^5.2.0","replace":"^0.3.0","rimraf":"^2.6.2","rollup":"0.54.1","rollup-globals-regex":"^0.0.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-json":"^2.3.0","rollup-plugin-license":"^0.5.0","rollup-plugin-local-resolve":"^1.0.7","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-sourcemaps":"^0.4.2","rxjs":"5.5.6","shelljs":"0.8.0","sorcery":"0.10.0","source-map-loader":"0.2.3","ts-loader":"3.2.0","tslint":"5.9.1","typescript":"~2.5.3","uglify-js":"3.3.7","webpack":"3.10.0","yalc":"^1.0.0-pre.16","yargs":"10.1.1","zone.js":"0.8.20"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_id":"@nomadreservations/ngx-stripe@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-29WZAF2oxvDWw8LYDes8EyijaIa5Z6exFqUDXd4OjCvjPHWdJ5iohzDhzfHDhZED2ug+ErPpY8NKIdatXvL/KQ==","shasum":"fc7cf177756d3f81e93ffcb44b52317ae4d4c9d3","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIZu7IerQUn4DNpBM3y6qv8zw537KcJtwOo4w37entawIgDZM2YK9YOEUZwrVGG/GTiqHzqpHRKR++yIxO4AmS3mM="}]},"maintainers":[{"name":"paulryan","email":"paul@campgroundbooking.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe-1.0.0.tgz_1516310320065_0.7411374456714839"},"directories":{}},"1.0.1":{"name":"@nomadreservations/ngx-stripe","version":"1.0.1","description":"@angular wrapper for StripeJS","main":"./bundles/ngx-stripe.umd.js","module":"./esm5/ngx-stripe.js","es2015":"./esm2015/ngx-stripe.js","scripts":{"clean:dist":"rimraf dist","build":"npm run clean:dist && node build.js","build:watch":"nodemon -e js,ts,json,html,scss --ignore dist --ignore documentation --ignore demo --ignore build -x npm run build","build:release":"npm-run-all -s doctoc build compodoc","publish:dev":"yalc publish ./dist","build:dev":"run-s build publish:dev","build:watch:dev":"nodemon -e js,ts,json,html,scss --ignore dist --ignore documentation --ignore demo --ignore build -x run-s build:dev","test":"karma start","pack-and-build":"npm-run-all -s build pack-lib","pack:watch":"nodemon -e js,ts,json --ignore dist --ignore documentation --ignore demo --ignore build -x npm run pack-and-build","pack-lib":"npm pack ./dist","publish-lib":"npm publish ./dist --registry=https://registry.npmjs.org/","publish-lib:next":"npm publish --tag next ./dist --registry=https://registry.npmjs.org/","commit":"git cz -a","release":"release-it","release:major":"npm run release -- major -n","release:minor":"npm run release -- minor -n","release:patch":"npm run release -- patch -n","compodoc":"compodoc -p tsconfig.json","compodoc:serve":"compodoc -p tsconfig.json -sw","compodoc:watch":"compodoc -p tsconfig.json -w","docs":"npm-run-all -s compodoc:serve","docs:watch":"npm-run-all -p compodoc:serve compodoc:watch","docs:publish":"run-s demo:aot:yalc && bash deploy-docs.sh","doctoc":"doctoc README.md --maxlevel 3","watch":"npm-run-all -p build:watch docs","postversion":"git push && git push --tags","demo":"npm-run-all -s demo:install demo:serve","demo:watch":"cd demo && npm run start","demo:serve":"run-p demo:watch","demo:install":"cd demo && yarn install","demo:aot:yalc":"run-s demo:yalc && cd demo && ng build --prod","demo:watch:aot:yalc":"nodemon -e ts -w src -w demo -w public_api.ts -x run-s demo:aot:yalc","demo:watch:yalc":"nodemon -e ts,scss,html -w src -w public_api.ts -d 1 -x run-s demo:yalc","demo:yalc":"run-s build && yalc publish dist && cd demo && yalc link @nomadreservations/ngx-stripe"},"typings":"./ngx-stripe.d.ts","author":"","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":">= 5.0.0","@angular/core":">= 5.0.0"},"devDependencies":{"@angular/animations":"5.2.0","@angular/common":"5.2.0","@angular/compiler":"5.2.0","@angular/compiler-cli":"5.2.0","@angular/core":"5.2.0","@angular/platform-browser":"5.2.0","@angular/platform-browser-dynamic":"5.2.0","@angular/platform-server":"5.2.0","@compodoc/compodoc":"1.0.5","@types/jasmine":"2.8.4","@types/node":"9.3.0","angular2-inline-template-style":"^1.3.0","chalk":"2.3.0","codelyzer":"4.0.2","core-js":"2.5.3","cpx":"^1.5.0","cz-conventional-changelog":"^2.1.0","doctoc":"^1.3.0","jasmine-core":"2.8.0","karma":"2.0.0","karma-chrome-launcher":"2.2.0","karma-jasmine":"1.1.1","karma-sourcemap-loader":"0.3.7","karma-spec-reporter":"0.0.32","karma-webpack":"2.0.9","npm-run-all":"^4.1.2","reflect-metadata":"0.1.12","release-it":"^5.2.0","replace":"^0.3.0","rimraf":"^2.6.2","rollup":"0.54.1","rollup-globals-regex":"^0.0.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-json":"^2.3.0","rollup-plugin-license":"^0.5.0","rollup-plugin-local-resolve":"^1.0.7","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-sourcemaps":"^0.4.2","rxjs":"5.5.6","shelljs":"0.8.0","sorcery":"0.10.0","source-map-loader":"0.2.3","ts-loader":"3.2.0","tslint":"5.9.1","typescript":"~2.5.3","uglify-js":"3.3.7","webpack":"3.10.0","yalc":"^1.0.0-pre.16","yargs":"10.1.1","zone.js":"0.8.20"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_id":"@nomadreservations/ngx-stripe@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-M6OWMqHSHm4vxmUlSnlfEEm2T30j54qAd/8P3kQ3CiyPOwGwHgp3oIjPCTs3vMFn5QY1aAnLuSmXy+4Qi5tnRQ==","shasum":"59892e768dbb9fa8c52146e5134e32e1c76a5408","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHexZ/dGtg/EL1YGbTbJq/jKNQn1E1pnw6YLDs1yB5NCAiBj1QxIU2Yo1emQATCEESIdAJx5UGzdnB+bp3PglV1NWQ=="}]},"maintainers":[{"name":"paulryan","email":"paul@campgroundbooking.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe-1.0.1.tgz_1516573275709_0.03403033432550728"},"directories":{}},"1.1.0":{"name":"@nomadreservations/ngx-stripe","version":"1.1.0","description":"@angular wrapper for StripeJS","main":"./bundles/ngx-stripe.umd.js","module":"./esm5/ngx-stripe.js","es2015":"./esm2015/ngx-stripe.js","scripts":{"clean:dist":"rimraf dist","build":"npm run clean:dist && node build.js","build:watch":"nodemon -e js,ts,json,html,scss --ignore dist --ignore documentation --ignore demo --ignore build -x npm run build","build:release":"npm-run-all -s doctoc build compodoc","publish:dev":"yalc publish ./dist","build:dev":"run-s build publish:dev","build:watch:dev":"nodemon -e js,ts,json,html,scss --ignore dist --ignore documentation --ignore demo --ignore build -x run-s build:dev","test":"karma start","pack-and-build":"npm-run-all -s build pack-lib","pack:watch":"nodemon -e js,ts,json --ignore dist --ignore documentation --ignore demo --ignore build -x npm run pack-and-build","pack-lib":"npm pack ./dist","publish-lib":"npm publish ./dist --registry=https://registry.npmjs.org/","publish-lib:next":"npm publish --tag next ./dist --registry=https://registry.npmjs.org/","commit":"git cz -a","release":"release-it","release:major":"npm run release -- major -n","release:minor":"npm run release -- minor -n","release:patch":"npm run release -- patch -n","compodoc":"compodoc -p tsconfig.json","compodoc:serve":"compodoc -p tsconfig.json -sw","compodoc:watch":"compodoc -p tsconfig.json -w","docs":"npm-run-all -s compodoc:serve","docs:watch":"npm-run-all -p compodoc:serve compodoc:watch","docs:publish":"run-s demo:aot:yalc && bash deploy-docs.sh","doctoc":"doctoc README.md --maxlevel 3","watch":"npm-run-all -p build:watch docs","postversion":"git push && git push --tags","demo":"npm-run-all -s demo:install demo:serve","demo:watch":"cd demo && npm run start","demo:serve":"run-p demo:watch","demo:install":"cd demo && yarn install","demo:aot:yalc":"run-s demo:yalc && cd demo && ng build --prod","demo:watch:aot:yalc":"nodemon -e ts -w src -w demo -w public_api.ts -x run-s demo:aot:yalc","demo:watch:yalc":"nodemon -e ts,scss,html -w src -w public_api.ts -d 1 -x run-s demo:yalc","demo:yalc":"run-s build && yalc publish dist && cd demo && yalc link @nomadreservations/ngx-stripe"},"typings":"./ngx-stripe.d.ts","author":"","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{},"devDependencies":{"@angular/animations":"6.1.7","@angular/common":"6.1.7","@angular/compiler":"6.1.7","@angular/compiler-cli":"6.1.7","@angular/core":"6.1.7","@angular/platform-browser":"6.1.7","@angular/platform-browser-dynamic":"6.1.7","@angular/platform-server":"6.1.7","@compodoc/compodoc":"1.0.5","@types/jasmine":"2.8.4","@types/node":"9.3.0","angular2-inline-template-style":"^1.3.0","chalk":"2.3.0","codelyzer":"4.0.2","core-js":"2.5.3","cpx":"^1.5.0","cz-conventional-changelog":"^2.1.0","doctoc":"^1.3.0","jasmine-core":"2.8.0","karma":"2.0.0","karma-chrome-launcher":"2.2.0","karma-jasmine":"1.1.1","karma-sourcemap-loader":"0.3.7","karma-spec-reporter":"0.0.32","karma-webpack":"2.0.9","npm-run-all":"^4.1.2","reflect-metadata":"0.1.12","release-it":"^5.2.0","replace":"^0.3.0","rimraf":"^2.6.2","rollup":"0.54.1","rollup-globals-regex":"^0.0.3","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-json":"^2.3.0","rollup-plugin-license":"^0.5.0","rollup-plugin-local-resolve":"^1.0.7","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-sourcemaps":"^0.4.2","rxjs":"6.3.2","shelljs":"0.8.0","sorcery":"0.10.0","source-map-loader":"0.2.3","ts-loader":"3.2.0","tslint":"5.9.1","typescript":"~2.9.2","uglify-js":"3.3.7","webpack":"3.10.0","yalc":"^1.0.0-pre.16","yargs":"10.1.1","zone.js":"0.8.26"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_id":"@nomadreservations/ngx-stripe@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.0","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-tXXs9peKf1+dnQTMHf4CW0jFalpTnScUV+PT1JV8SYvQmWaxesHfcssEVpdJ3fzGIL80aiXDfyXwBkV73G8m2Q==","shasum":"adbf8f4991c6ba751d68561911cc33bfe3eac779","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.1.0.tgz","fileCount":28,"unpackedSize":1384770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblZV8CRA9TVsSAnZWagAAwoMP/1lFWUc/lVWxi9KNKAsB\nar6jfs8NU9gBLENmuFFBpU+5ecu+sWXelIBAot/yFA3O+7FOgZrMLZ6JoQ0o\nDu3GewINeQJnTOqoDlkcTH6Ls+2BoTwgdVN9ZuS/5fk5kf42jwlcURiThuEX\nz3PexR081HVawV8/vpdqAXvLWqi+WOPR6/jcpqX7WUOYJTfmz5k31CpnxmWU\nd8YS8OhU2DMWfzjmaSouYxtQ01eROXFuW/lIUJxXbzuh2r+qubYwprA7/cCM\noxnksnKwZToZxR97hVHa8qo8Z78rGhbl7bRPDmexFV3WBEIG3GunlMxpD+B+\nM31TX9H6iWOvb7zd9OU8xH2R+W04dozZ+LH1dRBPXLQfsFozoXO8DZefwPk2\nDBnlzASWT4L/Vs1MqJ5FhX97wrOHbiMWZwDks8zTzeF2JhInFKZO9fwaW5xR\nithZXBl5xOxdFzHi4uiVdIsUCakjcA6//9WWzlkwjKxelzWC13O4OBQi8EKq\nA2hO16ZqPeQkMhDQavvP1U5PeQ0o1wow98b/ALbdEeF7XdnNmYNLv+t4N4jQ\nxyzc/7tjrFXwZwxli8VQAOqJWr646cNT1TIj8+lLPJUnn9QF6vRMJfs/AIHx\nYeBliR3ied3sXxcHR0yuu9Nbbqrg6qGWb+BttzajMvQ9oCzlo4/Sz9om1HQ/\ngSBp\r\n=hpzt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEpWzgm/HwOmfgQzuArJGZgU90FKtcOtGI+e6QCtUNAwIhALteOk1TtgKBEUTGOjtQrIWfGlzqrAnfSUE9FT1TYP0O"}]},"maintainers":[{"name":"paulryan","email":"paul@campgroundbooking.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe_1.1.0_1536529788257_0.41290378592041255"},"_hasShrinkwrap":false},"1.2.0-beta.0":{"$schema":"./node_modules/ng-packagr/package.schema.json","name":"@nomadreservations/ngx-stripe","version":"1.2.0-beta.0","description":"@angular wrapper for StripeJS","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":"^7.0.0","@angular/core":"^7.0.0"},"dependencies":{"tslib":"^1.9.0"},"devDependencies":{"@angular/animations":"~7.0.0","@angular/cdk":"~7.1.0","@angular/common":"~7.0.0","@angular/compiler":"~7.0.0","@angular/core":"~7.0.0","@angular/forms":"~7.0.0","@angular/http":"~7.0.0","@angular/material":"^7.1.0","@angular/platform-browser":"~7.0.0","@angular/platform-browser-dynamic":"~7.0.0","@angular/router":"~7.0.0","core-js":"^2.5.4","hammerjs":"^2.0.8","mdi":"^2.2.43","release-it":"^8.2.0","rxjs":"~6.3.3","zone.js":"~0.8.26","@angular/cli":"~7.0.5","@angular/compiler-cli":"~7.0.0","@angular/language-service":"~7.0.0","@compodoc/compodoc":"^1.1.10","@types/jasmine":"~3.4.0","@types/jasminewd2":"~2.0.3","@types/node":"~12.7.1","codelyzer":"~4.5.0","doctoc":"^1.4.0","fstream":"^1.0.12","jasmine-core":"~3.4.0","jasmine-spec-reporter":"~4.2.1","js-yaml":"^3.13.1","karma":"~4.2.0","karma-chrome-launcher":"~3.0.0","karma-coverage-istanbul-reporter":"~2.1.0","karma-jasmine":"~2.0.1","karma-jasmine-html-reporter":"^1.4.2","ng-packagr":"^5.4.3","npm-run-all":"^4.1.5","protractor":"~5.4.2","ts-node":"~7.0.0","tsickle":">=0.29.0","tslib":"^1.9.0","tslint":"~5.11.0","typescript":"~3.1.6"},"main":"bundles/nomadreservations-ngx-stripe.umd.js","module":"fesm5/nomadreservations-ngx-stripe.js","es2015":"fesm2015/nomadreservations-ngx-stripe.js","esm5":"esm5/nomadreservations-ngx-stripe.js","esm2015":"esm2015/nomadreservations-ngx-stripe.js","fesm5":"fesm5/nomadreservations-ngx-stripe.js","fesm2015":"fesm2015/nomadreservations-ngx-stripe.js","typings":"nomadreservations-ngx-stripe.d.ts","metadata":"nomadreservations-ngx-stripe.metadata.json","sideEffects":false,"_id":"@nomadreservations/ngx-stripe@1.2.0-beta.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-Quf1c0mU3RtHjevZGrgf6ixkv0KT4RMFJ/nzQ4GSRrRFgLYa+JHbc7xtQgIPyRL7YSx60lP++3Uc7YbvXeKJPQ==","shasum":"d56e788b169ff0fb102d9a1492e8bbab108ef69d","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.2.0-beta.0.tgz","fileCount":117,"unpackedSize":666084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb/bXCRA9TVsSAnZWagAA6rYQAIJMWybI7NKwn/inycxP\nMBxTMvavkA2gboBTuhaLFa1XNt3qSqzhA6c5RVGQk57KVsLF8pmKZt0MPldG\nBZDbNGZzoy3kOG2J0m0Eh4eyxElLlszV3DFFOOY5htb65er9k3Ck3+vkJbTw\nx9jlhWw8LX+x087j9iOYBD2bNOuPHjslYWH2TOFn6DO5APCxLaXyySRo83Ti\nWG3J4tfhp8hWzxpfTiF9lrrnyc/dm3tT6CiTiYRfSUmK+q+CGxO52dXAX4Dg\nJbBwSO+nPNQhZLMkV5DfB7iRtrgp2zW5eL49/yksaJkXTC9bAHFeiB3X5iks\n+pyKFgsmwq3Kdbgn1B/sokFdeXNY5jUjAVL8zFD9OxUkd03Y6LYH6sn327Om\n7d5gwFmwo7Vfw0mrEQzZ4dthu+AbOinhdybYHTZSlB7PQ2pESaWD4r2JzeDm\nI4uMnW5TROkwxzBKvE9DQdgI0Hcz7pEGcumS3IQdiIOIQyloH6QExv/NAHKk\nMFpfqR/QngSXE40ho6vOrCDPWbS00PRCyR9DHTWGcftcKUKnTdroSQWvWTCv\n/yHS3RcxtFLAehBJxmt2UxIi8m3e6VHJIbk1zBri/y5Qo9EJvynuGnxK18RC\nfdFxfkq1xDrdOZvpdCxQjBr7qaJUrICxfUT6S8Mv0IfkOoFERF+rrrHra56x\nV7Fc\r\n=3gM+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLQC666OWrc6o3Cg8JrGTftU+b2/GW8vTBW775XtpbVAIhALkTLp+q/gf9MMaIayOJ0a4Ui2dIMrjegso2iHoNRvna"}]},"maintainers":[{"email":"paul@campgroundbooking.com","name":"paulryan"},{"email":"richarddevsolutions@gmail.com","name":"richarddevsolutions"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe_1.2.0-beta.0_1567618774715_0.06117694337775559"},"_hasShrinkwrap":false},"1.2.0-beta.1":{"$schema":"./node_modules/ng-packagr/package.schema.json","name":"@nomadreservations/ngx-stripe","version":"1.2.0-beta.1","description":"@angular wrapper for StripeJS","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":"~8.2.9","@angular/core":"~8.2.9"},"dependencies":{"tslib":"^1.9.0"},"devDependencies":{"@angular-devkit/build-angular":"~0.803.8","@angular/animations":"~8.2.9","@angular/cdk":"^8.2.2","@angular/cli":"~8.3.8","@angular/common":"~8.2.9","@angular/compiler":"~8.2.9","@angular/compiler-cli":"~8.2.9","@angular/core":"~8.2.9","@angular/forms":"~8.2.9","@angular/language-service":"~8.2.9","@angular/material":"^8.2.2","@angular/platform-browser":"~8.2.9","@angular/platform-browser-dynamic":"~8.2.9","@angular/router":"~8.2.9","@compodoc/compodoc":"^1.1.10","@types/jasmine":"~3.4.2","@types/jasminewd2":"~2.0.8","@types/node":"~12.7.11","auto-changelog":"^1.16.1","codelyzer":"~5.1.2","core-js":"^3.2.1","doctoc":"^1.4.0","fstream":"^1.0.12","hammerjs":"^2.0.8","jasmine-core":"~3.5.0","jasmine-spec-reporter":"~4.2.1","js-yaml":"^3.13.1","karma":"~4.3.0","karma-chrome-launcher":"~3.1.0","karma-coverage-istanbul-reporter":"~2.1.0","karma-jasmine":"~2.0.1","karma-jasmine-html-reporter":"^1.4.2","mdi":"^2.2.43","ng-packagr":"^5.5.1","npm-run-all":"^4.1.5","protractor":"~5.4.2","release-it":"^12.4.2","rxjs":"~6.5.3","ts-node":"~8.4.1","tslib":"^1.10.0","tslint":"~5.20.0","typescript":"~3.5.3","zone.js":"~0.10.2"},"main":"bundles/nomadreservations-ngx-stripe.umd.js","module":"fesm5/nomadreservations-ngx-stripe.js","es2015":"fesm2015/nomadreservations-ngx-stripe.js","esm5":"esm5/nomadreservations-ngx-stripe.js","esm2015":"esm2015/nomadreservations-ngx-stripe.js","fesm5":"fesm5/nomadreservations-ngx-stripe.js","fesm2015":"fesm2015/nomadreservations-ngx-stripe.js","typings":"nomadreservations-ngx-stripe.d.ts","metadata":"nomadreservations-ngx-stripe.metadata.json","sideEffects":false,"readme":"<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**\n\n- [@nomadreservations/ngx-stripe](#nomadreservationsngx-stripe)\n  - [Features](#features)\n  - [Installation](#installation)\n  - [Using the library](#using-the-library)\n  - [StripeCardComponent](#stripecardcomponent)\n  - [Testing](#testing)\n  - [Building](#building)\n  - [Publishing](#publishing)\n  - [Documentation](#documentation)\n  - [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# @nomadreservations/ngx-stripe\n\n[![version](https://img.shields.io/npm/v/ngx-stripe.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n[![license](https://img.shields.io/npm/l/express.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n\n@angular wrapper for StripeJS based on module by Ricardo Sánchez Gregorio at https://github.com/richnologies/ngx-stripe\n\n_Note: This version is designed to work with angular v8+ only_\n\n## Features\n\n* Stripe Service\n* Lazy script loading\n* AoT compliant\n* SSR fallback\n\n## Installation\n\nTo install this library, run:\n\n```bash\n$ npm install @nomadreservations/ngx-stripe --save\nor\n$ yarn add @nomadreservations/ngx-stripe\n```\n\n## Using the library\n\nImport the `NgxStripeModule` into the application\n\nThe module takes the same parameters as the global Stripe object. The APIKey and the optional options to use Stripe connect\n\n* apiKey: string\n* options: {\n  stripeAccount?: string;\n}\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\n\n// Import your library\nimport { NgxStripeModule } from '@nomadreservations/ngx-stripe';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    NgxStripeModule.forRoot('***your-stripe-publishable key***'),\n    LibraryModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\n_Note: If you leave the publishable key blank you must set on using StripeSerive.changeKey prior to creating token's or sources_\n\n## StripeCardComponent\n\nAs an alternative to the previous example, you could use the StripeCardComponent.\n\nIt will make a little bit easier to mount the card.\n\nTo fetch the Stripe Element, you could you use either the (change) output, or,\nby using a ViewChild, the public method getCard()\n\n//stripe.compnent.html\n```xml\n<ngx-stripe-card [options]=\"cardOptions\" [elementsOptions]=\"elementsOptions\" (change)=\"cardUpdated($event)\" (error)=\"error = $event\"></ngx-stripe-card>\n<div class=\"error\">\n  {{error?.message}}\n</div>\n<button (click)=\"getCardToken()\" [disabled]=\"!complete\">Get Card Token</button>\n```\n\n//stripe.component.ts\n```typescript\nimport { Component, OnInit, ViewChild, ElementRef } from '@angular/core';\nimport { FormGroup, FormBuilder, Validators } from \"@angular/forms\";\n\nimport { StripeService, StripeCardComponent, ElementOptions, ElementsOptions } from \"@nomadreservations/ngx-stripe\";\n\n\n@Component({\n  selector: 'app-stripe-test',\n  templateUrl: 'stripe.component.html'\n})\nexport class StripeTestComponent implements OnInit {\n  stripeKey = '';\n  error: any;\n  complete = false;\n  element: StripeElement;\n  cardOptions: ElementOptions = {\n    style: {\n      base: {\n        iconColor: '#276fd3',\n        color: '#31325F',\n        lineHeight: '40px',\n        fontWeight: 300,\n        fontFamily: '\"Helvetica Neue\", Helvetica, sans-serif',\n        fontSize: '18px',\n        '::placeholder': {\n          color: '#CFD7E0'\n        }\n      }\n    }\n  };\n\n  elementsOptions: ElementsOptions = {\n    locale: 'en'\n  };\n\n  constructor(\n    private _stripe: StripeService\n  ) {}\n\n  cardUpdated(result) {\n    this.element = result.element;\n    this.complete = result.card.complete;\n    this.error = undefined;\n  }\n\n  keyUpdated() {\n    this._stripe.changeKey(this.stripeKey);\n  }\n\n  getCardToken() {\n    this._stripe.createToken(this.element, {\n      name: 'tested_ca',\n      address_line1: '123 A Place',\n      address_line2: 'Suite 100',\n      address_city: 'Irving',\n      address_state: 'BC',\n      address_zip: 'VOE 1H0',\n      address_country: 'CA'\n    }).subscribe(result => {\n      // Pass token to service for purchase.\n      console.log(result);\n    });\n  }\n}\n```\n\n## Testing\nThe following command runs unit & integration tests that are in the `tests` folder, and unit tests that are in `src` folder:\n```Shell\nyarn test\n```\n\n## Building\nThe following command:\n```Shell\nyarn build\n```\n- starts _TSLint_ with _Codelyzer_\n- starts _AoT compilation_ using _ngc_ compiler\n- creates `dist` folder with all the files of distribution\n\nTo test the npm package locally, use the following command:\n```Shell\nyarn publish:dev\n```\nYou can then run the following to install it in an app to test it:\n```Shell\nyalc link @nomadreservations/ngx-stripe\n```\n\n## Publishing\n\n```Shell\nyarn release:patch\nor\nyarn release:minor\nor\nyarn release:major\n```\n\n## Documentation\nTo generate the documentation, this starter uses [compodoc](https://github.com/compodoc/compodoc):\n```Shell\nyarn compodoc\nyarn compodoc:serve\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@nomadreservations/ngx-stripe@1.2.0-beta.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-KmrCjpyJ5vQekiYTz8YfcSOv17r/Jww38UyUZg2nKfCKJmU6H3QUclZXn1emfjkCRbsTcKTGHLhTKN5xvHMgHw==","shasum":"994094f6771077d08638b5b98b8aa4ac26552512","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.2.0-beta.1.tgz","fileCount":117,"unpackedSize":720511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdm2cICRA9TVsSAnZWagAAee4P/iwjryVJ/GIQLXprQHmm\njmjSStpMAwscR+GTwhnJxD6awv1wu9SZpGLtPhsMPLiTYryPSi7ckC6s2JfD\njmLt8TSmNIUrbMd2c0FIoIjesE+bUzPMoPA5ZnakCKeZ3GGM1Og7CGZsIANM\nPF5yOWUMHeYBLcz43vzGn79iwC198BIVUPLbc+ix2/UfxY5HLJdfz92Hh5SP\nEwdJn0Bgea66eiNa4zhhSFma6hb7l5+Sp8rjXh0ERfhnkW5faYvs/pFcCIUE\nr96eJENWKJtIjqoid5Glmg2tZS+x+GCsP66oqyqMkKyQxy58tDs1ytYtg2Os\n3oqXEMgvxM8Zmx1G4OdI+M051uz8+52RIK/wA28U+1AkKLq4NuYVXxk/7N2W\nkjUpHs/EOrtlCJSGvFBW1Lzbd5S/T4YmJvEowoLs14piH7oAQAkYisN1d5hX\nTEyhm1Zp1uHcaje0tpk50JU6Jbrqs5BmJdG1KKYyNO2cFXwA3nC0Cf0XgvxQ\nLrqGzqtxAyP9+kKKki5KsXAEXx8r3hQKywiaJy9YWXOwkrjGWSyNK/ad1izQ\nt5yjKmKPe+0/FSkQVTW+J11W1x5ThSGXzS/MwR6c9zNpx8DdxueYCqBcswa3\nDkf/nCX91ZiANOo9HmPJnLF+ZUvAUaklchGheLXHQacHpSNNM4q7vHY2x2HM\nbYsX\r\n=8X0F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICdQdV3QYYUgDI0y1drKnZyBscJTq9eKjX1LUu9P1/EmAiEAvSD5QyCTarT54pDXQ3+Erc/9/6mXfeZtM5d8PZ38zB4="}]},"maintainers":[{"email":"paul@campgroundbooking.com","name":"paulryan"},{"email":"richarddevsolutions@gmail.com","name":"richarddevsolutions"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe_1.2.0-beta.1_1570465543602_0.9948938407027916"},"_hasShrinkwrap":false},"1.2.0-beta.2":{"$schema":"./node_modules/ng-packagr/package.schema.json","name":"@nomadreservations/ngx-stripe","version":"1.2.0-beta.2","description":"@angular wrapper for StripeJS","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":"~8.2.9","@angular/core":"~8.2.9"},"dependencies":{"tslib":"^1.9.0"},"devDependencies":{"@angular-devkit/build-angular":"~0.803.8","@angular/animations":"~8.2.9","@angular/cdk":"^8.2.2","@angular/cli":"~8.3.8","@angular/common":"~8.2.9","@angular/compiler":"~8.2.9","@angular/compiler-cli":"~8.2.9","@angular/core":"~8.2.9","@angular/forms":"~8.2.9","@angular/language-service":"~8.2.9","@angular/material":"^8.2.2","@angular/platform-browser":"~8.2.9","@angular/platform-browser-dynamic":"~8.2.9","@angular/router":"~8.2.9","@compodoc/compodoc":"^1.1.10","@types/jasmine":"~3.4.2","@types/jasminewd2":"~2.0.8","@types/node":"~12.7.11","auto-changelog":"^1.16.1","codelyzer":"~5.1.2","core-js":"^3.2.1","doctoc":"^1.4.0","fstream":"^1.0.12","hammerjs":"^2.0.8","jasmine-core":"~3.5.0","jasmine-spec-reporter":"~4.2.1","js-yaml":"^3.13.1","karma":"~4.3.0","karma-chrome-launcher":"~3.1.0","karma-coverage-istanbul-reporter":"~2.1.0","karma-jasmine":"~2.0.1","karma-jasmine-html-reporter":"^1.4.2","mdi":"^2.2.43","ng-packagr":"^5.5.1","npm-run-all":"^4.1.5","protractor":"~5.4.2","release-it":"^12.4.2","rxjs":"~6.5.3","ts-node":"~8.4.1","tslib":"^1.10.0","tslint":"~5.20.0","typescript":"~3.5.3","zone.js":"~0.10.2"},"main":"bundles/nomadreservations-ngx-stripe.umd.js","module":"fesm5/nomadreservations-ngx-stripe.js","es2015":"fesm2015/nomadreservations-ngx-stripe.js","esm5":"esm5/nomadreservations-ngx-stripe.js","esm2015":"esm2015/nomadreservations-ngx-stripe.js","fesm5":"fesm5/nomadreservations-ngx-stripe.js","fesm2015":"fesm2015/nomadreservations-ngx-stripe.js","typings":"nomadreservations-ngx-stripe.d.ts","metadata":"nomadreservations-ngx-stripe.metadata.json","sideEffects":false,"readme":"<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**\n\n- [@nomadreservations/ngx-stripe](#nomadreservationsngx-stripe)\n  - [Features](#features)\n  - [Installation](#installation)\n  - [Using the library](#using-the-library)\n  - [StripeCardComponent](#stripecardcomponent)\n  - [Testing](#testing)\n  - [Building](#building)\n  - [Publishing](#publishing)\n  - [Documentation](#documentation)\n  - [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# @nomadreservations/ngx-stripe\n\n[![version](https://img.shields.io/npm/v/ngx-stripe.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n[![license](https://img.shields.io/npm/l/express.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n\n@angular wrapper for StripeJS based on module by Ricardo Sánchez Gregorio at https://github.com/richnologies/ngx-stripe\n\n_Note: This version is designed to work with angular v8+ only_\n\n## Features\n\n* Stripe Service\n* Lazy script loading\n* AoT compliant\n* SSR fallback\n\n## Installation\n\nTo install this library, run:\n\n```bash\n$ npm install @nomadreservations/ngx-stripe --save\nor\n$ yarn add @nomadreservations/ngx-stripe\n```\n\n## Using the library\n\nImport the `NgxStripeModule` into the application\n\nThe module takes the same parameters as the global Stripe object. The APIKey and the optional options to use Stripe connect\n\n* apiKey: string\n* options: {\n  stripeAccount?: string;\n}\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\n\n// Import your library\nimport { NgxStripeModule } from '@nomadreservations/ngx-stripe';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    NgxStripeModule.forRoot('***your-stripe-publishable key***'),\n    LibraryModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\n_Note: If you leave the publishable key blank you must set on using StripeSerive.changeKey prior to creating token's or sources_\n\n## StripeCardComponent\n\nAs an alternative to the previous example, you could use the StripeCardComponent.\n\nIt will make a little bit easier to mount the card.\n\nTo fetch the Stripe Element, you could you use either the (change) output, or,\nby using a ViewChild, the public method getCard()\n\n//stripe.compnent.html\n```xml\n<ngx-stripe-card [options]=\"cardOptions\" [elementsOptions]=\"elementsOptions\" (change)=\"cardUpdated($event)\" (error)=\"error = $event\"></ngx-stripe-card>\n<div class=\"error\">\n  {{error?.message}}\n</div>\n<button (click)=\"getCardToken()\" [disabled]=\"!complete\">Get Card Token</button>\n```\n\n//stripe.component.ts\n```typescript\nimport { Component, OnInit, ViewChild, ElementRef } from '@angular/core';\nimport { FormGroup, FormBuilder, Validators } from \"@angular/forms\";\n\nimport { StripeService, StripeCardComponent, ElementOptions, ElementsOptions } from \"@nomadreservations/ngx-stripe\";\n\n\n@Component({\n  selector: 'app-stripe-test',\n  templateUrl: 'stripe.component.html'\n})\nexport class StripeTestComponent implements OnInit {\n  stripeKey = '';\n  error: any;\n  complete = false;\n  element: StripeElement;\n  cardOptions: ElementOptions = {\n    style: {\n      base: {\n        iconColor: '#276fd3',\n        color: '#31325F',\n        lineHeight: '40px',\n        fontWeight: 300,\n        fontFamily: '\"Helvetica Neue\", Helvetica, sans-serif',\n        fontSize: '18px',\n        '::placeholder': {\n          color: '#CFD7E0'\n        }\n      }\n    }\n  };\n\n  elementsOptions: ElementsOptions = {\n    locale: 'en'\n  };\n\n  constructor(\n    private _stripe: StripeService\n  ) {}\n\n  cardUpdated(result) {\n    this.element = result.element;\n    this.complete = result.card.complete;\n    this.error = undefined;\n  }\n\n  keyUpdated() {\n    this._stripe.changeKey(this.stripeKey);\n  }\n\n  getCardToken() {\n    this._stripe.createToken(this.element, {\n      name: 'tested_ca',\n      address_line1: '123 A Place',\n      address_line2: 'Suite 100',\n      address_city: 'Irving',\n      address_state: 'BC',\n      address_zip: 'VOE 1H0',\n      address_country: 'CA'\n    }).subscribe(result => {\n      // Pass token to service for purchase.\n      console.log(result);\n    });\n  }\n}\n```\n\n## Testing\nThe following command runs unit & integration tests that are in the `tests` folder, and unit tests that are in `src` folder:\n```Shell\nyarn test\n```\n\n## Building\nThe following command:\n```Shell\nyarn build\n```\n- starts _TSLint_ with _Codelyzer_\n- starts _AoT compilation_ using _ngc_ compiler\n- creates `dist` folder with all the files of distribution\n\nTo test the npm package locally, use the following command:\n```Shell\nyarn publish:dev\n```\nYou can then run the following to install it in an app to test it:\n```Shell\nyalc link @nomadreservations/ngx-stripe\n```\n\n## Publishing\n\n```Shell\nyarn release:patch\nor\nyarn release:minor\nor\nyarn release:major\n```\n\n## Documentation\nTo generate the documentation, this starter uses [compodoc](https://github.com/compodoc/compodoc):\n```Shell\nyarn compodoc\nyarn compodoc:serve\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@nomadreservations/ngx-stripe@1.2.0-beta.2","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-l1WWgkwbTrfl09JpISoNooZDacK8hNvsoX6/Uii0xNKCo7cQwFI9NZw0Ly3sw1b3d29X5FI6MQftOAGvjoz9+A==","shasum":"79092d4bf306f9ea6094277195273121951f8251","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.2.0-beta.2.tgz","fileCount":117,"unpackedSize":774803,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdm3IyCRA9TVsSAnZWagAAaiAP/26EXYzGXkAakYF4z+vm\nVohqMjlxr/qSEZFhHYvq4LPh9rALxDX+lNvv7LzF3dC6KdoQPDvdB8ClPlyL\nCWXOqvWOPsl/+m7vd/cVgiklvOm1ujZOU+gkhGHYSl40JQPGKwjh0P23MUhQ\nM7HAJOBcqksbgWkytWCX8DC1krIVdTOhpkw4Lq432p8zospShvfmM5nXJ37+\ncbzvaMIFfQjO0etlUfeV0eZ7+mCNcQ7yA+LJB2WlNM2+kfqRj/2yxcqzSp2b\nfUlQks/VKehs4TJllMW8gVqK/y5zoT5IXs/n9eLcSg++LfbiPlnu7CZSLgKH\nl8mxfgdpE6jOgq+7CE3EZG9hGul83OH8jnNswMl12I2wN5NpPcYeNco7Fl/+\n83qfbtF6zb3hLm69mNKrJ7U1yZ4m0vI8YzeRACmRcFNqM8cNuxUMLLbU2d+e\nTyG6hrhVIjAriQF8ofsKPUUPeoI4D6VGGpWVzxdiNWMS4Fs57wm/Y2KF0zLd\nKmGOVR6UomP4Y1ZD6BJrVIFettqsQ9qnL+abPnQURDLFcwIowbDMc3/JyWs+\ndOHtR86RnQck4sFjD0bRS1WcaUTMH7tXT4OUSemG2ceqzX9hxA1WXO7ofhL/\n51aIASWlsCuSjk2eurQoZD4M91Dy3r7snpjv9Y0rX1iSI2eDXdxNgTcFeaff\nsRHJ\r\n=MuQ+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRitZfOu842L2nTl/vc1Q0+xItN90nZ3sC4yXxtj+qVQIhAIippOCcKxpXpCEqxN7MGF71801EoB2iz4eKZb8k6nce"}]},"maintainers":[{"email":"paul@campgroundbooking.com","name":"paulryan"},{"email":"richarddevsolutions@gmail.com","name":"richarddevsolutions"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe_1.2.0-beta.2_1570468401666_0.5008986165704332"},"_hasShrinkwrap":false},"1.2.0-beta.3":{"$schema":"./node_modules/ng-packagr/package.schema.json","name":"@nomadreservations/ngx-stripe","version":"1.2.0-beta.3","description":"@angular wrapper for StripeJS","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":"~8.2.9","@angular/core":"~8.2.9"},"dependencies":{"tslib":"^1.9.0"},"devDependencies":{"@angular-devkit/build-angular":"~0.803.8","@angular/animations":"~8.2.9","@angular/cdk":"^8.2.2","@angular/cli":"~8.3.8","@angular/common":"~8.2.9","@angular/compiler":"~8.2.9","@angular/compiler-cli":"~8.2.9","@angular/core":"~8.2.9","@angular/forms":"~8.2.9","@angular/language-service":"~8.2.9","@angular/material":"^8.2.2","@angular/platform-browser":"~8.2.9","@angular/platform-browser-dynamic":"~8.2.9","@angular/router":"~8.2.9","@compodoc/compodoc":"^1.1.10","@types/jasmine":"~3.4.2","@types/jasminewd2":"~2.0.8","@types/node":"~12.7.11","auto-changelog":"^1.16.1","codelyzer":"~5.1.2","core-js":"^3.2.1","doctoc":"^1.4.0","fstream":"^1.0.12","hammerjs":"^2.0.8","jasmine-core":"~3.5.0","jasmine-spec-reporter":"~4.2.1","js-yaml":"^3.13.1","karma":"~4.3.0","karma-chrome-launcher":"~3.1.0","karma-coverage-istanbul-reporter":"~2.1.0","karma-jasmine":"~2.0.1","karma-jasmine-html-reporter":"^1.4.2","mdi":"^2.2.43","ng-packagr":"^5.5.1","npm-run-all":"^4.1.5","protractor":"~5.4.2","release-it":"^12.4.2","rxjs":"~6.5.3","ts-node":"~8.4.1","tslib":"^1.10.0","tslint":"~5.20.0","typescript":"~3.5.3","zone.js":"~0.10.2"},"main":"bundles/nomadreservations-ngx-stripe.umd.js","module":"fesm5/nomadreservations-ngx-stripe.js","es2015":"fesm2015/nomadreservations-ngx-stripe.js","esm5":"esm5/nomadreservations-ngx-stripe.js","esm2015":"esm2015/nomadreservations-ngx-stripe.js","fesm5":"fesm5/nomadreservations-ngx-stripe.js","fesm2015":"fesm2015/nomadreservations-ngx-stripe.js","typings":"nomadreservations-ngx-stripe.d.ts","metadata":"nomadreservations-ngx-stripe.metadata.json","sideEffects":false,"readme":"<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**\n\n- [@nomadreservations/ngx-stripe](#nomadreservationsngx-stripe)\n  - [Features](#features)\n  - [Installation](#installation)\n  - [Using the library](#using-the-library)\n  - [StripeCardComponent](#stripecardcomponent)\n  - [Testing](#testing)\n  - [Building](#building)\n  - [Publishing](#publishing)\n  - [Documentation](#documentation)\n  - [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# @nomadreservations/ngx-stripe\n\n[![version](https://img.shields.io/npm/v/ngx-stripe.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n[![license](https://img.shields.io/npm/l/express.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n\n@angular wrapper for StripeJS based on module by Ricardo Sánchez Gregorio at https://github.com/richnologies/ngx-stripe\n\n_Note: This version is designed to work with angular v8+ only_\n\n## Features\n\n* Stripe Service\n* Lazy script loading\n* AoT compliant\n* SSR fallback\n\n## Installation\n\nTo install this library, run:\n\n```bash\n$ npm install @nomadreservations/ngx-stripe --save\nor\n$ yarn add @nomadreservations/ngx-stripe\n```\n\n## Using the library\n\nImport the `NgxStripeModule` into the application\n\nThe module takes the same parameters as the global Stripe object. The APIKey and the optional options to use Stripe connect\n\n* apiKey: string\n* options: {\n  stripeAccount?: string;\n}\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\n\n// Import your library\nimport { NgxStripeModule } from '@nomadreservations/ngx-stripe';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    NgxStripeModule.forRoot('***your-stripe-publishable key***'),\n    LibraryModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\n_Note: If you leave the publishable key blank you must set on using StripeSerive.changeKey prior to creating token's or sources_\n\n## StripeCardComponent\n\nAs an alternative to the previous example, you could use the StripeCardComponent.\n\nIt will make a little bit easier to mount the card.\n\nTo fetch the Stripe Element, you could you use either the (change) output, or,\nby using a ViewChild, the public method getCard()\n\n//stripe.compnent.html\n```xml\n<ngx-stripe-card [options]=\"cardOptions\" [elementsOptions]=\"elementsOptions\" (change)=\"cardUpdated($event)\" (error)=\"error = $event\"></ngx-stripe-card>\n<div class=\"error\">\n  {{error?.message}}\n</div>\n<button (click)=\"getCardToken()\" [disabled]=\"!complete\">Get Card Token</button>\n```\n\n//stripe.component.ts\n```typescript\nimport { Component, OnInit, ViewChild, ElementRef } from '@angular/core';\nimport { FormGroup, FormBuilder, Validators } from \"@angular/forms\";\n\nimport { StripeService, StripeCardComponent, ElementOptions, ElementsOptions } from \"@nomadreservations/ngx-stripe\";\n\n\n@Component({\n  selector: 'app-stripe-test',\n  templateUrl: 'stripe.component.html'\n})\nexport class StripeTestComponent implements OnInit {\n  stripeKey = '';\n  error: any;\n  complete = false;\n  element: StripeElement;\n  cardOptions: ElementOptions = {\n    style: {\n      base: {\n        iconColor: '#276fd3',\n        color: '#31325F',\n        lineHeight: '40px',\n        fontWeight: 300,\n        fontFamily: '\"Helvetica Neue\", Helvetica, sans-serif',\n        fontSize: '18px',\n        '::placeholder': {\n          color: '#CFD7E0'\n        }\n      }\n    }\n  };\n\n  elementsOptions: ElementsOptions = {\n    locale: 'en'\n  };\n\n  constructor(\n    private _stripe: StripeService\n  ) {}\n\n  cardUpdated(result) {\n    this.element = result.element;\n    this.complete = result.card.complete;\n    this.error = undefined;\n  }\n\n  keyUpdated() {\n    this._stripe.changeKey(this.stripeKey);\n  }\n\n  getCardToken() {\n    this._stripe.createToken(this.element, {\n      name: 'tested_ca',\n      address_line1: '123 A Place',\n      address_line2: 'Suite 100',\n      address_city: 'Irving',\n      address_state: 'BC',\n      address_zip: 'VOE 1H0',\n      address_country: 'CA'\n    }).subscribe(result => {\n      // Pass token to service for purchase.\n      console.log(result);\n    });\n  }\n}\n```\n\n## Testing\nThe following command runs unit & integration tests that are in the `tests` folder, and unit tests that are in `src` folder:\n```Shell\nyarn test\n```\n\n## Building\nThe following command:\n```Shell\nyarn build\n```\n- starts _TSLint_ with _Codelyzer_\n- starts _AoT compilation_ using _ngc_ compiler\n- creates `dist` folder with all the files of distribution\n\nTo test the npm package locally, use the following command:\n```Shell\nyarn publish:dev\n```\nYou can then run the following to install it in an app to test it:\n```Shell\nyalc link @nomadreservations/ngx-stripe\n```\n\n## Publishing\n\n```Shell\nyarn release:patch\nor\nyarn release:minor\nor\nyarn release:major\n```\n\n## Documentation\nTo generate the documentation, this starter uses [compodoc](https://github.com/compodoc/compodoc):\n```Shell\nyarn compodoc\nyarn compodoc:serve\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@nomadreservations/ngx-stripe@1.2.0-beta.3","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-F5k8Kn5T137MzKKsy1qD99QUEOPPdk8MFc5Gwu7fOwg404i8cQNmyMACI0Zun4jmeCCv0oUm1dh9dKE0M/OaqQ==","shasum":"60a001135da46579fb11513b83dfcfea71ca7f3d","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.2.0-beta.3.tgz","fileCount":117,"unpackedSize":858089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdm32jCRA9TVsSAnZWagAAmT8P/1ngiXHUpZ/UPzoEESqO\nlvy+nrYz5mkGggjmFSVX2LqJUX7VIg661HgrddgabQj5YojmKyUdsT8oU06L\nVZpDJ4eUz0gBceofOCfbvtw/zdZi6SSeEm2cMzDqBk5z8RDajjH+Tci2U5XY\nN6Rkr9rfKaKejgG5BSLEn3blFJD4n5pTS/o4ssLSt16RQthgZyeb0/SebSAV\nBUEL+BG2lpjTQ2uktTWCId5QabFw3KBvXGpYEIr1V8f41RqvfaI9S0JJVNUJ\nuOXaf5Rpu/u+M/q8bbB3oxvuBF18WxYaPDCy65wICSh05aYQSql0ap/jsbYI\nHNC9/fFjGyTxMXlSZsqVuwOEDdx29HmTlA7cSvcD/6dtMeeBV76IK4Tg688D\nanILvI/n5Mz6I98Ay104c++kZaJu12IEhiF68+orXsc0RpmgeEH/9N1FGD5g\n620470O/d/34G0HnlAOpNkBUWaGuiOBx0xV/JqqMjeoEO2asX/uq/Y6CMbQA\nBEcR+C81Ndt+Pnn22cw3cXOiznCXEo7cWQ+8b+PJU6qycd22OkiW6Ppr6yK8\nmNM3cTqWdDFDXPjrPp6GVK+Pgw4vqsUP7tQWr8+JNGEQXod9SdVyFbql1AzT\nYXcP8ceZeSejL3Kg22ryI+9PFyOrq7ymSkOPMhP0njP9Oz8HFQXJTuUcImrw\npo0t\r\n=Rux7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBKZt6hl0wPiBlxlsh4Ox4ivqG9pMNrNJtr1Le0BOTgLAiAwTiz6iuPaMrpcCMH1+8Uq71eSoIU/qSloBXFhZyT10w=="}]},"maintainers":[{"email":"paul@campgroundbooking.com","name":"paulryan"},{"email":"richarddevsolutions@gmail.com","name":"richarddevsolutions"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe_1.2.0-beta.3_1570471330850_0.5131866587928344"},"_hasShrinkwrap":false},"1.2.0-beta.5":{"$schema":"./node_modules/ng-packagr/package.schema.json","name":"@nomadreservations/ngx-stripe","version":"1.2.0-beta.5","description":"@angular wrapper for StripeJS","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":"~8.2.9","@angular/core":"~8.2.9"},"dependencies":{"tslib":"^1.9.0"},"devDependencies":{"@angular-devkit/build-angular":"~0.803.8","@angular/animations":"~8.2.9","@angular/cdk":"^8.2.2","@angular/cli":"~8.3.8","@angular/common":"~8.2.9","@angular/compiler":"~8.2.9","@angular/compiler-cli":"~8.2.9","@angular/core":"~8.2.9","@angular/forms":"~8.2.9","@angular/language-service":"~8.2.9","@angular/material":"^8.2.2","@angular/platform-browser":"~8.2.9","@angular/platform-browser-dynamic":"~8.2.9","@angular/router":"~8.2.9","@compodoc/compodoc":"^1.1.10","@types/jasmine":"~3.4.2","@types/jasminewd2":"~2.0.8","@types/node":"~12.7.11","auto-changelog":"^1.16.1","codelyzer":"~5.1.2","core-js":"^3.2.1","doctoc":"^1.4.0","fstream":"^1.0.12","hammerjs":"^2.0.8","jasmine-core":"~3.5.0","jasmine-spec-reporter":"~4.2.1","js-yaml":"^3.13.1","karma":"~4.3.0","karma-chrome-launcher":"~3.1.0","karma-coverage-istanbul-reporter":"~2.1.0","karma-jasmine":"~2.0.1","karma-jasmine-html-reporter":"^1.4.2","mdi":"^2.2.43","ng-packagr":"^5.5.1","npm-run-all":"^4.1.5","protractor":"~5.4.2","release-it":"^12.4.2","rxjs":"~6.5.3","ts-node":"~8.4.1","tslib":"^1.10.0","tslint":"~5.20.0","typescript":"~3.5.3","zone.js":"~0.10.2"},"main":"bundles/nomadreservations-ngx-stripe.umd.js","module":"fesm5/nomadreservations-ngx-stripe.js","es2015":"fesm2015/nomadreservations-ngx-stripe.js","esm5":"esm5/nomadreservations-ngx-stripe.js","esm2015":"esm2015/nomadreservations-ngx-stripe.js","fesm5":"fesm5/nomadreservations-ngx-stripe.js","fesm2015":"fesm2015/nomadreservations-ngx-stripe.js","typings":"nomadreservations-ngx-stripe.d.ts","metadata":"nomadreservations-ngx-stripe.metadata.json","sideEffects":false,"readme":"<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**\n\n- [@nomadreservations/ngx-stripe](#nomadreservationsngx-stripe)\n  - [Features](#features)\n  - [Installation](#installation)\n  - [Using the library](#using-the-library)\n  - [StripeCardComponent](#stripecardcomponent)\n    - [Dynamic Stripe Keys](#dynamic-stripe-keys)\n  - [Testing](#testing)\n  - [Building](#building)\n  - [Publishing](#publishing)\n  - [Documentation](#documentation)\n  - [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# @nomadreservations/ngx-stripe\n\n[![version](https://img.shields.io/npm/v/ngx-stripe.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n[![license](https://img.shields.io/npm/l/express.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n\n@angular wrapper for StripeJS based on module by Ricardo Sánchez Gregorio at https://github.com/richnologies/ngx-stripe\n\n_Note: This version is designed to work with angular v8+ only_\n\n## Features\n\n* Stripe Service\n* Lazy script loading\n* AoT compliant\n* SSR fallback\n\n## Installation\n\nTo install this library, run:\n\n```bash\n$ npm install @nomadreservations/ngx-stripe --save\nor\n$ yarn add @nomadreservations/ngx-stripe\n```\n\n## Using the library\n\nImport the `NgxStripeModule` into the application\n\nThe module takes the same parameters as the global Stripe object. The APIKey and the optional options to use Stripe connect\n\n* apiKey: string\n* options: {\n  stripeAccount?: string;\n}\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\n\n// Import your library\nimport { NgxStripeModule } from '@nomadreservations/ngx-stripe';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    NgxStripeModule.forRoot('***your-stripe-publishable key***'),\n    LibraryModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\n_Note: If you leave the publishable key blank you must set on using StripeSerive.changeKey prior to creating token's or sources_\n\n## StripeCardComponent\n\nAs an alternative to the previous example, you could use the StripeCardComponent.\n\nIt will make a little bit easier to mount the card.\n\nTo fetch the Stripe Element, you could you use either the (change) output, or,\nby using a ViewChild, the public method getCard()\n\n//stripe.compnent.html\n```xml\n<ngx-stripe-card [options]=\"cardOptions\" [elementsOptions]=\"elementsOptions\" (change)=\"cardUpdated($event)\" (error)=\"error = $event\"></ngx-stripe-card>\n<div class=\"error\">\n  {{error?.message}}\n</div>\n<button (click)=\"getCardToken()\" [disabled]=\"!complete\">Get Card Token</button>\n```\n\n//stripe.component.ts\n```typescript\nimport { Component, OnInit, ViewChild, ElementRef } from '@angular/core';\nimport { FormGroup, FormBuilder, Validators } from \"@angular/forms\";\n\nimport { StripeService, StripeCardComponent, ElementOptions, ElementsOptions } from \"@nomadreservations/ngx-stripe\";\n\n\n@Component({\n  selector: 'app-stripe-test',\n  templateUrl: 'stripe.component.html'\n})\nexport class StripeTestComponent implements OnInit {\n  stripeKey = '';\n  error: any;\n  complete = false;\n  element: StripeElement;\n  cardOptions: ElementOptions = {\n    style: {\n      base: {\n        iconColor: '#276fd3',\n        color: '#31325F',\n        lineHeight: '40px',\n        fontWeight: 300,\n        fontFamily: '\"Helvetica Neue\", Helvetica, sans-serif',\n        fontSize: '18px',\n        '::placeholder': {\n          color: '#CFD7E0'\n        }\n      }\n    }\n  };\n\n  elementsOptions: ElementsOptions = {\n    locale: 'en'\n  };\n\n  constructor(\n    private _stripe: StripeService\n  ) {}\n\n  cardUpdated(result) {\n    this.element = result.element;\n    this.complete = result.card.complete;\n    this.error = undefined;\n  }\n\n  keyUpdated() {\n    this._stripe.changeKey(this.stripeKey);\n  }\n\n  getCardToken() {\n    this._stripe.createToken(this.element, {\n      name: 'tested_ca',\n      address_line1: '123 A Place',\n      address_line2: 'Suite 100',\n      address_city: 'Irving',\n      address_state: 'BC',\n      address_zip: 'VOE 1H0',\n      address_country: 'CA'\n    }).subscribe(result => {\n      // Pass token to service for purchase.\n      console.log(result);\n    });\n  }\n}\n```\n\n### Dynamic Stripe Keys\nGiven the way an AOT angular build processes provided values if you need to provide a stripe key at runtime you'll want to forgo the forRoot initialization and instead add a factory and provider\n\n```ts\n\n  export function NgxStripeFactory(): string {\n    return dynamicLocation.stripePkKey;\n  }\n  \n  @NgModule({\n    ...\n    imports: []\n      ...\n      NgxStripeModule.forRoot('whatever key you think should be default'),\n      ...\n    ]\n    providers: [\n      {\n        provide: STRIPE_PUBLISHABLE_KEY,\n        useFactory: NgxStripeFactory\n      }\n    ]\n  })\n```\n\n## Testing\nThe following command runs unit & integration tests that are in the `tests` folder, and unit tests that are in `src` folder:\n```Shell\nyarn test\n```\n\n## Building\nThe following command:\n```Shell\nyarn build\n```\n- starts _TSLint_ with _Codelyzer_\n- starts _AoT compilation_ using _ngc_ compiler\n- creates `dist` folder with all the files of distribution\n\nTo test the npm package locally, use the following command:\n```Shell\nyarn publish:dev\n```\nYou can then run the following to install it in an app to test it:\n```Shell\nyalc link @nomadreservations/ngx-stripe\n```\n\n## Publishing\n\n```Shell\nyarn release:patch\nor\nyarn release:minor\nor\nyarn release:major\n```\n\n## Documentation\nTo generate the documentation, this starter uses [compodoc](https://github.com/compodoc/compodoc):\n```Shell\nyarn compodoc\nyarn compodoc:serve\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@nomadreservations/ngx-stripe@1.2.0-beta.5","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-quvzShXQ//JTI0Ce/pmWk0lL9jpAEtcRMPAq1iMMRlhvhTWIMA2qRzotenxphsMxaty0Jh62G7XvcxDJtYrLfw==","shasum":"47cc64f6ff028eb0594b059b8a99dacae7c8acaf","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.2.0-beta.5.tgz","fileCount":123,"unpackedSize":1089328,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdm9oCCRA9TVsSAnZWagAAKmQQAKT/KIOOSVatvgACj26a\nnxluuIVuPn2AdlHGp2hbqmR7+eTp1+Y0DufAyBATR21vw2RHwNhNvUtakFVa\noKggLyfOh6350ZNmtOOal83Udfg4UoFFd1ZZ7MVxWpW1DO2ZMSB10i8Qx5bu\nyRC8L5jXJWcdQQo00TYAbDQtnVmxwP+CXNRimzdUEHMF0sPjHkvVKMF0QIsB\nO5d5penbDGItK3qDMfQIFzbtp8g1EZAxil42HbA3ZpI5xWf832FCECsZ816M\nTT8lZkElkWXC9U0i3YtapaBsgzDl5vgwYpgXBkaUM78ifpP5eLObsIe52y6B\nK7SJ3sKWfGUqtNTgrToF6JHlFT9CXuO1vGMAu2XrLgCN9O8IhgvLCga6nwQN\nQw/Nb1K5q5DtrX0Z8cVJ+uc+2nrRbnYQAj+pf3FflggAKfhc+uVYSKzR/dzl\npRqFKSo29dKO9PDUZx1FQAgmbIZ3Kzxld0mCXq2Hjuno6MZlppkQGjTW7zeP\nr1riEn4IPl1txtZ37ogBXDoIv/0iE8MAZap/Ztm5KseMLQj2HtRA519p7KjA\nZE1ThdPRfgOoWOfOIVgGeCIdj1cXYfN/++uD57kNN21zhUE7TvHW0ZRkBUv5\ncAwWZ4v4zFoYajdyXRZlGOsEtfE1muzYawscJkIZeVfKPfUEg+xxoBA7HH6e\nn0iA\r\n=HpXv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCr/I5yUrXOHyEXf/fUc5EoaNKsiBHlhjlFtm89ghighQIhAOUVjwAODhy5eGCNFiq1xM+egt8LKwajasjEKG/LK3+0"}]},"maintainers":[{"email":"paul@campgroundbooking.com","name":"paulryan"},{"email":"richarddevsolutions@gmail.com","name":"richarddevsolutions"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe_1.2.0-beta.5_1570494977277_0.09581937926177053"},"_hasShrinkwrap":false},"1.2.0-beta.6":{"$schema":"./node_modules/ng-packagr/package.schema.json","name":"@nomadreservations/ngx-stripe","version":"1.2.0-beta.6","description":"@angular wrapper for StripeJS","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":"~8.2.9","@angular/core":"~8.2.9"},"dependencies":{"tslib":"^1.9.0"},"devDependencies":{"@angular-devkit/build-angular":"~0.803.8","@angular/animations":"~8.2.9","@angular/cdk":"^8.2.2","@angular/cli":"~8.3.8","@angular/common":"~8.2.9","@angular/compiler":"~8.2.9","@angular/compiler-cli":"~8.2.9","@angular/core":"~8.2.9","@angular/forms":"~8.2.9","@angular/language-service":"~8.2.9","@angular/material":"^8.2.2","@angular/platform-browser":"~8.2.9","@angular/platform-browser-dynamic":"~8.2.9","@angular/router":"~8.2.9","@compodoc/compodoc":"^1.1.10","@types/jasmine":"~3.4.2","@types/jasminewd2":"~2.0.8","@types/node":"~12.7.11","auto-changelog":"^1.16.1","codelyzer":"~5.1.2","core-js":"^3.2.1","doctoc":"^1.4.0","fstream":"^1.0.12","hammerjs":"^2.0.8","jasmine-core":"~3.5.0","jasmine-spec-reporter":"~4.2.1","js-yaml":"^3.13.1","karma":"~4.3.0","karma-chrome-launcher":"~3.1.0","karma-coverage-istanbul-reporter":"~2.1.0","karma-jasmine":"~2.0.1","karma-jasmine-html-reporter":"^1.4.2","mdi":"^2.2.43","ng-packagr":"^5.5.1","npm-run-all":"^4.1.5","protractor":"~5.4.2","release-it":"^12.4.2","rxjs":"~6.5.3","ts-node":"~8.4.1","tslib":"^1.10.0","tslint":"~5.20.0","typescript":"~3.5.3","zone.js":"~0.10.2"},"main":"bundles/nomadreservations-ngx-stripe.umd.js","module":"fesm5/nomadreservations-ngx-stripe.js","es2015":"fesm2015/nomadreservations-ngx-stripe.js","esm5":"esm5/nomadreservations-ngx-stripe.js","esm2015":"esm2015/nomadreservations-ngx-stripe.js","fesm5":"fesm5/nomadreservations-ngx-stripe.js","fesm2015":"fesm2015/nomadreservations-ngx-stripe.js","typings":"nomadreservations-ngx-stripe.d.ts","metadata":"nomadreservations-ngx-stripe.metadata.json","sideEffects":false,"readme":"<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**\n\n- [@nomadreservations/ngx-stripe](#nomadreservationsngx-stripe)\n  - [Features](#features)\n  - [Installation](#installation)\n  - [Using the library](#using-the-library)\n  - [StripeCardComponent](#stripecardcomponent)\n    - [Dynamic Stripe Keys](#dynamic-stripe-keys)\n  - [Testing](#testing)\n  - [Building](#building)\n  - [Publishing](#publishing)\n  - [Documentation](#documentation)\n  - [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# @nomadreservations/ngx-stripe\n\n[![version](https://img.shields.io/npm/v/ngx-stripe.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n[![license](https://img.shields.io/npm/l/express.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n\n@angular wrapper for StripeJS based on module by Ricardo Sánchez Gregorio at https://github.com/richnologies/ngx-stripe\n\n_Note: This version is designed to work with angular v8+ only_\n\n## Features\n\n* Stripe Service\n* Lazy script loading\n* AoT compliant\n* SSR fallback\n\n## Installation\n\nTo install this library, run:\n\n```bash\n$ npm install @nomadreservations/ngx-stripe --save\nor\n$ yarn add @nomadreservations/ngx-stripe\n```\n\n## Using the library\n\nImport the `NgxStripeModule` into the application\n\nThe module takes the same parameters as the global Stripe object. The APIKey and the optional options to use Stripe connect\n\n* apiKey: string\n* options: {\n  stripeAccount?: string;\n}\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\n\n// Import your library\nimport { NgxStripeModule } from '@nomadreservations/ngx-stripe';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    NgxStripeModule.forRoot('***your-stripe-publishable key***'),\n    LibraryModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\n_Note: If you leave the publishable key blank you must set on using StripeSerive.changeKey prior to creating token's or sources_\n\n## StripeCardComponent\n\nAs an alternative to the previous example, you could use the StripeCardComponent.\n\nIt will make a little bit easier to mount the card.\n\nTo fetch the Stripe Element, you could you use either the (change) output, or,\nby using a ViewChild, the public method getCard()\n\n//stripe.compnent.html\n```xml\n<ngx-stripe-card [options]=\"cardOptions\" [elementsOptions]=\"elementsOptions\" (change)=\"cardUpdated($event)\" (error)=\"error = $event\"></ngx-stripe-card>\n<div class=\"error\">\n  {{error?.message}}\n</div>\n<button (click)=\"getCardToken()\" [disabled]=\"!complete\">Get Card Token</button>\n```\n\n//stripe.component.ts\n```typescript\nimport { Component, OnInit, ViewChild, ElementRef } from '@angular/core';\nimport { FormGroup, FormBuilder, Validators } from \"@angular/forms\";\n\nimport { StripeService, StripeCardComponent, ElementOptions, ElementsOptions } from \"@nomadreservations/ngx-stripe\";\n\n\n@Component({\n  selector: 'app-stripe-test',\n  templateUrl: 'stripe.component.html'\n})\nexport class StripeTestComponent implements OnInit {\n  stripeKey = '';\n  error: any;\n  complete = false;\n  element: StripeElement;\n  cardOptions: ElementOptions = {\n    style: {\n      base: {\n        iconColor: '#276fd3',\n        color: '#31325F',\n        lineHeight: '40px',\n        fontWeight: 300,\n        fontFamily: '\"Helvetica Neue\", Helvetica, sans-serif',\n        fontSize: '18px',\n        '::placeholder': {\n          color: '#CFD7E0'\n        }\n      }\n    }\n  };\n\n  elementsOptions: ElementsOptions = {\n    locale: 'en'\n  };\n\n  constructor(\n    private _stripe: StripeService\n  ) {}\n\n  cardUpdated(result) {\n    this.element = result.element;\n    this.complete = result.card.complete;\n    this.error = undefined;\n  }\n\n  keyUpdated() {\n    this._stripe.changeKey(this.stripeKey);\n  }\n\n  getCardToken() {\n    this._stripe.createToken(this.element, {\n      name: 'tested_ca',\n      address_line1: '123 A Place',\n      address_line2: 'Suite 100',\n      address_city: 'Irving',\n      address_state: 'BC',\n      address_zip: 'VOE 1H0',\n      address_country: 'CA'\n    }).subscribe(result => {\n      // Pass token to service for purchase.\n      console.log(result);\n    });\n  }\n}\n```\n\n### Dynamic Stripe Keys\nGiven the way an AOT angular build processes provided values if you need to provide a stripe key at runtime you'll want to forgo the forRoot initialization and instead add a factory and provider\n\n```ts\n\n  export function NgxStripeFactory(): string {\n    return dynamicLocation.stripePkKey;\n  }\n  \n  @NgModule({\n    ...\n    imports: []\n      ...\n      NgxStripeModule.forRoot('whatever key you think should be default'),\n      ...\n    ]\n    providers: [\n      {\n        provide: STRIPE_PUBLISHABLE_KEY,\n        useFactory: NgxStripeFactory\n      }\n    ]\n  })\n```\n\n## Testing\nThe following command runs unit & integration tests that are in the `tests` folder, and unit tests that are in `src` folder:\n```Shell\nyarn test\n```\n\n## Building\nThe following command:\n```Shell\nyarn build\n```\n- starts _TSLint_ with _Codelyzer_\n- starts _AoT compilation_ using _ngc_ compiler\n- creates `dist` folder with all the files of distribution\n\nTo test the npm package locally, use the following command:\n```Shell\nyarn publish:dev\n```\nYou can then run the following to install it in an app to test it:\n```Shell\nyalc link @nomadreservations/ngx-stripe\n```\n\n## Publishing\n\n```Shell\nyarn release:patch\nor\nyarn release:minor\nor\nyarn release:major\n```\n\n## Documentation\nTo generate the documentation, this starter uses [compodoc](https://github.com/compodoc/compodoc):\n```Shell\nyarn compodoc\nyarn compodoc:serve\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@nomadreservations/ngx-stripe@1.2.0-beta.6","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-gsoZstGivk5vdL7IkCkjdP1W2Imvr2rG3h5fG37chEnLs5H/gP8p3X3IgnP5orXiw+SwmMBm0JXx/9xfY4hHVQ==","shasum":"7b58a21c8030e99c7cf160d23db3fb36989226b3","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.2.0-beta.6.tgz","fileCount":123,"unpackedSize":1091153,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdm92TCRA9TVsSAnZWagAAf3kP/RdM5+c6oDYjdv3pjIxz\n8KUIPeHfsqLnI1Q3JfRd1nm+1zrwVCHPNhCoh7tUJF/CivlAtZXyspSxhx4B\nxPrGGxkfzat41hKjD9nj2jKGgD3R3T0QEsOQTG6fYSP18b454ZSlPEX5oKwU\n96iX1j1XgsXFhGOiPkt2ItJtU9UC9O38M73KohMA3GuDTDm2pFBtuwJG/iXY\nZBk0yOHMJkwBja6Aso365+h7okRV5GCZV/Xg9fUh9MWlM+rmhc9u43s91FTD\nQ5+VSuYwnjdw/7puNU122wj1EaxF2mDTNzp8c6Eov2OfUXxjW15LbOYn+0G8\n/9nHU0dfYcwLyTo6sNAZi9snro1XzLYh+jiGNtcNHdcN7fxXIoZ+9nrubq5/\nxwERrUSHT9U+fYG6z5uYER7+IS+KIpc4D63l6n76oemVrl+9aL+lQ/V4SKeG\nTY1Y7vRU+fmcApXUb+0ir1b9ju6KiuDPrH2BFG10erTYNZ61JtRf3WnQTPah\n6gQPaovCyqY1M4Yth5cqSNN/ecWS0kvvovD5I1xOwGhqB74nomQfuQgqGCIm\n7sBwIykvSCYINpiSsGj2t/cagqG5F/W9h/ynzcGVxhb8B/FOhtBMqsR35h2V\nqfD7dFZV6uP4GiUlfhGhd7gn5c2Dwon1nt0mkf41KWFqEjMxAFiSdEk59awY\n56hW\r\n=Za/2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEnNcdKGYxvnxRVZ3LgDTxf5hwg+BeOmqwvMIx8iiM1zAiA/1AMV9e/scD0brsUic5ssU259ZOcyhJSY0sJMzlaQ5w=="}]},"maintainers":[{"email":"paul@campgroundbooking.com","name":"paulryan"},{"email":"richarddevsolutions@gmail.com","name":"richarddevsolutions"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe_1.2.0-beta.6_1570495890287_0.3893320225672312"},"_hasShrinkwrap":false},"1.2.0":{"$schema":"./node_modules/ng-packagr/package.schema.json","name":"@nomadreservations/ngx-stripe","version":"1.2.0","description":"@angular wrapper for StripeJS","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":"~8.2.9","@angular/core":"~8.2.9"},"dependencies":{"tslib":"^1.9.0"},"devDependencies":{"@angular-devkit/build-angular":"~0.803.8","@angular/animations":"~8.2.9","@angular/cdk":"^8.2.2","@angular/cli":"~8.3.8","@angular/common":"~8.2.9","@angular/compiler":"~8.2.9","@angular/compiler-cli":"~8.2.9","@angular/core":"~8.2.9","@angular/forms":"~8.2.9","@angular/language-service":"~8.2.9","@angular/material":"^8.2.2","@angular/platform-browser":"~8.2.9","@angular/platform-browser-dynamic":"~8.2.9","@angular/router":"~8.2.9","@compodoc/compodoc":"^1.1.10","@types/jasmine":"~3.4.2","@types/jasminewd2":"~2.0.8","@types/node":"~12.7.11","auto-changelog":"^1.16.1","codelyzer":"~5.1.2","core-js":"^3.2.1","doctoc":"^1.4.0","fstream":"^1.0.12","hammerjs":"^2.0.8","jasmine-core":"~3.5.0","jasmine-spec-reporter":"~4.2.1","js-yaml":"^3.13.1","karma":"~4.3.0","karma-chrome-launcher":"~3.1.0","karma-coverage-istanbul-reporter":"~2.1.0","karma-jasmine":"~2.0.1","karma-jasmine-html-reporter":"^1.4.2","mdi":"^2.2.43","ng-packagr":"^5.5.1","npm-run-all":"^4.1.5","protractor":"~5.4.2","release-it":"^12.4.2","rxjs":"~6.5.3","ts-node":"~8.4.1","tslib":"^1.10.0","tslint":"~5.20.0","typescript":"~3.5.3","zone.js":"~0.10.2"},"main":"bundles/nomadreservations-ngx-stripe.umd.js","module":"fesm5/nomadreservations-ngx-stripe.js","es2015":"fesm2015/nomadreservations-ngx-stripe.js","esm5":"esm5/nomadreservations-ngx-stripe.js","esm2015":"esm2015/nomadreservations-ngx-stripe.js","fesm5":"fesm5/nomadreservations-ngx-stripe.js","fesm2015":"fesm2015/nomadreservations-ngx-stripe.js","typings":"nomadreservations-ngx-stripe.d.ts","metadata":"nomadreservations-ngx-stripe.metadata.json","sideEffects":false,"_id":"@nomadreservations/ngx-stripe@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.16.3","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-rpCjeVdem4ZP7BWIQj3SDSodkM8YaP040sUTwVX6k6TDmmJZzWGrgVXkHVh3Fp6F2kq74hpVzEp4tXYW1hPqkg==","shasum":"d9ec7450e135f96acd2b1948a15f9e8490756aa6","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.2.0.tgz","fileCount":123,"unpackedSize":1098179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5/xZCRA9TVsSAnZWagAAZzYQAJE3U374cPNCgNgsMgS/\nKMiDY92uCWdNW3C0EDsNFTllFgtM1QxQ2t8KH1C9/XtNuF6JbmY0rku4hF2b\nPuap44CR3yR69XxAecL4nHdaREyY/6FZGz1wz/+EMKQPaW9xuCboXxKNzuR1\n7SdMZVyMQT74kVi6+f0bDWmhrQRA+zV1f0SVJg5E5PQJ+wRMjUhMN7eypYiE\np8IXOcmo4z17JPlXaSxDzbE6YV/+O7vXYpKJ1FhvrvQ9B1X0EReUIDQybJSd\n4rHZH/wecsE8l82XK19MQj0f0K8a4vD1R3vCWUJQ/sxsaIrGmz+fI3EUix/N\njpWLzcIPIieDIIAcweXwuB2Qe4fYWp3e6KYW+bktw88T00madSaV4+WgIOBO\nxJGW+Y3uA3DaihGL1nqSHtegH8f0XvYxtCb6HFtpLG0JtI9D/Yw3lla3hfsV\nnKL6vTCAUL2uomCEcfaqkyVLZjAhgUPtvOxCRjFGRwhEiN2cnJQTPDfqnGP/\nmbYTsoZst/R6uUXPLZuGWUMrtu5ZqqgoIrRZKfTjh6WNFD2aqp+QiySAywz4\nUSX46hQCU6/H4qE02bXK3GXc+fSP38hR7x7m3ypGhQDoQfr+cCLOmAvIpttK\njHhHp/5BSjfRq5otYakKRLqE09IEK0EJgxBzIi9E6xAMNai/N/vq3nFzkIod\n/Ef8\r\n=SOF0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlG2/rtc6Se7ZsJNHU7HqI8BvyairMNOgNIDlvtT55FwIhAMRR5XGCBzyk5OjYJiva+3Ku6Q1tgNSbc0Jb5Kj9689h"}]},"maintainers":[{"email":"paul@campgroundbooking.com","name":"paulryan"},{"email":"richarddevsolutions@gmail.com","name":"richarddevsolutions"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe_1.2.0_1575484505028_0.9954016779938315"},"_hasShrinkwrap":false},"1.2.2":{"$schema":"./node_modules/ng-packagr/package.schema.json","name":"@nomadreservations/ngx-stripe","version":"1.2.2","description":"@angular wrapper for StripeJS","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":"~8.2.9","@angular/core":"~8.2.9"},"dependencies":{"tslib":"^1.9.0"},"devDependencies":{"@angular-devkit/build-angular":"~0.803.8","@angular/animations":"~8.2.9","@angular/cdk":"^8.2.2","@angular/cli":"~8.3.8","@angular/common":"~8.2.9","@angular/compiler":"~8.2.9","@angular/compiler-cli":"~8.2.9","@angular/core":"~8.2.9","@angular/forms":"~8.2.9","@angular/language-service":"~8.2.9","@angular/material":"^8.2.2","@angular/platform-browser":"~8.2.9","@angular/platform-browser-dynamic":"~8.2.9","@angular/router":"~8.2.9","@compodoc/compodoc":"^1.1.10","@types/jasmine":"~3.4.2","@types/jasminewd2":"~2.0.8","@types/node":"~12.7.11","auto-changelog":"^1.16.1","codelyzer":"~5.1.2","core-js":"^3.2.1","doctoc":"^1.4.0","fstream":"^1.0.12","hammerjs":"^2.0.8","jasmine-core":"~3.5.0","jasmine-spec-reporter":"~4.2.1","js-yaml":"^3.13.1","karma":"~4.3.0","karma-chrome-launcher":"~3.1.0","karma-coverage-istanbul-reporter":"~2.1.0","karma-jasmine":"~2.0.1","karma-jasmine-html-reporter":"^1.4.2","mdi":"^2.2.43","ng-packagr":"^5.5.1","npm-run-all":"^4.1.5","protractor":"~5.4.2","release-it":"^12.4.2","rxjs":"~6.5.3","ts-node":"~8.4.1","tslib":"^1.10.0","tslint":"~5.20.0","typescript":"~3.5.3","zone.js":"~0.10.2"},"main":"bundles/nomadreservations-ngx-stripe.umd.js","module":"fesm5/nomadreservations-ngx-stripe.js","es2015":"fesm2015/nomadreservations-ngx-stripe.js","esm5":"esm5/nomadreservations-ngx-stripe.js","esm2015":"esm2015/nomadreservations-ngx-stripe.js","fesm5":"fesm5/nomadreservations-ngx-stripe.js","fesm2015":"fesm2015/nomadreservations-ngx-stripe.js","typings":"nomadreservations-ngx-stripe.d.ts","metadata":"nomadreservations-ngx-stripe.metadata.json","sideEffects":false,"_id":"@nomadreservations/ngx-stripe@1.2.2","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-al7jRaYmQ+NooYHi/ddCvoxyFiUBOocZYjyPsiP2dEaO3NFz0RXAcGs/WMb5Ijn63NBtfgaVz5PHLTQeWwQEaA==","shasum":"d70c9b9f9115d1fe054be12556376f89b36d25b0","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.2.2.tgz","fileCount":129,"unpackedSize":1122884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMwKcCRA9TVsSAnZWagAAyGkP/3YsVYsrFbXJI9YoaPA9\n8lNKfuY8xleYtjcEI/RoemIuuhk9I0O6x0Jc5CLTNbBHsiw7vCkWpU1vlWst\nog7jbEGPNdi9BvcskowS9R2q7yhUxV8OfpBEUPpVROWddgkfkOCr3+cFzEve\n0LF/6yF+WFoDbueLkOxpSQ9J/7t1vQB3DObn9nyKRhw1SQE133utLnovJOxd\nIBGR4UEsL+0e30OcDZlfsO80XSUtZTqHqEKRRumNEb3UAhaWu/I76ASi/S3u\n0x2TcWrh24LlZg39akAE4QDjY/dFxCkccGHkrzikzsxDhc4eyAUxzoZeK+wZ\nzLVHU9uLMy3TEW6jNFUymtqUZ42xYikUpgYN/pwhBtXU/Yq2tj+f2q/zsUCJ\nw37Rf/YZlf79Mgc2gmPvFLhjhSIAi9T94on+uMkk+wAcFy+snUJTlqoP9MFq\npRR+P8dPkxImkXtQuRhln/qNIfiFZJC5AYWCR+PoG1GHXbHUQSg+ALtXRYll\nk2/z6nPnltpXdksW/nVdKANBKFL47hhkzceSdhMaWl7I3VehEkyCzGOfpreS\njM07KLL+7EhkeQmUN2ZJu8eJVQ4q+42Y51J7k+TNT4W0dkGTWNmTwcYT7iIl\neOBB9SabWXJlnzlCErtawdtp7fxrsP9JY0hmf7iCIn2e2Y54LdqEVCEvXs4N\ni5G9\r\n=uGCh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmP3MZrb2uCVnpUBzx2pAWPYIi/rQtekJnT+xixi6XdAiEAnfOWFRV/ebITwOgx/nley+d/5sFWaHP3hzfk4ZjPG6o="}]},"maintainers":[{"email":"paul@campgroundbooking.com","name":"paulryan"},{"email":"richarddevsolutions@gmail.com","name":"richarddevsolutions"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe_1.2.2_1580401307641_0.8178805362386785"},"_hasShrinkwrap":false},"1.2.3":{"$schema":"./node_modules/ng-packagr/package.schema.json","name":"@nomadreservations/ngx-stripe","version":"1.2.3","description":"@angular wrapper for StripeJS","repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"license":"MIT","peerDependencies":{"@angular/common":"~8.2.9","@angular/core":"~8.2.9"},"dependencies":{"tslib":"^1.9.0"},"devDependencies":{"@angular-devkit/build-angular":"~0.803.8","@angular/animations":"~8.2.9","@angular/cdk":"^8.2.2","@angular/cli":"~8.3.8","@angular/common":"~8.2.9","@angular/compiler":"~8.2.9","@angular/compiler-cli":"~8.2.9","@angular/core":"~8.2.9","@angular/forms":"~8.2.9","@angular/language-service":"~8.2.9","@angular/material":"^8.2.2","@angular/platform-browser":"~8.2.9","@angular/platform-browser-dynamic":"~8.2.9","@angular/router":"~8.2.9","@compodoc/compodoc":"^1.1.10","@types/jasmine":"~3.4.2","@types/jasminewd2":"~2.0.8","@types/node":"~12.7.11","auto-changelog":"^1.16.1","codelyzer":"~5.1.2","core-js":"^3.2.1","doctoc":"^1.4.0","fstream":"^1.0.12","hammerjs":"^2.0.8","jasmine-core":"~3.5.0","jasmine-spec-reporter":"~4.2.1","js-yaml":"^3.13.1","karma":"~4.3.0","karma-chrome-launcher":"~3.1.0","karma-coverage-istanbul-reporter":"~2.1.0","karma-jasmine":"~2.0.1","karma-jasmine-html-reporter":"^1.4.2","mdi":"^2.2.43","ng-packagr":"^5.5.1","npm-run-all":"^4.1.5","protractor":"~5.4.2","release-it":"^12.4.2","rxjs":"~6.5.3","ts-node":"~8.4.1","tslib":"^1.10.0","tslint":"~5.20.0","typescript":"~3.5.3","zone.js":"~0.10.2"},"main":"bundles/nomadreservations-ngx-stripe.umd.js","module":"fesm5/nomadreservations-ngx-stripe.js","es2015":"fesm2015/nomadreservations-ngx-stripe.js","esm5":"esm5/nomadreservations-ngx-stripe.js","esm2015":"esm2015/nomadreservations-ngx-stripe.js","fesm5":"fesm5/nomadreservations-ngx-stripe.js","fesm2015":"fesm2015/nomadreservations-ngx-stripe.js","typings":"nomadreservations-ngx-stripe.d.ts","metadata":"nomadreservations-ngx-stripe.metadata.json","sideEffects":false,"_id":"@nomadreservations/ngx-stripe@1.2.3","_npmVersion":"6.4.1","_nodeVersion":"10.16.3","_npmUser":{"name":"paulryan","email":"paul@campgroundbooking.com"},"dist":{"integrity":"sha512-xR0EVtmcHyd20scx9Q0+uaiJeFcpae9RVglkZL3AvqNQpFCQ3Xc/ESeQkrpRUqGNe0vDFZnFri6j8hF8ADTQfg==","shasum":"583feec847bd34f4fe7c03a0b6c32232fdbf4d83","tarball":"https://registry.npmjs.org/@nomadreservations/ngx-stripe/-/ngx-stripe-1.2.3.tgz","fileCount":129,"unpackedSize":1143196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuYEJCRA9TVsSAnZWagAA67IP/1H5h+5+PNDX2cjd4rGk\neIlnMGH8eSpWQLBk1iYWCztPk8i3bHurRO5dEyfGfrgTh2sAwnUGlQ32vC0D\nMVVRYMlxgmnSEJInRqmlLa9aKyNq8Bn2yPfMbY0O6YKjRwwu5kpgtQPdjy/2\n2c4E33Z0p7aCzjeLJaCf02XCWXV4UsEOcebxGp+iJslDa3rvM7B3ck9pyeL0\nNDYQMkldnHZXkvlgnDx38ASxe+pTy3lXGyz3xFaMIB2ao6EVzAkRMjPzI7gU\neZucsr4u6dtnZPzv6NxjT46pbBzLC1J1oOEC/Rfz+qds+fCWKvoK4Ghg1usT\nb/a2U+LoGeIf/tyoA1vEbSCmd9/4MIZxp7GEmj7+piJ1IYH12jk00AM+EDsa\nsLHZyARqOOskKDItPDvow8YW3W1OdqSevvUk8rsFLGmp0Hlj/vCWPm1DBj5l\nNc/DNtH4bavCMAwluBW2ij2M+KY8CA/uaqUeAdLdWxu233441xnxLwYdPX8z\nezMFAjv2lGLg0PPrpq9KwGuheu6gDCnntdFshGkPHD5zkL8nV6ls94CZnhwg\nFuKb34V6PUnuAIa5pLIh61eYcyuBQ5EPaR5otfUFpBwPbYLS1W/2sbmKIKG8\nrckHMb9PP8xuup4I5bV7S7lmWubhA5YqXNyVraZT9XZdDgyC87p1vNp7PHuw\nbID0\r\n=AiZz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWnGJ8EZ4JBfdWCH41AWwJwM6vSZ11JXqxHJJ9H401HQIgWIDR+BbdX9BZLEgrG0JA4HNskpzzX/zvNk5xRi3ZIjo="}]},"maintainers":[{"email":"paul@campgroundbooking.com","name":"paulryan"},{"email":"richarddevsolutions@gmail.com","name":"richarddevsolutions"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-stripe_1.2.3_1589215497242_0.5743976066502356"},"_hasShrinkwrap":false}},"readme":"<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**\n\n- [@nomadreservations/ngx-stripe](#nomadreservationsngx-stripe)\n  - [Features](#features)\n  - [Installation](#installation)\n  - [Using the library](#using-the-library)\n  - [StripeCardComponent](#stripecardcomponent)\n    - [RequestPaymentButton](#requestpaymentbutton)\n    - [Dynamic Stripe Keys](#dynamic-stripe-keys)\n    - [PaymentIntents](#paymentintents)\n    - [SCA/3D Secure payments](#sca3d-secure-payments)\n  - [Testing](#testing)\n  - [Building](#building)\n  - [Publishing](#publishing)\n  - [Documentation](#documentation)\n  - [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# @nomadreservations/ngx-stripe\n\n[![version](https://img.shields.io/npm/v/@nomadreservations/ngx-stripe.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n[![license](https://img.shields.io/npm/l/express.svg)](https://www.npmjs.com/package/@nomadreservations/ngx-stripe)\n\n@angular wrapper for StripeJS based on module by Ricardo Sánchez Gregorio at https://github.com/richnologies/ngx-stripe\n\n_Note: This version is designed to work with angular v8+ only_\n\n## Features\n\n* Stripe Service\n* Lazy script loading\n* AoT compliant\n* SSR fallback\n\n## Installation\n\nTo install this library, run:\n\n```bash\n$ npm install @nomadreservations/ngx-stripe --save\nor\n$ yarn add @nomadreservations/ngx-stripe\n```\n\n## Using the library\n\nImport the `NgxStripeModule` into the application\n\nThe module takes the same parameters as the global Stripe object. The APIKey and the optional options to use Stripe connect\n\n* apiKey: string\n* options: {\n  stripeAccount?: string;\n}\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\n\n// Import your library\nimport { NgxStripeModule } from '@nomadreservations/ngx-stripe';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    NgxStripeModule.forRoot('***your-stripe-publishable key***'),\n    LibraryModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\n_Note: If you leave the publishable key blank you must set on using StripeSerive.changeKey prior to creating token's or sources_\n\n## StripeCardComponent\n\nAs an alternative to the previous example, you could use the StripeCardComponent.\n\nIt will make a little bit easier to mount the card.\n\nTo fetch the Stripe Element, you could you use either the (change) output, or,\nby using a ViewChild, the public method getCard()\n\n//stripe.compnent.html\n```html\n<ngx-stripe-card [options]=\"cardOptions\" [elementsOptions]=\"elementsOptions\" (change)=\"cardUpdated($event)\" (error)=\"error = $event\"></ngx-stripe-card>\n<div class=\"error\">\n  {{error?.message}}\n</div>\n<button (click)=\"getCardToken()\" [disabled]=\"!complete\">Get Card Token</button>\n```\n\n//stripe.component.ts\n```typescript\nimport { Component, OnInit, ViewChild, ElementRef } from '@angular/core';\nimport { FormGroup, FormBuilder, Validators } from \"@angular/forms\";\n\nimport { StripeService, StripeCardComponent, ElementOptions, ElementsOptions } from \"@nomadreservations/ngx-stripe\";\n\n\n@Component({\n  selector: 'app-stripe-test',\n  templateUrl: 'stripe.component.html'\n})\nexport class StripeTestComponent implements OnInit {\n  stripeKey = '';\n  error: any;\n  complete = false;\n  element: StripeElement;\n  cardOptions: ElementOptions = {\n    style: {\n      base: {\n        iconColor: '#276fd3',\n        color: '#31325F',\n        lineHeight: '40px',\n        fontWeight: 300,\n        fontFamily: '\"Helvetica Neue\", Helvetica, sans-serif',\n        fontSize: '18px',\n        '::placeholder': {\n          color: '#CFD7E0'\n        }\n      }\n    }\n  };\n\n  elementsOptions: ElementsOptions = {\n    locale: 'en'\n  };\n\n  constructor(\n    private _stripe: StripeService\n  ) {}\n\n  cardUpdated(result) {\n    this.element = result.element;\n    this.complete = result.card.complete;\n    this.error = undefined;\n  }\n\n  keyUpdated() {\n    this._stripe.changeKey(this.stripeKey);\n  }\n\n  getCardToken() {\n    this._stripe.createToken(this.element, {\n      name: 'tested_ca',\n      address_line1: '123 A Place',\n      address_line2: 'Suite 100',\n      address_city: 'Irving',\n      address_state: 'BC',\n      address_zip: 'VOE 1H0',\n      address_country: 'CA'\n    }).subscribe(result => {\n      // Pass token to service for purchase.\n      console.log(result);\n    });\n  }\n}\n```\n\n### RequestPaymentButton\nA payment request button (e.g. apple pay, google chrome payment, etc.) can be enabled with the `ngx-payment-request` component. All of the options [Request Payment Api](https://stripe.com/docs/payment-request-api) options are exposed via the three options sections in the component. \n\n// request-button.component.html\n```html\n<div class=\"container\">\n  <mat-card>\n    Pay: <mat-slider min=\"1\" max=\"100\" step=\"10\" thumbLabel [value]=\"pay\" (valueChange)=\"updatePay($event)\"></mat-slider>\n    <ngx-payment-request \n      [options]=\"requestOptions\" \n      [elementsOptions]=\"elementsOptions\" \n      [styles]=\"styles\" \n      (shippingAddressChange)=\"updateShippingAddress($event)\"\n      (shippingOptionChange)=\"updateShippingOption($event)\"\n      (change)=\"requestUpdated($event)\">\n    </ngx-payment-request>\n\n  </mat-card>\n```\n\n// request-button.compnent.ts\n```typescript\n@Component({\n  selector: 'app-test',\n  templateUrl: 'request-button.component.html'\n})\nexport class RequestButtonComponent implements OnInit {\n  @Input set stripeKey(key) {\n    this._stripe.changeKey(key);\n  }\n\n  public requestOptions: RequestElementOptions = {\n    country: 'US',\n    currency: 'usd',\n    requestPayerName: true,\n    requestPayerEmail: true,\n    requestPayerPhone: true,\n    requestShipping: true,\n    total: {\n      amount: 10000,\n      label: 'Donate to the things'\n    }\n  };\n\n  public styles: PaymentRequestButtonStyle = {\n    type: 'donate',\n    theme: 'light',\n    height: '64px'\n  };\n\n  public elementsOptions: ElementsOptions = {\n    locale: 'en'\n  };\n\n  public pay = 100;\n\n  constructor(private _stripe: StripeService) { }\n  \n  public updatePay(amount: number) {\n    this.pay = amount;\n    this.requestOptions = {\n      ...this.requestOptions,\n      total: {\n        ...this.requestOptions.total,\n        amount: amount * 100\n      }\n    };\n  }\n\n  public async requestUpdated(result) {\n    const response = await fetch('/charges', {\n      method: 'POST',\n      body: JSON.stringify({token: result.token.id}),\n      headers: {'content-type': 'application/json'},\n    });\n\n    if (response.ok) {\n      result.complete('success');\n    } else {\n      result.complete('fail');\n    }    \n  }\n\n  public updateShippingAddress(result) {\n    result.updateWith({\n      status: 'success',\n      shippingOptions: [\n        {\n          id: 'free-shipping',\n          label: 'Free shipping',\n          detail: 'Arrives in 5 to 7 days',\n          amount: 0\n        },\n        {\n          id: 'express',\n          label: 'Express shipping',\n          detail: 'Arrives in 1 to 2 days',\n          amount: 1000\n        }\n      ]\n    });\n  }\n\n  public updateShippingOption(result) {\n    result.updateWith({\n      status: 'success'\n    });\n  }\n}\n\n```\n\n### Dynamic Stripe Keys\nGiven the way an AOT angular build processes provided values if you need to provide a stripe key at runtime you'll want to forgo the forRoot initialization and instead add a factory and provider\n\n```ts\n\n  export function NgxStripeFactory(): string {\n    return dynamicLocation.stripePkKey;\n  }\n  \n  @NgModule({\n    ...\n    imports: []\n      ...\n      NgxStripeModule.forRoot('whatever key you think should be default'),\n      ...\n    ]\n    providers: [\n      {\n        provide: STRIPE_PUBLISHABLE_KEY,\n        useFactory: NgxStripeFactory\n      }\n    ]\n  })\n```\n\n### PaymentIntents\nYou can use the payment intents api with this service just like with stripe.js the following are exposed via the `StripeService`\n\n```ts\n  handleCardSetup(clientSecret: string, el: Element, cardSetupOptions?: SetupIntentData): Promise<SetupIntentResult>;\n  handleCardAction(clientSecret: string);\n  handleCardPayment(clientSecret: string, el: Element, data: CardPaymentData);\n  confirmPaymentIntent(clientSecret: string, el: Element, data: ConfirmIntentData);\n  retrievePaymentIntent(clientSecret: string);\n  confirmSetupIntent(clientSecret: string, el: Element, data: ConfirmSetupIntentData);\n  retrieveSetupIntent(clientSecret: string);\n```\n\n### SCA/3D Secure payments\n\n3D Secure payments are enabled by following a [3D Secure Flow](https://stripe.com/docs/payments/3d-secure#example-of-a-3d-secure-2-flow) using the payment intents api's. You will need to setup a proper next action in the payment intent based off of the 3D Secure response from the customers bank/institution. \n\nExample:\n//stripe.compnent.html\n```html\n<ngx-stripe-card [options]=\"cardOptions\" [elementsOptions]=\"elementsOptions\" (change)=\"cardUpdated($event)\" (error)=\"error = $event\"></ngx-stripe-card>\n<div class=\"error\">\n  {{error?.message}}\n</div>\n<button (click)=\"payNow()\" [disabled]=\"!complete\">Pay</button>\n```\n\n//stripe.component.ts\n```typescript\nimport { Component, OnInit, ViewChild, ElementRef } from '@angular/core';\nimport { FormGroup, FormBuilder, Validators } from \"@angular/forms\";\n\nimport { StripeService, StripeCardComponent, ElementOptions, ElementsOptions } from \"@nomadreservations/ngx-stripe\";\n\n\n@Component({\n  selector: 'app-stripe-test',\n  templateUrl: 'stripe.component.html'\n})\nexport class StripeTestComponent implements OnInit {\n  stripeKey = '';\n  error: any;\n  complete = false;\n  element: StripeElement;\n  cardOptions: ElementOptions = {\n    style: {\n      base: {\n        iconColor: '#276fd3',\n        color: '#31325F',\n        lineHeight: '40px',\n        fontWeight: 300,\n        fontFamily: '\"Helvetica Neue\", Helvetica, sans-serif',\n        fontSize: '18px',\n        '::placeholder': {\n          color: '#CFD7E0'\n        }\n      }\n    }\n  };\n\n  elementsOptions: ElementsOptions = {\n    locale: 'en'\n  };\n\n  constructor(\n    private _stripe: StripeService\n  ) {}\n\n  cardUpdated(result) {\n    this.element = result.element;\n    this.complete = result.card.complete;\n    if(this.complete) {\n      this._stripe.\n    }\n    this.error = undefined;\n  }\n\n  keyUpdated() {\n    this._stripe.changeKey(this.stripeKey);\n  }\n\n  async payNow() {\n    const response = await fetch('/paymentIntent', {\n      method: 'POST',\n      body: JSON.stringify({amount: 10000, currency: 'usd'}),\n      headers: {'content-type': 'application/json'},\n    });\n\n    const body = await response.json();\n    this._stripe.handleCardPayment(body.client_secret, this.element, { payment_method_data: {\n      billing_details: {name: 'Bob Smith'}\n    }}).subscribe(result => {\n      if(result.error) {\n        console.error('got stripe error', result.error);\n      } else {\n        console.log('payment succeeded');\n      }\n    });\n  }\n}\n```\n\nPlease note you can also manually handle this flow using the paymentIntent methods however that is not the default path and you will have to implement it yourself (see more [here](https://stripe.com/docs/payments/3d-secure))\n\n## Testing\nThe following command runs unit & integration tests that are in the `tests` folder, and unit tests that are in `src` folder:\n```Shell\nyarn test\n```\n\n## Building\nThe following command:\n```Shell\nyarn build\n```\n- starts _TSLint_ with _Codelyzer_\n- starts _AoT compilation_ using _ngc_ compiler\n- creates `dist` folder with all the files of distribution\n\nTo test the npm package locally, use the following command:\n```Shell\nyarn publish:dev\n```\nYou can then run the following to install it in an app to test it:\n```Shell\nyalc link @nomadreservations/ngx-stripe\n```\n\n## Publishing\n\n```Shell\nyarn release:patch\nor\nyarn release:minor\nor\nyarn release:major\n```\n\n## Documentation\nTo generate the documentation, this starter uses [compodoc](https://github.com/compodoc/compodoc):\n```Shell\nyarn compodoc\nyarn compodoc:serve\n```\n\n## License\n\nMIT\n","maintainers":[{"email":"Jacob.martinez@campingworld.com","name":"jacob-martinez-nomad"},{"email":"alexander.hrst@gmail.com","name":"sshulin"},{"email":"zobrx@rambler.ru","name":"luneneagara"},{"email":"j.bourland@campingworld.com","name":"elybourland-cw"},{"email":"ryan.gross@campingworld.com","name":"ryangross-cw"}],"time":{"modified":"2023-07-05T19:46:04.204Z","created":"2018-01-18T19:20:26.256Z","1.0.0-rc.0":"2018-01-18T19:20:26.256Z","1.0.0-rc.1":"2018-01-18T20:12:48.538Z","1.0.0":"2018-01-18T21:18:40.173Z","1.0.1":"2018-01-21T22:21:16.995Z","1.1.0":"2018-09-09T21:49:48.436Z","1.2.0-beta.0":"2019-09-04T17:39:34.891Z","1.2.0-beta.1":"2019-10-07T16:25:43.810Z","1.2.0-beta.2":"2019-10-07T17:13:21.823Z","1.2.0-beta.3":"2019-10-07T18:02:11.034Z","1.2.0-beta.4":"2019-10-08T00:33:32.281Z","1.2.0-beta.5":"2019-10-08T00:36:17.519Z","1.2.0-beta.6":"2019-10-08T00:51:30.531Z","1.2.0":"2019-12-04T18:35:05.190Z","1.2.2":"2020-01-30T16:21:47.797Z","1.2.3":"2020-05-11T16:44:57.386Z"},"homepage":"https://github.com/nomadreservations/ngx-stripe","keywords":["angular","javascript","typescript"],"repository":{"type":"git","url":"git+https://github.com/nomadreservations/ngx-stripe.git"},"bugs":{"url":"https://github.com/nomadreservations/ngx-stripe/issues"},"license":"MIT","readmeFilename":"README.md"}