{"_id":"@cybersailor/slauth-ts","_rev":"17-55a3a6d8ea51c70e8b91a2eb0ef1e960","name":"@cybersailor/slauth-ts","dist-tags":{"latest":"0.10.13"},"versions":{"0.8.0":{"name":"@cybersailor/slauth-ts","version":"0.8.0","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.8.0","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"29c81b9780e1804910ae555dbf3b5d474fadded7","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.8.0.tgz","fileCount":158,"integrity":"sha512-6gtbNp1Tkvx6ett+PQQLniYWne8UvROzWqhK4JCPrOLQfKb4ro34FZniQlMLjT/R4cnyfqBcZfW82k2zm9VmPA==","signatures":[{"sig":"MEQCIBBzgi963VdSmXFP2giqjCj264b2jbxSQXt3dTMMUiDEAiAm80cXw+vk2seemnjCDNrsWRvSAFG8/TwvmBAT0ERkAw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":630642},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"d207d110547ba89d1a65cc801d795a77610cd0d3","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.7.0","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.15.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/node":"^20.0.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.8.0_1759283668788_0.42433194474958613","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@cybersailor/slauth-ts","version":"0.8.1","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.8.1","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"bee4e2b113cd134d0ddbdef8e2bb360d30b161a0","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.8.1.tgz","fileCount":158,"integrity":"sha512-5T1v2EV1fdh7kh8hVyCHtj8vMocl/ogO5G82mPFg1GLm9ppEXu/Zkh2KAPKDDJ23f5pI1pI6xrwHo0EDVBqIDw==","signatures":[{"sig":"MEUCIDjF59DE6gFpNhr1HmxBpDL4jPhoxM9TluKSJ7EEEocRAiEAzCDPs38V07v6DGAcKtUc2OVN6GbNV9WWmD633oLwgnE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":630642},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"d207d110547ba89d1a65cc801d795a77610cd0d3","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.7.0","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.15.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/node":"^20.0.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.8.1_1759283741503_0.22084972715232531","host":"s3://npm-registry-packages-npm-production"}},"0.8.3":{"name":"@cybersailor/slauth-ts","version":"0.8.3","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.8.3","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"dc26e0ca666cf9c871957344092d709f69ef8123","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.8.3.tgz","fileCount":159,"integrity":"sha512-OLpZ5OewEeHA0fNmJu2wUhL0WAgIyqSZ50fRjS+UWK31vqoqyo5McQZONbapHdHn47p9WvJmMMP5M6PUgpatmA==","signatures":[{"sig":"MEUCIBjrCeJyEpPBilA4KI1xnwJN5vRnxACaznG9Z3xhrvq5AiEAk35LTorrlC3iZacBhFADRboSM+UG8PJHS+9HsTstA8U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":720117},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"74945d35d520312894b6a1b6d0764adfddc6402a","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.7.0","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.15.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.8.3_1759991878532_0.22430137998797273","host":"s3://npm-registry-packages-npm-production"}},"0.8.4":{"name":"@cybersailor/slauth-ts","version":"0.8.4","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.8.4","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"aba17ec8215bbef7188986b67da439c0d036e1bb","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.8.4.tgz","fileCount":159,"integrity":"sha512-xyrRYnGGo91x+q7WvnomipISn7HN+d5aQly8NkuutJZWxA1gN4Nn8CmquyjMjM1Xd8jsLnQXPrSRxqRv6tMd6w==","signatures":[{"sig":"MEYCIQDgtCkaP/jL7kUwsb26pdC2AMomfHBjkhimnEiLMPj8uQIhALhKpqWHaloOWBSMRa9E/tOAYgL0tJBmdCRvlXgKRifv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":720873},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"74945d35d520312894b6a1b6d0764adfddc6402a","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.7.0","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.15.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.8.4_1760015835116_0.23567557550172036","host":"s3://npm-registry-packages-npm-production"}},"0.8.5":{"name":"@cybersailor/slauth-ts","version":"0.8.5","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.8.5","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"68ce8f5b4f11b94f80913cdc29a7f8276c3e8df2","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.8.5.tgz","fileCount":159,"integrity":"sha512-RBaDCcvzUQlTYqPoVwCd7cTpfDUayBRFJokbeTBbsLwkT9G0YkMBpa2slru/GVHiEVk27REO6tQLPB438hJfcw==","signatures":[{"sig":"MEUCIFRYVfx1b+rKdWon4lIyzZ9D1Msx2T3ndUWullkw91nAAiEAvQSvn2Rv1JSZiCG2HBdB0BnP8Sa4873CAw1w1LlwedA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":720873},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"74945d35d520312894b6a1b6d0764adfddc6402a","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.7.0","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.15.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.8.5_1760020625810_0.462977235737811","host":"s3://npm-registry-packages-npm-production"}},"0.8.6":{"name":"@cybersailor/slauth-ts","version":"0.8.6","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.8.6","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"31a0e53877396aa440023766efad871c13e83a10","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.8.6.tgz","fileCount":160,"integrity":"sha512-OWUNZel/Jp06IuIxf7txwMvdhVEymShE7FIjhEAiILPYoMIs0kkMPjKOrgUH/OIXr7VFKWWitS5juAiK8dAHvQ==","signatures":[{"sig":"MEQCIAaUTi6zErQw3Cl7gnRuCiITYWWDCDQXJyRYfTD4atRYAiBFzJy4QFSHMe9nQB2IhKkyAW76ItaX/QYONj4Iv0WirQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":739443},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"d568e65313580419eaa6844c00655affc927621e","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"11.6.2","description":"Official client library for slauth","directories":{},"_nodeVersion":"25.1.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.8.6_1763374796947_0.3234715527068448","host":"s3://npm-registry-packages-npm-production"}},"0.8.7":{"name":"@cybersailor/slauth-ts","version":"0.8.7","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.8.7","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"3c1cf04fc5186e56943a1f02901a2e077fe8c96f","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.8.7.tgz","fileCount":160,"integrity":"sha512-m76izo8Dvtdk3TL1EB7CBiAQ5t3uvi6ucL8NLmOfvUtu2sWWV915uDAuFP1x1GotNKvEcbc+l4mwx6k1WEeVyQ==","signatures":[{"sig":"MEYCIQCF128RNINXh2KKINGakwQsKF3iXxMz6CCi4uvmFVo8twIhAPDs+ZA2nimh9M1nilSccqBjlfWhzzorh+nLdIcABP5h","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":741157},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"f4786db2e626158e3c6fa33aff67033135d7bac9","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"11.6.2","description":"Official client library for slauth","directories":{},"_nodeVersion":"25.1.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.8.7_1763382650916_0.27457882168876924","host":"s3://npm-registry-packages-npm-production"}},"0.8.8":{"name":"@cybersailor/slauth-ts","version":"0.8.8","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.8.8","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"2eea0cf348403a69c7b108a3c32a6925eb880eb7","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.8.8.tgz","fileCount":170,"integrity":"sha512-/khmOWU2O+eJcpjl2Z5xM9JfNHaMj2G+eOEG2QLMhJqaHWgLXtQV2v7eojzpiEa1/32jFai/kkGulfT/gEB4Hw==","signatures":[{"sig":"MEQCIGuJJVvz1nd6ngMbAaVWaGpFqKRUFdioMQDbCVy+PEjLAiBPhPJFWv0hFt6+2HShgkEzQ28swFMpzUAhBqD0Y8mHMg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":784424},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"b478b26594292c22c6f927a798df2b169bcba099","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.7.0","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.15.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.8.8_1770469582638_0.14710946756942977","host":"s3://npm-registry-packages-npm-production"}},"0.8.9":{"name":"@cybersailor/slauth-ts","version":"0.8.9","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.8.9","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"445650b9b49768704bd62bdb9829062e023a900f","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.8.9.tgz","fileCount":170,"integrity":"sha512-ZWqoGFEUjcZKu3EYP8sDpKqV7Qya3WbxCZviZsaW/nudQeOSZgLh3l9xRdghh3ytxtPQ8rltmouWnlOMvGkQrA==","signatures":[{"sig":"MEUCIQD6QKl5sY4EliJwlhqVFZzf+WZBIylPEXYDuDTNni207AIgainJo1+o0Hqt4zkYV1yC/zuaYv2/dB0se/qzQlWHXfk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":788453},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"39e0dee9056670fbb35c0ca3df4724d0a6ccb339","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.7.0","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.15.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.8.9_1770482876653_0.013380450464620441","host":"s3://npm-registry-packages-npm-production"}},"0.8.10":{"name":"@cybersailor/slauth-ts","version":"0.8.10","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.8.10","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"54256c56af4bb10a18144569b4dd32f31935ac7d","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.8.10.tgz","fileCount":170,"integrity":"sha512-doBj3bxliKMTL+kaTQvyoWybCZKbWa4pz5Acn4hetuTjnpJZzfAINk1w5fesgA3ci+peDOI68VP7wlHd3mhHOg==","signatures":[{"sig":"MEYCIQDvKMBqazbhGl9FEJtFgqRoagbUU7v4wYRhOIIZlkIOZwIhALpaehlsTDTl5vzw3T+HId/E+wSLgWk7eJKKKuIddis/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":788136},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"39e0dee9056670fbb35c0ca3df4724d0a6ccb339","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.7.0","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.15.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.8.10_1770505297605_0.5273398305791905","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@cybersailor/slauth-ts","version":"0.9.0","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.9.0","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"d934eabe524bdffd888d1de4babcc1ffa2198b54","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.9.0.tgz","fileCount":170,"integrity":"sha512-6jfFmsov2DwbcEBVk6YL0frpG9BGD8RVsuEYElYGc3AsoPIQpzIHlmjHhDa2E/HXzsoD/HQ0effuUznFkseW9A==","signatures":[{"sig":"MEYCIQDwAmKt/5AUTP9im0kS8Xr7aG7KPsuXhfLrIyDK3AnMHAIhAL2LmDqkOtjlw3XbLhVzaUi67OEBVdQbhxjoZondE3/E","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":793770},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"39e0dee9056670fbb35c0ca3df4724d0a6ccb339","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.7.0","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.15.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.9.0_1770522979241_0.8925832236722493","host":"s3://npm-registry-packages-npm-production"}},"0.10.6":{"name":"@cybersailor/slauth-ts","version":"0.10.6","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.10.6","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"e487e4c5854daf61a8574d6f207fbb571ad8cc7b","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.10.6.tgz","fileCount":171,"integrity":"sha512-+O21AUz3btHUtUj2AQymkSst0aK7SP40IMi8loHtHaXbH87X/xbcdiWRm6vbWHIW62hUfeHqSCbeZ1sL18pIpg==","signatures":[{"sig":"MEQCIG6AUAWclEnggLr0unljfAS3qQEV/pCitUbG72zxy48EAiAHa1LfDisTL62PYe0L580Gv+Pt+OUeNktwSBmJrFSf/g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":840715},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"81158ddcdd61326c7b46cdb547b0d2d30a03e48e","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.8.2","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.19.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.10.6_1777000345167_0.21071201736488643","host":"s3://npm-registry-packages-npm-production"}},"0.10.7":{"name":"@cybersailor/slauth-ts","version":"0.10.7","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.10.7","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"14bcc88ce3a4d8f39b79fc0371f706cce749b58a","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.10.7.tgz","fileCount":181,"integrity":"sha512-GU2ap2Jka3DbjvEXHU6SEfFwSRt5V9Qe9fpgsU24YLvQS984MHPbXX5oM3XZXv/S2zjYx1ItYGfGZ9SIU2G1Fw==","signatures":[{"sig":"MEYCIQCV2CSYT6RNmn+ExJO9O5Vh+IBWh15NAz2KJxKz0MSxVAIhAP9bV+g5RVvmVigm+ZOWYCNv0vhs70ap+dVhANY4jMoR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":906104},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"d638559df5858293ebc8439539eb67cc83b8b822","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.8.2","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.19.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.10.7_1777778254776_0.4444847479648213","host":"s3://npm-registry-packages-npm-production"}},"0.10.8":{"name":"@cybersailor/slauth-ts","version":"0.10.8","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.10.8","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"e656a4d65fe11d3494664f45d8270fe4d2561a96","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.10.8.tgz","fileCount":181,"integrity":"sha512-951JnGtlVtJX6xt1P8KGc6+hSBsYf7wi81AP+icLqVh2LwjCAly4fhB5pg5Dk7MW9pJMvZ0RdLsWqEIEmLpg7w==","signatures":[{"sig":"MEYCIQCDAYY3/jfBWtSszhuOKxitc5o/3PdyyMNK39kk8f7MxAIhAIaGuFzx6n45F54CFAdldYIjLrJ76go8bsCIe77RguDH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":927531},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"d0d2c2be7a56874b2e1f38aa672055ea8feba5d6","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"10.8.2","description":"Official client library for slauth","directories":{},"_nodeVersion":"20.19.0","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.10.8_1777863899984_0.9247797143077399","host":"s3://npm-registry-packages-npm-production"}},"0.10.9":{"name":"@cybersailor/slauth-ts","version":"0.10.9","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.10.9","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"16cc1e3914b6d754f4651553f4807da9456dc1a7","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.10.9.tgz","fileCount":181,"integrity":"sha512-wqjEQyWmlKR83pRptEmh2IBvxTT92iUlIGEndHW7LQxDTOZ8xk48XSPshBeRRVx70bS6cYiE0DC+VBYPBHwv+g==","signatures":[{"sig":"MEYCIQDgVMYdDIvbxn7FXpTawFzRwccGv38klX7lSjWnny6W0wIhALyvmItyXvtilntSFAethQMQcdZ1aRbrSQWBy4q/uko6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":928367},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"59b84e7dcbd91e32b51b7e122e6ad60092b33710","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"11.9.0","description":"Official client library for slauth","directories":{},"_nodeVersion":"25.6.1","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.10.9_1782803257558_0.17498614541379376","host":"s3://npm-registry-packages-npm-production"}},"0.10.12":{"name":"@cybersailor/slauth-ts","version":"0.10.12","keywords":["auth","aira","authentication","typescript"],"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","_id":"@cybersailor/slauth-ts@0.10.12","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"homepage":"https://github.com/thecybersailor/slauth","dist":{"shasum":"2ccf7632179bd85fe17629303f439117c0bc40ae","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.10.12.tgz","fileCount":181,"integrity":"sha512-Nh2daRAxiz6xMzJMkUnYaBYPoVIOoJJPaHTWWydcMg9+LQn1Ii/OCpgWF6IoSx7E55R1zquozYG3PzQIl0ib4g==","signatures":[{"sig":"MEQCIGPI4e6IDWfSRD8xIJXmCuyhgxKXOAUW1RvpNeFE1dQSAiBOf/YXjQl74RCCpPTuG+hgFLVOdODtAvfN419vhIGqww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":929597},"jest":{"roots":["<rootDir>/src"],"preset":"ts-jest","testMatch":["**/__tests__/**/*.test.ts"],"testEnvironment":"node","collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"711f684c04d179bdada34c910c10560143584beb","scripts":{"dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","build":"node build.js","clean":"rimraf dist","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","type-check":"tsc --noEmit","build:types":"tsc -p tsconfig.types.json","generate-types":"node ../../tools/generate-types.mjs","prepublishOnly":"npm run build","type-check:watch":"tsc --noEmit --watch","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client"},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"_npmVersion":"11.9.0","description":"Official client library for slauth","directories":{},"_nodeVersion":"25.6.1","dependencies":{"zod":"^4.1.11","axios":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","axios-mock-adapter":"^1.22.0","swagger-typescript-api":"^13.2.13","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/slauth-ts_0.10.12_1782818009952_0.9740962955648345","host":"s3://npm-registry-packages-npm-production"}},"0.10.13":{"name":"@cybersailor/slauth-ts","version":"0.10.13","description":"Official client library for slauth","keywords":["auth","aira","authentication","typescript"],"homepage":"https://github.com/thecybersailor/slauth","license":"Apache-2.0","author":{"name":"CYBERSAILOR PTE.LTD."},"main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/types/index.d.ts","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"scripts":{"build":"node build.js","build:cjs":"tsc -p tsconfig.json","build:esm":"tsc -p tsconfig.esm.json","build:types":"tsc -p tsconfig.types.json","clean":"rimraf dist","dev":"tsc -p tsconfig.json --watch","lint":"eslint src/**/*.ts","test":"jest","prepublishOnly":"npm run build","generate-types":"node ../../tools/generate-types.mjs","generate-types:auth":"swagger-typescript-api generate --path \"$API_DOCS_DIR/auth-api.json\" --output src/types --name auth-api.ts --no-client","generate-types:admin":"swagger-typescript-api generate --path \"$API_DOCS_DIR/admin-api.json\" --output src/types --name admin-api.ts --no-client","type-check":"tsc --noEmit","type-check:watch":"tsc --noEmit --watch"},"dependencies":{"axios":"^1.6.0","zod":"^4.1.11"},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","@typescript-eslint/eslint-plugin":"^6.0.0","@typescript-eslint/parser":"^6.0.0","axios-mock-adapter":"^1.22.0","eslint":"^8.0.0","jest":"^29.0.0","rimraf":"^5.0.0","swagger-typescript-api":"^13.2.13","ts-jest":"^29.0.0","ts-to-zod":"^4.0.1","typescript":"^5.0.0"},"jest":{"preset":"ts-jest","testEnvironment":"node","roots":["<rootDir>/src"],"testMatch":["**/__tests__/**/*.test.ts"],"collectCoverageFrom":["src/**/*.ts","!src/**/*.d.ts","!src/types/**","!src/schemas/**"]},"engines":{"node":">=16.0.0"},"gitHead":"ed45f7d54f04a462d6d667ab826a10e565118b51","_id":"@cybersailor/slauth-ts@0.10.13","_nodeVersion":"25.6.1","_npmVersion":"11.9.0","dist":{"integrity":"sha512-pKK2OrZ5cR0hbep9B82CSeJr625BdEyvoKJ678uuuxVbKZgH87YNbKsx13LjY+TRgcMl4vfCdE/puhAhhorB2A==","shasum":"7c5467298106e3083c9fd0191695cd1f0af0707f","tarball":"https://registry.npmjs.org/@cybersailor/slauth-ts/-/slauth-ts-0.10.13.tgz","fileCount":181,"unpackedSize":929708,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEc6XUFxyE8Hr1dLjxKTNloS4RDZUI3YZSP5p6Tv9j5yAiEA8FtORNrwFzdf6Mno1Ebvj5YOSaOdEJxwHm7vC3tngOI="}]},"_npmUser":{"name":"wanglei917590","email":"flaboy.cn@gmail.com"},"directories":{},"maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/slauth-ts_0.10.13_1782818306956_0.5026066736235009"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-01T01:54:28.719Z","modified":"2026-06-30T11:18:27.180Z","0.8.0":"2025-10-01T01:54:29.017Z","0.8.1":"2025-10-01T01:55:41.711Z","0.8.3":"2025-10-09T06:37:58.815Z","0.8.4":"2025-10-09T13:17:15.368Z","0.8.5":"2025-10-09T14:37:06.047Z","0.8.6":"2025-11-17T10:19:57.208Z","0.8.7":"2025-11-17T12:30:51.102Z","0.8.8":"2026-02-07T13:06:22.848Z","0.8.9":"2026-02-07T16:47:56.804Z","0.8.10":"2026-02-07T23:01:37.741Z","0.9.0":"2026-02-08T03:56:19.388Z","0.10.6":"2026-04-24T03:12:25.347Z","0.10.7":"2026-05-03T03:17:34.922Z","0.10.8":"2026-05-04T03:05:00.140Z","0.10.9":"2026-06-30T07:07:37.682Z","0.10.12":"2026-06-30T11:13:30.140Z","0.10.13":"2026-06-30T11:18:27.086Z"},"author":{"name":"CYBERSAILOR PTE.LTD."},"license":"Apache-2.0","homepage":"https://github.com/thecybersailor/slauth","keywords":["auth","aira","authentication","typescript"],"description":"Official client library for slauth","maintainers":[{"name":"wanglei917590","email":"flaboy.cn@gmail.com"}],"readme":"# @cybersailor/slauth-ts\n\nOfficial TypeScript client library for slauth.\n\n## Installation\n\n```bash\nnpm install @cybersailor/slauth-ts\n```\n\n## Quick Start\n\n```typescript\nimport { createClient } from '@cybersailor/slauth-ts'\n\nconst auth = createClient({\n  url: 'http://localhost:8080',\n  apiKey: 'your-api-key'\n})\n\n// Sign up\nconst { data, error } = await auth.signUp({\n  email: 'user@example.com',\n  password: 'Password123!'\n})\n\n// Sign in\nconst { data, error } = await auth.signInWithPassword({\n  email: 'user@example.com',\n  password: 'Password123!'\n})\n\n// Listen to auth changes\nauth.onAuthStateChange((event, session) => {\n  console.log(event, session)\n})\n```\n\n## Features\n\n- ✅ Email/Password Authentication\n- ✅ OAuth Providers (Google, GitHub, etc.)\n- ✅ OTP Authentication\n- ✅ Multi-Factor Authentication (MFA)\n- ✅ Session Management\n- ✅ Auto Token Refresh\n- ✅ Automatic Token Injection for API Calls\n- ✅ TypeScript Support\n\n## API Reference\n\n### Authentication Methods\n\n- `signUp(credentials)` - Create a new user account\n- `signInWithPassword(credentials)` - Sign in with email/password\n- `signInWithOtp(credentials)` - Sign in with OTP\n- `signInWithOAuth(provider)` - Sign in with OAuth provider\n- `signOut()` - Sign out current user\n- `refreshSession()` - Refresh current session\n- `getSession()` - Resolve current session after initialization/refresh\n- `isAuthenticated()` - Resolve whether a session exists\n\n### User Management\n\n- `getUser()` - Get current user\n- `updateUser(attributes)` - Update user attributes\n\n### Session Model\n\n- `SessionManager` is the single source of truth for session state\n- `getSession()` is async and waits for initialization/refresh\n- `AdminApi` does not expose `setSession()`; auth/admin clients share one `SessionManager`\n- Refresh failure fast-fails through `onUnauthorized`\n\n### MFA Methods\n\n- `mfa.enroll(params)` - Enroll MFA factor\n- `mfa.challenge(params)` - Create MFA challenge\n- `mfa.verify(params)` - Verify MFA challenge\n- `mfa.listFactors()` - List user's MFA factors\n\n## Making API Calls with Automatic Token Management\n\nWhen building your application, you'll need to make authenticated API calls to your backend. Instead of manually managing access tokens and handling token refresh, you can use `authClient.request` which automatically:\n\n- **Attaches the access token** to all requests\n- **Refreshes expired tokens** automatically when receiving 401 errors\n- **Retries failed requests** after successful token refresh\n- **Synchronizes token state** with the auth session\n\n### Basic Usage\n\nReplace your axios calls with `authClient.request`:\n\n```typescript\nimport { createClients } from '@cybersailor/slauth-ts'\n\nconst { authClient } = createClients({\n  auth: { url: 'http://localhost:8080/auth' },\n  autoRefreshToken: true, // Enable automatic token refresh\n  persistSession: true,\n  // Optional: coordinate refresh automatically\n  // - Browser: uses navigator.locks when available\n  // - Node/Bun: falls back to an in-process async mutex (not cross-process)\n  // crossTabRefreshLock: false,\n  // refreshLockKey: 'slauth:refresh:my-app',\n})\n\n// After user signs in\nawait authClient.signInWithPassword({\n  email: 'user@example.com',\n  password: 'Password123!'\n})\n\nconst session = await authClient.getSession()\nif (!session) {\n  throw new Error('session unavailable')\n}\n\n// Use authClient.request instead of axios for your API calls\n// The access token is automatically attached to the request\nconst response = await authClient.request.get('/api/user/profile')\nconst userProfile = response.data\n\n// POST request with automatic token injection\nconst createResult = await authClient.request.post('/api/orders', {\n  productId: '123',\n  quantity: 2\n})\n\n// PUT, PATCH, DELETE are also supported\nawait authClient.request.put('/api/user/settings', { theme: 'dark' })\nawait authClient.request.patch('/api/user/preferences', { notifications: true })\nawait authClient.request.delete('/api/user/data')\n```\n\n### Migration from Axios\n\nIf you're currently using axios, the migration is straightforward:\n\n```typescript\n// ❌ Before: Manual token management\nconst response = await axios.get('/api/user/profile', {\n  headers: {\n    Authorization: `Bearer ${accessToken}`\n  }\n})\n\n// ✅ After: Automatic token management\nconst response = await authClient.request.get('/api/user/profile')\n```\n\n### How It Works\n\n1. **Token Injection**: When you call `authClient.request.get()`, `post()`, etc., the current access token from the session is automatically added to the `Authorization` header.\n\n2. **Automatic Refresh**: If the API returns a 401 Unauthorized error:\n   - The SDK automatically attempts to refresh the token using the refresh token\n   - If refresh succeeds, the original request is retried automatically\n   - Your application code doesn't need to handle token refresh logic\n\n3. **Session Synchronization**: The `request` client is synchronized with the auth session. When tokens are refreshed, both the auth session and the request client are updated automatically.\n\n### Error Handling\n\nThe request client supports callback functions for handling authentication errors:\n\n```typescript\nconst { authClient } = createClients({\n  auth: { url: 'http://localhost:8080/auth' },\n  autoRefreshToken: true,\n  onUnauthorized: () => {\n    // Called when token refresh fails or user is not authenticated\n    console.log('User session expired')\n    // Redirect to login page\n    window.location.href = '/login'\n  },\n  onSessionRefreshed: (session) => {\n    // Called when token is successfully refreshed\n    console.log('Session refreshed', session)\n  },\n  onAuthError: (error) => {\n    // Called for general authentication errors\n    console.error('Auth error:', error)\n  }\n})\n```\n\n### Request Options\n\nThe request methods accept the same options as axios:\n\n```typescript\n// GET with query parameters\nconst response = await authClient.request.get('/api/users', {\n  params: {\n    page: 1,\n    limit: 10\n  }\n})\n\n// POST with custom headers\nconst result = await authClient.request.post('/api/upload', formData, {\n  headers: {\n    'Content-Type': 'multipart/form-data'\n  },\n  timeout: 30000\n})\n```\n\n### Full Example\n\n```typescript\nimport { createClients } from '@cybersailor/slauth-ts'\n\n// Initialize clients\nconst { authClient } = createClients({\n  auth: { url: 'http://localhost:8080/auth' },\n  autoRefreshToken: true,\n  persistSession: true,\n  onUnauthorized: () => {\n    // Handle session expiration\n    router.push('/login')\n  }\n})\n\n// Sign in\nconst { data } = await authClient.signInWithPassword({\n  email: 'user@example.com',\n  password: 'Password123!'\n})\n\n// Make authenticated API calls\nasync function fetchUserData() {\n  const response = await authClient.request.get('/api/user/profile')\n  return response.data\n}\n\nasync function updateUserProfile(updates: any) {\n  const response = await authClient.request.put('/api/user/profile', updates)\n  return response.data\n}\n\nasync function createOrder(orderData: any) {\n  const response = await authClient.request.post('/api/orders', orderData)\n  return response.data\n}\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}