{"_id":"@dmkishi/shopify-provider","_rev":"9-a235868ce2e306673f6dbc5d7fda0baa","name":"@dmkishi/shopify-provider","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.3":{"name":"@dmkishi/shopify-provider","version":"1.0.3","author":{"name":"DM Kishi","email":"dm.kishi@gmail.com"},"license":"MIT","_id":"@dmkishi/shopify-provider@1.0.3","maintainers":[{"name":"dmkishi","email":"dm.kishi@gmail.com"}],"homepage":"https://github.com/dmkishi/shopify-provider/","bugs":{"url":"https://github.com/dmkishi/shopify-provider/issues"},"dist":{"shasum":"c4d16c0eaee65867cc0cb419926c51cf35876836","tarball":"https://registry.npmjs.org/@dmkishi/shopify-provider/-/shopify-provider-1.0.3.tgz","fileCount":5,"integrity":"sha512-qt4oJiqxOV+OmjzznX+3fHwHS6xCqDQ7aCAbsYl5XUvmifajC6lZ3pOOioxhc4AoJNhio2pzMgHJoQ1tsYdE5Q==","signatures":[{"sig":"MEQCIAl1G8P1dNLgYuIlG51fB7yHM4Cd7s03eTld2DZtV3BsAiBKMBnvvfXZ1dhPRZA4Glkp14rgVke+VI16kAmNxruxFA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6387},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"688b9e584cf860019f4f69efc97b40567de4ea9c","scripts":{"build":"npm run build:clean && npm run build:esm","prepare":"husky","publish":"sh .husky/pre-push && npm run build && npm publish","build:esm":"tsc","build:clean":"rm -rf ./dist/*"},"_npmUser":{"name":"dmkishi","email":"dm.kishi@gmail.com"},"repository":{"url":"git+https://github.com/dmkishi/shopify-provider.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple wrapper over the Shopify GraphQL Admin API w/ handy abstraction for bulk operations.","directories":{},"_nodeVersion":"22.9.0","dependencies":{"@shopify/admin-api-client":"^1.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","typescript":"^5.9.3","@types/node":"^24.7.2"},"_npmOperationalInternal":{"tmp":"tmp/shopify-provider_1.0.3_1760485525951_0.843499146429509","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@dmkishi/shopify-provider","version":"1.0.4","author":{"name":"DM Kishi","email":"dm.kishi@gmail.com"},"license":"MIT","_id":"@dmkishi/shopify-provider@1.0.4","maintainers":[{"name":"dmkishi","email":"dm.kishi@gmail.com"}],"homepage":"https://github.com/dmkishi/shopify-provider#readme","bugs":{"url":"https://github.com/dmkishi/shopify-provider/issues"},"dist":{"shasum":"a9bed25f3adb1c3a7fe3e172c81fda601fd2a8d4","tarball":"https://registry.npmjs.org/@dmkishi/shopify-provider/-/shopify-provider-1.0.4.tgz","fileCount":5,"integrity":"sha512-e02tpqBDGs9nKCOnG8GOmcNbGo5FavFEZEeUiE5GrCukHzJcpr8cd9dZe0F4tVbwnNo4IsFkYABC2b4SQFN59w==","signatures":[{"sig":"MEUCIQD+BEgXpPCzgFj/LH0FYiZ98NrOIV1zY2xjDl1+sDiWpQIgeMMyo/EcOcVF6YldJUVu1GHw9mQBTKfQOyWbuC2Tz3k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6325},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"773599f55477b6deacc333d7edde0283507437c5","scripts":{"build":"npm run build:clean && npm run build:esm","prepare":"husky","publish":"sh .husky/pre-push && npm run build && npm publish","build:esm":"tsc","build:clean":"rm -rf ./dist/*"},"_npmUser":{"name":"dmkishi","email":"dm.kishi@gmail.com"},"repository":{"url":"git+https://github.com/dmkishi/shopify-provider.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple wrapper over the Shopify GraphQL Admin API w/ handy abstraction for bulk operations.","directories":{},"_nodeVersion":"22.9.0","dependencies":{"@shopify/admin-api-client":"^1.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","typescript":"^5.9.3","@types/node":"^24.7.2"},"_npmOperationalInternal":{"tmp":"tmp/shopify-provider_1.0.4_1760485772078_0.21093585487255018","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@dmkishi/shopify-provider","version":"1.0.5","author":{"name":"DM Kishi","email":"dm.kishi@gmail.com"},"license":"MIT","_id":"@dmkishi/shopify-provider@1.0.5","maintainers":[{"name":"dmkishi","email":"dm.kishi@gmail.com"}],"homepage":"https://github.com/dmkishi/shopify-provider#readme","bugs":{"url":"https://github.com/dmkishi/shopify-provider/issues"},"dist":{"shasum":"a918d1a9fd43caedcc823ad159b93c8bef7a54d0","tarball":"https://registry.npmjs.org/@dmkishi/shopify-provider/-/shopify-provider-1.0.5.tgz","fileCount":5,"integrity":"sha512-1GwvSPv6abRxvNy5yRHIyesiSZjSacUor4bYXLXIR8JQK2+eCeS6shqH42ULFKgi04AU247h57WHCsfqYg4UiA==","signatures":[{"sig":"MEYCIQD3NwWbkGoSPHgzeRam+3wpmvLbELkJsu0Hqt76ptq/6gIhAK5ptFlRyIVKlEiagY00h4qbjScKPc4aBuZkm6BwdRjb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6755},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"41245c42af1fddc6ccbc4cfcdb2f6b8d32ec03bb","scripts":{"build":"npm run build:clean && npm run build:esm","prepare":"husky","publish":"sh .husky/pre-push && npm run build && npm publish","build:esm":"tsc","build:clean":"rm -rf ./dist/*"},"_npmUser":{"name":"dmkishi","email":"dm.kishi@gmail.com"},"repository":{"url":"git+https://github.com/dmkishi/shopify-provider.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple wrapper over the Shopify GraphQL Admin API w/ handy abstraction for bulk operations.","directories":{},"_nodeVersion":"22.9.0","dependencies":{"@shopify/admin-api-client":"^1.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","typescript":"^5.9.3","@types/node":"^24.7.2"},"_npmOperationalInternal":{"tmp":"tmp/shopify-provider_1.0.5_1760541709768_0.5477966660979807","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@dmkishi/shopify-provider","version":"1.1.0","author":{"name":"DM Kishi","email":"dm.kishi@gmail.com"},"license":"MIT","_id":"@dmkishi/shopify-provider@1.1.0","maintainers":[{"name":"dmkishi","email":"dm.kishi@gmail.com"}],"homepage":"https://github.com/dmkishi/shopify-provider#readme","bugs":{"url":"https://github.com/dmkishi/shopify-provider/issues"},"dist":{"shasum":"cbbcba51038fa02fa7b34e164ab4924a78c940c5","tarball":"https://registry.npmjs.org/@dmkishi/shopify-provider/-/shopify-provider-1.1.0.tgz","fileCount":5,"integrity":"sha512-FNh7aAep+2Dun0U8GggQHv/eVOx92rC89+lNaQhfubBzEFJqYiyy3TP+rxqcYFCh0nZC/0wha1TMAPHz6j5Geg==","signatures":[{"sig":"MEUCIAzZ/VFwI57FIS3gP3ynKMW5aoRWy1IEexwCRVKCWQZXAiEA+1yQcgAObb4nvBcUD6vOr60BmyCXYkqFAFXipTQdniQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6723},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"8dea288cb4b4f2702a707a329772e74958e5d38b","scripts":{"build":"npm run build:clean && npm run build:esm","prepare":"husky","publish":"sh .husky/pre-push && npm run build && npm publish","build:esm":"tsc","build:clean":"rm -rf ./dist/*"},"_npmUser":{"name":"dmkishi","email":"dm.kishi@gmail.com"},"repository":{"url":"git+https://github.com/dmkishi/shopify-provider.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple wrapper over the Shopify GraphQL Admin API w/ handy abstraction for bulk operations.","directories":{},"_nodeVersion":"22.9.0","dependencies":{"@shopify/admin-api-client":"^1.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","typescript":"^5.9.3","@types/node":"^24.7.2"},"_npmOperationalInternal":{"tmp":"tmp/shopify-provider_1.1.0_1760548014299_0.6708027155467637","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@dmkishi/shopify-provider","version":"1.1.1","author":{"name":"DM Kishi","email":"dm.kishi@gmail.com"},"license":"MIT","_id":"@dmkishi/shopify-provider@1.1.1","maintainers":[{"name":"dmkishi","email":"dm.kishi@gmail.com"}],"homepage":"https://github.com/dmkishi/shopify-provider#readme","bugs":{"url":"https://github.com/dmkishi/shopify-provider/issues"},"dist":{"shasum":"5693aebd816c72c9d63571c5bfff9460568f0efd","tarball":"https://registry.npmjs.org/@dmkishi/shopify-provider/-/shopify-provider-1.1.1.tgz","fileCount":5,"integrity":"sha512-SmdWf7k/NrByIomYZ0SGEuBRHsMWJYgW1yQrwn5QE1aMHSdpZlO6TjPKevLsfMcTom2lNep+cgfEpiZJyf88mw==","signatures":[{"sig":"MEYCIQCZL2pl+JnUjp412naIn19iEMpP6p5U6kxJ7hAjCvkcVwIhANxcE8uLWw9fMUkEvLPS2Yrs3WxA6I53Pi5t0oh88lFH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6760},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b33d9b2392108cda9adfd0241415c49e9c4cabc9","scripts":{"build":"npm run build:clean && npm run build:esm","prepare":"husky","publish":"sh .husky/pre-push && npm run build && npm publish","build:esm":"tsc","build:clean":"rm -rf ./dist/*"},"_npmUser":{"name":"dmkishi","email":"dm.kishi@gmail.com"},"repository":{"url":"git+https://github.com/dmkishi/shopify-provider.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple wrapper over the Shopify GraphQL Admin API w/ handy abstraction for bulk operations.","directories":{},"_nodeVersion":"22.9.0","dependencies":{"@shopify/admin-api-client":"^1.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","typescript":"^5.9.3","@types/node":"^24.7.2"},"_npmOperationalInternal":{"tmp":"tmp/shopify-provider_1.1.1_1760550098931_0.66022894098599","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@dmkishi/shopify-provider","version":"1.1.2","author":{"name":"DM Kishi","email":"dm.kishi@gmail.com"},"license":"MIT","_id":"@dmkishi/shopify-provider@1.1.2","maintainers":[{"name":"dmkishi","email":"dm.kishi@gmail.com"}],"homepage":"https://github.com/dmkishi/shopify-provider#readme","bugs":{"url":"https://github.com/dmkishi/shopify-provider/issues"},"dist":{"shasum":"8b53e0cd25d55f5e708b5c859d72a559a286fe72","tarball":"https://registry.npmjs.org/@dmkishi/shopify-provider/-/shopify-provider-1.1.2.tgz","fileCount":5,"integrity":"sha512-9ppuMPhY/INKd2BpjQlmMf+DmR0eyWCS0mAZrdbxNmKyho+yraWtwyI29JtnPbmNZLmBFCqUyUIN8Ti9/UgmAw==","signatures":[{"sig":"MEUCIQCxAGSko/JSB5UdpU0EFtG72fkAN4SKYX/w5tZ9EhZv0QIgIJz+3KmoEV1VBpjiqpPr3CiiMIuHeHFG8zmc1tHAnfY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8664},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"823a71f2fea689a9b138d80bbd1fa888cd2d678c","scripts":{"lint":"oxlint","build":"pnpm build:clean && pnpm build:esm","check":"tsc --noEmit","prepare":"husky","build:esm":"tsc","build:clean":"rm -rf ./dist/*","prepublishOnly":"sh .husky/pre-push && pnpm build"},"_npmUser":{"name":"dmkishi","email":"dm.kishi@gmail.com"},"repository":{"url":"git+https://github.com/dmkishi/shopify-provider.git","type":"git"},"_npmVersion":"11.11.0","description":"Simple wrapper over the Shopify GraphQL Admin API w/ handy abstraction for bulk operations.","directories":{},"_nodeVersion":"24.10.0","dependencies":{"@shopify/admin-api-client":"^1.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","oxlint":"^1.63.0","typescript":"^5.9.3","@types/node":"^24.12.2","oxlint-tsgolint":"^0.22.1","@dmkishi/oxlintrc":"^0.0.1","@dmkishi/markdownlint-cli2.yaml":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/shopify-provider_1.1.2_1778011791485_0.9486361370352261","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@dmkishi/shopify-provider","version":"2.0.0","author":{"name":"DM Kishi","email":"dm.kishi@gmail.com"},"license":"MIT","_id":"@dmkishi/shopify-provider@2.0.0","maintainers":[{"name":"dmkishi","email":"dm.kishi@gmail.com"}],"homepage":"https://github.com/dmkishi/shopify-provider#readme","bugs":{"url":"https://github.com/dmkishi/shopify-provider/issues"},"dist":{"shasum":"ebd67aeb3d0dba9a62039419ac0556c7ec78c194","tarball":"https://registry.npmjs.org/@dmkishi/shopify-provider/-/shopify-provider-2.0.0.tgz","fileCount":5,"integrity":"sha512-a5aRTs/RPzxpyuMsAIkfpnqATvwTTZoyeiP54+sF47dSzowabf60MpPFX2dkU8T2QyJuukJB4iWfBo6GG09DWw==","signatures":[{"sig":"MEUCIGwMWbg7z/qlFZMznO0G1oCnoUKD1v0H9lRrhBpNud2KAiEAjgJ0SilzVjhS3LxyOEC2WqPFy7SZ34oS4w4HXrnETkM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16722},"main":"./dist/index.js","type":"module","_from":"file:dmkishi-shopify-provider-2.0.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"pnpm build:clean && pnpm build:esm","check":"pnpm check:type && pnpm check:lint","build:esm":"tsc","check:lint":"oxlint","check:type":"tsc --noEmit","build:clean":"rm -rf ./dist/*"},"_npmUser":{"name":"dmkishi","email":"dm.kishi@gmail.com"},"_resolved":"/private/var/folders/ts/v30h15tx743bdsjdc5_41cz40000gn/T/41a5b12455b4dd14b90bd72ecab8e1a9/dmkishi-shopify-provider-2.0.0.tgz","_integrity":"sha512-a5aRTs/RPzxpyuMsAIkfpnqATvwTTZoyeiP54+sF47dSzowabf60MpPFX2dkU8T2QyJuukJB4iWfBo6GG09DWw==","repository":{"url":"git+https://github.com/dmkishi/shopify-provider.git","type":"git"},"_npmVersion":"11.11.0","description":"Simple wrapper over the Shopify GraphQL Admin API w/ handy abstraction for bulk operations.","directories":{},"_nodeVersion":"24.10.0","dependencies":{"@shopify/admin-api-client":"^1.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","oxlint":"^1.63.0","typescript":"^5.9.3","@types/node":"^24.12.2","oxlint-tsgolint":"^0.22.1","@dmkishi/oxlintrc":"^0.1.0","@dmkishi/markdownlint-cli2.yaml":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/shopify-provider_2.0.0_1778538016140_0.8406630320736657","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@dmkishi/shopify-provider","version":"2.0.1","author":{"name":"DM Kishi","email":"dm.kishi@gmail.com"},"license":"MIT","_id":"@dmkishi/shopify-provider@2.0.1","maintainers":[{"name":"dmkishi","email":"dm.kishi@gmail.com"}],"homepage":"https://github.com/dmkishi/shopify-provider#readme","bugs":{"url":"https://github.com/dmkishi/shopify-provider/issues"},"dist":{"shasum":"e5030378ca1ff94b3cca9056d9da5e046abf132b","tarball":"https://registry.npmjs.org/@dmkishi/shopify-provider/-/shopify-provider-2.0.1.tgz","fileCount":9,"integrity":"sha512-6B03d4Hzdg1uFFwo7SvRvZQ0naD2DgjHWc3VlldvpMFDVaf+u9lWmkeHMEi5zy92oeS2/nzwkVN0kzsck/9riQ==","signatures":[{"sig":"MEYCIQC6YEvjcPSM1jP3ol91Hd7kIh9QkxBTzhpgHYJJC729SgIhAJs5ug4mpH/h6h0WwLPoFCAD4lJT4Im8r4K4S1LMSLGB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18216},"main":"./dist/index.js","type":"module","_from":"file:dmkishi-shopify-provider-2.0.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.6"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"pnpm build:clean && pnpm build:esm","check":"pnpm check:type && pnpm check:lint","build:esm":"tsc -p tsconfig.build.json","test:unit":"vitest run --project=unit","check:lint":"oxlint","check:type":"tsc --noEmit","build:clean":"rm -rf ./dist/*","validateBuild":"pnpm build && pnpm validateBuild:only","test:integration":"vitest run --project=integration","validateBuild:only":"publint && attw --pack . --profile esm-only"},"_npmUser":{"name":"dmkishi","email":"dm.kishi@gmail.com"},"_resolved":"/private/var/folders/ts/v30h15tx743bdsjdc5_41cz40000gn/T/f15e697631f419797d1d2709116fa4f9/dmkishi-shopify-provider-2.0.1.tgz","_integrity":"sha512-6B03d4Hzdg1uFFwo7SvRvZQ0naD2DgjHWc3VlldvpMFDVaf+u9lWmkeHMEi5zy92oeS2/nzwkVN0kzsck/9riQ==","repository":{"url":"git+https://github.com/dmkishi/shopify-provider.git","type":"git"},"_npmVersion":"11.11.0","description":"Simple wrapper over the Shopify GraphQL Admin API w/ handy abstraction for bulk operations.","directories":{},"sideEffects":false,"_nodeVersion":"24.10.0","dependencies":{"@shopify/admin-api-client":"^1.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","oxlint":"^1.63.0","vitest":"^4.1.6","publint":"^0.3.21","typescript":"^5.9.3","@types/node":"^24.12.2","oxlint-tsgolint":"^0.22.1","@dmkishi/oxlintrc":"^0.2.1","@arethetypeswrong/cli":"^0.18.2","@dmkishi/markdownlint-cli2.yaml":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/shopify-provider_2.0.1_1778881959650_0.4738249487177544","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@dmkishi/shopify-provider","description":"Simple wrapper over the Shopify GraphQL Admin API w/ handy abstraction for bulk operations.","version":"2.1.0","author":{"name":"DM Kishi","email":"dm.kishi@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dmkishi/shopify-provider.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.js"}},"sideEffects":false,"engines":{"node":">=22.6"},"dependencies":{"@shopify/admin-api-client":"^1.1.2"},"devDependencies":{"@arethetypeswrong/cli":"^0.18.2","@dmkishi/markdownlint-cli2.yaml":"^0.0.3","@dmkishi/oxlintrc":"^0.2.1","@types/node":"^24.12.2","husky":"^9.1.7","oxlint":"^1.63.0","oxlint-tsgolint":"^0.22.1","publint":"^0.3.21","typescript":"^5.9.3","vitest":"^4.1.6"},"scripts":{"build":"pnpm build:clean && pnpm build:esm","build:esm":"tsc -p tsconfig.build.json","build:clean":"rm -rf ./dist/*","check":"pnpm check:type && pnpm check:lint","check:type":"tsc --noEmit","check:lint":"oxlint","test":"vitest run","test:unit":"vitest run --project=unit","test:integration":"vitest run --project=integration","validateBuild":"pnpm build && pnpm validateBuild:only","validateBuild:only":"publint && attw --pack . --profile esm-only"},"_id":"@dmkishi/shopify-provider@2.1.0","bugs":{"url":"https://github.com/dmkishi/shopify-provider/issues"},"homepage":"https://github.com/dmkishi/shopify-provider#readme","_integrity":"sha512-36U/snu+r6vnTxBhg22tGsTz0WI3SwrRpuzMlPSEFDzyaL0jR+3eZoDU8GcaFl1zwsZvF7jGBhAiWE+OXKsFgw==","_resolved":"/private/var/folders/ts/v30h15tx743bdsjdc5_41cz40000gn/T/50ee7e06a17c755dcce7a5c909e106e1/dmkishi-shopify-provider-2.1.0.tgz","_from":"file:dmkishi-shopify-provider-2.1.0.tgz","_nodeVersion":"24.10.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-36U/snu+r6vnTxBhg22tGsTz0WI3SwrRpuzMlPSEFDzyaL0jR+3eZoDU8GcaFl1zwsZvF7jGBhAiWE+OXKsFgw==","shasum":"6361ff8133c05810e814d6f8a91ba54c3ca37071","tarball":"https://registry.npmjs.org/@dmkishi/shopify-provider/-/shopify-provider-2.1.0.tgz","fileCount":11,"unpackedSize":20491,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDGBfVp7cnnmZqs9P1WA20cSksQzQb5t0n33AcHqn1mOAIgbms60GnQ5PCFmvAkGm9ae4tS5i3E44aynP3tbqVlg/Y="}]},"_npmUser":{"name":"dmkishi","email":"dm.kishi@gmail.com"},"directories":{},"maintainers":[{"name":"dmkishi","email":"dm.kishi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/shopify-provider_2.1.0_1778948365712_0.7982534240767292"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-14T23:45:25.834Z","modified":"2026-05-16T16:19:25.955Z","1.0.3":"2025-10-14T23:45:26.124Z","1.0.4":"2025-10-14T23:49:32.259Z","1.0.5":"2025-10-15T15:21:49.962Z","1.1.0":"2025-10-15T17:06:54.475Z","1.1.1":"2025-10-15T17:41:39.119Z","1.1.2":"2026-05-05T20:09:51.665Z","2.0.0":"2026-05-11T22:20:16.294Z","2.0.1":"2026-05-15T21:52:39.799Z","2.1.0":"2026-05-16T16:19:25.842Z"},"bugs":{"url":"https://github.com/dmkishi/shopify-provider/issues"},"author":{"name":"DM Kishi","email":"dm.kishi@gmail.com"},"license":"MIT","homepage":"https://github.com/dmkishi/shopify-provider#readme","repository":{"type":"git","url":"git+https://github.com/dmkishi/shopify-provider.git"},"description":"Simple wrapper over the Shopify GraphQL Admin API w/ handy abstraction for bulk operations.","maintainers":[{"name":"dmkishi","email":"dm.kishi@gmail.com"}],"readme":"Shopify Provider\n================================================================================\nSimple wrapper over the [Shopify GraphQL Admin API](https://shopify.dev/docs/api/admin-graphql) with a handy abstraction for [bulk operations](https://shopify.dev/docs/api/usage/bulk-operations).\n\nInstall\n--------------------------------------------------------------------------------\n```sh\npnpm add @dmkishi/shopify-provider\n```\n\nUsage\n--------------------------------------------------------------------------------\n### Import library and create a Shopify API client\n```ts\nimport {\n  createShopifyProvider,\n  GraphQlError,\n  BulkOperationUserError,\n  BulkOperationError,\n  type ShopifyProvider,\n} from '@dmkishi/shopify-provider';\n\nconst shopifyProvider = createShopifyProvider({\n  storeDomain: 'example.myshopify.com',\n  apiVersion: '2026-01',\n  accessToken: 'shpat_EXAMPLE',\n});\n```\n\n### Make a GraphQL request\nThe variables argument is optional.\n```ts\ntype ProductData = {\n  product: {\n    title: string;\n    tags: string[];\n  } | null;\n};\n\nlet data: ProductData;\ntry {\n  data = await shopifyProvider.graphQl<ProductData>(\n    /* graphql */`\n      query GetProduct($id: ID!) {\n        product(id: $id) {\n          title\n          tags\n        }\n      }\n    `,\n    {\n      variables: { id: 'gid://shopify/Product/1234567890' },\n    }\n  );\n} catch (error) {\n  if (error instanceof GraphQlError) {\n    throw new Error(error.publicMessage, { cause: error });\n  }\n  throw error;\n}\n\nif (data.product !== null) {\n  console.log(data.product); // { title: \"Title\", tags: [\"Tag\"] }\n}\n```\n\n### Make a bulk operation request\n```ts\ntype Product = {\n  title: string;\n  tags: string[];\n};\n\n/**\n * Optionally pass an `AbortSignal` to allow canceling a running bulk operation.\n * In this example, cancel the request after 1 minute.\n */\nconst controller = new AbortController();\nsetTimeout(() => controller.abort(), 60_000);\n\nlet products: Product[];\ntry {\n  products = await shopifyProvider.bulkOperation<Product>(\n    /* graphql */`\n      {\n        products {\n          edges {\n            node {\n              title\n              tags\n            }\n          }\n        }\n      }\n    `,\n    {\n      pollFrequencyMs: 2_500,\n      signal: controller.signal,\n    }\n  );\n} catch (error) {\n  if (error instanceof GraphQlError) {\n    throw new Error(`GraphQL error: ${error.message}`, { cause: error });\n  }\n  if (error instanceof BulkOperationUserError) {\n    throw new Error(`Bulk operation user error: ${error.code}`, { cause: error });\n  }\n  if (error instanceof BulkOperationError) {\n    throw new Error(`Bulk operation error: ${error.code}`, { cause: error });\n  }\n  throw error;\n}\n\nconsole.log(products); // [{ title: \"Title\", tags: [\"Tag\"] }, ... ]\n```\n\n### Access the underlying Admin API client\nThe underlying [`@shopify/admin-api-client`](https://www.npmjs.com/package/@shopify/admin-api-client)\ninstance is exposed as `client` for use cases not covered.\n```ts\nconst { data, errors } = await shopifyProvider.client.request(\n  /* graphql */`\n    query {\n      shop {\n        name\n      }\n    }\n  `\n);\n```\n\nUtilities\n--------------------------------------------------------------------------------\nShopify-related helpers are available from a separate `/utils` entry point, so\nthey can be used without creating a provider.\n\n### `numericId`\nExtracts the numeric identifier from a Shopify global ID (GID). The id is\nreturned as a string to avoid precision loss, and any trailing query string is\nignored. Throws a `RangeError` if the input is not a valid GID.\n```ts\nimport { numericId } from '@dmkishi/shopify-provider/utils';\n\nnumericId('gid://shopify/Product/1234567890'); // '1234567890'\nnumericId('gid://shopify/ProductVariant/42?namespace=foo'); // '42'\n```\n\nDevelop\n--------------------------------------------------------------------------------\n```sh\n# Lint, build, and then publish.\npnpm publish\n```\n","readmeFilename":"README.md"}