{"_id":"@allservices/sdk-core","_rev":"16-b9aaf87a56afafb7a2f6a54ae833ffa7","name":"@allservices/sdk-core","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"@allservices/sdk-core","version":"1.0.0","author":{"name":"linkst"},"license":"UNLICENSED","_id":"@allservices/sdk-core@1.0.0","maintainers":[{"name":"linkstcc","email":"linkst@allservices.cc"}],"dist":{"shasum":"4385382e0ff81914f5852ed2f14d76c9180cfe28","tarball":"https://registry.npmjs.org/@allservices/sdk-core/-/sdk-core-1.0.0.tgz","fileCount":34,"integrity":"sha512-jsxy19NmdSRN8MUx5qgkVU6AlDP7YC3sp8FtJKxY3BmmpWmAWIdqPFbqVQU4HCntiaU3DoFbOv8imJtZ9XLHeA==","signatures":[{"sig":"MEQCIHu8zumCUPbwc5yNx95YHCbAm03T/gv6CmQL9qV+KaHCAiBSExFaC+PcfZYSRX/xGn+yP2esUtiKBKPtim8LY+ce2w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":662284},"main":"./dist/index.cjs","type":"module","_from":"file:allservices-sdk-core-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./types":{"import":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/types.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint \"src/**/*.{ts,tsx}\"","size":"size-limit","test":"vitest run","build":"tsup","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"linkstcc","email":"linkst@allservices.cc"},"_resolved":"/private/var/folders/mk/hjrfnpt9403fwpxcj86fn3fw0000gn/T/3963d67ec2d140c86ccc469b2e4b51b8/allservices-sdk-core-1.0.0.tgz","_integrity":"sha512-jsxy19NmdSRN8MUx5qgkVU6AlDP7YC3sp8FtJKxY3BmmpWmAWIdqPFbqVQU4HCntiaU3DoFbOv8imJtZ9XLHeA==","size-limit":[{"name":"index (esm)","path":"dist/index.js","limit":"15 KB"},{"name":"index (cjs)","path":"dist/index.cjs","limit":"15 KB"},{"name":"client (esm)","path":"dist/client.js","limit":"10 KB"}],"_npmVersion":"10.9.2","description":"Type-safe universal client for the AllServices API (browser, node, edge, workers)","directories":{},"sideEffects":false,"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.3.0","rimraf":"^6.0.1","vitest":"^2.1.0","happy-dom":"^15.11.0","typescript":"^5.6.3","@types/node":"^22.9.0","@allservices/tsconfig":"0.0.0","@allservices/contracts":"0.2.0"},"peerDependencies":{"zod":"^4.3.0","@allservices/contracts":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.0.0_1777267923854_0.1914865606907259","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@allservices/sdk-core","version":"1.1.0","keywords":["allservices","sdk","client","api","http","typescript","fetch"],"author":{"name":"linkst"},"license":"UNLICENSED","_id":"@allservices/sdk-core@1.1.0","maintainers":[{"name":"linkstcc","email":"linkst@allservices.cc"}],"homepage":"https://github.com/linkstcc/AllService-SDK#readme","bugs":{"url":"https://github.com/linkstcc/AllService-SDK/issues"},"tsd":{"directory":"test-d","compilerOptions":{"lib":["ES2022","DOM","DOM.Iterable"],"module":"NodeNext","strict":true,"target":"ES2022","skipLibCheck":true,"esModuleInterop":true}},"dist":{"shasum":"d0b17b32b8ac1e004ff86fa647a8c92181cf239e","tarball":"https://registry.npmjs.org/@allservices/sdk-core/-/sdk-core-1.1.0.tgz","fileCount":34,"integrity":"sha512-yaFk+eXb4vk89X9/EdMHsS8JWR1YX0f+nraZLWqyq0hj6W5G3Hdg6moQkDaHrgROYe0xFlynH8A8kN0kLr2hxg==","signatures":[{"sig":"MEYCIQDK0q6DOkuhEx7GTXEIs+ERg8UzrsTACq8gXzxGMRmhIgIhALHHWKV5JoxLe4e5ajrxVmnsMMaTxi1EzExJ5/CUMtZt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":663128},"main":"./dist/index.cjs","type":"module","_from":"file:allservices-sdk-core-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./types":{"import":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/types.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint \"src/**/*.{ts,tsx}\"","size":"size-limit","test":"vitest run","build":"tsup","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","test:types":"tsd","test:watch":"vitest"},"_npmUser":{"name":"linkstcc","email":"linkst@allservices.cc"},"_resolved":"/tmp/ed0fb8bdf4387c830923551c3cd76798/allservices-sdk-core-1.1.0.tgz","_integrity":"sha512-yaFk+eXb4vk89X9/EdMHsS8JWR1YX0f+nraZLWqyq0hj6W5G3Hdg6moQkDaHrgROYe0xFlynH8A8kN0kLr2hxg==","repository":{"url":"git+https://github.com/linkstcc/AllService-SDK.git","type":"git","directory":"packages/sdk-core"},"size-limit":[{"name":"index (esm)","path":"dist/index.js","limit":"15 KB"},{"name":"index (cjs)","path":"dist/index.cjs","limit":"15 KB"},{"name":"client (esm)","path":"dist/client.js","limit":"10 KB"}],"_npmVersion":"10.9.7","description":"Type-safe universal client for the AllServices API (browser, node, edge, workers)","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.31.2","zod":"^4.3.6","tsup":"^8.3.0","rimraf":"^6.0.1","vitest":"^2.1.0","happy-dom":"^15.11.0","typescript":"^5.6.3","@types/node":"^22.9.0","@allservices/tsconfig":"0.0.0","@allservices/contracts":"0.2.0"},"peerDependencies":{"zod":"^4.3.0","@allservices/contracts":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.1.0_1777272374434_0.34600132568643405","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@allservices/sdk-core","version":"1.2.0","keywords":["allservices","sdk","client","api","http","typescript","fetch"],"author":{"name":"linkst"},"license":"UNLICENSED","_id":"@allservices/sdk-core@1.2.0","maintainers":[{"name":"linkstcc","email":"linkst@allservices.cc"}],"homepage":"https://github.com/linkstcc/AllService-SDK#readme","bugs":{"url":"https://github.com/linkstcc/AllService-SDK/issues"},"tsd":{"directory":"test-d","compilerOptions":{"lib":["ES2022","DOM","DOM.Iterable"],"module":"NodeNext","strict":true,"target":"ES2022","skipLibCheck":true,"esModuleInterop":true}},"dist":{"shasum":"34053ef2ba3890b2d40b8d761406933281b870d0","tarball":"https://registry.npmjs.org/@allservices/sdk-core/-/sdk-core-1.2.0.tgz","fileCount":34,"integrity":"sha512-qYDdvttsijsPuEOimAqDN5uQYcg0ZwOKNdz4WLSgScmv18yLhofiR6Mw0sNOFatS9pmcDw2xcB0phJ1msxuhUw==","signatures":[{"sig":"MEYCIQDw6tWIzPM0/3WA/cZ72kusGZFR9iFhzuhnnbv5/izFCQIhAMGpjrIl51/elT6BuszEcNhrbQcSfkxTBWTA0Y+P/cGF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":666442},"main":"./dist/index.cjs","type":"module","_from":"file:allservices-sdk-core-1.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./types":{"import":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/types.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint \"src/**/*.{ts,tsx}\"","size":"size-limit","test":"vitest run","build":"tsup","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","test:types":"tsd","test:watch":"vitest"},"_npmUser":{"name":"linkstcc","email":"linkst@allservices.cc"},"_resolved":"/tmp/de3918d78498907f06575f9e5f734ea0/allservices-sdk-core-1.2.0.tgz","_integrity":"sha512-qYDdvttsijsPuEOimAqDN5uQYcg0ZwOKNdz4WLSgScmv18yLhofiR6Mw0sNOFatS9pmcDw2xcB0phJ1msxuhUw==","repository":{"url":"git+https://github.com/linkstcc/AllService-SDK.git","type":"git","directory":"packages/sdk-core"},"size-limit":[{"name":"index (esm)","path":"dist/index.js","limit":"15 KB"},{"name":"index (cjs)","path":"dist/index.cjs","limit":"15 KB"},{"name":"client (esm)","path":"dist/client.js","limit":"10 KB"}],"_npmVersion":"10.9.7","description":"Type-safe universal client for the AllServices API (browser, node, edge, workers)","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.31.2","zod":"^4.3.6","tsup":"^8.3.0","rimraf":"^6.0.1","vitest":"^2.1.0","happy-dom":"^15.11.0","typescript":"^5.6.3","@types/node":"^22.9.0","@allservices/tsconfig":"0.0.0","@allservices/contracts":"0.2.0"},"peerDependencies":{"zod":"^4.3.0","@allservices/contracts":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.2.0_1777279279312_0.019389611010282026","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@allservices/sdk-core","version":"1.3.0","keywords":["allservices","sdk","client","api","http","typescript","fetch"],"author":{"name":"linkst"},"license":"UNLICENSED","_id":"@allservices/sdk-core@1.3.0","maintainers":[{"name":"linkstcc","email":"linkst@allservices.cc"}],"homepage":"https://github.com/linkstcc/AllService-SDK#readme","bugs":{"url":"https://github.com/linkstcc/AllService-SDK/issues"},"tsd":{"directory":"test-d","compilerOptions":{"lib":["ES2022","DOM","DOM.Iterable"],"module":"NodeNext","strict":true,"target":"ES2022","skipLibCheck":true,"esModuleInterop":true}},"dist":{"shasum":"75892d2c0a8f31d68b9d44555999897f7a680ff8","tarball":"https://registry.npmjs.org/@allservices/sdk-core/-/sdk-core-1.3.0.tgz","fileCount":34,"integrity":"sha512-55C+v2U2nQgJ5zDlFH1+lWGMkR5V1F79AXzOhyBybdyg5gjJFv6lDdnKxo41VTLwspSsVdPyKet46MfdvHKuEA==","signatures":[{"sig":"MEUCIG4etwR8iR+JT6jhtc6ryMeAaK+e5XgS1w6aP05aTDTBAiEAslIgADa2fU1HXrWPGbqPZMe+D7kjqTBcRoyPRcwedYQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":865516},"main":"./dist/index.cjs","type":"module","_from":"file:allservices-sdk-core-1.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./types":{"import":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/types.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint \"src/**/*.{ts,tsx}\"","size":"size-limit","test":"vitest run","build":"tsup","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","test:types":"tsd","test:watch":"vitest"},"_npmUser":{"name":"linkstcc","email":"linkst@allservices.cc"},"_resolved":"/tmp/0c528ef3ef80287e4d3de9e8dd491bed/allservices-sdk-core-1.3.0.tgz","_integrity":"sha512-55C+v2U2nQgJ5zDlFH1+lWGMkR5V1F79AXzOhyBybdyg5gjJFv6lDdnKxo41VTLwspSsVdPyKet46MfdvHKuEA==","repository":{"url":"git+https://github.com/linkstcc/AllService-SDK.git","type":"git","directory":"packages/sdk-core"},"size-limit":[{"name":"index (esm)","path":"dist/index.js","limit":"15 KB"},{"name":"index (cjs)","path":"dist/index.cjs","limit":"15 KB"},{"name":"client (esm)","path":"dist/client.js","limit":"10 KB"}],"_npmVersion":"10.9.7","description":"Type-safe universal client for the AllServices API (browser, node, edge, workers)","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.31.2","zod":"^4.3.6","tsup":"^8.3.0","rimraf":"^6.0.1","vitest":"^2.1.0","happy-dom":"^15.11.0","typescript":"^5.6.3","@types/node":"^22.9.0","@allservices/tsconfig":"0.0.0","@allservices/contracts":"0.2.0"},"peerDependencies":{"zod":"^4.3.0","@allservices/contracts":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.3.0_1777331867208_0.6573062480546779","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@allservices/sdk-core","version":"2.0.0","keywords":["allservices","sdk","client","api","http","typescript","fetch"],"author":{"name":"linkst"},"license":"UNLICENSED","_id":"@allservices/sdk-core@2.0.0","maintainers":[{"name":"linkstcc","email":"linkst@allservices.cc"}],"homepage":"https://github.com/linkstcc/AllService-SDK#readme","bugs":{"url":"https://github.com/linkstcc/AllService-SDK/issues"},"tsd":{"directory":"test-d","compilerOptions":{"lib":["ES2022","DOM","DOM.Iterable"],"module":"NodeNext","strict":true,"target":"ES2022","skipLibCheck":true,"esModuleInterop":true}},"dist":{"shasum":"1f241477f40d1f4964bdad4c1ffd8f63af4d3c9c","tarball":"https://registry.npmjs.org/@allservices/sdk-core/-/sdk-core-2.0.0.tgz","fileCount":34,"integrity":"sha512-SG363EUq/jQBQmdIn3vvCMM8AxJ4K7wEyyMlD4Cf1sSa+kA4PBkbFrna2jGC+TfhEEh4s1Hu0HDqMuJPGO6pJA==","signatures":[{"sig":"MEUCIQC2jAOpwU1feuaZJdJKUQa3786qAXv5mINYpm4C/i+ayQIgdp51QAcxTpqGHurGmoMW3MKl7S9VVgAriT6dywSXMIo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1008384},"main":"./dist/index.cjs","type":"module","_from":"file:allservices-sdk-core-2.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./types":{"import":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/types.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint \"src/**/*.{ts,tsx}\"","size":"size-limit","test":"vitest run","build":"tsup","clean":"rimraf dist .turbo","typecheck":"tsc --noEmit","test:types":"tsd","test:watch":"vitest"},"_npmUser":{"name":"linkstcc","email":"linkst@allservices.cc"},"_resolved":"/tmp/b3151e1efd0a889411e292f9808e97f8/allservices-sdk-core-2.0.0.tgz","_integrity":"sha512-SG363EUq/jQBQmdIn3vvCMM8AxJ4K7wEyyMlD4Cf1sSa+kA4PBkbFrna2jGC+TfhEEh4s1Hu0HDqMuJPGO6pJA==","repository":{"url":"git+https://github.com/linkstcc/AllService-SDK.git","type":"git","directory":"packages/sdk-core"},"size-limit":[{"name":"index (esm)","path":"dist/index.js","limit":"15 KB"},{"name":"index (cjs)","path":"dist/index.cjs","limit":"15 KB"},{"name":"client (esm)","path":"dist/client.js","limit":"10 KB"}],"_npmVersion":"10.9.7","description":"Type-safe universal client for the AllServices API (browser, node, edge, workers)","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.31.2","zod":"^4.3.6","tsup":"^8.3.0","rimraf":"^6.0.1","vitest":"^2.1.0","happy-dom":"^15.11.0","typescript":"^5.6.3","@types/node":"^22.9.0","@allservices/tsconfig":"0.0.0","@allservices/contracts":"1.0.0"},"peerDependencies":{"zod":"^4.3.0","@allservices/contracts":"1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_2.0.0_1778029745935_0.1552568073900653","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@allservices/sdk-core","version":"3.0.0","description":"Type-safe universal client for the AllServices API (browser, node, edge, workers)","author":{"name":"linkst"},"license":"UNLICENSED","homepage":"https://github.com/linkstcc/AllService-SDK#readme","repository":{"type":"git","url":"git+https://github.com/linkstcc/AllService-SDK.git","directory":"packages/sdk-core"},"bugs":{"url":"https://github.com/linkstcc/AllService-SDK/issues"},"keywords":["allservices","sdk","client","api","http","typescript","fetch"],"private":false,"type":"module","sideEffects":false,"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}},"./types":{"import":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/types.cjs"}},"./package.json":"./package.json"},"tsd":{"directory":"test-d","compilerOptions":{"module":"NodeNext","target":"ES2022","lib":["ES2022","DOM","DOM.Iterable"],"strict":true,"esModuleInterop":true,"skipLibCheck":true}},"size-limit":[{"name":"index (esm)","path":"dist/index.js","limit":"15 KB"},{"name":"index (cjs)","path":"dist/index.cjs","limit":"15 KB"},{"name":"client (esm)","path":"dist/client.js","limit":"10 KB"}],"peerDependencies":{"zod":"^4.3.0","@allservices/contracts":"1.1.0"},"devDependencies":{"@types/node":"^22.9.0","happy-dom":"^15.11.0","rimraf":"^6.0.1","tsd":"^0.31.2","tsup":"^8.3.0","typescript":"^5.6.3","vitest":"^2.1.0","zod":"^4.3.6","@allservices/contracts":"1.1.0","@allservices/tsconfig":"0.0.0"},"scripts":{"build":"tsup","typecheck":"tsc --noEmit","test":"vitest run","test:watch":"vitest","test:types":"tsd","lint":"eslint \"src/**/*.{ts,tsx}\"","size":"size-limit","clean":"rimraf dist .turbo"},"_id":"@allservices/sdk-core@3.0.0","_integrity":"sha512-ZZHRZEYjUs8A4ASPWWe2gvT2Urnblyi1SAC+ifzrbL563AF4x7Noq19xnVzOMYbALIT6BBG7PMEboVOvPA7e5Q==","_resolved":"/tmp/568cc401632374948a28b504fdc7d79a/allservices-sdk-core-3.0.0.tgz","_from":"file:allservices-sdk-core-3.0.0.tgz","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-ZZHRZEYjUs8A4ASPWWe2gvT2Urnblyi1SAC+ifzrbL563AF4x7Noq19xnVzOMYbALIT6BBG7PMEboVOvPA7e5Q==","shasum":"73e3c9aaa5bfe4591bda6a590bd32fb1d9ea6482","tarball":"https://registry.npmjs.org/@allservices/sdk-core/-/sdk-core-3.0.0.tgz","fileCount":34,"unpackedSize":1010616,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE36ZblLXruhc9/dPb7bzjT5Sh69+XxT2GSGnCko2tSgAiEAg2v/eSmpe5h/fjT8Sp+S0vBE26cV2GwaJg5shqomEp0="}]},"_npmUser":{"name":"linkstcc","email":"linkst@allservices.cc"},"directories":{},"maintainers":[{"name":"linkstcc","email":"linkst@allservices.cc"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk-core_3.0.0_1778273255767_0.32033127007677953"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-27T05:32:03.335Z","modified":"2026-05-08T20:47:36.089Z","1.0.0":"2026-04-27T05:32:04.018Z","1.1.0":"2026-04-27T06:46:14.578Z","1.2.0":"2026-04-27T08:41:19.460Z","1.3.0":"2026-04-27T23:17:47.367Z","2.0.0":"2026-05-06T01:09:06.121Z","3.0.0":"2026-05-08T20:47:35.943Z"},"bugs":{"url":"https://github.com/linkstcc/AllService-SDK/issues"},"author":{"name":"linkst"},"license":"UNLICENSED","homepage":"https://github.com/linkstcc/AllService-SDK#readme","keywords":["allservices","sdk","client","api","http","typescript","fetch"],"repository":{"type":"git","url":"git+https://github.com/linkstcc/AllService-SDK.git","directory":"packages/sdk-core"},"description":"Type-safe universal client for the AllServices API (browser, node, edge, workers)","maintainers":[{"name":"linkstcc","email":"linkst@allservices.cc"}],"readme":"# @allservices/sdk-core\n\nUniversal TypeScript client for the [AllServices](https://allservices.cc) API. Runs in browsers, Node, edge, and workers.\n\n> **Status:** alpha. Public API may change between minors until `1.0.0`.\n\n## Install\n\n```bash\npnpm add @allservices/sdk-core @allservices/contracts zod\n```\n\n## Usage\n\n```ts\nimport { AllServicesClient } from '@allservices/sdk-core';\n\nconst client = new AllServicesClient({\n  region: 'eu',\n  bearerToken: process.env.ALLSERVICES_PAT,\n});\n\nconst me = await client.auth.me();\nconst licenses = await client.licensing.list();\n```\n\nIn browsers, swap `bearerToken` for `credentials: 'include'` to use the AllServices session cookie. Constructing with `bearerToken` in a browser environment throws `EnvironmentError` unless `allowBrowserBearerToken: true` is set explicitly.\n\n## Errors\n\nEvery API error is a typed subclass of `AllServicesApiError`: `BadRequestError`, `UnauthorizedError`, `ForbiddenError`, `SudoRequiredError`, `NotFoundError`, `ConflictError`, `ValidationError`, `RateLimitedError`, `ServerError`, `BadGatewayError`, `ServiceUnavailable`, `TimeoutAtGateway`. Each carries `code`, `statusCode`, `requestId`, `headers`, and `retryable`.\n\n```ts\nimport { isSudoRequiredError, isRateLimitedError } from '@allservices/sdk-core';\n\ntry {\n  await client.auth.changePassword({ ... });\n} catch (err) {\n  if (isSudoRequiredError(err)) {\n    // prompt the user to step up via client.auth.grantSudo\n  }\n}\n```\n\n## Hooks\n\n`onRequest`, `onResponse`, `onError`, `onRetry` for observability. Sensitive headers and body fields are redacted by default. Extend via `redact: { headers, bodyFields }`.\n\n## Documentation\n\nSee the [main README](https://github.com/linkstcc/AllService-SDK#readme) and [SECURITY.md](https://github.com/linkstcc/AllService-SDK/blob/main/SECURITY.md).\n\n## License\n\nUNLICENSED — internal AllServices use only.\n","readmeFilename":"README.md"}