{"_id":"@basetime/pintail-sdk-ts","_rev":"9-b5aee2866ee969e01addb515158f8eb5","name":"@basetime/pintail-sdk-ts","dist-tags":{"latest":"0.1.10"},"versions":{"0.1.1":{"name":"@basetime/pintail-sdk-ts","version":"0.1.1","license":"UNLICENSED","_id":"@basetime/pintail-sdk-ts@0.1.1","maintainers":[{"name":"basetime-io","email":"dev@basetime.io"},{"name":"anthonyzupancic","email":"anthonymzupancic@gmail.com"},{"name":"web-headzoo","email":"sean@headzoo.io"},{"name":"levergreen","email":"lowell.evergreen@avagate.com"}],"dist":{"shasum":"b1f78c8fa8276d4e59df5e4c2dee76bd2686726a","tarball":"https://registry.npmjs.org/@basetime/pintail-sdk-ts/-/pintail-sdk-ts-0.1.1.tgz","fileCount":20,"integrity":"sha512-esRzP0Ia6mNVNd39GZxejn9vfM5oS1BtFfyVJqw/LJsc52mg/q7ptR0ZlldQmvsnJaIO/9jty+QVlTT7a30YEQ==","signatures":[{"sig":"MEYCIQDrVtmv2iwM3EMcSSvE4+RMNJpuhMU8NESQSLRJEetajgIhAKItBrvK95qZ9eHUyVpoaaGChxah98pm/4v2U/kj3wD4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13576},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"674989bfbf98d8dc52e63a9e22386ae93154a7c0","scripts":{"dev":"pnpm run build && npx http-server -p 8485 .","lint":"eslint .","test":"jest","build":"pnpm run build:cjs && pnpm run build:browser","clean":"rimraf dist coverage","format":"prettier --write .","build:cjs":"tsc -p tsconfig.json","publish:cdn":"bash scripts/publish-cdn.sh","format:check":"prettier --check .","build:browser":"esbuild src/browser.ts --bundle --format=iife --target=es2022 --minify --sourcemap --outfile=dist/browser/index.js"},"_npmUser":{"name":"web-headzoo","email":"sean@headzoo.io"},"_npmVersion":"10.9.0","description":"Pintail SDK for TypeScript","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@trivago/prettier-plugin-sort-imports":"^6.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.1","eslint":"^9.39.4","rimraf":"^6.1.3","esbuild":"^0.28.0","ts-jest":"^29.4.9","prettier":"^3.8.3","@eslint/js":"^9.39.4","typescript":"^6.0.3","@types/jest":"^30.0.0","@jest/globals":"^30.4.1","typescript-eslint":"^8.59.2"},"_npmOperationalInternal":{"tmp":"tmp/pintail-sdk-ts_0.1.1_1778422301628_0.05279704533652074","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@basetime/pintail-sdk-ts","version":"0.1.2","license":"UNLICENSED","_id":"@basetime/pintail-sdk-ts@0.1.2","maintainers":[{"name":"basetime-io","email":"dev@basetime.io"},{"name":"anthonyzupancic","email":"anthonymzupancic@gmail.com"},{"name":"web-headzoo","email":"sean@headzoo.io"},{"name":"levergreen","email":"lowell.evergreen@avagate.com"}],"dist":{"shasum":"15d42988d701b92252eed7c339f0774a59fe7f07","tarball":"https://registry.npmjs.org/@basetime/pintail-sdk-ts/-/pintail-sdk-ts-0.1.2.tgz","fileCount":20,"integrity":"sha512-/AGasCLyg5s9rK/nAplcczpnDV9ehcx+xTWQt1hb1FcIniP64xRrPoR3GElzLXoDn9vjNQzTh3rUDmCaFj7xKw==","signatures":[{"sig":"MEYCIQCoAXXfsrA2UQFhP7hTukHMoLjP0WtB4UYT5sGrh+5EbwIhAJbZu7rk4NPO7JYmGgOs37onW/c0VoTwL38bX4QHrBit","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12917},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"1ab76f5000d581959e503f7b7dbc7cd99afcbf07","scripts":{"dev":"pnpm run build && npx http-server -p 8485 .","lint":"eslint .","test":"jest","build":"pnpm run build:cjs && pnpm run build:browser","clean":"rimraf dist coverage","format":"prettier --write .","build:cjs":"tsc -p tsconfig.json","publish:cdn":"bash scripts/publish-cdn.sh","format:check":"prettier --check .","build:browser":"esbuild src/browser.ts --bundle --format=iife --target=es2022 --minify --sourcemap --outfile=dist/browser/index.js"},"_npmUser":{"name":"web-headzoo","email":"sean@headzoo.io"},"_npmVersion":"10.9.0","description":"Pintail SDK for TypeScript","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@trivago/prettier-plugin-sort-imports":"^6.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.1","eslint":"^9.39.4","rimraf":"^6.1.3","esbuild":"^0.28.0","ts-jest":"^29.4.9","prettier":"^3.8.3","@eslint/js":"^9.39.4","typescript":"^6.0.3","@types/jest":"^30.0.0","@jest/globals":"^30.4.1","typescript-eslint":"^8.59.2"},"_npmOperationalInternal":{"tmp":"tmp/pintail-sdk-ts_0.1.2_1778500631038_0.46530812873562777","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@basetime/pintail-sdk-ts","version":"0.1.3","license":"MIT","_id":"@basetime/pintail-sdk-ts@0.1.3","maintainers":[{"name":"basetime-io","email":"dev@basetime.io"},{"name":"anthonyzupancic","email":"anthonymzupancic@gmail.com"},{"name":"web-headzoo","email":"sean@headzoo.io"},{"name":"levergreen","email":"lowell.evergreen@avagate.com"}],"homepage":"https://github.com/basetime/pintail-sdk-ts","bugs":{"url":"https://github.com/basetime/pintail-sdk-ts/issues"},"dist":{"shasum":"bed37d45095d8ec1e08a847b77d6a49af065491b","tarball":"https://registry.npmjs.org/@basetime/pintail-sdk-ts/-/pintail-sdk-ts-0.1.3.tgz","fileCount":21,"integrity":"sha512-0QzgrgYJjZxmNjnJl/HmheddoLiU/0RhZ28TuUUyuDXQJgnROzz/ttaq/Tppee+T076SlDpIRKVBqgaoViOxmw==","signatures":[{"sig":"MEYCIQD4p8wriSY82te8EZVkX/mOgKwHg1zSI+rAIa+BhDHQdQIhAMWPYDCUQi19UBRsQPMH0Kg1ZyZ7LYr4msttUq05VBX5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14221},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"d117f9f42e3f8ecc3f9a872a03f42a9b70cbf528","scripts":{"dev":"pnpm run build && npx http-server -p 8485 .","lint":"eslint .","test":"jest","build":"pnpm run build:cjs && pnpm run build:browser","clean":"rimraf dist coverage","format":"prettier --write .","build:cjs":"tsc -p tsconfig.json","publish:cdn":"bash scripts/publish-cdn.sh","format:check":"prettier --check .","build:browser":"esbuild src/browser.ts --bundle --format=iife --target=es2022 --minify --sourcemap --outfile=dist/browser/index.js"},"_npmUser":{"name":"web-headzoo","email":"sean@headzoo.io"},"repository":{"url":"git+https://github.com/basetime/pintail-sdk-ts.git","type":"git"},"_npmVersion":"10.9.0","description":"Pintail SDK for TypeScript","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@trivago/prettier-plugin-sort-imports":"^6.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.1","eslint":"^9.39.4","rimraf":"^6.1.3","esbuild":"^0.28.0","ts-jest":"^29.4.9","prettier":"^3.8.3","@eslint/js":"^9.39.4","typescript":"^6.0.3","@types/jest":"^30.0.0","@jest/globals":"^30.4.1","typescript-eslint":"^8.59.2"},"_npmOperationalInternal":{"tmp":"tmp/pintail-sdk-ts_0.1.3_1778503511329_0.7440352406818063","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@basetime/pintail-sdk-ts","version":"0.1.4","license":"MIT","_id":"@basetime/pintail-sdk-ts@0.1.4","maintainers":[{"name":"basetime-io","email":"dev@basetime.io"},{"name":"anthonyzupancic","email":"anthonymzupancic@gmail.com"},{"name":"web-headzoo","email":"sean@headzoo.io"},{"name":"levergreen","email":"lowell.evergreen@avagate.com"}],"homepage":"https://github.com/basetime/pintail-sdk-ts","bugs":{"url":"https://github.com/basetime/pintail-sdk-ts/issues"},"dist":{"shasum":"d2a842196b6f0dd547389141ab118d52cdbc9a52","tarball":"https://registry.npmjs.org/@basetime/pintail-sdk-ts/-/pintail-sdk-ts-0.1.4.tgz","fileCount":19,"integrity":"sha512-0su0czvcqjMr1v/vGCx4VUMJ14fMsk3zQHDE0ZJEk2+gkoEb4zVydiXa/cACdtX6EIcYoeN6rmg1cJfSm4NHng==","signatures":[{"sig":"MEUCIGjHZsYx04RdhaE61pQWAAjsVcAi5u/+85tO2jggOijcAiEA6CWCOdf3JlsRJF/y4WUZMsNSwqabWhjenM8JGxVfOh8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12826},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"e8b82672a782378583c6c8b3af6cf9732ef2f62a","scripts":{"dev":"pnpm run build && npx http-server -p 8485 .","lint":"eslint .","test":"jest","build":"pnpm run build:cjs && pnpm run build:browser","clean":"rimraf dist coverage","format":"prettier --write .","build:cjs":"tsc -p tsconfig.json","publish:cdn":"bash scripts/publish-cdn.sh","format:check":"prettier --check .","build:browser":"esbuild src/browser.ts --bundle --format=iife --target=es2022 --minify --sourcemap --outfile=dist/browser/index.js"},"_npmUser":{"name":"web-headzoo","email":"sean@headzoo.io"},"repository":{"url":"git+https://github.com/basetime/pintail-sdk-ts.git","type":"git"},"_npmVersion":"10.9.0","description":"Pintail SDK for TypeScript","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@trivago/prettier-plugin-sort-imports":"^6.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.1","eslint":"^9.39.4","rimraf":"^6.1.3","esbuild":"^0.28.0","ts-jest":"^29.4.9","prettier":"^3.8.3","@eslint/js":"^9.39.4","typescript":"^6.0.3","@types/jest":"^30.0.0","@jest/globals":"^30.4.1","typescript-eslint":"^8.59.2"},"_npmOperationalInternal":{"tmp":"tmp/pintail-sdk-ts_0.1.4_1778505796876_0.046856169231204614","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@basetime/pintail-sdk-ts","version":"0.1.5","license":"MIT","_id":"@basetime/pintail-sdk-ts@0.1.5","maintainers":[{"name":"basetime-io","email":"dev@basetime.io"},{"name":"anthonyzupancic","email":"anthonymzupancic@gmail.com"},{"name":"web-headzoo","email":"sean@headzoo.io"},{"name":"levergreen","email":"lowell.evergreen@avagate.com"}],"homepage":"https://github.com/basetime/pintail-sdk-ts","bugs":{"url":"https://github.com/basetime/pintail-sdk-ts/issues"},"dist":{"shasum":"53febd5de808a465dbc3ae33b4ec04504a340b82","tarball":"https://registry.npmjs.org/@basetime/pintail-sdk-ts/-/pintail-sdk-ts-0.1.5.tgz","fileCount":19,"integrity":"sha512-kz+sTNOkmHLRXuu68SJy0NFnwo3hsuJw8k3H2gRw9S3ejFrMVW+qYuspS6URCpg0ql9FAYwNEeupS/+djtEbyQ==","signatures":[{"sig":"MEYCIQDBw1xUVDNac8/8TQyoWSuLIeUhd5TU8bdqAsWT1i7yywIhAJj3qDi5SuKurXBR4Nb4qY+Qe1B8hNG3KzNnsAfB+LoX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12826},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"e9117940f77fb60a200177d9cbd2d9dd77547e9e","scripts":{"dev":"pnpm run build && npx http-server -p 8485 .","lint":"eslint .","test":"jest","build":"pnpm run build:cjs && pnpm run build:browser","clean":"rimraf dist coverage","format":"prettier --write .","build:cjs":"tsc -p tsconfig.json","publish:cdn":"bash scripts/publish-cdn.sh","format:check":"prettier --check .","build:browser":"esbuild src/browser.ts --bundle --format=iife --target=es2022 --minify --sourcemap --outfile=dist/browser/index.js"},"_npmUser":{"name":"web-headzoo","email":"sean@headzoo.io"},"repository":{"url":"git+https://github.com/basetime/pintail-sdk-ts.git","type":"git"},"_npmVersion":"10.9.0","description":"Pintail SDK for TypeScript","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@trivago/prettier-plugin-sort-imports":"^6.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.1","eslint":"^9.39.4","rimraf":"^6.1.3","esbuild":"^0.28.0","ts-jest":"^29.4.9","prettier":"^3.8.3","@eslint/js":"^9.39.4","typescript":"^6.0.3","@types/jest":"^30.0.0","@jest/globals":"^30.4.1","typescript-eslint":"^8.59.2"},"_npmOperationalInternal":{"tmp":"tmp/pintail-sdk-ts_0.1.5_1778508851514_0.23904922918037497","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@basetime/pintail-sdk-ts","version":"0.1.6","license":"MIT","_id":"@basetime/pintail-sdk-ts@0.1.6","maintainers":[{"name":"basetime-io","email":"dev@basetime.io"},{"name":"anthonyzupancic","email":"anthonymzupancic@gmail.com"},{"name":"web-headzoo","email":"sean@headzoo.io"},{"name":"levergreen","email":"lowell.evergreen@avagate.com"}],"homepage":"https://github.com/basetime/pintail-sdk-ts","bugs":{"url":"https://github.com/basetime/pintail-sdk-ts/issues"},"dist":{"shasum":"da498aab472daee9f749be3f2e475dd652d01ad0","tarball":"https://registry.npmjs.org/@basetime/pintail-sdk-ts/-/pintail-sdk-ts-0.1.6.tgz","fileCount":21,"integrity":"sha512-pOn1Vjk+7I3DJyxLqjdE3ZExF/ja4RsdrGfibl1VpLUIhcps60VSYByfGqMLNhPUFrk3zFMCY+LQr+iZVg0CzQ==","signatures":[{"sig":"MEQCIHEg7NZITdS0gvz51mmVcFLEICtz3s3e3HWe5Jrr3Jl+AiACm0/zQ1CQCJe0mNokLQPf3v1bjMuEwaKVz497ARpcDw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16392},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"3fecb1434189a1d30dcb06872bb19b5c164888e1","scripts":{"dev":"pnpm run build && npx http-server -p 8485 .","lint":"eslint .","test":"jest","build":"pnpm run build:cjs && pnpm run build:browser","clean":"rimraf dist coverage","format":"prettier --write .","build:cjs":"tsc -p tsconfig.json","publish:cdn":"bash scripts/publish-cdn.sh","format:check":"prettier --check .","build:browser":"esbuild src/browser.ts --bundle --format=iife --target=es2022 --minify --sourcemap --outfile=dist/browser/index.js"},"_npmUser":{"name":"web-headzoo","email":"sean@headzoo.io"},"repository":{"url":"git+https://github.com/basetime/pintail-sdk-ts.git","type":"git"},"_npmVersion":"10.9.0","description":"Pintail SDK for TypeScript","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@trivago/prettier-plugin-sort-imports":"^6.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.1","eslint":"^9.39.4","rimraf":"^6.1.3","esbuild":"^0.28.0","ts-jest":"^29.4.9","prettier":"^3.8.3","@eslint/js":"^9.39.4","typescript":"^6.0.3","@types/jest":"^30.0.0","@jest/globals":"^30.4.1","typescript-eslint":"^8.59.2"},"_npmOperationalInternal":{"tmp":"tmp/pintail-sdk-ts_0.1.6_1778509325291_0.3020119160967698","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@basetime/pintail-sdk-ts","version":"0.1.7","license":"MIT","_id":"@basetime/pintail-sdk-ts@0.1.7","maintainers":[{"name":"basetime-io","email":"dev@basetime.io"},{"name":"anthonyzupancic","email":"anthonymzupancic@gmail.com"},{"name":"web-headzoo","email":"sean@headzoo.io"},{"name":"levergreen","email":"lowell.evergreen@avagate.com"}],"homepage":"https://github.com/basetime/pintail-sdk-ts","bugs":{"url":"https://github.com/basetime/pintail-sdk-ts/issues"},"dist":{"shasum":"c50dd6c528e5d0570634439e9751fdbeac2d1774","tarball":"https://registry.npmjs.org/@basetime/pintail-sdk-ts/-/pintail-sdk-ts-0.1.7.tgz","fileCount":21,"integrity":"sha512-tMAnL1K/Vphk44+C4K4Q00aZrtCLHn7+YNmYMcrP7Yxod2w9KiRtUBhYvEzgLJkVST1w8cpGOTgx+bSXB1JTXg==","signatures":[{"sig":"MEQCIHb8153chti+tJlTZImIXzPfGVySYHb0nqFwwotJzw/zAiBN6FJAFVBr46qgYsZ5gmNC6Yuzd91lkkvH4j7vzTurVg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16386},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"60db1674f169820ba013a9468532406c6791a00a","scripts":{"dev":"pnpm run build && npx http-server -p 8485 .","lint":"eslint .","test":"jest","build":"pnpm run build:cjs && pnpm run build:browser","clean":"rimraf dist coverage","format":"prettier --write .","build:cjs":"tsc -p tsconfig.json","publish:cdn":"bash scripts/publish-cdn.sh","format:check":"prettier --check .","build:browser":"esbuild src/browser.ts --bundle --format=iife --target=es2022 --minify --sourcemap --outfile=dist/browser/index.js"},"_npmUser":{"name":"web-headzoo","email":"sean@headzoo.io"},"repository":{"url":"git+https://github.com/basetime/pintail-sdk-ts.git","type":"git"},"_npmVersion":"10.9.0","description":"Pintail SDK for TypeScript","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@trivago/prettier-plugin-sort-imports":"^6.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.1","eslint":"^9.39.4","rimraf":"^6.1.3","esbuild":"^0.28.0","ts-jest":"^29.4.9","prettier":"^3.8.3","@eslint/js":"^9.39.4","typescript":"^6.0.3","@types/jest":"^30.0.0","@jest/globals":"^30.4.1","typescript-eslint":"^8.59.2"},"_npmOperationalInternal":{"tmp":"tmp/pintail-sdk-ts_0.1.7_1778511382716_0.3331965770030194","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@basetime/pintail-sdk-ts","version":"0.1.8","license":"MIT","_id":"@basetime/pintail-sdk-ts@0.1.8","maintainers":[{"name":"basetime-io","email":"dev@basetime.io"},{"name":"anthonyzupancic","email":"anthonymzupancic@gmail.com"},{"name":"web-headzoo","email":"sean@headzoo.io"},{"name":"levergreen","email":"lowell.evergreen@avagate.com"}],"homepage":"https://github.com/basetime/pintail-sdk-ts","bugs":{"url":"https://github.com/basetime/pintail-sdk-ts/issues"},"dist":{"shasum":"c1fb95bb66128f40a857dc4574ff6abe77245682","tarball":"https://registry.npmjs.org/@basetime/pintail-sdk-ts/-/pintail-sdk-ts-0.1.8.tgz","fileCount":21,"integrity":"sha512-rJRXvSpaF9xnK9phwtb5jRY56ojcYu3Hp5B49BADLXBc7lskzOQPuzThzqGEbEa8Hd5CvLFccmbfD4GxidX5Zw==","signatures":[{"sig":"MEUCIQD0s7TBw1CX5rOsHsSfT85w0q32zB2gDosQAz9cH30GRgIgFIy1dhG/s21T56Pks6D6z9bAd7Wm7hcmsskzs5RPXkY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28229},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"b696fee99e535cd6403b0a26b9cf2166f0553a6c","scripts":{"dev":"pnpm run build && npx http-server -p 8485 .","lint":"eslint .","test":"jest","build":"pnpm run build:cjs && pnpm run build:browser","clean":"rimraf dist coverage","format":"prettier --write .","build:cjs":"tsc -p tsconfig.json","publish:cdn":"bash scripts/publish-cdn.sh","format:check":"prettier --check .","build:browser":"esbuild src/browser.ts --bundle --format=iife --target=es2017 --minify --sourcemap --outfile=dist/browser/index.js"},"_npmUser":{"name":"web-headzoo","email":"sean@headzoo.io"},"repository":{"url":"git+https://github.com/basetime/pintail-sdk-ts.git","type":"git"},"_npmVersion":"10.9.0","description":"Pintail SDK for TypeScript","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@trivago/prettier-plugin-sort-imports":"^6.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.1","eslint":"^9.39.4","rimraf":"^6.1.3","esbuild":"^0.28.0","ts-jest":"^29.4.9","prettier":"^3.8.3","@eslint/js":"^9.39.4","typescript":"^6.0.3","@types/jest":"^30.0.0","@jest/globals":"^30.4.1","typescript-eslint":"^8.59.2"},"_npmOperationalInternal":{"tmp":"tmp/pintail-sdk-ts_0.1.8_1778512764905_0.8830059817336355","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@basetime/pintail-sdk-ts","version":"0.1.10","description":"Pintail SDK for TypeScript","homepage":"https://github.com/basetime/pintail-sdk-ts","bugs":{"url":"https://github.com/basetime/pintail-sdk-ts/issues"},"repository":{"type":"git","url":"git+https://github.com/basetime/pintail-sdk-ts.git"},"main":"dist/index.js","types":"dist/index.d.ts","publishConfig":{"access":"public"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","default":"./dist/index.js"}},"engines":{"node":">=22.12.0"},"license":"MIT","devDependencies":{"@eslint/js":"^9.39.4","@jest/globals":"^30.4.1","@types/jest":"^30.0.0","esbuild":"^0.28.0","eslint":"^9.39.4","jest":"^30.4.1","prettier":"^3.8.3","rimraf":"^6.1.3","ts-jest":"^29.4.9","typescript":"^6.0.3","typescript-eslint":"^8.59.2"},"dependencies":{"@trivago/prettier-plugin-sort-imports":"^6.0.2"},"scripts":{"dev":"pnpm run build && npx http-server -p 8485 .","build":"pnpm run build:cjs && pnpm run build:browser","build:cjs":"tsc -p tsconfig.json","build:browser":"esbuild src/browser.ts --bundle --format=iife --target=es2017 --minify --sourcemap --outfile=dist/browser/index.js","clean":"rimraf dist coverage","format":"prettier --write .","format:check":"prettier --check .","lint":"eslint .","publish:cdn":"bash scripts/publish-cdn.sh","release":"gh workflow run Release --ref main -f release_type=patch","release:patch":"gh workflow run Release --ref main -f release_type=patch","release:minor":"gh workflow run Release --ref main -f release_type=minor","release:major":"gh workflow run Release --ref main -f release_type=major","test":"jest"},"_id":"@basetime/pintail-sdk-ts@0.1.10","_integrity":"sha512-pwgZJ4tkWfCZNafgmZLjckzeGZuxQLN9cCULUXGvJUcNeHvVZzKM/vQLc4OUBdu7rnb7/R1dCmZnlfhW3tmacA==","_resolved":"/tmp/dfca1a095051f18352de3126c9edfcbe/basetime-pintail-sdk-ts-0.1.10.tgz","_from":"file:basetime-pintail-sdk-ts-0.1.10.tgz","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-pwgZJ4tkWfCZNafgmZLjckzeGZuxQLN9cCULUXGvJUcNeHvVZzKM/vQLc4OUBdu7rnb7/R1dCmZnlfhW3tmacA==","shasum":"ed8a7f0e5460d36c04faad1bc584bf90b5e6bcf0","tarball":"https://registry.npmjs.org/@basetime/pintail-sdk-ts/-/pintail-sdk-ts-0.1.10.tgz","fileCount":21,"unpackedSize":28547,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCiUwafM7gg9+e74S/9pZVU03znBjilLk3sCMGug6A2MwIgN7myUu1EvLezieQ7RPVSI0jw21G2EaYT25Hf4TBULKM="}]},"_npmUser":{"name":"web-headzoo","email":"sean@headzoo.io"},"directories":{},"maintainers":[{"name":"basetime-io","email":"dev@basetime.io"},{"name":"anthonyzupancic","email":"anthonymzupancic@gmail.com"},{"name":"web-headzoo","email":"sean@headzoo.io"},{"name":"levergreen","email":"lowell.evergreen@avagate.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pintail-sdk-ts_0.1.10_1778870181712_0.22244624794341794"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-10T14:11:41.533Z","modified":"2026-05-15T18:36:22.136Z","0.1.1":"2026-05-10T14:11:41.853Z","0.1.2":"2026-05-11T11:57:11.214Z","0.1.3":"2026-05-11T12:45:11.472Z","0.1.4":"2026-05-11T13:23:17.050Z","0.1.5":"2026-05-11T14:14:11.716Z","0.1.6":"2026-05-11T14:22:05.513Z","0.1.7":"2026-05-11T14:56:22.861Z","0.1.8":"2026-05-11T15:19:25.069Z","0.1.10":"2026-05-15T18:36:21.880Z"},"bugs":{"url":"https://github.com/basetime/pintail-sdk-ts/issues"},"license":"MIT","homepage":"https://github.com/basetime/pintail-sdk-ts","repository":{"type":"git","url":"git+https://github.com/basetime/pintail-sdk-ts.git"},"description":"Pintail SDK for TypeScript","maintainers":[{"name":"basetime-io","email":"dev@basetime.io"},{"name":"anthonyzupancic","email":"anthonymzupancic@gmail.com"},{"name":"web-headzoo","email":"sean@headzoo.io"},{"name":"levergreen","email":"lowell.evergreen@avagate.com"}],"readme":"# Pintail SDK\n\nThe Pintail SDK is a lightweight TypeScript client for sending events to the\n[Pintail](https://pintail.io) event-tracking API. It exposes a small `Client`\nclass — and a ready-to-use default instance — that lets your application record\nnamed events, optionally enriched with structured extras, with a single\n`track()` call. The SDK is dependency-free at runtime, uses the platform's\nbuilt-in `fetch`, and ships with full TypeScript type definitions.\n\n## Usage\n\n### Server Side\n\nInstall the package:\n\n```bash\nnpm install @basetime/pintail-sdk-ts\n```\n\nThen, use the `pintail` instance to track events:\n\n```ts\nimport { pintail } from '@basetime/pintail-sdk-ts';\n\n// The first argument is the campaign codename.\n// The second argument is the event extras and can be anything\n// you want to send to the event endpoint.\nawait pintail.track('tic6QBYHSJDdd55ao', {\n  plan: 'pro',\n  referrer: 'newsletter',\n  vip: true,\n});\n```\n\nThe optional third argument lets you forward the originating client request so\nthe event is attributed to the end user instead of your server. Pass an object\ncontaining the request `headers` and the client `ip`:\n\n```ts\nimport { pintail } from '@basetime/pintail-sdk-ts';\n\n// Example using an Express-style request object.\napp.post('/signup', async (req, res) => {\n  await pintail.track(\n    'tic6QBYHSJDdd55ao',\n    {\n      plan: 'pro',\n      referrer: 'newsletter',\n      vip: true,\n    },\n    {\n      headers: req.headers,\n      ip: req.ip,\n    },\n  );\n\n  res.sendStatus(204);\n});\n```\n\n### Browser Side\n\nUsing the client in the browser:\n\n<!-- prettier-ignore -->\n```html\n<!-- Begin Pintail Code -->\n<script>\n  (function(t,n,i,r){\n    t.pintail=t.pintail||{q:[],track:function(){t.pintail.q.push(arguments)}};\n    var e=n.createElement(i);e.async=!0,e.src=r;\n    var a=n.getElementsByTagName(i)[0];a.parentNode.insertBefore(e,a)\n  })(window,document,\"script\",\"https://cdn.pintail.io/event/latest.js\");\n\n  // The first argument is the campaign codename.\n  // The second argument is the event extras and can be anything\n  // you want to send to the event endpoint.\n  pintail.track('tic6QBYHSJDdd55ao', {\n    plan: 'pro',\n    referrer: 'newsletter',\n    vip: true,\n  });\n</script>\n<!-- End Pintail Code -->\n```\n\nPlace this snippet anywhere in your HTML (including `<head>`). The loader\ninstalls a `window.pintail` stub immediately, so any `pintail.track(...)`\ncalls you make are queued and replayed once the bundle finishes downloading.\nThe script is loaded asynchronously and does not block page rendering.\n\nNote: when you call `pintail.track(...)` before the bundle has loaded, the\ncall is queued and returns `undefined` (not a `Promise`). After the bundle\nloads, calls return `Promise<{ success: boolean }>` as documented under\n[API](#api).\n\n### Reliability and error handling\n\n`track()` is built to be safe to call from anywhere — it never throws and\nnever rejects. Any transport, serialization, timeout, or server-side error\nis surfaced through `console.warn` and reported back as\n`{ success: false }`, so you can use it inside event handlers, lifecycle\nhooks, and unload paths without `try`/`catch`.\n\nIn the browser, the SDK prefers `navigator.sendBeacon` when available,\nwhich is highly reliable through corporate proxies and during page unload.\nBecause `sendBeacon` is fire-and-forget, a `{ success: true }` result on\nthat path reflects a successful enqueue rather than a server\nacknowledgement. When `sendBeacon` is unavailable or refuses the payload,\nthe SDK falls back to `fetch` with a 5-second timeout and a CORS-safelisted\ncontent type so the request does not trigger a preflight `OPTIONS`.\n","readmeFilename":"README.md"}