{"_id":"@bilte-co/socky-js","_rev":"10-d259116d377a9a0702a5cddd17441962","name":"@bilte-co/socky-js","dist-tags":{"latest":"0.6.3"},"versions":{"0.4.0":{"name":"@bilte-co/socky-js","version":"0.4.0","author":{"name":"Bilte Co"},"license":"Apache-2.0","_id":"@bilte-co/socky-js@0.4.0","maintainers":[{"name":"jamie-bilte","email":"jamie@bilte.co"}],"homepage":"https://github.com/bilte-co/socky-js#readme","bugs":{"url":"https://github.com/bilte-co/socky-js/issues"},"dist":{"shasum":"7fcd4a387369c96bf640ee5abc84d29be1bb4b83","tarball":"https://registry.npmjs.org/@bilte-co/socky-js/-/socky-js-0.4.0.tgz","fileCount":9,"integrity":"sha512-UMPItiDOsiBNaIY/x0wMyomWPQrxaf3DsqzZu82FY1MCyJ34l+GhtMby34vsJX3JTgl8eTchoQMPtK7VtVRnig==","signatures":[{"sig":"MEUCIQCi++qYjJRvLFMLUs3gxP1+sfCeGGYZGFyqMB//g+5cyAIgLZcx79PX8LGp+LrwGD5jP3RUcYn7MVXLfOtcnR1EwKo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72801},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"2ec6c4be40c3f9ca0b9c8e661ccf4e8d9fffdc73","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint . --ext .ts","test":"echo \"(no tests yet)\"","build":"tsup","clean":"rimraf dist","prepack":"pnpm clean && pnpm build && pnpm typecheck","release":"changeset version && pnpm install --no-frozen-lockfile && changeset publish","changeset":"changeset","typecheck":"tsc --noEmit"},"_npmUser":{"name":"jamie-bilte","email":"jamie@bilte.co"},"repository":{"url":"git+https://github.com/bilte-co/socky-js.git","type":"git"},"_npmVersion":"10.9.3","description":"JavaScript SDK for the Socky Flights API","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","eslint":"^9.12.0","rimraf":"^6.0.1","typescript":"^5.6.3","@types/node":"^20.12.12","@changesets/cli":"^2.27.9","@typescript-eslint/parser":"^8.8.0","@changesets/changelog-github":"^0.5.0","@typescript-eslint/eslint-plugin":"^8.8.0"},"_npmOperationalInternal":{"tmp":"tmp/socky-js_0.4.0_1761609289987_0.5079019477479376","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@bilte-co/socky-js","version":"0.4.2","author":{"name":"Bilte Co"},"license":"Apache-2.0","_id":"@bilte-co/socky-js@0.4.2","maintainers":[{"name":"jamie-bilte","email":"jamie@bilte.co"}],"homepage":"https://github.com/bilte-co/socky-js#readme","bugs":{"url":"https://github.com/bilte-co/socky-js/issues"},"dist":{"shasum":"a3e8674c246b2d373276e387dddb69d158de104a","tarball":"https://registry.npmjs.org/@bilte-co/socky-js/-/socky-js-0.4.2.tgz","fileCount":9,"integrity":"sha512-RI6vIRh8d3Q0TRhiv8DuR9CExnW2g9zZubHd2NjIBc0Ee+c55OeB+DN3h/Tpsf22LpeZKouSlj7mUhYmAPHPYg==","signatures":[{"sig":"MEUCIHcvK9xRJZxAGyeEQIgybhcaqshX0oGDNUlvZQgOAf+tAiEAmwMwY2+Ted2sCoolgmbr6kClLjwgcRRWet+/ddRuMDA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73420},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"b72e1a90e66fed6a99b303aba09ff927a96d85d9","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint . --ext .ts","test":"echo \"(no tests yet)\"","build":"tsup","clean":"rimraf dist","prepack":"pnpm clean && pnpm build && pnpm typecheck","release":"changeset version && pnpm install --no-frozen-lockfile && changeset publish","changeset":"changeset","typecheck":"tsc --noEmit"},"_npmUser":{"name":"jamie-bilte","email":"jamie@bilte.co"},"repository":{"url":"git+https://github.com/bilte-co/socky-js.git","type":"git"},"_npmVersion":"10.9.3","description":"JavaScript SDK for the Socky Flights API","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","eslint":"^9.12.0","rimraf":"^6.0.1","typescript":"^5.6.3","@types/node":"^20.12.12","@changesets/cli":"^2.27.9","@typescript-eslint/parser":"^8.8.0","@changesets/changelog-github":"^0.5.0","@typescript-eslint/eslint-plugin":"^8.8.0"},"_npmOperationalInternal":{"tmp":"tmp/socky-js_0.4.2_1762302632218_0.36580273442790023","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"@bilte-co/socky-js","version":"0.4.3","author":{"name":"Bilte Co"},"license":"Apache-2.0","_id":"@bilte-co/socky-js@0.4.3","maintainers":[{"name":"jamie-bilte","email":"jamie@bilte.co"}],"homepage":"https://github.com/bilte-co/socky-js#readme","bugs":{"url":"https://github.com/bilte-co/socky-js/issues"},"dist":{"shasum":"79e77e98784c018b3f6359e6a7a3b34940108d99","tarball":"https://registry.npmjs.org/@bilte-co/socky-js/-/socky-js-0.4.3.tgz","fileCount":9,"integrity":"sha512-Y4IghJV3IoVdiHjzP54T+b2EOdMivdPqle8dj50BuVAIv6fUBmICO9zoeKJPJN3GdRyA3B3XAc8TKtqX5rjR7g==","signatures":[{"sig":"MEUCIQCSaTDsQ4RvbIrLFD2ZzNs6awZiNaDYR53CqDfg/a74TgIgKbbIeRYf25sRk6lTpMGhWmy+SC1Y6h54VFJwaaLH97Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73608},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"ee91d0bfbe2c8ecdfc9dac34fa660e74f2001cec","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint . --ext .ts","test":"echo \"(no tests yet)\"","build":"tsup","clean":"rimraf dist","prepack":"pnpm clean && pnpm build && pnpm typecheck","release":"changeset version && pnpm install --no-frozen-lockfile && changeset publish","changeset":"changeset","typecheck":"tsc --noEmit"},"_npmUser":{"name":"jamie-bilte","email":"jamie@bilte.co"},"repository":{"url":"git+https://github.com/bilte-co/socky-js.git","type":"git"},"_npmVersion":"10.9.3","description":"JavaScript SDK for the Socky Flights API","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","eslint":"^9.12.0","rimraf":"^6.0.1","typescript":"^5.6.3","@types/node":"^20.12.12","@changesets/cli":"^2.27.9","@typescript-eslint/parser":"^8.8.0","@changesets/changelog-github":"^0.5.0","@typescript-eslint/eslint-plugin":"^8.8.0"},"_npmOperationalInternal":{"tmp":"tmp/socky-js_0.4.3_1762303094316_0.49462582970708824","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@bilte-co/socky-js","version":"0.5.0","author":{"name":"Bilte Co"},"license":"Apache-2.0","_id":"@bilte-co/socky-js@0.5.0","maintainers":[{"name":"jamie-bilte","email":"jamie@bilte.co"}],"homepage":"https://github.com/bilte-co/socky-js#readme","bugs":{"url":"https://github.com/bilte-co/socky-js/issues"},"dist":{"shasum":"3f1c47751092a00f41a5cbb9ba429c14f876671e","tarball":"https://registry.npmjs.org/@bilte-co/socky-js/-/socky-js-0.5.0.tgz","fileCount":9,"integrity":"sha512-u6N0w3JOhSgiWIt7hLPWMgdzEC5zAmtjzW55OSnhi5b+ypLg/dP1Wq7dZH3WtkQEKC90rtDPDgZG4BR7zOINHA==","signatures":[{"sig":"MEUCIQD4r9C1OgFoJdR7E7LBGq6/4oSVt0UemRBnnNVcFaLdawIgWH8Ms6zwEP6yWeKUJ0ZejsjcjacSqadWMpOVrcsFeGw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":105498},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"a89d9ccf22a93f66619fb31aa4d1f250b948c87c","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint . --ext .ts","test":"echo \"(no tests yet)\"","build":"tsup","clean":"rimraf dist","prepack":"pnpm clean && pnpm build && pnpm typecheck","release":"changeset version && pnpm install --no-frozen-lockfile && changeset publish","changeset":"changeset","typecheck":"tsc --noEmit"},"_npmUser":{"name":"jamie-bilte","email":"jamie@bilte.co"},"repository":{"url":"git+https://github.com/bilte-co/socky-js.git","type":"git"},"_npmVersion":"10.9.3","description":"JavaScript SDK for the Socky Flights API","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","eslint":"^9.12.0","rimraf":"^6.0.1","typescript":"^5.6.3","@types/node":"^20.12.12","@changesets/cli":"^2.27.9","@typescript-eslint/parser":"^8.8.0","@changesets/changelog-github":"^0.5.0","@typescript-eslint/eslint-plugin":"^8.8.0"},"_npmOperationalInternal":{"tmp":"tmp/socky-js_0.5.0_1762304662500_0.43056551038087143","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@bilte-co/socky-js","version":"0.5.1","author":{"name":"Bilte Co"},"license":"Apache-2.0","_id":"@bilte-co/socky-js@0.5.1","maintainers":[{"name":"jamie-bilte","email":"jamie@bilte.co"}],"homepage":"https://github.com/bilte-co/socky-js#readme","bugs":{"url":"https://github.com/bilte-co/socky-js/issues"},"dist":{"shasum":"f14dbed588cdf7961c696c431d645446b1845778","tarball":"https://registry.npmjs.org/@bilte-co/socky-js/-/socky-js-0.5.1.tgz","fileCount":9,"integrity":"sha512-3AXTSbYHDLf2Fv2Qqm9gqWF6psim8wn67gwYWcSMFo+JdQ48KG5Rv1g156hSKsRSWmDW1/MJh3N/pDLqVQr+Ng==","signatures":[{"sig":"MEUCIQCba9OonsohQvIFjBZih29Z5JzbcdzMSELT3ZpyDYMCKQIgXx8qAhw1vndfhjDs34FNjYldVp5L/wB9UC489vLST0Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":105548},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"2fedb0b119d3dca96ce1fe88256d9340cee812c4","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint . --ext .ts","test":"echo \"(no tests yet)\"","build":"tsup","clean":"rimraf dist","prepack":"pnpm clean && pnpm build && pnpm typecheck","release":"changeset version && pnpm install --no-frozen-lockfile && changeset publish","changeset":"changeset","typecheck":"tsc --noEmit"},"_npmUser":{"name":"jamie-bilte","email":"jamie@bilte.co"},"repository":{"url":"git+https://github.com/bilte-co/socky-js.git","type":"git"},"_npmVersion":"10.9.3","description":"JavaScript SDK for the Socky Flights API","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","eslint":"^9.12.0","rimraf":"^6.0.1","typescript":"^5.6.3","@types/node":"^20.12.12","@changesets/cli":"^2.27.9","@typescript-eslint/parser":"^8.8.0","@changesets/changelog-github":"^0.5.0","@typescript-eslint/eslint-plugin":"^8.8.0"},"_npmOperationalInternal":{"tmp":"tmp/socky-js_0.5.1_1762306911088_0.11655762095911015","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@bilte-co/socky-js","version":"0.5.2","author":{"name":"Bilte Co"},"license":"Apache-2.0","_id":"@bilte-co/socky-js@0.5.2","maintainers":[{"name":"jamie-bilte","email":"jamie@bilte.co"}],"homepage":"https://github.com/bilte-co/socky-js#readme","bugs":{"url":"https://github.com/bilte-co/socky-js/issues"},"dist":{"shasum":"43d26544ca7085a93cd9f765424f06936f3e5a9b","tarball":"https://registry.npmjs.org/@bilte-co/socky-js/-/socky-js-0.5.2.tgz","fileCount":9,"integrity":"sha512-0jkqut3T2Rndx2FVqnzgfsk/Ia0CI6lxzGlZTdvyJyKwsPsBJCP8aTx6MxVpyonnUvCgl9G96VWnb6J8/oQudQ==","signatures":[{"sig":"MEUCIQDJU2hQzh9NstacmMFIOisma/oDQRToCcVytHXS0agCCQIgAyAeVBan8iXCxlNGiv+o4tx82Lryf/n7FsOVzLN/9pw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":106620},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"f34fc9a8ef678e21c1022e3249531b43f5deecb5","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint . --ext .ts","test":"echo \"(no tests yet)\"","build":"tsup","clean":"rimraf dist","prepack":"pnpm clean && pnpm build && pnpm typecheck","release":"changeset version && pnpm install --no-frozen-lockfile && changeset publish","changeset":"changeset","typecheck":"tsc --noEmit"},"_npmUser":{"name":"jamie-bilte","email":"jamie@bilte.co"},"repository":{"url":"git+https://github.com/bilte-co/socky-js.git","type":"git"},"_npmVersion":"10.9.3","description":"JavaScript SDK for the Socky Flights API","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","eslint":"^9.12.0","rimraf":"^6.0.1","typescript":"^5.6.3","@types/node":"^20.12.12","@changesets/cli":"^2.27.9","@typescript-eslint/parser":"^8.8.0","@changesets/changelog-github":"^0.5.0","@typescript-eslint/eslint-plugin":"^8.8.0"},"_npmOperationalInternal":{"tmp":"tmp/socky-js_0.5.2_1762348509206_0.362092211725896","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"@bilte-co/socky-js","version":"0.5.3","author":{"name":"Bilte Co"},"license":"Apache-2.0","_id":"@bilte-co/socky-js@0.5.3","maintainers":[{"name":"jamie-bilte","email":"jamie@bilte.co"}],"homepage":"https://github.com/bilte-co/socky-js#readme","bugs":{"url":"https://github.com/bilte-co/socky-js/issues"},"dist":{"shasum":"f6ae9fd109ab98ee162e7ce789390f18ddab8e7c","tarball":"https://registry.npmjs.org/@bilte-co/socky-js/-/socky-js-0.5.3.tgz","fileCount":9,"integrity":"sha512-zoa9f8YJ4Zv4sUvAHClZbJUF40abR8ZGabb7Hg3YJLDhTIIEH281VJTYx+hxzU7DedZ56oczhI/MuXaE7cXoFA==","signatures":[{"sig":"MEYCIQDaGmv9SNJhynVtoMgeyp3oqirVP+V1TGQQpJnVdrgSoAIhAKnGCvzcumxfw1FB7AdOlaVY8DsLmHEviU6c9ibTW7Mz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":106470},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"d4c1c17c987bdf33f019210c7216b98ef086d6b3","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint . --ext .ts","test":"echo \"(no tests yet)\"","build":"tsup","clean":"rimraf dist","prepack":"pnpm clean && pnpm build && pnpm typecheck","release":"changeset version && pnpm install --no-frozen-lockfile && changeset publish","changeset":"changeset","typecheck":"tsc --noEmit"},"_npmUser":{"name":"jamie-bilte","email":"jamie@bilte.co"},"repository":{"url":"git+https://github.com/bilte-co/socky-js.git","type":"git"},"_npmVersion":"10.9.3","description":"JavaScript SDK for the Socky Flights API","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","eslint":"^9.12.0","rimraf":"^6.0.1","typescript":"^5.6.3","@types/node":"^20.12.12","@changesets/cli":"^2.27.9","@typescript-eslint/parser":"^8.8.0","@changesets/changelog-github":"^0.5.0","@typescript-eslint/eslint-plugin":"^8.8.0"},"_npmOperationalInternal":{"tmp":"tmp/socky-js_0.5.3_1762348698562_0.4426653878090896","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@bilte-co/socky-js","version":"0.6.0","author":"Bilte Co","license":"Apache-2.0","_id":"@bilte-co/socky-js@0.6.0","maintainers":[{"name":"jamie-bilte","email":"jamie@bilte.co"}],"homepage":"https://github.com/bilte-co/socky-js#readme","bugs":{"url":"https://github.com/bilte-co/socky-js/issues"},"dist":{"shasum":"46f283833d2ad29b377445aa97fdf6f8d2be4383","tarball":"https://registry.npmjs.org/@bilte-co/socky-js/-/socky-js-0.6.0.tgz","fileCount":9,"integrity":"sha512-RKIBK4YxFjb6/aCEV+GLnebgD6oaaV7xAF7p6XBsUIYY305GidE9GOi2XgtrvpReru58OrpsIzsNZ46lAvdX8g==","signatures":[{"sig":"MEUCIQDSUwYqwYXE4cEUxiozHOshZdVbwCB0Zu4U/KJ8+/90/gIgLpUa2PZ4SAun0pRyW4nz14wJjc9wwZrL4ShZE3uqt10=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bilte-co%2fsocky-js@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108814},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"private":false,"scripts":{"dev":"tsup --watch","lint":"eslint .","test":"echo \"(no tests yet)\"","build":"tsup","clean":"rimraf dist","changeset":"changeset","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:323ef5ee-80d4-4d32-b836-61310e520b2a"}},"repository":{"url":"git+https://github.com/bilte-co/socky-js.git","type":"git"},"description":"JavaScript SDK for the Socky Flights API","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","eslint":"^9.12.0","rimraf":"^6.0.1","typescript":"^5.6.3","@types/node":"^20.12.12","@changesets/cli":"^2.27.9","@typescript-eslint/parser":"^8.8.0","@changesets/changelog-github":"^0.5.0","@typescript-eslint/eslint-plugin":"^8.8.0"},"_npmOperationalInternal":{"tmp":"tmp/socky-js_0.6.0_1779374085518_0.6491135590100423","host":"s3://npm-registry-packages-npm-production"}},"0.6.2":{"name":"@bilte-co/socky-js","version":"0.6.2","author":{"name":"Bilte Co"},"license":"Apache-2.0","_id":"@bilte-co/socky-js@0.6.2","maintainers":[{"name":"jamie-bilte","email":"jamie@bilte.co"}],"homepage":"https://github.com/bilte-co/socky-js#readme","bugs":{"url":"https://github.com/bilte-co/socky-js/issues"},"dist":{"shasum":"2a8f721bc632300b8ade974aa6d1316b333268c6","tarball":"https://registry.npmjs.org/@bilte-co/socky-js/-/socky-js-0.6.2.tgz","fileCount":9,"integrity":"sha512-OJGqwQ4ry37tbshZuZPWUyxZM2L7w9oYOU9SekXZI0wC7zhPUUAmImth00S16ctzQ8FAgMdQm2L8qOhlbFRBZA==","signatures":[{"sig":"MEUCIQCwvJaBDmEYA/lE2LDiCdMcDg7Ip7YOVTLh5rNt/zxmiAIgN+CrS1sa1bN0drJK9jd7XtAEnPSTKEJ56eXjjEemT0I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bilte-co%2fsocky-js@0.6.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108904},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"378a3dbd1f91920ff0600a48a69c3c234974dd71","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint .","test":"echo \"(no tests yet)\"","build":"tsup","clean":"rimraf dist","prepack":"aubr clean && aubr build && aubr typecheck","changeset":"changeset","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:323ef5ee-80d4-4d32-b836-61310e520b2a"}},"repository":{"url":"git+https://github.com/bilte-co/socky-js.git","type":"git"},"_npmVersion":"11.14.1","description":"JavaScript SDK for the Socky Flights API","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"aube@1.15.0","devDependencies":{"tsup":"8.5.1","eslint":"10.3.0","rimraf":"6.1.3","typescript":"6.0.3","@types/node":"20.12.12","@changesets/cli":"2.31.0","@typescript-eslint/parser":"8.59.4","@changesets/changelog-github":"0.7.0","@typescript-eslint/eslint-plugin":"8.59.4"},"_npmOperationalInternal":{"tmp":"tmp/socky-js_0.6.2_1779377121485_0.8993245885443382","host":"s3://npm-registry-packages-npm-production"}},"0.6.3":{"name":"@bilte-co/socky-js","version":"0.6.3","description":"JavaScript SDK for the Socky Flights API","license":"Apache-2.0","type":"module","packageManager":"aube@1.15.0","private":false,"sideEffects":false,"engines":{"node":">=18"},"repository":{"type":"git","url":"git+https://github.com/bilte-co/socky-js.git"},"bugs":{"url":"https://github.com/bilte-co/socky-js/issues"},"homepage":"https://github.com/bilte-co/socky-js#readme","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs","default":"./dist/index.js"},"./package.json":"./package.json"},"publishConfig":{"access":"public","provenance":true},"scripts":{"clean":"rimraf dist","build":"tsup","dev":"tsup --watch","lint":"eslint .","typecheck":"tsc --noEmit","prepack":"aubr clean && aubr build && aubr typecheck","changeset":"changeset","test":"echo \"(no tests yet)\""},"devDependencies":{"@changesets/changelog-github":"0.7.0","@changesets/cli":"2.31.0","@typescript-eslint/eslint-plugin":"8.59.4","@typescript-eslint/parser":"8.59.4","@types/node":"20.12.12","eslint":"10.3.0","rimraf":"6.1.3","tsup":"8.5.1","typescript":"6.0.3"},"author":{"name":"Bilte Co"},"gitHead":"29ab5068a645d098b6e537707f16e1974f5e341e","_id":"@bilte-co/socky-js@0.6.3","_nodeVersion":"24.15.0","_npmVersion":"11.14.1","dist":{"integrity":"sha512-osuNZ4TvvHJlHZ31mMiR8vOrsJmN/+5J8y/ddUFCrMM2ijIixVe64lS03f7vLryuCbf8KJgxx+6Gdf6JP4xxIg==","shasum":"d2efd248bd02538c7229ac261163bd334e7593d5","tarball":"https://registry.npmjs.org/@bilte-co/socky-js/-/socky-js-0.6.3.tgz","fileCount":9,"unpackedSize":111180,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bilte-co%2fsocky-js@0.6.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDoohqSXzfQ2ZRM2aX/PQGcnJ5v777/b7GLkids72H1PQIgfrPKbUnSTggNkSZbTDP6AQPKGRMC3GrY3FUy7e3MUAI="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:323ef5ee-80d4-4d32-b836-61310e520b2a"}},"directories":{},"maintainers":[{"name":"jamie-bilte","email":"jamie@bilte.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/socky-js_0.6.3_1780437708366_0.841917845328787"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-27T23:54:49.896Z","modified":"2026-06-02T22:01:48.815Z","0.4.0":"2025-10-27T23:54:50.181Z","0.4.2":"2025-11-05T00:30:32.409Z","0.4.3":"2025-11-05T00:38:14.506Z","0.5.0":"2025-11-05T01:04:22.721Z","0.5.1":"2025-11-05T01:41:51.271Z","0.5.2":"2025-11-05T13:15:09.457Z","0.5.3":"2025-11-05T13:18:18.745Z","0.6.0":"2026-05-21T14:34:45.649Z","0.6.2":"2026-05-21T15:25:21.625Z","0.6.3":"2026-06-02T22:01:48.527Z"},"bugs":{"url":"https://github.com/bilte-co/socky-js/issues"},"author":{"name":"Bilte Co"},"license":"Apache-2.0","homepage":"https://github.com/bilte-co/socky-js#readme","repository":{"type":"git","url":"git+https://github.com/bilte-co/socky-js.git"},"description":"JavaScript SDK for the Socky Flights API","maintainers":[{"name":"jamie-bilte","email":"jamie@bilte.co"}],"readme":"# socky\n\nJavaScript SDK for the public routes of the Socky Flights API.\n\n## Install\n\n```sh\naube add @bilte-co/socky-js\n# or: npm i @bilte-co/socky-js\n```\n\n## Quickstart (ESM)\n\n```js\nimport { Socky } from 'socky';\n\n// Do not expose your API key to the client.\nconst client = new Socky({ apiKey: process.env.SOCKY_API_KEY });\n\n// Get flight data\nconst flight = await client.flights.get('01JCTA5XQZF8B3G5N2W9K7M4VP');\n\n// Get aircraft information\nconst aircraft = await client.aircraft.get('N12345');\n\n// List stations with pagination\nconst stations = await client.stations.list();\nconsole.log(stations.items);\nconsole.log(stations.hasMore);\n```\n\n## Quickstart (CJS)\n\n```js\nconst { Socky } = require('socky');\n\n// Do not expose your API key to the client.\nconst client = new Socky({ apiKey: process.env.SOCKY_API_KEY });\n\n// Use the client as shown above\n```\n\n## Configuration\n\nThe SDK accepts the following configuration options:\n\n```js\nconst client = new Socky({\n  apiKey: 'your-api-key',        // Required\n  baseUrl: 'https://api.custom.com/',  // Optional, defaults to 'https://api.socky.flights/'\n  version: 'v1',                  // Optional, defaults to 'v1'\n  timeoutMs: 30000,               // Optional, request timeout in ms (default: 30000)\n  retries: 2,                     // Optional, number of retries on failure (default: 2)\n  retryBackoffMs: 250,            // Optional, initial retry backoff in ms (default: 250)\n  userAgent: 'my-app/1.0',       // Optional, custom user agent string\n});\n```\n\n## Error Handling\n\nThe SDK throws typed `ApiError` instances with detailed information:\n\n```js\nimport { Socky, ApiError } from 'socky';\n\ntry {\n  const flight = await client.flights.get('invalid-id');\n} catch (error) {\n  if (error instanceof ApiError) {\n    console.log(error.status);      // HTTP status code\n    console.log(error.message);     // Error message\n    console.log(error.code);        // Optional error code from API\n    console.log(error.requestId);   // Optional request ID for debugging\n    console.log(error.retryAfterMs); // Optional retry-after hint\n    console.log(error.body);        // Raw error response body\n  }\n}\n```\n\n## Pagination\n\nPaginated endpoints return a `Page<T>` object with helpers for iteration:\n\n```js\n// Manual pagination\nlet page = await client.stations.list();\nconsole.log(page.items);\n\nif (page.hasMore && page.nextCursor) {\n  const nextPage = await client.stations.list(page.nextCursor);\n}\n\n// Automatic page iteration\nfor await (const page of client.stations.paginatePages(20, 10)) {\n  console.log(`Page with ${page.items.length} stations`);\n}\n\n// Automatic item iteration\nfor await (const station of client.stations.paginateItems(20, 10)) {\n  console.log(station.code);\n}\n```\n\n## Retries and Timeouts\n\nThe SDK automatically retries failed requests for transient errors:\n- Retries on: 429 (rate limit), 503, 504, and 5xx errors\n- Respects `Retry-After` headers\n- Uses exponential backoff with jitter\n- Network errors are also retried\n- Only GET requests are retried by default\n\n## API\n\nThe SDK provides access to the following Socky Flights API endpoints:\n\n### Aircraft\n- `aircraft.get(registration)` - Get aircraft by registration\n- `aircraft.list(cursor?, limit?)` - List aircraft (paginated)\n- `aircraft.position(registration)` - Get last known position\n- `aircraft.flights(registration, cursor?, limit?)` - Get flights for aircraft (paginated)\n\n### Flights\n- `flights.get(ulid)` - Get flight by ID\n- `flights.track(ulid)` - Get flight track data\n\n### Locations\n- `locations.get(lat, lng)` - Get location information\n\n### Positions\n- `positions.latest(tails)` - Get latest positions for aircraft (accepts string or array)\n\n### Routes\n- `routes.get(from, to)` - Get route information between two stations\n\n### Stations\n- `stations.get(code)` - Get station by code\n- `stations.list(cursor?, limit?)` - List all stations (paginated)\n- `stations.search(query)` - Search stations by name or code\n- `stations.proximity({ latitude, longitude, distance?, unit? })` - Find stations near coordinates\n- `stations.near(code, { distance?, unit? })` - Find stations near another station\n- `stations.paginatePages(limit?, pageLimit?)` - Iterate over pages\n- `stations.paginateItems(limit?, pageLimit?)` - Iterate over individual items\n\n## Node support\n\nNode >= 18.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}