{"_id":"@carxparts/product-authentication-client","_rev":"5-d3d4f3e91d9427bc716162f4dd9837cd","name":"@carxparts/product-authentication-client","dist-tags":{"pr-2":"0.0.1-pr-2-26928f2.0","latest":"0.0.1","pr-4":"0.0.1-pr-4-3763611.0","pr-5":"0.0.1-pr-5-1b878ae.0"},"versions":{"0.0.1-pr-2-853a31b.0":{"name":"@carxparts/product-authentication-client","version":"0.0.1-pr-2-853a31b.0","description":"Test","main":"./lib/js/index.js","module":"./lib/js/index.js","types":"./lib/d_ts/index.d.ts","publishConfig":{"access":"public"},"scripts":{"build":"gulp","watch":"gulp watch","test":"npm run clear_jest && jest --coverage","clear_jest":"jest --clearCache"},"repository":{"type":"git","url":"git+https://github.com/Rafat97/npm-single-package-template.git"},"keywords":["hello","world","Hello World","typescript","module"],"author":{"name":"rafat97"},"license":"ISC","bugs":{"url":"https://github.com/Rafat97/npm-single-package-template/issues"},"homepage":"https://github.com/Rafat97/npm-single-package-template#readme","devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/gulp":"^4.0.9","@types/jest":"^27.4.1","babel-loader":"^8.2.5","del":"^6.0.0","gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","gulp-uglify":"^3.0.2","jest":"^27.5.1","supertest":"^6.2.2","ts-jest":"^27.1.4","ts-loader":"^9.3.0","ts-node":"^10.7.0","typescript":"^4.6.4","webpack":"^5.72.0","webpack-bundle-analyzer":"^4.5.0","webpack-stream":"^7.0.0"},"dependencies":{"axios":"^0.27.2"},"gitHead":"853a31b6e5ddc1d386b33459815b553f8cac9566","_id":"@carxparts/product-authentication-client@0.0.1-pr-2-853a31b.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-m2qbFjpeQp2afmrLrK0/FdEHgzrcEkrToPtfOKMEMADosvmpET5rq6uju/lxObDfx30w4GWe5lxloC+V8SMxKw==","shasum":"506ad33bc3324561e2dd4dda5a840931e31274c9","tarball":"https://registry.npmjs.org/@carxparts/product-authentication-client/-/product-authentication-client-0.0.1-pr-2-853a31b.0.tgz","fileCount":9,"unpackedSize":46446,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCG2qS+Giyi2vbqvbDcbgNHWsxwK88QTJwQ9T1rsbOpbwIgMvyZRI8+pa74rjFC8wQH5FGstTVvxOk0Bp3k+XHyFzg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJig3EHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqNoQ/+N+PuzAS6cisiMoxuEIpVYz53qamPqt/gPu7bEZ0E1TZFCbuT\r\nrOCznTtXCjZsYa2LmKKuXSqkinLP45oSIAebuoSdDILE5mGgETx6FfNCfRWm\r\n0X/h9jWh3oMKLfSok9gw10h53oq+5OP1yfv58ZkMjPI7DRAgDqzADz64seiU\r\npOMV8yjaaO5GyqnzQ1UfTVFHeOp4/YNNyfSn8XlIuDpuLTSvdowD2IAofoSN\r\nygqap0wR7REgnBGSX4WKWPlyNHiXmdd1WJQ3EK7HrofppoQ7MkgqxFLNEl36\r\nFkufgvAtKJ93nCGQ3YxMTuEPgX2PZ/JZZ1tnnj6AnReTyeCLqUkgYnXbzbpJ\r\nDCvRzK7JQFX9oU++zcPkgfcmvtAutKoptbl8eCDt6fFqKcQ42cnQTB1A6jfD\r\nyYmL4UYyJByjT7EClEMbc6MKoWn3ElEqu1SYr3wi6Kn9CHzjEUMD0iMs10WD\r\n4f5iS82wmPgJa/HNT9cNx1WGrV5rnRxXmtvul7oJczZNgR23ffvygyK0YRmZ\r\ntTFm+6ywOMQVwM8kHNX1ASzSAEhTeGWAw5c1d78jIvaTGarfCJBE/l+S8ndO\r\nv4BjEkvM6dJvKXlG1zduN80rb/QVgEyaS9GFeDtnoTpZu/xP/D0IgAjvYciy\r\nXSRr0Abpvz0dvS2rj9qPwE+c5BUJS6U0ULk=\r\n=V5Ck\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"rafat97","email":"rafathaque1997@gmail.com"},"directories":{},"maintainers":[{"name":"rafat97","email":"rafathaque1997@gmail.com"},{"name":"mashfique","email":"x12.devs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/product-authentication-client_0.0.1-pr-2-853a31b.0_1652781319616_0.18537978986730175"},"_hasShrinkwrap":false},"0.0.1-pr-2-e444a7a.0":{"name":"@carxparts/product-authentication-client","version":"0.0.1-pr-2-e444a7a.0","description":"Client SDK is for vendors who are our customers and want to integrate Product Authentication into their own websites","main":"./lib/js/index.js","module":"./lib/js/index.js","types":"./lib/d_ts/index.d.ts","publishConfig":{"access":"public"},"scripts":{"build":"gulp","watch":"gulp watch","test":"npm run clear_jest && jest --coverage","clear_jest":"jest --clearCache"},"repository":{"type":"git","url":"git+https://github.com/carxparts/product-authentication-client-sdk.git"},"keywords":["hello","world","Hello World","typescript","module"],"author":{"name":"rafat97"},"license":"ISC","bugs":{"url":"https://github.com/carxparts/product-authentication-client-sdk/issues"},"homepage":"https://github.com/carxparts/product-authentication-client-sdk#readme","devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/gulp":"^4.0.9","@types/jest":"^27.4.1","babel-loader":"^8.2.5","del":"^6.0.0","gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","gulp-uglify":"^3.0.2","jest":"^27.5.1","supertest":"^6.2.2","ts-jest":"^27.1.4","ts-loader":"^9.3.0","ts-node":"^10.7.0","typescript":"^4.6.4","webpack":"^5.72.0","webpack-bundle-analyzer":"^4.5.0","webpack-stream":"^7.0.0"},"dependencies":{"axios":"^0.27.2"},"readme":"# Introduction\n\nProduct Authentication is a service offered by Carxparts which helps vendors verify products (for e.g., car parts) in their inventory. \n\nThis is how Product Authentication works:\n1. User scans a QR code on their device.\n2. The QR code opens a website, which shows if the product is authentic or not.\n\nThis open source client SDK is for vendors who are our customers and want to integrate Product Authentication into their own websites.\n\n# How to install\n\n```bash\nnpm install @carxparts/product-authentication-client\nor\nyarn add @carxparts/product-authentication-client\n```\n\n# Examples\n\n## CommonJS/ES6 Uses\n\n```js\n// import { ProductAuthenticationClient } from '@carxparts/product-authentication-client';\nconst {\n  ProductAuthentication,\n} = require(\"@carxparts/product-authentication-client\");\n\n(async () => {\n  const option = {\n    userName: \"\", // your user name for the product authentication\n    baseUrl: \"\", // your base url for the product authentication\n  };\n\n  const pda = new ProductAuthentication(option);\n  const data = await pda.verify(\"3fa85f64-5717-4562-b3fc-2c963f66afa6\");\n  console.log(data);\n})();\n```\n\n## HTML Uses\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>Document</title>\n    <script src=\"[script-link]\"></script>\n  </head>\n  <body>\n    <h1>Test Html</h1>\n  </body>\n  <script>\n    const option = {\n      userName: \"\", // this is required\n      baseUrl: \"\", // this is required\n    };\n\n    const pda = new carxparts.ProductAuthentication(option);\n    pda\n      .verify(\"3fa85f64-5717-4562-b3fc-2c963f66afa6\")\n      .then((response) => {\n        console.log(\"response\", response);\n      })\n      .catch((error) => {\n        console.error(\"catch error\", error);\n      });\n  </script>\n</html>\n```\n","readmeFilename":"README.md","gitHead":"e444a7ab2fa839997e8ac96fe60a47395cbdcff7","_id":"@carxparts/product-authentication-client@0.0.1-pr-2-e444a7a.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-O6AGaU3ZHwpnaT79EBPKwe9TNhP2QJ/tOLsV+pIZTn+s8K+xx25ygAGM+7RPdXb6cER81f/RVgkLj3fVHLW9AQ==","shasum":"4ae38d7f475a1209fba60a2215070ad9adc62be4","tarball":"https://registry.npmjs.org/@carxparts/product-authentication-client/-/product-authentication-client-0.0.1-pr-2-e444a7a.0.tgz","fileCount":9,"unpackedSize":46582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDl1Q/sj1xxEI1ZgtQmMzUQhCbMdGZgfsWDAWu1IepnGwIhAP7Ap+0QLTIFGhJd3x06UBN7VMMBaMJN4HDBv/nEz5jh"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJig3PuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGiA//WlPezOQMqoYRr1tbRgYUVrl1sHj6GHsVFWGWM2n4RLF6Cbar\r\nu+IBMVHGnIXc0rvJjPapoCyUhfKZrGxSp7uKJ1mH+tF7LiNrPh89D0n7B8LS\r\n/qwb1XC+35UGAC36ChfrbGf8eUgOwz6dwtFVWMhi/5rIF05GsaTZiM0TkNKF\r\ntlcFFRCEpXm9VfW1JyDjZYaNygxYYW6mCuy4wM5MZ5ByO/Enbs+07+ajk+ak\r\nNwzVgWdosw9jVsHBDwee9Tp4hilTj/hUTetUhzE/7EDoAWEJ1nYbvzmavnoQ\r\nmMYtAhM9vAOlO4Xl9Ov+aNpsUhYmJcnQh2BzFgeDKlsSPs/24zC/m0TiaCy7\r\nf5eVDmfuxKfqq3EaeRCqzKgdlKDvNKa53fQ52xIEvUIIFaH0d92p8NYrm/49\r\nn8HFPYjCjlcGa2YZHP+3c/37XRm6njFvPlaKkoV/rHgQcy+/TIBDe9rs8X3s\r\naFRbMBdk3BcieHGqWuZ88xMCFBGKN7xFi38noaesme8G8r26SEyR1rgSEaPx\r\nFR+EZOyV/Q4Dif4n9Sh4QOzNrgjSCN/iBdg1FB4zGYw1VM2+ljtjk3NT8vDN\r\ntYsC+C3Ymngm19XSZynMQutpkUAfD/QWgMJhCkusNb7cKXDTuhWgtpW16z7n\r\naZIhf8h9idjgbUkptJaDYx5zanExuZ7rhBw=\r\n=OC7d\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"rafat97","email":"rafathaque1997@gmail.com"},"directories":{},"maintainers":[{"name":"rafat97","email":"rafathaque1997@gmail.com"},{"name":"mashfique","email":"x12.devs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/product-authentication-client_0.0.1-pr-2-e444a7a.0_1652782061896_0.49910207501539383"},"_hasShrinkwrap":false},"0.0.1-pr-2-26928f2.0":{"name":"@carxparts/product-authentication-client","version":"0.0.1-pr-2-26928f2.0","description":"Client SDK is for vendors who are our customers and want to integrate Product Authentication into their own websites","main":"./lib/js/index.js","module":"./lib/js/index.js","types":"./lib/d_ts/index.d.ts","publishConfig":{"access":"public"},"scripts":{"build":"gulp","watch":"gulp watch","test":"npm run clear_jest && jest --coverage","clear_jest":"jest --clearCache"},"repository":{"type":"git","url":"git+https://github.com/carxparts/product-authentication-client-sdk.git"},"keywords":["hello","world","Hello World","typescript","module"],"author":{"name":"rafat97"},"license":"ISC","bugs":{"url":"https://github.com/carxparts/product-authentication-client-sdk/issues"},"homepage":"https://github.com/carxparts/product-authentication-client-sdk#readme","devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/gulp":"^4.0.9","@types/jest":"^27.4.1","babel-loader":"^8.2.5","del":"^6.0.0","gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","gulp-uglify":"^3.0.2","jest":"^27.5.1","supertest":"^6.2.2","ts-jest":"^27.1.4","ts-loader":"^9.3.0","ts-node":"^10.7.0","typescript":"^4.6.4","webpack":"^5.72.0","webpack-bundle-analyzer":"^4.5.0","webpack-stream":"^7.0.0"},"dependencies":{"axios":"^0.27.2"},"readme":"# Introduction\n\nProduct Authentication is a service offered by Carxparts which helps vendors verify products (for e.g., car parts) in their inventory. \n\nThis is how Product Authentication works:\n1. User scans a QR code on their device.\n2. The QR code opens a website, which shows if the product is authentic or not.\n\nThis open source client SDK is for vendors who are our customers and want to integrate Product Authentication into their own websites.\n\n# How to install\n\n```bash\nnpm install @carxparts/product-authentication-client\nor\nyarn add @carxparts/product-authentication-client\n```\n\n# Examples\n\n## CommonJS/ES6 Uses\n\n```js\n// import { ProductAuthenticationClient } from '@carxparts/product-authentication-client';\nconst {\n  ProductAuthentication,\n} = require(\"@carxparts/product-authentication-client\");\n\n(async () => {\n  const option = {\n    userName: \"\", // your user name for the product authentication\n    baseUrl: \"\", // your base url for the product authentication\n  };\n\n  const pda = new ProductAuthentication(option);\n  const data = await pda.verify(\"3fa85f64-5717-4562-b3fc-2c963f66afa6\");\n  console.log(data);\n})();\n```\n\n## HTML Uses\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>Document</title>\n    <script src=\"[script-link]\"></script>\n  </head>\n  <body>\n    <h1>Test Html</h1>\n  </body>\n  <script>\n    const option = {\n      userName: \"\", // this is required\n      baseUrl: \"\", // this is required\n    };\n\n    const pda = new carxparts.ProductAuthentication(option);\n    pda\n      .verify(\"3fa85f64-5717-4562-b3fc-2c963f66afa6\")\n      .then((response) => {\n        console.log(\"response\", response);\n      })\n      .catch((error) => {\n        console.error(\"catch error\", error);\n      });\n  </script>\n</html>\n```\n","readmeFilename":"README.md","gitHead":"26928f25680cc91b39237fcfb096a60ccc88e9cd","_id":"@carxparts/product-authentication-client@0.0.1-pr-2-26928f2.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-w3c+RmivQ4EcfsuvmJFVi7yk+22HWLGQufHrheKfXjMQX8I9Om0oRBRNBhDXlv7wIk78L1qp/ie/cZ75syL4Hw==","shasum":"ee814754f47c14cb8920d37aa5cc5ba42e763be6","tarball":"https://registry.npmjs.org/@carxparts/product-authentication-client/-/product-authentication-client-0.0.1-pr-2-26928f2.0.tgz","fileCount":9,"unpackedSize":46582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8F0FGErvI8gtwykpET0qd5DsbsrIb2fSlcwMfK4DRgAIgLIws6d4xxAeiHoSl465UsIZ6zJTjaL3R0Ncc70St2Rk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJig3WCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmobExAAmzew58nkrf0j085rznYhwqa8ZcAPNHDEhSTLIZ88BcVw0wf+\r\nAbZSFWSGgFzEtJF4EmaHeYLD9RAi/5SwkE6qNPv+B4xmKvNWO/LClbfexbEK\r\nvt/CMraVx8zhlBrkLtX93oLH45fKKUqt8Ev9cWnsPhcEUIS1D162LYt13OFc\r\nQu4H+GkZG9in09VPzR6nuvDNVUtbOhbMaxbvnf+VHERgSQP/yUCY0LKrdc9p\r\n2DgG7yA98W3ogzIK5PLEgdfwf1LDyYo0jOTYjv097nCmRm2YPa3MH7sKq/ei\r\nneQKmojN+OzqhNViWtAo6EVaKFubo5eaeh87TNZ0WinyhGBwINcUa53KUnnd\r\nnAt6yRZqJMrDeucrVa5BP+53nJvagUtsCYxbLn7xHjeBStGJudeGneqSFxU/\r\ne11ZG6GkZORRVN8X/Rk9TRqRL72Mnl5L5uEHcgqWIp9MFrOLgz4IfKRJHL3r\r\nwrhAZp0jYMuHrieRsxMbC+s2oQ6QUVyO0gMxubLKgcoON33t3sQuV4kkD59L\r\nxrRdgOZ0BgclnkjKUmS6kuGb4nPzimPlyPmON+OB9zEk1I4Wxv2B5KtFtyfT\r\nFd+JgTVM7PHQ8LJRpLtmYorKlVTrfn7crFfapEfmRq8QfoAAxSMz6XZWxTCU\r\n3OkMf//8w+sdANddPPuXsWtQ+M20SzhfXns=\r\n=VH5o\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"rafat97","email":"rafathaque1997@gmail.com"},"directories":{},"maintainers":[{"name":"rafat97","email":"rafathaque1997@gmail.com"},{"name":"mashfique","email":"x12.devs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/product-authentication-client_0.0.1-pr-2-26928f2.0_1652782466839_0.27637521278152577"},"_hasShrinkwrap":false},"0.0.1-pr-4-3763611.0":{"name":"@carxparts/product-authentication-client","version":"0.0.1-pr-4-3763611.0","description":"Client SDK is for vendors who are our customers and want to integrate Product Authentication into their own websites","main":"./lib/js/index.js","module":"./lib/js/index.js","types":"./lib/d_ts/index.d.ts","publishConfig":{"access":"public"},"scripts":{"build":"gulp","watch":"gulp watch","test":"npm run clear_jest && jest --coverage","clear_jest":"jest --clearCache"},"repository":{"type":"git","url":"git+https://github.com/carxparts/product-authentication-client-sdk.git"},"keywords":["hello","world","Hello World","typescript","module"],"author":{"name":"rafat97"},"license":"ISC","bugs":{"url":"https://github.com/carxparts/product-authentication-client-sdk/issues"},"homepage":"https://github.com/carxparts/product-authentication-client-sdk#readme","devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/gulp":"^4.0.9","@types/jest":"^27.4.1","babel-loader":"^8.2.5","del":"^6.0.0","gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","gulp-uglify":"^3.0.2","jest":"^27.5.1","supertest":"^6.2.2","ts-jest":"^27.1.4","ts-loader":"^9.3.0","ts-node":"^10.7.0","typescript":"^4.6.4","webpack":"^5.72.0","webpack-bundle-analyzer":"^4.5.0","webpack-stream":"^7.0.0"},"dependencies":{"axios":"^0.27.2"},"readme":"# Introduction\n\nProduct Authentication is a service offered by Carxparts which helps vendors verify products (for e.g., car parts) in their inventory. \n\nThis is how Product Authentication works:\n1. User scans a QR code on their device.\n2. The QR code opens a website, which shows if the product is authentic or not.\n\nThis open source client SDK is for vendors who are our customers and want to integrate Product Authentication into their own websites.\n\n# How to install\n\n```bash\nnpm install @carxparts/product-authentication-client\nor\nyarn add @carxparts/product-authentication-client\n```\n\n# Examples\n\n## CommonJS/ES6 Uses\n\n```js\n// import { ProductAuthenticationClient } from '@carxparts/product-authentication-client';\nconst {\n  ProductAuthentication,\n} = require(\"@carxparts/product-authentication-client\");\n\n(async () => {\n  const option = {\n    userName: \"\", // your user name for the product authentication\n    baseUrl: \"\", // your base url for the product authentication\n  };\n\n  const pda = new ProductAuthentication(option);\n  const data = await pda.verify(\"3fa85f64-5717-4562-b3fc-2c963f66afa6\");\n  console.log(data);\n})();\n```\n\n## HTML Uses\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>Document</title>\n    <script src=\"[script-link]\"></script>\n  </head>\n  <body>\n    <h1>Test Html</h1>\n  </body>\n  <script>\n    const option = {\n      userName: \"\", // this is required\n      baseUrl: \"\", // this is required\n    };\n\n    const pda = new carxparts.ProductAuthentication(option);\n    pda\n      .verify(\"3fa85f64-5717-4562-b3fc-2c963f66afa6\")\n      .then((response) => {\n        console.log(\"response\", response);\n      })\n      .catch((error) => {\n        console.error(\"catch error\", error);\n      });\n  </script>\n</html>\n```\n","readmeFilename":"README.md","gitHead":"3763611df784cc3b98bc10e92066b58848fd9ca9","_id":"@carxparts/product-authentication-client@0.0.1-pr-4-3763611.0","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-fjdbDZp7QwsELacahDMh5AinqiCtP4WE4uyGupG0FuYhEi89djejOGTQKME3jbqtW1QWJmoZA6ZwsBYMpNqPcQ==","shasum":"19ba14685337df1bab1daa2ff6c1ac808b82f83d","tarball":"https://registry.npmjs.org/@carxparts/product-authentication-client/-/product-authentication-client-0.0.1-pr-4-3763611.0.tgz","fileCount":9,"unpackedSize":48659,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp5fOSdgFtRfSu684w2Vqgi+IjyHB0Z4u+9FJGsQpKrgIhAJv9SZ6j9ZNwWnQ0dqlkWTxmGFlPxTrIZWxnuG+p2RdN"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqF3kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVuw/+Nd8/l8Xf2XIPw+0+A9G5ajXO1Es+L2OPzwhJw8I7l+/04F//\r\n3HaAhP2fPOBfjP2iO7rO8ARaJY2iw2BGGMeu457eJSZI68Mp4b/dS3+Gc0xU\r\n07q+CtAY7C2YiE+harVQWW/qgQACF6rknV4YPzXxuhqB59tPUHb4ZIi9esBW\r\nSiIms3FWKcPvXLlUqASgwZ0opFDu3w0kNotvdocKzEpL65CQHhTHgvzohnho\r\n5DXSE9kdUnPreBOZ4IQxcoVqhjcTBjrHBkydKyhLri4Jd7jhpmDUC5BafKRI\r\n1flOIUJO+bIjYq/283ecit6ikrp4M8frUpRZKcaZopu7DMDlW6vbqo7D4MnP\r\n+S1hTUkLRaD2csKLy7vMSyzvrnlfo7pi68SBYsFrlH/iGoBtbxAmaaLxMpBW\r\nxBhPvrXjJa0MK42M2RScpjkx6aBQkw6jNEoC6HpkwjjC4e78AwqDylZGO++O\r\nteK+twmBWTkrsGPI6/lKiSy5s7RMXtNabqFCJD7Lmgoben5PAMzXNnHtLq4L\r\n3CV1X7GesF3EDEZwAfIwI0WTT783A6g0ZnLSrXMRrJEnbCk8vaJy2rT4LAPH\r\nA7V3jowQZXdNK1Y3KvBQweyXbBDb1ot2UgUbOgfwoq+Gb6ccAY7h41JuCTfR\r\nmlDCbtAUpScIOqnvF0i93Is7ZjIpAYel+lA=\r\n=p2V4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"rafat97","email":"rafathaque1997@gmail.com"},"directories":{},"maintainers":[{"name":"rafat97","email":"rafathaque1997@gmail.com"},{"name":"mashfique","email":"x12.devs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/product-authentication-client_0.0.1-pr-4-3763611.0_1655201251873_0.3799496354700962"},"_hasShrinkwrap":false},"0.0.1-pr-5-1b878ae.0":{"name":"@carxparts/product-authentication-client","version":"0.0.1-pr-5-1b878ae.0","description":"Client SDK is for vendors who are our customers and want to integrate Product Authentication into their own websites","main":"./lib/js/index.js","module":"./lib/js/index.js","types":"./lib/d_ts/index.d.ts","publishConfig":{"access":"public"},"scripts":{"build":"gulp","watch":"gulp watch","test":"npm run clear_jest && jest --coverage","clear_jest":"jest --clearCache"},"repository":{"type":"git","url":"git+https://github.com/carxparts/product-authentication-client-sdk.git"},"keywords":["hello","world","Hello World","typescript","module"],"author":{"name":"rafat97"},"license":"ISC","bugs":{"url":"https://github.com/carxparts/product-authentication-client-sdk/issues"},"homepage":"https://github.com/carxparts/product-authentication-client-sdk#readme","devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/gulp":"^4.0.9","@types/jest":"^27.4.1","babel-loader":"^8.2.5","del":"^6.0.0","gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","gulp-uglify":"^3.0.2","jest":"^27.5.1","supertest":"^6.2.2","ts-jest":"^27.1.4","ts-loader":"^9.3.0","ts-node":"^10.7.0","typescript":"^4.6.4","webpack":"^5.72.0","webpack-bundle-analyzer":"^4.5.0","webpack-stream":"^7.0.0"},"dependencies":{"axios":"^0.27.2"},"readme":"# Introduction\n\nProduct Authentication is a service offered by Carxparts which helps vendors verify products (for e.g., car parts) in their inventory. \n\nThis is how Product Authentication works:\n1. User scans a QR code on their device.\n2. The QR code opens a website, which shows if the product is authentic or not.\n\nThis open source client SDK is for vendors who are our customers and want to integrate Product Authentication into their own websites.\n\n# How to install\n\n```bash\nnpm install @carxparts/product-authentication-client\nor\nyarn add @carxparts/product-authentication-client\n```\n\n# Examples\n\n## CommonJS/ES6 Uses\n\n```js\n// import { ProductAuthenticationClient } from '@carxparts/product-authentication-client';\nconst {\n  ProductAuthentication,\n} = require(\"@carxparts/product-authentication-client\");\n\n(async () => {\n  const option = {\n    userName: \"\", // your user name for the product authentication\n    baseUrl: \"\", // your base url for the product authentication\n  };\n\n  const pda = new ProductAuthentication(option);\n  const data = await pda.verify(\"3fa85f64-5717-4562-b3fc-2c963f66afa6\");\n  console.log(data);\n})();\n```\n\n## HTML Uses\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>Document</title>\n    <script src=\"[script-link]\"></script>\n  </head>\n  <body>\n    <h1>Test Html</h1>\n  </body>\n  <script>\n    const option = {\n      userName: \"\", // this is required\n      baseUrl: \"\", // this is required\n    };\n\n    const pda = new carxparts.ProductAuthentication(option);\n    pda\n      .verify(\"3fa85f64-5717-4562-b3fc-2c963f66afa6\")\n      .then((response) => {\n        console.log(\"response\", response);\n      })\n      .catch((error) => {\n        console.error(\"catch error\", error);\n      });\n  </script>\n</html>\n```\n","readmeFilename":"README.md","gitHead":"1b878ae99ea96e2af057c9e9088a33a6f9c55791","_id":"@carxparts/product-authentication-client@0.0.1-pr-5-1b878ae.0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-rRrKU3PGgKo4g6EYFn3DXICBdyr2PnC5qXW6zq9v/mNKFxc0HXoPSx8sfrobtVjEmBv/7YUee0mjZ26MfHHlEw==","shasum":"300217958dd6696cce9cec6a204b237ea61973be","tarball":"https://registry.npmjs.org/@carxparts/product-authentication-client/-/product-authentication-client-0.0.1-pr-5-1b878ae.0.tgz","fileCount":9,"unpackedSize":46844,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+I5abamo1Y6M/lrPdsqYM8yfv13s8PwQgC/Du+AqTZAiA7D0EE/yIzUvzeNdtH+uHJkGQDCP01eHX6EwqiBL2j+A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjw9IHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXIhAAmUJSvHWZ8o5hvF/EOaIi9NR53UKd68Y+eUCKaeYpet+nSGg7\r\nZgbdiMAeVHDrsl5eVSMwPYX2xSrM2dAPxgTMZH3wsw5ycUfC2Tt2craLCQvn\r\nXWd0U5GMptl4vzITlmoZVNwtztvEx4CgFxooykLIJLYTSeQYiLiu6lWPiT4n\r\ngSQ1CrWrcdwDRF5XrHHjRaMhwg83wy/k+MYJF56C4KoAA9o8E3pCPyTgkqST\r\nmc1xvh32cLdR5bnxF7/H+yDOgbEIRDQ1qnBpwAuQccL5wPMKJ3rSY+jZEhHL\r\nF+5H8QRKZZHaPfEsgYk9ZuPPVw0UeNDhfGVhgQMxEz9HZ9kolw/oucysE6CL\r\ntWA0IXCjYQv+ZyyvdaytWBk+fV6bKkCfAZvJoJTri13XgLAWmhWn1C8AdGk9\r\nn0fzonIGARVX0CvMYLc4+kLbV07q7SGEfdqwanGcUk6PqGl9qhafT6HLnuXD\r\nUZeWvU+tMNo02PCsD+kjxtfxgEwIVIdtjQVV/B39VC8kLAqUfPk+HVa5loe8\r\nOAHJfudNlAlaCg3dM9vYr7YNXWi6aqBPT43V1DzID6FlK+600e9FomfmC7LU\r\nJJtjm6V/tFDuhV0LAPcbbWUbVrpFZ5PcQiXfmqjliPbMyXmP8V0RFenmcDim\r\n9WnaceHZ70zpcdmBGTrxb4iF7h6qZdFNXbs=\r\n=KEWA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"rafat97","email":"rafathaque1997@gmail.com"},"directories":{},"maintainers":[{"name":"rafat97","email":"rafathaque1997@gmail.com"},{"name":"mashfique","email":"x12.devs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/product-authentication-client_0.0.1-pr-5-1b878ae.0_1673777670841_0.491927914144201"},"_hasShrinkwrap":false},"0.0.1":{"name":"@carxparts/product-authentication-client","version":"0.0.1","description":"Client SDK is for vendors who are our customers and want to integrate Product Authentication into their own websites","main":"./lib/js/index.js","module":"./lib/js/index.js","types":"./lib/d_ts/index.d.ts","publishConfig":{"access":"public"},"scripts":{"build":"gulp","watch":"gulp watch","test":"npm run clear_jest && jest --coverage","clear_jest":"jest --clearCache"},"repository":{"type":"git","url":"git+https://github.com/carxparts/product-authentication-client-sdk.git"},"keywords":["carxparts","cxp","typescript"],"author":{"name":"rafat97"},"license":"ISC","bugs":{"url":"https://github.com/carxparts/product-authentication-client-sdk/issues"},"homepage":"https://github.com/carxparts/product-authentication-client-sdk#readme","devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/gulp":"^4.0.9","@types/jest":"^27.4.1","babel-loader":"^8.2.5","del":"^6.0.0","gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","gulp-uglify":"^3.0.2","jest":"^27.5.1","supertest":"^6.2.2","ts-jest":"^27.1.4","ts-loader":"^9.3.0","ts-node":"^10.7.0","typescript":"^4.6.4","webpack":"^5.72.0","webpack-bundle-analyzer":"^4.5.0","webpack-stream":"^7.0.0"},"dependencies":{"axios":"^0.27.2"},"gitHead":"dd69c0952c2ca4963d4b07696d6b54fff016afc6","_id":"@carxparts/product-authentication-client@0.0.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-rMFLlF1dFc8+odWZq2dTRaI+2euhXhqpczU45UjCRq877Wb6dIbvQBAZifAJsHezxLnXY77qPzG730fdEai5hQ==","shasum":"ae795bbddd2c46593ca1a2dec01b421bea639b5c","tarball":"https://registry.npmjs.org/@carxparts/product-authentication-client/-/product-authentication-client-0.0.1.tgz","fileCount":9,"unpackedSize":47186,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICNm8q/kpIPSCGbeSciTi7H0ua8HZae1wE438qyM6xpwAiBEmys094jbFxWqL+qDzm7HRxy1dWzA3uMwlkKHEfrB0Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjw9oRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpf5w//ZgtnoiNwVn1qtNF4T4tbPdJqa7mHNj6sSERwgCROAvDEslko\r\nOqBZuwQrsVcinYbP902uTOSJYwth7WD672zHh8gqvQ4JCHaAL0yHMWnKCXg+\r\naohkEV7h+n6hystU2hc7Y1MyaVAP4Vx8TEJr4ZUvYSWYU8cXmdzdDKBTt48D\r\naS3xI2kr9wmHg9IIxO2kuzKoEQrQpvFWkcbbRdC9UZqN9OluhDOxFtj+Wkmn\r\nTCYXUwWhQVWzeCLJnHTe5jJuzKh9MStiRDwCdTN3iw+lW/fv1+Kl683yOzMs\r\nnO441bs+lCAVUeucVI7q+oo6IXaRtXL4UEvp1Gc/LdmRKhMlsuowPE7MvSOK\r\na7n5s8ZokxQJ7wnwNXkJn3oHbb0Ub0OrEHRPvzLBoXZ+eEAUyNNPcGDmCik3\r\nYHP26tY/dqYxdUIlCDzy/eqguWXu+bd5eQ1T1Rs+JeiYTmciEgPDK1fbdHuV\r\nZfqq4PQkLg/lPC3poA2hzjoTvzo7vg2iaSFF2wRVr/d6wSForwFvADVTfew6\r\nvo4FeJISvboXdj45vR+13Whm1yBaKCP3hY0J9aizdxF0R8eeDNenYlpBYmp3\r\nv5iwGTBG+Cwg8l7bT/tJbC4dr1LC3tT7e+8/HoPp+tBGX28m9EeoPCRiSy5c\r\njEdD7TJ6LS5e7QKZXF2hfTw5wcDsinyc4io=\r\n=4Hso\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"rafat97","email":"rafathaque1997@gmail.com"},"directories":{},"maintainers":[{"name":"rafat97","email":"rafathaque1997@gmail.com"},{"name":"mashfique","email":"x12.devs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/product-authentication-client_0.0.1_1673779729070_0.6792875025825318"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-17T09:55:19.525Z","0.0.1-pr-2-853a31b.0":"2022-05-17T09:55:19.766Z","modified":"2023-01-15T10:48:49.414Z","0.0.1-pr-2-e444a7a.0":"2022-05-17T10:07:42.061Z","0.0.1-pr-2-26928f2.0":"2022-05-17T10:14:26.927Z","0.0.1-pr-4-3763611.0":"2022-06-14T10:07:32.073Z","0.0.1-pr-5-1b878ae.0":"2023-01-15T10:14:31.072Z","0.0.1":"2023-01-15T10:48:49.302Z"},"maintainers":[{"name":"rafat97","email":"rafathaque1997@gmail.com"},{"name":"mashfique","email":"x12.devs@gmail.com"}],"description":"Client SDK is for vendors who are our customers and want to integrate Product Authentication into their own websites","homepage":"https://github.com/carxparts/product-authentication-client-sdk#readme","keywords":["carxparts","cxp","typescript"],"repository":{"type":"git","url":"git+https://github.com/carxparts/product-authentication-client-sdk.git"},"author":{"name":"rafat97"},"bugs":{"url":"https://github.com/carxparts/product-authentication-client-sdk/issues"},"license":"ISC","readme":"# Introduction\n\nProduct Authentication is a service offered by Carxparts which helps vendors verify products (for e.g., car parts) in their inventory. \n\nThis is how Product Authentication works:\n1. User scans a QR code on their device.\n2. The QR code opens a website, which shows if the product is authentic or not.\n\nThis open source client SDK is for vendors who are our customers and want to integrate Product Authentication into their own websites.\n\n# How to install\n\n```bash\nnpm install @carxparts/product-authentication-client\nor\nyarn add @carxparts/product-authentication-client\n```\n\n# Examples\n\n## CommonJS/ES6 Uses\n\n```js\n// import { ProductAuthenticationClient } from '@carxparts/product-authentication-client';\nconst {\n  ProductAuthentication,\n} = require(\"@carxparts/product-authentication-client\");\n\n(async () => {\n  const option = {\n    userName: \"\", // your user name for the product authentication\n    baseUrl: \"\", // your base url for the product authentication\n  };\n\n  const pda = new ProductAuthentication(option);\n  const data = await pda.verify(\"3fa85f64-5717-4562-b3fc-2c963f66afa6\");\n  console.log(data);\n})();\n```\n\n## HTML Uses\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>Document</title>\n    <script src=\"[script-link]\"></script>\n  </head>\n  <body>\n    <h1>Test Html</h1>\n  </body>\n  <script>\n    const option = {\n      userName: \"\", // this is required\n      baseUrl: \"\", // this is required\n    };\n\n    const pda = new carxparts.ProductAuthentication(option);\n    pda\n      .verify(\"3fa85f64-5717-4562-b3fc-2c963f66afa6\")\n      .then((response) => {\n        console.log(\"response\", response);\n      })\n      .catch((error) => {\n        const data = error;\n        if (data?.data?.errorCode === 101) {\n          console.error(\"PRODUCT_IS_NOT_AUTHENTICATED_STATE\");\n        } else if (data?.data?.errorCode === 102) {\n          console.error(\"PRODUCT_IS_AUTHENTICATED_BUT_MAX_LIMIT_REACHED_STATE\");\n        }\n        console.error(\"catch error\", error);\n      });\n  </script>\n</html>\n```\n","readmeFilename":"README.md"}