{"_id":"@ayatasebin/ep-sdk","_rev":"6-111d67b3594eea0a33dc3dcf3367f9d3","name":"@ayatasebin/ep-sdk","dist-tags":{"latest":"8.0.0"},"versions":{"1.0.0":{"name":"@ayatasebin/ep-sdk","description":"SDK for the Moltin eCommerce API","version":"1.0.0","homepage":"https://github.com/moltin/js-sdk","author":{"name":"Moltin","url":"https://moltin.com/"},"scripts":{"commit":"cz","rollup":"rollup -c","start":"SERVE=true rollup -c -w","test":"mocha --require @babel/register -r ts-node/register test/tests.ts","test-watch":"nodemon -w 'src/**' -w 'test/**' -e ts --exec 'mocha --require @babel/register -r ts-node/register test/tests.ts'","test-output":"mocha --require @babel/register -r ts-node/register --reporter mocha-junit-reporter test/tests.ts","playground":"ts-node playground/index.ts","lint":"eslint src"},"main":"dist/moltin.cjs.js","module":"dist/moltin.esm.js","jsnext:main":"dist/moltin.esm.js","cjs:main":"dist/moltin.cjs.js","browser":"dist/moltin.js","types":"dist/moltin.d.ts","repository":{"type":"git","url":"git://github.com/moltin/js-sdk.git"},"release":{"branches":["main","beta"],"prepare":["@semantic-release/npm",{"path":"@semantic-release/exec","cmd":"./preRelease.sh ${nextRelease.version}"}]},"bugs":{"url":"https://github.com/moltin/js-sdk/issues"},"devDependencies":{"@babel/core":"7.18.10","@babel/eslint-parser":"7.18.9","@babel/preset-env":"7.18.10","@babel/register":"7.18.9","@rollup/plugin-babel":"5.3.1","@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.3.0","@semantic-release/exec":"^6.0.3","@types/chai":"4.2.15","@types/mocha":"9.1.1","@types/node":"18.0.6","chai":"4.3.0","commitizen":"4.2.5","core-js":"3.24.1","cz-conventional-changelog":"2.1.0","eslint":"8.22.0","eslint-config-airbnb-base":"15.0.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.26.0","lint-staged":"7.3.0","mocha":"10.0.0","mocha-junit-reporter":"1.18.0","nock":"13.2.9","nodemon":"2.0.19","prettier":"2.7.1","rewire":"6.0.0","rimraf":"2.6.2","rollup":"2.77.0","rollup-plugin-dts":"4.2.2","rollup-plugin-filesize":"9.1.2","rollup-plugin-ignore":"1.0.10","rollup-plugin-livereload":"2.0.5","rollup-plugin-serve":"1.1.0","rollup-plugin-sourcemaps":"0.6.3","rollup-plugin-uglify":"6.0.4","ts-node":"10.9.1","typescript":"4.7.4"},"dependencies":{"cross-fetch":"^3.1.5","es6-promise":"^4.0.5","form-data":"^4.0.0","inflected":"^2.0.1","js-cookie":"^3.0.1","node-localstorage":"^2.1.6"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"directories":{"test":"test"},"license":"MIT","publishConfig":{"access":"public"},"lint-staged":{"{src,test}/**/*.{js,ts,json,md}":["eslint --fix src","prettier --write","git add"]},"gitHead":"e081ad59ef6980ac196c460cdb35a8d9b0badaad","_id":"@ayatasebin/ep-sdk@1.0.0","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-tVI3HBQ95zAb2/Uj6nokiQdZKGhLekHafb8g8HMa2vNLSjjY6f4JQ8fKhua322QaFcJ74fq9qutIppz3xiSENw==","shasum":"d23ac3bc09bc36f241f5799bcfdfee1df9fc3276","tarball":"https://registry.npmjs.org/@ayatasebin/ep-sdk/-/ep-sdk-1.0.0.tgz","fileCount":7,"unpackedSize":689503,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXTG0h950idMRMggvx1dIZf3EDisNMmkgHXsps8N8M3AIgCtvCJNRHrlxli/Vk2FBWtF5DhGiRFfPHC0Ohei49R34="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqrQ/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDaw/9F3igMSB8FbxKCo2kCJ2sc4o4I0jmThdGQSkqyameMe9miDvj\r\niiopcooZoCvjO0Wc75n1EBzu+YJhhB2xVZV8APya6HPrdkWv4MbNQllF/bHp\r\nf9GIr7ao9Z88kSWIx/2/USrDIKMmnJsSDS5njT6U8sKIrC1HDRyfVZlBDSxL\r\nEMKcpYjXrl2dASF1/mkm/q1GYnNGHxnwjADp+9cbJPuPbOj+WVOH4JRqngzw\r\nI0p6Zh3icy7ILHzEMwZfGaHc28bizTW8PLJ90znJFl/92RWG+ZK5G6jAj9ON\r\nXU1rpsIWGO+KQBANt+vZ6SSqc5lUl1XIDPapunucF2c5qYfjWOdC/X0Qalx/\r\nQYc8IQV7if0RjgaCi9VN5w1actFBPjfvpRNyunQJIGkYZpS1b0qEYCS9jkaz\r\nR0FgmyyU5aDquaYbwLPAENE3AjJ6lis2fIg2MNM+Djz9Gr5KMzGhkji+z2su\r\nHNpO8K7rwd1ZwGlntFXUmmzAb0qrak4Bes6vFOfjy0QAD9pRBFTqehfmPUFZ\r\nNe+geAJJa0DUjXPATbRtNc+egNb2GVnkYKXnGbn0Bff3JWhHHIFM6E6w7aFm\r\nv0m9BRwL33rMGXtYBaJOaTMxp5aVOF1gHlMqZDEHn5XRCoWfd4z9S5l+UW8q\r\nwch96Gil5LhnpHMDylnhoucjM+ELW6+XWzs=\r\n=FXFH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"},"maintainers":[{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ep-sdk_1.0.0_1672131647579_0.43043402945399944"},"_hasShrinkwrap":false},"2.0.0":{"name":"@ayatasebin/ep-sdk","description":"SDK for the Moltin eCommerce API","version":"2.0.0","homepage":"https://github.com/moltin/js-sdk","author":{"name":"Moltin","url":"https://moltin.com/"},"scripts":{"commit":"cz","rollup":"rollup -c","start":"SERVE=true rollup -c -w","test":"mocha --require @babel/register -r ts-node/register test/tests.ts","test-watch":"nodemon -w 'src/**' -w 'test/**' -e ts --exec 'mocha --require @babel/register -r ts-node/register test/tests.ts'","test-output":"mocha --require @babel/register -r ts-node/register --reporter mocha-junit-reporter test/tests.ts","playground":"ts-node playground/index.ts","lint":"eslint src"},"main":"dist/moltin.cjs.js","module":"dist/moltin.esm.js","jsnext:main":"dist/moltin.esm.js","cjs:main":"dist/moltin.cjs.js","browser":"dist/moltin.js","types":"dist/moltin.d.ts","repository":{"type":"git","url":"git://github.com/moltin/js-sdk.git"},"release":{"branches":["main","beta"],"prepare":["@semantic-release/npm",{"path":"@semantic-release/exec","cmd":"./preRelease.sh ${nextRelease.version}"}]},"bugs":{"url":"https://github.com/moltin/js-sdk/issues"},"devDependencies":{"@babel/core":"7.18.10","@babel/eslint-parser":"7.18.9","@babel/preset-env":"7.18.10","@babel/register":"7.18.9","@rollup/plugin-babel":"5.3.1","@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.3.0","@semantic-release/exec":"^6.0.3","@types/chai":"4.2.15","@types/mocha":"9.1.1","@types/node":"18.0.6","chai":"4.3.0","commitizen":"4.2.5","core-js":"3.24.1","cz-conventional-changelog":"2.1.0","eslint":"8.22.0","eslint-config-airbnb-base":"15.0.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.26.0","lint-staged":"7.3.0","mocha":"10.0.0","mocha-junit-reporter":"1.18.0","nock":"13.2.9","nodemon":"2.0.19","prettier":"2.7.1","rewire":"6.0.0","rimraf":"2.6.2","rollup":"2.77.0","rollup-plugin-dts":"4.2.2","rollup-plugin-filesize":"9.1.2","rollup-plugin-ignore":"1.0.10","rollup-plugin-livereload":"2.0.5","rollup-plugin-serve":"1.1.0","rollup-plugin-sourcemaps":"0.6.3","rollup-plugin-uglify":"6.0.4","ts-node":"10.9.1","typescript":"4.7.4"},"dependencies":{"cross-fetch":"^3.1.5","es6-promise":"^4.0.5","form-data":"^4.0.0","inflected":"^2.0.1","js-cookie":"^3.0.1","node-localstorage":"^2.1.6"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"directories":{"test":"test"},"license":"MIT","publishConfig":{"access":"public"},"lint-staged":{"{src,test}/**/*.{js,ts,json,md}":["eslint --fix src","prettier --write","git add"]},"gitHead":"e081ad59ef6980ac196c460cdb35a8d9b0badaad","_id":"@ayatasebin/ep-sdk@2.0.0","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-Ggc1EECRFJ8+mlpjxucohXUbTJtqRHkb5546QgrMihA2+/Ss6LHYsKqUvpuaWNfgYaZwwNaRtwO+gjNuwh++FQ==","shasum":"4a05c206560ff344f3ecf14982ebdd3a201bdd95","tarball":"https://registry.npmjs.org/@ayatasebin/ep-sdk/-/ep-sdk-2.0.0.tgz","fileCount":7,"unpackedSize":689503,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqhN43QD0aHjy2KQSPILIy0aW5Y/DfZbSYbaBLOYFAfAIgQFQS18ZOU5IE4/MCyvGaNcQoaZeDl8CfeQYApHaEOts="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqur8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOgQ/8DK+piz6Xrz5Ck+a9cMW6iJRQNWrCGP0VpNs5dSAcSBgO+/LK\r\nV1iCrCRTGFA/NVimqeWIUIccGFLEoKrjdHOka3HFyVLWSHgO08NsX9drx7v/\r\nNY4U7MZjCSEGqlE5iyobA2oOb20WVAYnIuZf+O+t/jqMESlTspzeGluuMOUH\r\na8v29lzwr/T/Y+t9k86sykiDnw0wh6Ry3znQf6y8kOqyg0wBpejoekBQucbO\r\nku6Pv94Yo69JxslYtaaa6mcWd84LfGYePX46c1Lz21TESu0PVl9txQjMlotK\r\nOxqqxFW7vmTPzdBFiW9xICwSaxuuv0xR8n9qilbuAIFXxWXBbAszgULZgBJQ\r\nZ6aTG81yKcshIksqlUYLyjQTgWkvdlU+tQIZCKfHDiRhCkN1gVD6FsvalcNU\r\n3RlKuiK5nU9url8Fs5fKFza/2pRUL+xuvgzlu+uVVWPUx2RbYrbF5FQoPnMc\r\n/sCVeDkdubnf23NmZgt7DVafZjXISUlGAVtSV98KkBXNqs0DFoiSo/QWEaCU\r\nsI0irBpZBTr1PQYoGqofz/kLPyRKJVHzKUcn0muWmDx3yUVqGTqOekgESe3r\r\nHWr9jhDyn7QADuGMi8/yieJcamYEM9FTOWqRaRE8eG+TVH/nQWNzC/uOhZl3\r\nrrc95mBFyBahSJri5MWbTn+bb77LAFCAS7s=\r\n=BjLe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"},"maintainers":[{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ep-sdk_2.0.0_1672145660391_0.4809046194125042"},"_hasShrinkwrap":false},"3.0.0":{"name":"@ayatasebin/ep-sdk","description":"SDK for the Moltin eCommerce API","version":"3.0.0","homepage":"https://github.com/moltin/js-sdk","author":{"name":"Moltin","url":"https://moltin.com/"},"scripts":{"commit":"cz","rollup":"rollup -c","start":"SERVE=true rollup -c -w","test":"mocha --require @babel/register -r ts-node/register test/tests.ts","test-watch":"nodemon -w 'src/**' -w 'test/**' -e ts --exec 'mocha --require @babel/register -r ts-node/register test/tests.ts'","test-output":"mocha --require @babel/register -r ts-node/register --reporter mocha-junit-reporter test/tests.ts","playground":"ts-node playground/index.ts","lint":"eslint src"},"main":"dist/moltin.cjs.js","module":"dist/moltin.esm.js","jsnext:main":"dist/moltin.esm.js","cjs:main":"dist/moltin.cjs.js","browser":"dist/moltin.js","types":"dist/moltin.d.ts","repository":{"type":"git","url":"git://github.com/moltin/js-sdk.git"},"release":{"branches":["main","beta"],"prepare":["@semantic-release/npm",{"path":"@semantic-release/exec","cmd":"./preRelease.sh ${nextRelease.version}"}]},"bugs":{"url":"https://github.com/moltin/js-sdk/issues"},"devDependencies":{"@babel/core":"7.18.10","@babel/eslint-parser":"7.18.9","@babel/preset-env":"7.18.10","@babel/register":"7.18.9","@rollup/plugin-babel":"5.3.1","@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.3.0","@semantic-release/exec":"^6.0.3","@types/chai":"4.2.15","@types/mocha":"9.1.1","@types/node":"18.0.6","chai":"4.3.0","commitizen":"4.2.5","core-js":"3.24.1","cz-conventional-changelog":"2.1.0","eslint":"8.22.0","eslint-config-airbnb-base":"15.0.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.26.0","lint-staged":"7.3.0","mocha":"10.0.0","mocha-junit-reporter":"1.18.0","nock":"13.2.9","nodemon":"2.0.19","prettier":"2.7.1","rewire":"6.0.0","rimraf":"2.6.2","rollup":"2.77.0","rollup-plugin-dts":"4.2.2","rollup-plugin-filesize":"9.1.2","rollup-plugin-ignore":"1.0.10","rollup-plugin-livereload":"2.0.5","rollup-plugin-serve":"1.1.0","rollup-plugin-sourcemaps":"0.6.3","rollup-plugin-uglify":"6.0.4","ts-node":"10.9.1","typescript":"4.7.4"},"dependencies":{"cross-fetch":"^3.1.5","es6-promise":"^4.0.5","form-data":"^4.0.0","inflected":"^2.0.1","js-cookie":"^3.0.1","node-localstorage":"^2.1.6"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"directories":{"test":"test"},"license":"MIT","publishConfig":{"access":"public"},"lint-staged":{"{src,test}/**/*.{js,ts,json,md}":["eslint --fix src","prettier --write","git add"]},"gitHead":"e081ad59ef6980ac196c460cdb35a8d9b0badaad","_id":"@ayatasebin/ep-sdk@3.0.0","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-0WgwJGCqOkeYVU87n5xNCscqVZc0lU7ch3Y3TdVSCDHMAQ9S16v0sYQREXDpRLw3wrZc7TDY+62IUWcR72bd9A==","shasum":"25f4b004585ee33a657361e53f088f870d0ba660","tarball":"https://registry.npmjs.org/@ayatasebin/ep-sdk/-/ep-sdk-3.0.0.tgz","fileCount":7,"unpackedSize":689697,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH8hkUH12arzTXsEFHcCGgi3Phzi0N15hxCKelddpxX4AiBY8wIlJ7hZmqnejwjDOWS5xTtJ6Z1HSpCHSQBP9YfJug=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjquu6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmquTQ/9HBL39UJNo8Osn3QWVhkfZ3yTnswQBV1uNNIXopghe/Dj3VIw\r\nETfKVyuQ3C/DVuV6RNGZEk+f1ItGphLvadryv1Z5YVIH0U4EaY3w/mcqwUlK\r\nChaMUG2pbCiG4pGQc+K5Jf9eg65a6pf1pihDQ2mvOUsz4oBIrke8g8zTJqZE\r\nb1wrMeFUVz1wYwS6ckLdFplwTkimDbq8ruvlpohsLMBeyRa+aVkbLXfacfDe\r\nfDXbLp02azfHLwSwlGB+GHrSAk8jrfn6rtq1fNjNrg2l99hnW/MCU25LqFV+\r\ncT5DcmdbFvb9UTiq6vi2irbw0597S+niaPBdqdld7lmeA51EbVmo8d1tvs20\r\n2LgJOa4AQeEiAyB3ouMT6IyccwqBRzv9lsOQEh77bR8J4g7EpBaC60DwwJT6\r\nWuA5GtuaJIsF1CPjanpAi6wGzPf96tzoP0O+9n06L8ZPYsUUzOXIf7Uk7+kL\r\ng2/jF1ayjqT4AcAV7gcFqNtKq9As0fgmFTGmBXcIqi90avax52N0MqAfkVxI\r\nTraf0imnk880FetdGR7aINEfD9N9hPzGXttw7MCO5PnBzupIwrut9sBMYFsb\r\n12yeKDleDuHHfl28rvXRJkY6/Ao/9bqCkdf5HzT/wucGmf7Jyp5LGhFKYAbO\r\nisV2AJqR0KZvIc2Band6kWrWSM0tIIvYB3Q=\r\n=pHF1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"},"maintainers":[{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ep-sdk_3.0.0_1672145850686_0.7132703729902128"},"_hasShrinkwrap":false},"4.0.0":{"name":"@ayatasebin/ep-sdk","description":"SDK for the Moltin eCommerce API","version":"4.0.0","homepage":"https://github.com/moltin/js-sdk","author":{"name":"Moltin","url":"https://moltin.com/"},"scripts":{"commit":"cz","rollup":"rollup -c","start":"SERVE=true rollup -c -w","test":"mocha --require @babel/register -r ts-node/register test/tests.ts","test-watch":"nodemon -w 'src/**' -w 'test/**' -e ts --exec 'mocha --require @babel/register -r ts-node/register test/tests.ts'","test-output":"mocha --require @babel/register -r ts-node/register --reporter mocha-junit-reporter test/tests.ts","playground":"ts-node playground/index.ts","lint":"eslint src"},"main":"dist/moltin.cjs.js","module":"dist/moltin.esm.js","jsnext:main":"dist/moltin.esm.js","cjs:main":"dist/moltin.cjs.js","browser":"dist/moltin.js","types":"dist/moltin.d.ts","repository":{"type":"git","url":"git://github.com/moltin/js-sdk.git"},"release":{"branches":["main","beta"],"prepare":["@semantic-release/npm",{"path":"@semantic-release/exec","cmd":"./preRelease.sh ${nextRelease.version}"}]},"bugs":{"url":"https://github.com/moltin/js-sdk/issues"},"devDependencies":{"@babel/core":"7.18.10","@babel/eslint-parser":"7.18.9","@babel/preset-env":"7.18.10","@babel/register":"7.18.9","@rollup/plugin-babel":"5.3.1","@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.3.0","@semantic-release/exec":"^6.0.3","@types/chai":"4.2.15","@types/mocha":"9.1.1","@types/node":"18.0.6","chai":"4.3.0","commitizen":"4.2.5","core-js":"3.24.1","cz-conventional-changelog":"2.1.0","eslint":"8.22.0","eslint-config-airbnb-base":"15.0.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.26.0","lint-staged":"7.3.0","mocha":"10.0.0","mocha-junit-reporter":"1.18.0","nock":"13.2.9","nodemon":"2.0.19","prettier":"2.7.1","rewire":"6.0.0","rimraf":"2.6.2","rollup":"2.77.0","rollup-plugin-dts":"4.2.2","rollup-plugin-filesize":"9.1.2","rollup-plugin-ignore":"1.0.10","rollup-plugin-livereload":"2.0.5","rollup-plugin-serve":"1.1.0","rollup-plugin-sourcemaps":"0.6.3","rollup-plugin-uglify":"6.0.4","ts-node":"10.9.1","typescript":"4.7.4"},"dependencies":{"cross-fetch":"^3.1.5","es6-promise":"^4.0.5","form-data":"^4.0.0","inflected":"^2.0.1","js-cookie":"^3.0.1","node-localstorage":"^2.1.6"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"directories":{"test":"test"},"license":"MIT","publishConfig":{"access":"public"},"lint-staged":{"{src,test}/**/*.{js,ts,json,md}":["eslint --fix src","prettier --write","git add"]},"gitHead":"e081ad59ef6980ac196c460cdb35a8d9b0badaad","_id":"@ayatasebin/ep-sdk@4.0.0","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-WT3xGI24JqDNVJp8WhaqyLk66uUt/6kGwWtB6Xv7YKxpPr97SGhcLGpaX7x8VpNQpm/w/P7zax7rRGr6vMCjsg==","shasum":"3caff38c1548cf0b932d67811de045fac5aceff7","tarball":"https://registry.npmjs.org/@ayatasebin/ep-sdk/-/ep-sdk-4.0.0.tgz","fileCount":7,"unpackedSize":689768,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEcp4X0Q5pkaAasYAECgqGto8/zg9jUDhrUqYUul/9q2AiEA++ZJ7G1p9vLE5CwRi1Ie6+sha/LAKB7bVToEz7klkW4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqu+rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGpQ/9FZkqJNSu1hwjKtHZvYZy83V2oTePB9Y71XNg8Jhtx4sWSjdo\r\nHTbbloLPN/va5ktiHt1ah6rSjBHatQxuzWGzk7eMkQZuDyQFTseumIpmeHN6\r\niKmevLukviLQWsS7gxpgYXzV+RzZexWh02ksyPYURUIy1S6mfeZFRtXicRac\r\nRb5wQJOiaCqEmFKLuoIVIhQfdd2sCIXj5MBxCwymDl06fwUpetAyvJqvRKOt\r\npn+MPkLqI4PYLgPsCLKC7h3sopW2XWR3nx5m7Lr0cfWBHe/G6tg32vjjFG5h\r\noQ0EnPaGR1Qbb29UuyRUtviy9fbaZ3lBKFbGBHxPiiV22EXKDGx+p4pKXCOR\r\nN9GiXW45I3Vt3sRadkza7IJCaSWWra4k1dak7Q7KCHFx1sdGRv6Tuaew9ttU\r\nRgwE10wukhOJeRJP4j/8K8wRSYOFyideYN83YTzrWnDZHVoqTGMyJl9Q76G2\r\nfP8WAeBXWt20enfoyikpY/rCZfj1yJZVb+xjkYDQm9t0yFUKVzJdIic1l/Aj\r\ncGAXYqzoeepg0sESZutGaZtJG+R3WJd44dn5VxtYLwAJTNI2Kapu3I9Zz2tL\r\nxmVvs2nOkHmEsEqM9hNTZmORb1r/ek02aKjF/Vh4xI7VDYMoH+sXozFz1VgT\r\nahc/5rdjVXuMD5Lmi5FsMppSvWCzetnlJO8=\r\n=J0A2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"},"maintainers":[{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ep-sdk_4.0.0_1672146858890_0.7722893609647663"},"_hasShrinkwrap":false},"6.0.0":{"name":"@ayatasebin/ep-sdk","description":"SDK for the Moltin eCommerce API","version":"6.0.0","homepage":"https://github.com/moltin/js-sdk","author":{"name":"Moltin","url":"https://moltin.com/"},"scripts":{"commit":"cz","rollup":"rollup -c","start":"SERVE=true rollup -c -w","test":"mocha --require @babel/register -r ts-node/register test/tests.ts","test-watch":"nodemon -w 'src/**' -w 'test/**' -e ts --exec 'mocha --require @babel/register -r ts-node/register test/tests.ts'","test-output":"mocha --require @babel/register -r ts-node/register --reporter mocha-junit-reporter test/tests.ts","playground":"ts-node playground/index.ts","lint":"eslint src"},"main":"dist/moltin.cjs.js","module":"dist/moltin.esm.js","jsnext:main":"dist/moltin.esm.js","cjs:main":"dist/moltin.cjs.js","browser":"dist/moltin.js","types":"dist/moltin.d.ts","repository":{"type":"git","url":"git://github.com/moltin/js-sdk.git"},"release":{"branches":["main","beta"],"prepare":["@semantic-release/npm",{"path":"@semantic-release/exec","cmd":"./preRelease.sh ${nextRelease.version}"}]},"bugs":{"url":"https://github.com/moltin/js-sdk/issues"},"devDependencies":{"@babel/core":"7.18.10","@babel/eslint-parser":"7.18.9","@babel/preset-env":"7.18.10","@babel/register":"7.18.9","@rollup/plugin-babel":"5.3.1","@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.3.0","@semantic-release/exec":"^6.0.3","@types/chai":"4.2.15","@types/mocha":"9.1.1","@types/node":"18.0.6","chai":"4.3.0","commitizen":"4.2.5","core-js":"3.24.1","cz-conventional-changelog":"2.1.0","eslint":"8.22.0","eslint-config-airbnb-base":"15.0.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.26.0","lint-staged":"7.3.0","mocha":"10.0.0","mocha-junit-reporter":"1.18.0","nock":"13.2.9","nodemon":"2.0.19","prettier":"2.7.1","rewire":"6.0.0","rimraf":"2.6.2","rollup":"2.77.0","rollup-plugin-dts":"4.2.2","rollup-plugin-filesize":"9.1.2","rollup-plugin-ignore":"1.0.10","rollup-plugin-livereload":"2.0.5","rollup-plugin-serve":"1.1.0","rollup-plugin-sourcemaps":"0.6.3","rollup-plugin-uglify":"6.0.4","ts-node":"10.9.1","typescript":"4.7.4"},"dependencies":{"cross-fetch":"^3.1.5","es6-promise":"^4.0.5","form-data":"^4.0.0","inflected":"^2.0.1","js-cookie":"^3.0.1","node-localstorage":"^2.1.6"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"license":"MIT","publishConfig":{"access":"public"},"lint-staged":{"{src,test}/**/*.{js,ts,json,md}":["eslint --fix src","prettier --write","git add"]},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 Moltin Ltd\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@ayatasebin/ep-sdk@6.0.0","dist":{"shasum":"f326fbae6067c6594d39b6939169b777e2e588bf","integrity":"sha512-63xmozQt3zyp5ZKD6GmbLtqlVWzL1cchqlx+7gW/XSAPLOWahJIn7KxrDW619a8sf9Fo5sLdxpMH0dhm/y/A9Q==","tarball":"https://registry.npmjs.org/@ayatasebin/ep-sdk/-/ep-sdk-6.0.0.tgz","fileCount":9,"unpackedSize":690487,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqwk8iHngEqo0tB/42KJPu16QSSEt4idwoNMdxm7Xy9wIgWRuHVuL+xX8VFJeVtC1F/YbdnhfCQi5l0nTOcB/55nk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqvKUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrh2A//a5PovVya86IIjg5pX9osc8Lxezcr7nTAFSADUuPdCQAnqjfN\r\nQafvKFpnCJ5MatjAfVaRu3yaWLKnMx3lnJ9KDRivhW3LVgkpOIloe1kzuJRt\r\nja6yF58fVVsOK0URr+yx4r2PHn0i8V4wszCgGco+LWMxHSUHb9RdOc1ffWvm\r\nyP3kqimMHZPoaHyYTaXoHd8BYQBVI3DU9BEaoW74nXmW/rWP2T/JfNuiaaoI\r\nldiRD3dR1oSRi/MUyhvmN8GGpTlwBM4wkqBMxy/rliFToLq2RtWUl+3v19+k\r\nl4kVx+FtCN/PyFKWwmipbcxi01jjBJa0AFKraNTyfMnJi91wjYPWoRZ7LJK9\r\nJjFqmjmCxS19gct6BHYaFffzGDRUspEa6SX3ms8aXqHl2eCsJ8kkUbPKUK4R\r\noKfjxyelnGGNWCYe/YUjbRnJTv2FnW48xOC4LOt/aFNRkLvxQ97fJFipgSOg\r\nPgjzVal1sKGrz6mWFb8ja42tI8joCXFjzGivFm/84/TdqlNRUm89zAg8qZ+n\r\nqyUtxuzncOxM5/7NX3CU0FnHL9IV5cB0UMviKyI/sCWH0VF3vRBgZUQh72q6\r\nuxc0fZOfeW61JoASQPUO1Irc/Iv5qlhQ/9M56MKmQzk+59Blr/lzWk4r+g75\r\n0iynu/V0K3WHntQiV0Ra5WoOnNPYdH9O3IA=\r\n=Fm+l\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"},"directories":{},"maintainers":[{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ep-sdk_6.0.0_1672147603940_0.2985473195623556"},"_hasShrinkwrap":false},"7.0.0":{"name":"@ayatasebin/ep-sdk","description":"SDK for the Moltin eCommerce API","version":"7.0.0","homepage":"https://github.com/moltin/js-sdk","author":{"name":"Moltin","url":"https://moltin.com/"},"scripts":{"commit":"cz","rollup":"rollup -c","start":"SERVE=true rollup -c -w","test":"mocha --require @babel/register -r ts-node/register test/tests.ts","test-watch":"nodemon -w 'src/**' -w 'test/**' -e ts --exec 'mocha --require @babel/register -r ts-node/register test/tests.ts'","test-output":"mocha --require @babel/register -r ts-node/register --reporter mocha-junit-reporter test/tests.ts","playground":"ts-node playground/index.ts","lint":"eslint src"},"main":"dist/moltin.cjs.js","module":"dist/moltin.esm.js","jsnext:main":"dist/moltin.esm.js","cjs:main":"dist/moltin.cjs.js","browser":"dist/moltin.js","types":"dist/moltin.d.ts","repository":{"type":"git","url":"git://github.com/moltin/js-sdk.git"},"release":{"branches":["main","beta"],"prepare":["@semantic-release/npm",{"path":"@semantic-release/exec","cmd":"./preRelease.sh ${nextRelease.version}"}]},"bugs":{"url":"https://github.com/moltin/js-sdk/issues"},"devDependencies":{"@babel/core":"7.18.10","@babel/eslint-parser":"7.18.9","@babel/preset-env":"7.18.10","@babel/register":"7.18.9","@rollup/plugin-babel":"5.3.1","@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.3.0","@semantic-release/exec":"^6.0.3","@types/chai":"4.2.15","@types/mocha":"9.1.1","@types/node":"18.0.6","chai":"4.3.0","commitizen":"4.2.5","core-js":"3.24.1","cz-conventional-changelog":"2.1.0","eslint":"8.22.0","eslint-config-airbnb-base":"15.0.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.26.0","lint-staged":"7.3.0","mocha":"10.0.0","mocha-junit-reporter":"1.18.0","nock":"13.2.9","nodemon":"2.0.19","prettier":"2.7.1","rewire":"6.0.0","rimraf":"2.6.2","rollup":"2.77.0","rollup-plugin-dts":"4.2.2","rollup-plugin-filesize":"9.1.2","rollup-plugin-ignore":"1.0.10","rollup-plugin-livereload":"2.0.5","rollup-plugin-serve":"1.1.0","rollup-plugin-sourcemaps":"0.6.3","rollup-plugin-uglify":"6.0.4","ts-node":"10.9.1","typescript":"4.7.4"},"dependencies":{"cross-fetch":"^3.1.5","es6-promise":"^4.0.5","form-data":"^4.0.0","inflected":"^2.0.1","js-cookie":"^3.0.1","node-localstorage":"^2.1.6"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"license":"MIT","publishConfig":{"access":"public"},"lint-staged":{"{src,test}/**/*.{js,ts,json,md}":["eslint --fix src","prettier --write","git add"]},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 Moltin Ltd\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@ayatasebin/ep-sdk@7.0.0","dist":{"shasum":"3593b760892941e919c96324864fa6d3d0843f3d","integrity":"sha512-4V7E4A/AMFsvnafl1eRJ9DdRbJcN4kwFC/QGqtH7jpxQZfpy2R9xArBtl3ekmjVwBiad1URT0RcocsKZPJxKpg==","tarball":"https://registry.npmjs.org/@ayatasebin/ep-sdk/-/ep-sdk-7.0.0.tgz","fileCount":9,"unpackedSize":690487,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUgm/RdAWIF+FFSnttiq8EbAwneJXs0M5wgVpgXGjSoQIhAJzBL7V/UnCXBDi+vHYzIONMBYt/zlQHu06haOIbCvLV"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqvKnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6ww//eJkFxTTplssxina5ueo0c3g+mnqqWE34iTieg9iieJidWGrT\r\nTpm51oTtTB0cU5qhPbbu/FrkcvBDlVYUKJ3LtWt/x412okzUnflupcsZ/KDI\r\n+FQEN6SnjARrFs+1ZHylxioa0SrhD8cQOOpZQfhY9izGBehIzQQjgGESyaW4\r\nrdOFj20YchXI1ER0+lU+KspwRrfdXr+TufLxAv8vVrPn+M9MgIWZvLwketJ1\r\nmHiADQDTyC4CVJFZVWoGbT3lnye4qvdxQmvAGfaqf4RHxtcEQykDZRwWlWpB\r\nXWbeLz/m0IfIc4AxuBLTgK3x1sFQM3xEIMdnhGfK44dwbilC7YBe1Qz5CwEZ\r\nj6ORcbZVnNm2jk2adEBuM3mazxH8VIxbU1PjmM1e4G1+XyDWHvRWK20HrIeb\r\n2WGltf5HQLornLiA/ss3op2GYoxllPSiBKUTegXHq71cIy6mXNWGH7KluH1L\r\n3Dr+d+SSJDQ5VgqAa/q9ej4FTPjsP3sncC0e4DDNq2MEhNp/AUQN67H50vm0\r\nk8V1dkEdSBbP5i/60dSU10uUKQVtakblf0WBGtWbE+H9SA11vSbZpbOaB2ci\r\n49W7U7TyvCb3oUjG9WCgJ6/pC4GyRjgR6+rcv556rln0CzP8PVL3GJgA4pf8\r\nahveLa00oTU03xRE4Us44JBCVBL/2hGCW6g=\r\n=yzdQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"},"directories":{},"maintainers":[{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ep-sdk_7.0.0_1672147623301_0.4393220331381027"},"_hasShrinkwrap":false},"8.0.0":{"name":"@ayatasebin/ep-sdk","description":"SDK for the Moltin eCommerce API","version":"8.0.0","homepage":"https://github.com/moltin/js-sdk","author":{"name":"Moltin","url":"https://moltin.com/"},"scripts":{"commit":"cz","rollup":"rollup -c","start":"SERVE=true rollup -c -w","test":"mocha --require @babel/register -r ts-node/register test/tests.ts","test-watch":"nodemon -w 'src/**' -w 'test/**' -e ts --exec 'mocha --require @babel/register -r ts-node/register test/tests.ts'","test-output":"mocha --require @babel/register -r ts-node/register --reporter mocha-junit-reporter test/tests.ts","playground":"ts-node playground/index.ts","lint":"eslint src"},"main":"dist/moltin.cjs.js","module":"dist/moltin.esm.js","jsnext:main":"dist/moltin.esm.js","cjs:main":"dist/moltin.cjs.js","browser":"dist/moltin.js","types":"dist/moltin.d.ts","repository":{"type":"git","url":"git://github.com/moltin/js-sdk.git"},"release":{"branches":["main","beta"],"prepare":["@semantic-release/npm",{"path":"@semantic-release/exec","cmd":"./preRelease.sh ${nextRelease.version}"}]},"bugs":{"url":"https://github.com/moltin/js-sdk/issues"},"devDependencies":{"@babel/core":"7.18.10","@babel/eslint-parser":"7.18.9","@babel/preset-env":"7.18.10","@babel/register":"7.18.9","@rollup/plugin-babel":"5.3.1","@rollup/plugin-commonjs":"22.0.2","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.3.0","@semantic-release/exec":"^6.0.3","@types/chai":"4.2.15","@types/mocha":"9.1.1","@types/node":"18.0.6","chai":"4.3.0","commitizen":"4.2.5","core-js":"3.24.1","cz-conventional-changelog":"2.1.0","eslint":"8.22.0","eslint-config-airbnb-base":"15.0.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.26.0","lint-staged":"7.3.0","mocha":"10.0.0","mocha-junit-reporter":"1.18.0","nock":"13.2.9","nodemon":"2.0.19","prettier":"2.7.1","rewire":"6.0.0","rimraf":"2.6.2","rollup":"2.77.0","rollup-plugin-dts":"4.2.2","rollup-plugin-filesize":"9.1.2","rollup-plugin-ignore":"1.0.10","rollup-plugin-livereload":"2.0.5","rollup-plugin-serve":"1.1.0","rollup-plugin-sourcemaps":"0.6.3","rollup-plugin-uglify":"6.0.4","ts-node":"10.9.1","typescript":"4.7.4"},"dependencies":{"cross-fetch":"^3.1.5","es6-promise":"^4.0.5","form-data":"^4.0.0","inflected":"^2.0.1","js-cookie":"^3.0.1","node-localstorage":"^2.1.6"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"directories":{"test":"test"},"license":"MIT","publishConfig":{"access":"public"},"lint-staged":{"{src,test}/**/*.{js,ts,json,md}":["eslint --fix src","prettier --write","git add"]},"gitHead":"f1369d5ef9204b3dbcd1b05b9ae2a28ad6ceb5a9","_id":"@ayatasebin/ep-sdk@8.0.0","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-NvJsJf83y2BE32IxJsemZT7EDkiHhMSSQ9wCS76YCMc63RV3SmMLZsyJyPMXYDn7Y7duHyqV7bv+nPn/E8ngrA==","shasum":"b18cacecc5ef3dfe688c74f6beadd5d7f939a50e","tarball":"https://registry.npmjs.org/@ayatasebin/ep-sdk/-/ep-sdk-8.0.0.tgz","fileCount":7,"unpackedSize":689452,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICrxHcUQhJ5ohRYxHDgm9bU242SRGryvg/YCfQA46d8HAiEAuoJ/gSuvVMz/u+qpDMRvbGkO5KPb3ld1dBr4D0P9eNE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqviXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokVBAAnLJ+OPen+MQsi0gWfy0RqQTEgOmpHgElj6VJmxGKkCDWvIUw\r\neFDlDfl6UI4qD5vfKt7AAkk+7PvUwSNtXWTQINAp99sojMKy78I26QWdbdg0\r\n09Ftha01lV8A8AP3KK6TdBCWldgnR/kNqqW22yzxXm1uJKossjgd6kbUmUON\r\nJBjKMDmkchJzV4sRiisPNJOx+eCuPQiTqIoTrhhXmpWGIEXsKbquMj7Ac3PC\r\nR7kUcSa2RDXN+alo5L6pu6yx66t63W5lQdtivzrbMQJ3oNV+SfYVsxhM9B18\r\nIfn8CidufTMCP4/n7TcBdMJu3fqH9uvvr585oDkaYcyjqWSzeyPJftijk7+g\r\nPw+0rNSWCC6cA0stxmsOViUX+yHl4b5CR5JREOKVpaomx5rLBmVqomiFnUYh\r\n1ozHXkDE4/lDuZam3aH/2fipHYw0cpaQL57hpZ5bdg5iiPnSP38tcz8iByc9\r\n5kYMBtHiKYqaCjZvuVSLWYNzOmm+0HJ3V46floUoQyClNeAX7d4JB8znmpex\r\nU4K5Iqkd4a/7sZYtt6UFOUOkJaRk3IL03MYX5uQqSJggFZUGMaIxpsecNMV9\r\nusmftNxcF0ZgQZ3BXNH/24KzegY8l6Ng/YVUmLXB6JDRlch0MqcFAkHoOOrU\r\nGbWE08JtphQLv4kOyBug66Fubdk4NcLHH2A=\r\n=UccZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"},"maintainers":[{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ep-sdk_8.0.0_1672149142909_0.7456021901183425"},"_hasShrinkwrap":false}},"time":{"created":"2022-12-27T09:00:47.522Z","1.0.0":"2022-12-27T09:00:47.819Z","modified":"2022-12-27T13:52:23.183Z","2.0.0":"2022-12-27T12:54:20.520Z","3.0.0":"2022-12-27T12:57:30.828Z","4.0.0":"2022-12-27T13:14:19.093Z","6.0.0":"2022-12-27T13:26:44.174Z","7.0.0":"2022-12-27T13:27:03.539Z","8.0.0":"2022-12-27T13:52:23.090Z"},"maintainers":[{"name":"ayatasebin","email":"sebin.vincent@ayatacommerce.com"}],"description":"SDK for the Moltin eCommerce API","homepage":"https://github.com/moltin/js-sdk","repository":{"type":"git","url":"git://github.com/moltin/js-sdk.git"},"author":{"name":"Moltin","url":"https://moltin.com/"},"bugs":{"url":"https://github.com/moltin/js-sdk/issues"},"license":"MIT","readme":"<img src=\"https://www.elasticpath.com/themes/custom/bootstrap_sass/logo.svg\" alt=\"\" width=\"400\" />\n\n# Elastic Path Commerce Cloud JavaScript SDK\n\n[![npm version](https://img.shields.io/npm/v/@moltin/sdk.svg)](https://www.npmjs.com/package/@moltin/sdk)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/moltin/js-sdk/issues)\n[![follow on Twitter](https://img.shields.io/twitter/follow/elasticpath?style=social&logo=twitter)](https://twitter.com/intent/follow?screen_name=elasticpath)\n\n> A simple to use API interface to help get you off the ground quickly and efficiently with your Elastic Path Commerce Cloud JavaScript apps.\n\n📚 [API reference](https://documentation.elasticpath.com/commerce-cloud/docs/developer/get-started/sdk.html#officially-supported-sdk) &mdash; 📚 [Elastic Path Commerce Cloud](https://www.elasticpath.com)\n\n## 🛠 Installation\n\nInstall the package from [npm](https://www.npmjs.com/package/@moltin/sdk) and import in your project.\n\n```bash\nnpm install --save @moltin/sdk\n```\n\n## ⛽️ Usage\n\nTo get started, instantiate a new Moltin client with your store credentials.\n\n> **Note:** This requires an [Elastic Path Commerce Cloud](https://www.elasticpath.com) account.\n\n```js\n// JavaScript\nimport { gateway as MoltinGateway } from '@moltin/sdk'\n\nconst Moltin = MoltinGateway({\n  client_id: 'XXX'\n})\n\n// Node.js\nconst MoltinGateway = require('@moltin/sdk').gateway\n\nconst Moltin = MoltinGateway({\n  client_id: 'XXX',\n  client_secret: 'XXX'\n})\n```\n\nAlternatively you can include the `UMD` bundle via [UNPKG](https://unpkg.com) like so:\n\n```js\n<script src=\"https://unpkg.com/@moltin/sdk\"></script>\n\n<script>\n  const Moltin = moltin.gateway({\n    client_id: 'XXX'\n  });\n</script>\n```\n\n> **Note:** If you're using [webpack](https://webpack.github.io), you'll need to add the following to your projects configuration file.\n\n```js\nnode: {\n  fs: 'empty'\n}\n```\n\nYou can now authenticate with the Moltin service 🎉\n\n```js\nMoltin.Authenticate().then(response => {\n  console.log('authenticated', response)\n})\n```\n\nCheck out the [API reference](https://documentation.elasticpath.com/commerce-cloud/docs/api/index.html) to learn more about authenticating and the available endpoints.\n\n### Custom Host\n\nIf you're an enterprise customer with your own infrastructure, you'll need to specify your API URL when instantiating:\n\n```js\nconst Moltin = MoltinGateway({\n  client_id: 'XXX',\n  host: 'api.yourdomain.com'\n})\n```\n\n### Custom Storage\n\nBy default the Elastic Path Commerce Cloud SDK persists data to `window.localStorage` in the browser and `node-localstorage` in Node. If this doesn't suit your needs you can override the default storage with a `MemoryStorageFactory` which will persist data for the life cycle of the JavaScript VM:\n\n```js\nimport { gateway as MoltinGateway, MemoryStorageFactory } from '@moltin/sdk'\n\nconst Moltin = MoltinGateway({\n  client_id: 'XXX',\n  storage: new MemoryStorageFactory()\n})\n```\n\nOr alternatively, create your own storage factory by passing in an object which implements the following interface:\n\n```js\ninterface StorageFactory {\n  set(key: string, value: string): void;\n  get(key: string): string | null;\n  delete(key: string): void;\n}\n```\n\n### Multiple Gateways\n\nYou can support multiple gateways with a `name` property when initializing the gateway.\n\n`name` should be unique to avoid sharing storage keys with the other gateways of the same name.\n\n```js\nimport { gateway as EPCCGateway } from \"@moltin/sdk\"\n\nconst gatewayOne = EPCCGateway({\n    name: \"my-first-gateway\",\n    client_id: 'XXX'\n})\n\nconst gatewayTwo = EPCCGateway({\n    name: \"my-second-gateway\",\n    client_id: 'XXX'\n})\n```\n\nStorage keys used for storage solutions are prefixed with the name provided and end with the relevent feature e.g.\n`my-first-gateway_ep_cart`, `my-first-gateway_ep_credentials` and `my-first-gateway_ep_currency`.\n\nIf no name property is provided to the EPCCGateway function, the legacy naming is maintained:\n`mcart`, `moltinCredentials` and `mcurrency`\n\n### Included Headers\n\nThere are currently several optional headers you can pass into the configuration, which include `application`, `language` and `currency`.\n\nYou can pass them into the config used by the gateway like this:\n\n```\n// JavaScript\nimport { gateway as MoltinGateway } from '@moltin/sdk'\n// const MoltinGateway = require('@moltin/sdk').gateway -> for Node\n\nconst Moltin = MoltinGateway({\n    client_id: 'XXX',\n    client_secret: 'XXX'\n    currency: 'YEN',\n    language: 'en',\n    application: 'my-app'\n})\n```\n\n### Handling File Upload\n\nFiles can be uploaded to the EPCC file service with the `Moltin.Files.Create` method. You should pass a `FormData` object as described in the [documentation](https://documentation.elasticpath.com/commerce-cloud/docs/api/advanced/files/create-a-file.html#post-create-a-file 'documentation').\n\nIn a Node.js environment, where you may be using an alternative `FormData` implementation, you can include a second parameter to represent the `Content-Type` header for the request. This must be `multipart/form-data` and must include a `boundary`. For example, using the `form-data` [package](https://www.npmjs.com/package/form-data 'package'):\n\n```\nconst FormData = require('form-data')\nconst formData = new FormData()\nformData.append('file', buffer)\n\nconst contentType = formData.getHeaders()['content-type']\n\nMoltin.Files.Create(formData, contentType)\n```\n\n#### Referencing a file stored elsewhere\n\nIf you want to create a file by simply [referencing](https://documentation.elasticpath.com/commerce-cloud/docs/api/advanced/files/create-a-file.html#post-create-a-file 'referencing') a file stored elsewhere, you can use this helper method:\n\n```\nMoltin.Files.Link('https://cdn.external-host.com/files/filename.png')\n```\n\nJust pass the URL to the `Link` method and creation will be handled for you.\n\n### TypeScript Support\n\nThe Elastic Path Commerce Cloud JavaScript SDK is fully supported in Typescript.\n\nImported module will contain all interfaces needed to consume backend services. i.e:\n\n```TypeScript\nimport * as moltin from '@moltin/sdk';\n\nconst product: moltin.ProductBase = {...}\n```\n\nIf you do not want to use the namespace, you can extend the interfaces and define them yourself, like so:\n\n```TypeScript\n// You can name the interface anything you like\ninterface Product extends product.ProductBase {\n}\n\nconst product: Product = {...}\n```\n\nHere is an example of a simple product creation:\n\n```TypeScript\nimport { Moltin, gateway, ProductBase, Resource } from '@moltin/sdk';\n\nasync function main() {\n  const g: Moltin = gateway({client_id, client_secret});\n  const auth = await g.Authenticate();\n\n  const newProduct: ProductBase = {\n    type: \"product\",\n    name: \"My Product\",\n    slug: \"my-prod\",\n    sku: \"my-prod\",\n    manage_stock: false,\n    description: \"Some description\",\n    status: \"draft\",\n    commodity_type: \"physical\",\n    price: [\n      {\n        amount: 5499,\n        currency: \"USD\",\n        includes_tax: true\n      }\n    ]\n  };\n\n  const nP: Resource<Product> = await g.Products.Create(newProduct);\n}\n```\n\nYou can also extend any base interface compatible with flows to create any custom interfaces that you might be using by re-declaring `@moltin/sdk` module. Following example adds several properties to `ProductsBase` interface that correspond to flows added to the backend.\n\nIn your project add a definition file (with a `.d.ts` extension) with a following code:\n\n```TypeScript\nimport * as moltin from '@moltin/sdk';\n\ndeclare module '@moltin/sdk' {\n\n  interface Weight {\n    g: number;\n    kg: number;\n    lb: number;\n    oz: number;\n  }\n\n  interface ProductBase {\n    background_color: string;\n    background_colour: string | null;\n    bulb: string;\n    bulb_qty: string;\n    finish: string;\n    material: string;\n    max_watt: string;\n    new: string | null;\n    on_sale: string | null;\n    weight: Weight;\n  }\n\n}\n```\n\nThis will affect base interface and all other Product interfaces that inherit from base interface so added properties will be present when creating, updating, fetching products.\n\n## ❤️ Contributing\n\nWe love community contributions. Here's a quick guide if you want to submit a pull request:\n\n1.  Fork the repository\n2.  Add a test for your change (it should fail)\n3.  Make the tests pass\n4.  Commit your changes (see note below)\n5.  Submit your PR with a brief description explaining your changes\n\n> **Note:** Commits should adhere to the [Angular commit conventions](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#-git-commit-guidelines).\n\nMake sure you have [Prettier](https://prettier.io) installed for your editor with ESLint integration enabled.\n\n## ⚡️ Development\n\nThe SDK is built with [ES6 modules](https://strongloop.com/strongblog/an-introduction-to-javascript-es6-modules/) that are bundled using [Rollup](http://rollupjs.org).\n\nIf you want to roll your own bundle, or make changes to any of the modules in `src`, then you'll need to install the package dependencies and run rollup while watching for changes.\n\n```\nnpm install\nnpm start\n```\n\nTo run test\n\n```\nnpm test\n```\n\nYou can learn more about the Rollup API and configuration [here](https://github.com/rollup/rollup/wiki).\n\n## Terms And Conditions\n\n- Any changes to this project must be reviewed and approved by the repository owner.\n- For more information about the license, see [MIT License](https://github.com/moltin/js-sdk/blob/main/LICENSE).\n\n","readmeFilename":"README.md"}