{"_id":"@i.un/api-client","_rev":"42-a7b25715bf792c0be48fcca9e86b2de9","name":"@i.un/api-client","dist-tags":{"latest":"4.0.1"},"versions":{"0.1.0":{"name":"@i.un/api-client","version":"0.1.0","keywords":["api","client","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@0.1.0","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"1d4553b216877cc2ab0991ee7c35cda91b14dff2","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-0.1.0.tgz","fileCount":14,"integrity":"sha512-zP+QrerEeS60YZMSvv+TOfhVj8AiyncwWZRQ925u+veYZiKoGJ324cWK5NlXS27fiQAPs7mKtYDu9+8SJWvw1A==","signatures":[{"sig":"MEQCIBY4EIKyEqh+rdYiB+Fi2Xja6sPfsvWd4KNSDYDHTxQyAiBsfM0AxkD5vHm/RUvS95ukWsUcuGm3DOvg0teGTsEBnA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56938},"main":"dist/client.cjs","types":"dist/client.d.ts","module":"dist/client.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"}},"gitHead":"171e2c1300193b2c9d664464d7e5c26b36f6962b","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"11.6.1","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"ofetch":">=1.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.1.0_1765101884127_0.19692286463581543","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@i.un/api-client","version":"1.0.0","keywords":["api","client","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.0.0","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"13ea37368bfa6bf9c2b2a5d988e4658d5550c6a6","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.0.0.tgz","fileCount":10,"integrity":"sha512-qcnFutMiMbXMTogNmUOmOj0/dw44jFPvi/ngqLU5jHBv3s/x505ht3PisAqV2lM/9z2sPz7Frywk6hc84JPilg==","signatures":[{"sig":"MEYCIQDBMZnjRSoDsYopvnmLk5jvRsWPhPcD+Cwmm0kyabh6qAIhAKvUHE8OoUcZltppqig+j5qtdsfS2EpZ1jgVnnQzWTMw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49564},"main":"dist/client.cjs","types":"dist/client.d.ts","module":"dist/client.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"}},"gitHead":"48468c7ad13eb1b2d50927374b351b558ff50f7d","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"11.6.1","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"ofetch":">=1.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.0_1765118906834_0.6516403548895282","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@i.un/api-client","version":"1.0.1","keywords":["api","client","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.0.1","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"88eab3ae7c3ef49902786817440892ba7a5eeb5e","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.0.1.tgz","fileCount":10,"integrity":"sha512-Oq5h8aGNQTdkpfTgm/5DdhGbmpwfJVHOpxxguj1QRWyURBFbou1j+EqpDuuwIJCQSNHl3NX59Q0w8R1Lj9heDA==","signatures":[{"sig":"MEYCIQCIy+oP+ax780cHENrnW9hexUixcNA+InV0t9/wYFFCYgIhAIQLr03utByVWrIwgR27zbQNs9IZpOwHdT1xQV6nQxIg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49564},"main":"dist/client.cjs","types":"dist/client.d.ts","module":"dist/client.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"}},"gitHead":"97f309b17b25c7c1b1dbc57612e8465528f45a59","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.1_1765160522201_0.15011450787697034","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@i.un/api-client","version":"1.0.2","keywords":["api","client","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.0.2","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"8a60d82596e468e3643d70a23ac6e5a81254d64f","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.0.2.tgz","fileCount":10,"integrity":"sha512-ZxtCgM+GHhN5fZncUjLt8u1uTq2ADl4sK7vXLrcLyymPZgM2/AvdDRg5KhtxIQevmlZHgPoeD23J0iWHqMSqUw==","signatures":[{"sig":"MEYCIQDdHJEQwnqcdjZcGkNU/ISFBdO+R8VKjDeBjcBzou5+yQIhAJowZsUZgtj5nRKM4KyMLfTiB+9cGEy5EUN1IMfbMJtX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49676},"main":"dist/client.cjs","types":"dist/client.d.ts","module":"dist/client.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"}},"gitHead":"450a13297484e3568799cf469d2c7e563f98f9eb","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.2_1765199336471_0.38496933166107095","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@i.un/api-client","version":"1.0.3","keywords":["api","client","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.0.3","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"37a6d864f7255dcecc05d7213221c23bd19f9026","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.0.3.tgz","fileCount":10,"integrity":"sha512-18HFZgcyDskv1xeHMXf8ITGACquF1jWwnm+xgf0cJQpMJW0nG0irgFBqfULj/OBP1DHzBvAmsva7v7FR54Juag==","signatures":[{"sig":"MEUCIQCQnNztx7OWhbaAjSUBY0XSfQnfkxFAu8kt6ICHStcKCgIgcUI6rUCZw6LCfNdWEpq7scl+xi4xDSwa+TS9ArqAFVw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50973},"main":"dist/client.cjs","types":"dist/client.d.ts","module":"dist/client.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"}},"gitHead":"428df8ccc29fbc05e8ffd8886edfe67c2312e1f8","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.3_1767582563347_0.3267397403010708","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@i.un/api-client","version":"1.0.4","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.0.4","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"c18fadc4c01be4bae734f0da234c3df396bc91fa","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.0.4.tgz","fileCount":10,"integrity":"sha512-g1Q4528Kq8qjw03a8lHaZRdcJM/7Sb+B95EiLbKQKvuVWpGbmLiim5NVrXvrNL20GTU7R/Av2CIiyhqQvC7CXg==","signatures":[{"sig":"MEQCIAi4s/ohcpD52++f8JlpcD7tWPPSKsrVN29f9IM98qdaAiBM1H3DI5zYBZb9oxE7E5MDdzRgTxztqUmt3BZ4NnlrPQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89595},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"2080cf376da1c96e7ef1a1c664e493a542b7a548","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.4_1768546523543_0.46599322477009375","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@i.un/api-client","version":"1.0.5","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.0.5","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"a8bbf3b4000f69c1b5473774ee4fd579f55db39d","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.0.5.tgz","fileCount":10,"integrity":"sha512-teo2s6HBqwOsq23yAm5I0iWwODLgn3YhtEjXdHjPARL1vtQfn5ifL+F/YHYdEjYDgug8Sa58Xxg5tmcGbviFeg==","signatures":[{"sig":"MEQCIBFGmkEAwsEZqiucRi+H8K0YQOtv3OivvTKSMBabsjMLAiBZO3JRgHZzc2oip2sNGXDaQDrbavWVhJ7C8m9Ic0Ix4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91475},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"1aa6e9445a23e602501609dbbf9e38264ad4b06c","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.5_1768550337088_0.12221214736220731","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@i.un/api-client","version":"1.0.6","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.0.6","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"89771e289dc48aab972e7e29eb191baa81466c5d","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.0.6.tgz","fileCount":10,"integrity":"sha512-N+ZiDJXZUhUEnrfn+VgxCy0y3zlt7V8yqLDRgdpoqrCXWGDOhWtPZ/lWxXqPT35H6AHqHGjKGDbpQtCjBU/yGw==","signatures":[{"sig":"MEUCIQDX2gBCPfH965iiAekQEAZsZ7qWTgYDrxjJEQL0LSV0TwIgDJn79diLzSBonvpP4ZzDoOBIt9QzofdWPcWRwArF68k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91571},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"1856b1306c8383a889ce436bbb13b6f048912efa","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.6_1768550576447_0.009284598002863076","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@i.un/api-client","version":"1.0.7","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.0.7","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"60d4ac61b1442111d6e9b5d6f276d599dbd4d747","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.0.7.tgz","fileCount":10,"integrity":"sha512-P61Dr0ND2wWrToOfF4sAPj7nk00Jvy60zX6FflhryCyhqxHhcHm2yqMolvkfFtUsS9PGnyPevegM3YjjRlfR5A==","signatures":[{"sig":"MEUCIQDUXF8eppN6ary63/RsVJr+NSW3KYcBU+0vlSnpTss6jgIgVcL5sYljFZY865dbjSKxJsLvGBHKrlWUMRGMoKziOhU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92104},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"441205a9191f3b5ead129b0a43ce2278780d7d26","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.7_1768568066085_0.6105925509617334","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@i.un/api-client","version":"1.0.8","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.0.8","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"cdec78bf66b4340c62ef601a4ba90585952ee08c","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.0.8.tgz","fileCount":10,"integrity":"sha512-CjRzV5i9t8UsXqoZxd/OGeWdFoCEhdE4vXMfGvHfI4TMzN4Uh4UZEloeScdudGrsRDIbNp2cOYEl29H/mPQAvA==","signatures":[{"sig":"MEYCIQDRNWxPf0HHYiHAJKFtaD2xQ5IZV37sTVsKGG+NV7e50gIhAJOIwsmHUNZPu0p1sknA123tNq4ZyMPmammXU1MpRie/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139188},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"b29badd578150e42d895d0a7f8229550d9cb54d1","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.8_1768627355892_0.17678515451621557","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@i.un/api-client","version":"1.0.9","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.0.9","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"e2bf9ff52401bf48b7c71bf3eede236a73700d27","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.0.9.tgz","fileCount":10,"integrity":"sha512-9xQroynpXiboWrM5TNSE/oRof030uJAVZnSUGgH8ZN5W1ZL51rjXRUZDvolmIyp8RiHNIiDugcccBAhmC0dxRA==","signatures":[{"sig":"MEYCIQDYYCt7HNjsvyaCM6T75/uQGLeRkliKbxgvhayYj1pkTwIhANy7zoBCCjUgaRg49GH1YMi3JrYL1iy9z2dPlmM5PLpU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":149448},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"771f0a39c4c2ba912bdb445d5923102c2ae50b63","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.9_1768633493240_0.5319754420372855","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@i.un/api-client","version":"1.1.0","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.1.0","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"b1034c089a0c2b2cd6cae1847b0c8c4bd7e98c2c","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.1.0.tgz","fileCount":10,"integrity":"sha512-42sJAjy8pl7PZbXwkKulL24NDiaBrVY3bSyeITbUHd9bBdVapxl4u224GGmd3c4391vHNLIBLsB+UQsGIaofFA==","signatures":[{"sig":"MEYCIQDzPn8WqANI5UqgC8afJQ/FTCWCGZQBZ8dCBWSie/U0ZwIhANsTh5NjQIJCbpIb57EKKtLAthj9mElWgk3yPCQu8qjx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":184336},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"380654fa15487b5660b845a6f7077f8d86ac001c","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"pbjs -t static-module -w es6 -o src/secure.js src/secure.proto && pbts -o src/secure.d.ts src/secure.js"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","protobufjs-cli":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.1.0_1768646121079_0.4351394775095241","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@i.un/api-client","version":"1.1.1","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.1.1","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"a8d1d20d6e10bb0150ebd822b0b45f6698aaf9e7","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.1.1.tgz","fileCount":10,"integrity":"sha512-U+EU4hq0l45TqX6V0vPxsddz96Oy+V2GphVj+Cpr6BexXh6rs8lK240fzYX8xEIBbpyL17DhpqFJUZpkbytttg==","signatures":[{"sig":"MEUCIQCX/+xOZtxkXmwAOD7zjqzxrg3YiTRFh4vzSgEGWKjdIAIgNvKgpbWi6acka0xERw4LZJmsAYN4UZpZFo1YuyyF810=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":185762},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"004d2ecdebf4c5690ce55fcd08d33400bd0296a3","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"pbjs -t static-module -w es6 -o src/secure.js src/secure.proto && pbts -o src/secure.d.ts src/secure.js"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","protobufjs-cli":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.1.1_1768657664227_0.47380707346716266","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@i.un/api-client","version":"1.1.2","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.1.2","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"6b1c7af124c2ceb9972e344587db994ceaf84d32","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.1.2.tgz","fileCount":10,"integrity":"sha512-rQ8bunzWn9eMRafgaTpOmyWvpqlkaN1zLgippi2z1l8R97LjIRSuiazu91+gLo74OWbGVTbn9Afb5PAdAy6cMA==","signatures":[{"sig":"MEYCIQDm75CIcUp1zZjmtY85pDJoYgOH1RYTGkCZ1jJwpnnRrgIhAJf1hRT1Z3OIIuV7A2lGo78eMb5gen9JI2LUBMA3cwL5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":187740},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"8267e215e5e54a986754821b24321a03d22c4cf3","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"pbjs -t static-module -w es6 -o src/secure.js src/secure.proto && pbts -o src/secure.d.ts src/secure.js"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","protobufjs-cli":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.1.2_1768658503310_0.7767314527458813","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@i.un/api-client","version":"1.1.3","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.1.3","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"726c12a752bacf231679c4f8a13ab3c76f7d52bf","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.1.3.tgz","fileCount":34,"integrity":"sha512-FRfyg4GJhfp4CeiZ+0F6+ffeAMYdIC0lvvxkPzofNB3UTi0xqz/XxaeyHDnch9Pu44z2hBqY1kUV6FZl365/Rg==","signatures":[{"sig":"MEYCIQCvCfIfQ9Gzkv6hL+kPRvQvQlkh056rOjkjYBZZKaXB4gIhAJkgOmzBSsNEuyJVSXCoH/+pHZDtrmGkHKoGx/85A8Ru","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":289365},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.mjs","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.mjs","require":"./dist/protobuf.cjs"}},"gitHead":"974b5797520851a67ace05bd82972f8b0c29a71a","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"pbjs -t static-module -w es6 -o src/secure.js src/secure.proto && pbts -o src/secure.d.ts src/secure.js"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","protobufjs-cli":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.1.3_1768689333782_0.5547449772941624","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@i.un/api-client","version":"1.1.4","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.1.4","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"716d705bbc6498f783bf2bf44aaceb095b9c1bea","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.1.4.tgz","fileCount":34,"integrity":"sha512-2FwX97DXxThZ+V1LARqYcCXGpHHm/M3RLtyTdGymWOtmiSjY+LJwbLErWkSXocQ3nHF4JGLULypzclkPcJ+Ijw==","signatures":[{"sig":"MEYCIQDIJtVQAVe/7fom0Ya2luY29hixse9ZgHTBw54ESHPkrgIhAJdC0DIZD3Xy3Un9EOlIo9Ia1CMoojPpcvjGhV6XGF+L","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":288954},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.mjs","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.mjs","require":"./dist/protobuf.cjs"}},"gitHead":"b209cadf317c09d383906c1e0fea50a55e53f09b","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"pbjs -t static-module -w es6 -o src/secure.js src/secure.proto && pbts -o src/secure.d.ts src/secure.js"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","protobufjs-cli":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.1.4_1768698522903_0.7683834560927332","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@i.un/api-client","version":"1.1.5","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.1.5","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"c3a95f911644cd31e7fdc3a37a3d61c00eff628c","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.1.5.tgz","fileCount":34,"integrity":"sha512-R2RfQB0gMA0jRxs38I7sE4IVPcvGOD97DVTettjkqzpAabhJqttbg+PwHxSN7ZYVwHzhJv+hBwcnymk876e5Ag==","signatures":[{"sig":"MEUCIAO+XJcBObZr1502LtJ8UBt3VFkmh/ZgOM2oKnpNWSHjAiEAr4Rtm5nEdQzd7Bd/T6rmeLA0mnTtQV8ZAutxeVS8HWQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":287885},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.mjs","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.mjs","require":"./dist/protobuf.cjs"}},"gitHead":"49d3dea491a0cddd8a64ba9e381c0a92f2462d6d","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"pbjs -t static-module -w es6 -o src/secure.js src/secure.proto && pbts -o src/secure.d.ts src/secure.js"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","protobufjs-cli":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.1.5_1768699768930_0.07402375230143332","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"@i.un/api-client","version":"1.1.6","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.1.6","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"294b7e6838ccc1c463e461262866ce9a2a36ed4f","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.1.6.tgz","fileCount":34,"integrity":"sha512-hTNfGb4b+0WIMGY5G6clWrEiTUiCgLYIbjRwFrg5DCtw3yB/Ntzze1EdRXpAdI3Rp/D12tuybyFRDulg36xuLg==","signatures":[{"sig":"MEUCIQCRYOH52Do89aIKsqcUk0X1gLqZ7nsdHX06bLWJgUU5TwIgIsH9rqkFOCwRkW6Oh1EKDEgWch0zanj0vBIGAH4MdFI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":287923},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.mjs","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.mjs","require":"./dist/protobuf.cjs"}},"gitHead":"db9fd7ca7855c85f7b18e3f774ff122d353bc5d7","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"pbjs -t static-module -w es6 -o src/secure.js src/secure.proto && pbts -o src/secure.d.ts src/secure.js"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","protobufjs-cli":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.1.6_1768700673357_0.0973028962041651","host":"s3://npm-registry-packages-npm-production"}},"1.1.7":{"name":"@i.un/api-client","version":"1.1.7","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.1.7","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"d2dcbad3ea7fb03d43951dce61c09c3b73434988","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.1.7.tgz","fileCount":34,"integrity":"sha512-MZowNpWXvhUPcLoNSXBewDqpmxptzIgmuHT5n2sV2GHmvD18z2hAK5CG9Y9XdQWj9kH91ZSN5V90iO3U3Mmm4A==","signatures":[{"sig":"MEYCIQCoVs0UyDlSJr11oGIVCRheQD2krHGb3Frv7iOkg9l0GgIhAIw3NJ2UUDKuoEDBzOldk7p492KwDeoAlE4WoUApVQY+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":285813},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.mjs","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.mjs","require":"./dist/protobuf.cjs"}},"gitHead":"de1c680b552ca7901f1fe0f17316c48264963320","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"pbjs -t static-module -w es6 -o src/secure.js src/secure.proto && pbts -o src/secure.d.ts src/secure.js"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","protobufjs-cli":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.1.7_1768702014157_0.36486457687653284","host":"s3://npm-registry-packages-npm-production"}},"1.1.8":{"name":"@i.un/api-client","version":"1.1.8","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.1.8","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"107546ae2c0c0d9b84f5dc38c1890e148a70b1a5","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.1.8.tgz","fileCount":34,"integrity":"sha512-yOH8Gc7LHlHdANomC2b2T0NIFXDcfQGiUL9gf5UzHVuIc9PiRA+zJkije0g2MxMPs16ymAIqi9UZ5jLNB2MGng==","signatures":[{"sig":"MEUCIQCGVZJXpnpJvzbvhy1D7zYesLsQYF6mMv2PQ0RgfoWBsgIgDDed0u7Tpn+EA9sUu84jGvbfn6BDJpZwBkG1t5hypQM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":281470},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.mjs","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.mjs","require":"./dist/protobuf.cjs"}},"gitHead":"c1f9e9b9d24f227209491f45a814b48aa916ceed","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"pbjs -t static-module -w es6 -o src/secure.js src/secure.proto && pbts -o src/secure.d.ts src/secure.js"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","protobufjs-cli":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.1.8_1768735869921_0.48861440816264956","host":"s3://npm-registry-packages-npm-production"}},"1.1.9":{"name":"@i.un/api-client","version":"1.1.9","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.1.9","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"9086a33943c8725591303e0eecc20e9ccb3d564d","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.1.9.tgz","fileCount":34,"integrity":"sha512-+lbRzVeV0l9Oj7XUh2tub/45fF5UAxvSHkxqF2FUfsLDKPdDtcrm42nufhhiPzk2/vDk8PiRIqNPRZQBlltlag==","signatures":[{"sig":"MEUCIHAiPGRzCAGaGLZhSIg9+e6GOY1h7LhCnUMeJc/vrICxAiEAggIDNWPVajYNZFdsg7PwRlxXXT6AyZdlbkjjha1NWcI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":281482},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.mjs","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.mjs","require":"./dist/protobuf.cjs"}},"gitHead":"e1db7a17eff4b735e2997f2a38481e0a5b322442","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"pbjs -t static-module -w es6 -o src/secure.js src/secure.proto && pbts -o src/secure.d.ts src/secure.js"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","protobufjs":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","protobufjs-cli":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.1.9_1768737460452_0.13070689138711944","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@i.un/api-client","version":"1.2.0","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.2.0","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"1bdd5508e70e2732fd89ef31dbb19684d399f0a4","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.2.0.tgz","fileCount":34,"integrity":"sha512-q/nyTFG0PmfiYGMUaoe0O3SsjE13AOPZoK2Qu45wOZ1C7g+mHiqIb6jjm902K0ClHddPLJdC1aDnDdoaK/N7LA==","signatures":[{"sig":"MEUCIHp3igNmo/PCbd1gbJ5uPXGW5Gp5bwmnlXMyCnm1mjBAAiEA9+4oPV+GKQqxXiWTiVAs4G/rcSHAA+lwwDrHxn5PCYM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":214618},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.mjs","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.mjs","require":"./dist/protobuf.cjs"}},"gitHead":"ae0ef7e659f6afe11eff3d884d74ea482be897cf","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src/secure.proto && mv src/gen/src/secure_pb.ts src/gen/secure_pb.ts && rm -rf src/gen/src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"11.6.1","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.2.0_1768739528555_0.6524539013411468","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@i.un/api-client","version":"1.2.1","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.2.1","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"b7021d9ef2646cc1d3d3a064835af24a6c0e431b","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.2.1.tgz","fileCount":34,"integrity":"sha512-pQeXtfiJ4KDNmxTYGoV8jVSO/q0DnSYQXUzVrJKGZFFH6V73nq/Pszt4LQFnky2eEmSed+azS7PWT1OuGfD6Vw==","signatures":[{"sig":"MEQCIHfmNCkGUv0w+XXeicqSC49uOnuCj9GvufO4awodETisAiA7C8OlhWT5iTkm9gUC2xvccYhNm6M49UQVt75djRkRQQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":215680},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.mjs","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.mjs","require":"./dist/protobuf.cjs"}},"gitHead":"18d037d828bfadcbd827e0abdf6c11c25bf5ab72","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.2.1_1768742867300_0.3543048423322277","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@i.un/api-client","version":"1.2.2","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.2.2","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"df63044d130f8c5f4ddbfad804e4f19997b5e8bf","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.2.2.tgz","fileCount":34,"integrity":"sha512-o9UDDeZXVDNVy1LK7Mu+zKn6HplgrxxMNcJOm1monz3fAI1787K18BvheUpQq2WWdBRvBGJuQCc19oFXNPmFPA==","signatures":[{"sig":"MEUCIDAKnMKrdHA+KOShWJ3eiKWwUVY9Qb7e8652CfrVXVa9AiEA76RVNB1JaF/zfvXCffR+NJTgeRnX+ru52an1mhKxlkI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":215680},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.mjs","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.mjs","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.mjs","require":"./dist/protobuf.cjs"}},"gitHead":"6d0184b4060f172190d0a54b62e1097de48a887a","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.2.2_1768742915810_0.3113005983504522","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@i.un/api-client","version":"1.2.3","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.2.3","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"03a1f13d25d3b60fa542529e1e30f6209fa1aa35","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.2.3.tgz","fileCount":34,"integrity":"sha512-vtUIOFVJGJ+kHUmnFHB1dJJi98lmPFIY/crIs/v+YKZk1PQg2l7OEAaZRW0bgkWCVfpymtUPgCSfJD30a3EyLA==","signatures":[{"sig":"MEQCIH6dZ2+10cejFar8bCiEM8dcbyGazrZGnZuzDo8ynsiXAiBLC5q4ddjXCVA9LVzGUu7KX3yNdsLwc7eIzlyGK/cOMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":215628},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"f0240d08dae2ec88d5dbfdd08319a4cf3963812a","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.2.3_1768790298395_0.05100538103956542","host":"s3://npm-registry-packages-npm-production"}},"1.2.8":{"name":"@i.un/api-client","version":"1.2.8","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.2.8","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"da748e169312b56c555b0bae2911f51b0eea400f","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.2.8.tgz","fileCount":34,"integrity":"sha512-ZNID8TxF0RBG2os9ByQz7keyzPXBzKUDQMLCn8QBoUdV/0FP8F4A/8w+Bbdt/MHDN2YSzgomPdzTQ4Nbp42xIA==","signatures":[{"sig":"MEYCIQDGHDJdDkLZgn+zDyS0l60w4J/KQbcLKYLQ/DnzKaX84QIhALTpfzpWobCUYKruJu3715qmNI6wNK6+f5wKg8wp+JmU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":215628},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"e0a691cc80288e97a581e2cc74e7112cb29b2943","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.2.8_1768791000354_0.11327099837096255","host":"s3://npm-registry-packages-npm-production"}},"1.2.9":{"name":"@i.un/api-client","version":"1.2.9","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.2.9","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"1643bd5ffd57a094446f6fbf3417f97a1c978f0c","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.2.9.tgz","fileCount":34,"integrity":"sha512-7FT0VovGzo9s/PvxUEiWgqHGx6ZxoYfrMGZPL1PpIy6e3dP8kr0D5HTShZaT+QK9v176BuDWpz5BWG27pvjCEw==","signatures":[{"sig":"MEUCICz7WXE1kNi5INDjyxLt4yvb+NMIXXgTnislUNGTu54qAiEAy7ct7i1xpdF8ZbmQtaUvHK2Jab82mpYi4X06sVP2kLI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":223928},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"75cea1314b4d7f9cd67cea9088e03f962cab2730","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.2.9_1768874940297_0.12030063431671079","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@i.un/api-client","version":"1.3.0","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.3.0","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"95b922948986cd5a7c5fd78bf0aeaad9bb1746da","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.3.0.tgz","fileCount":34,"integrity":"sha512-RQcFpNbhccjReMQNpjWIFdyyur1QsuCAud2UV6o9g4uN5T+m0QRby1gQvNOWT3CzgbIoP3r1SM9pvWhXhj1HLw==","signatures":[{"sig":"MEUCIQCT8MGp4rjlaGfg/pAyAoom9iIBWo/Y1j8AAJc94BCkKwIgY0aw04CoR64gHwZ+Fo08pE6QOhk7Q8LliBHnx3+e1VU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":229603},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"a16f41b1601b3545708a2834351870ea3f8668b4","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.3.0_1768892245372_0.6078790086550709","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@i.un/api-client","version":"1.3.1","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.3.1","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"dbfeda283387cf52aaca46155380c69061cdab12","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.3.1.tgz","fileCount":34,"integrity":"sha512-C7kVyP4zTUfnWAwW9y8/VJAzIZ/xYTVbhQZHWiS71w2/LltB3qDQkq89dwYCjlWeG5WberTseIq4m6JnTITEdQ==","signatures":[{"sig":"MEUCIQDlFObGopus7tcewubcMwSfZHiOdDj/xuPr5XuckFAKbQIgfqunjS+6PmuAJZNDo5MvEZ1ap4JzKaFDvhg+vxiNpN0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":229684},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"bcff58545e35216fa7a4f021a1a96294cab76b49","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.3.1_1769073975876_0.5587736699825456","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@i.un/api-client","version":"1.3.2","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.3.2","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"cfc65a213530312ce0d621c2d54b45ef4a08ecbf","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.3.2.tgz","fileCount":34,"integrity":"sha512-nTFwAq6YoT4vlBqPKa2eHTQzyzwAMm+itgwxNwq7GOHsP0j17BdRP068i3lX5ujKn3Pb5iL8PNc+I4tMzXef+Q==","signatures":[{"sig":"MEUCIBQAAGQj0ZQ4zKfEoxMgU6RZJhUFwzcN7WJ6xi9tihp0AiEA3m65ELHBpMJP/1OeAL2viKbLIaZR5dBIYCex+Mhy290=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":237918},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"a6f9429fadfe64b67bb79459ec87b0ea2c5820e7","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.3.2_1769079560322_0.21857712793342343","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@i.un/api-client","version":"1.3.3","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.3.3","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"e0a6bfd240a1072ffb11b340f4c75890f27b40ab","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.3.3.tgz","fileCount":34,"integrity":"sha512-qBU6YnMjGD67qCFpGF24zu7WHDfrGxcmx/BV1HvtdvVu5U0C76+KBvARKIkcQEDdVVF/Tl00Jw0KHq4vc7/5GQ==","signatures":[{"sig":"MEQCIA7vhje83FCFxhH04SOwG1ZwPaSU5+vq20BOrenxU7NhAiBtCtyM1YFVz5RGa8BRUlLy7PIHQ5KD7NYPr6EZ+IVbtg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":237630},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"b43119ff87fbb359fb33e46337b550ebdf1f141b","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.3.3_1769139399247_0.3565073106880594","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@i.un/api-client","version":"1.3.4","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.3.4","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"ae3d29c2e05dde9a7d78d5cb1b2e3584eab92867","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.3.4.tgz","fileCount":34,"integrity":"sha512-PL4TLRwEvh2FLm09y01BSQ59nHlTkQyinJuE76nN1ZY5WWzAgoQ8+WTzS+ILB1YrVuMr/kV1zlnZ9IXSk44/1w==","signatures":[{"sig":"MEMCIH+lv9w5nUvVQ8Ypf7/b6gAPwWzLEZWae7FWrHUuA4k/Ah9ioXagevPCKegA9u1Giprad9M9v0twrmrQKBpbSX1/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":238830},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"64500f4af13a9dc923bcccf62699223cec2df0b1","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.3.4_1769161919517_0.6500276652134773","host":"s3://npm-registry-packages-npm-production"}},"1.3.5":{"name":"@i.un/api-client","version":"1.3.5","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.3.5","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"28ff77b8edd02bbdb7a7fcdfab1e971045a58936","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.3.5.tgz","fileCount":34,"integrity":"sha512-WhoiRU9bruvhbMJ5DdwM5bXbzy+psT+EW/29FEYazR5eQT0Se2/O1E/P/vE4V1ceCKoULWvsM3QvQKbut+v8OQ==","signatures":[{"sig":"MEYCIQCobet2uGAvBqfEzCezZu8pjZCrQV1SmfJwWXld4n1z+wIhAKo9H7Uw3AT3SIsjFz3gWR1YjxDIPvtFDTyD6eydInt6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":238830},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"267de7dc0db691733b1cb0ccb3916a615806dfdf","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.3.5_1769162058870_0.4486583639326627","host":"s3://npm-registry-packages-npm-production"}},"1.3.6":{"name":"@i.un/api-client","version":"1.3.6","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.3.6","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"6bd4081c0fcdc3dd3eec50c8d4235f639c73e968","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.3.6.tgz","fileCount":34,"integrity":"sha512-/Y85oQNx8KPkOXSaPyfOlwBfGie+QiVduhfH0pMSdLGOIjacQz4tzAh5daCF1sfORK/rpShDb4qK4/MQLn5WVQ==","signatures":[{"sig":"MEUCIQCGub/c4MDFruj24y0VlfBkVULJ7I6nndZ6YbDl+sY+uwIgdwJGRgGzRY6TfvN/7OhWv4m7EFR+KuwSsiOzjJKXqw8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":238906},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"e7117bb9d5da11c63090bbcab979f098460072a3","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"zhyswan","email":"www.nova@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.3.6_1769162535550_0.3939993611314889","host":"s3://npm-registry-packages-npm-production"}},"1.3.7":{"name":"@i.un/api-client","version":"1.3.7","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@1.3.7","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"3b4e72c23cc26f054b6181dc11a2a395b55714cc","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-1.3.7.tgz","fileCount":34,"integrity":"sha512-uIusrxwWlXuLjqkE+fvvVRL80xT+sLPgW2bxzMYJKElFzEFcAtPGs/Ih/a+QF23FV2c3vqTJS27kVLwDcZaU7A==","signatures":[{"sig":"MEQCIEDg/QUz6OIRXwuN/3D9Rds4ax96HRJEPpu9TQcWDAfCAiArUaqCEKjOJhngfBUxja4T0w4b+HKNmgIAC7JJa3evhQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":239595},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"96f847b713ea4ada9795bf259e64e11a27c8f115","scripts":{"build":"tsup","clean":"rm -rf dist","build:watch":"tsup --watch","proto:generate":"buf generate src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:edd894d3-20ba-4a93-b39c-513e35dd142e"}},"repository":{"url":"","type":"git"},"_npmVersion":"11.11.0","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{"ofetch":">=1.4.0","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.3.7_1776827632420_0.7396896042739127","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@i.un/api-client","version":"2.0.0","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@2.0.0","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"","dist":{"shasum":"06fe61ad94486ed5173b1ca8af4e7a022687cb4b","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-2.0.0.tgz","fileCount":41,"integrity":"sha512-NguNMLiiK6NwsPcxsFnpYeDGZQlgBQQ+vvPMNzs1bNbgX/v44OQGM4PiN0uzRd5NyNIFIy4Au0pOMu0pw5HyJQ==","signatures":[{"sig":"MEUCIQCG9VYNa/U4IAvm9czkH167MlSFVKBjaDrFO/QFqzIOogIgLOAPXL28GCbzXpimku+e6YIDKmj9Zz4u4teCXlhlhqc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":263803},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"00a26f2f42eb9c7592ed36740d25eb47b6aca298","scripts":{"test":"vitest run --typecheck","build":"tsup","clean":"rm -rf dist","test:watch":"vitest watch --typecheck","build:watch":"tsup --watch","prepublishOnly":"pnpm test && pnpm build","proto:generate":"buf generate src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:edd894d3-20ba-4a93-b39c-513e35dd142e"}},"repository":{"url":"","type":"git"},"_npmVersion":"11.13.0","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","dependencies":{"ofetch":">=1.4.0","@i.un/openapi-kit":"^0.1.1","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^4.1.7","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_2.0.0_1780196650718_0.9902492624732382","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@i.un/api-client","version":"2.0.1","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@2.0.1","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"https://github.com/zhyswan/api-client#readme","bugs":{"url":"https://github.com/zhyswan/api-client/issues"},"dist":{"shasum":"620d3ed21a8c92b3aa2e13bb9349f34074932224","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-2.0.1.tgz","fileCount":27,"integrity":"sha512-dIudPYFeoeUqnhi6ZM4gBMYXxV/IOTkY2EdXCuub4t/0JVCjYJXp+C3Jt4a4lE+pYO3IosqSuDrkOi/Tl/KcZA==","signatures":[{"sig":"MEUCIQDW1sKoKkDe7lflrO+LWfvM/g+ATmG84aie/EHsmCEHMAIgSTbzVQaGLn1Xl0jifSTUPo7GD3FsYLU/14TGYPiGMBs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112827},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"a48e8b2ae615155bee205e11ebc363680028effc","scripts":{"test":"vitest run --typecheck","build":"tsup","clean":"rm -rf dist","test:watch":"vitest watch --typecheck","build:watch":"tsup --watch","prepublishOnly":"pnpm test && pnpm build","proto:generate":"buf generate src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:edd894d3-20ba-4a93-b39c-513e35dd142e"}},"repository":{"url":"git+https://github.com/zhyswan/api-client.git","type":"git"},"_npmVersion":"11.13.0","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","dependencies":{"ofetch":">=1.4.0","@i.un/openapi-kit":"^0.1.1","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^4.1.7","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_2.0.1_1780236551526_0.8451920256049628","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@i.un/api-client","version":"2.0.2","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@2.0.2","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"https://github.com/zhyswan/api-client#readme","bugs":{"url":"https://github.com/zhyswan/api-client/issues"},"dist":{"shasum":"71ad6b85a716ee3fdc0f32e3aa5072da7e13b205","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-2.0.2.tgz","fileCount":27,"integrity":"sha512-mhCrZcjIxdsk7tqzN/eNw/hum9fi+fNVuiCJGXoviiTqxAAhePDHzcAzb+5PPNHWsBtAtyTlN6Nvwt3M2/fK0A==","signatures":[{"sig":"MEYCIQCyTL2GHVLiFVhs9+DMePJx1v7XoC77k6stjeH1tSyMLwIhAOEwhyH5vlmehh93EPSVLL6By+OKOIg5vbcLwq5a/wPq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":114350},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"09eda0564fdc09f0bb79f4840608f67472bbfffd","scripts":{"test":"vitest run --typecheck","build":"tsup","clean":"rm -rf dist","test:watch":"vitest watch --typecheck","build:watch":"tsup --watch","prepublishOnly":"pnpm test && pnpm build","proto:generate":"buf generate src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:edd894d3-20ba-4a93-b39c-513e35dd142e"}},"repository":{"url":"git+https://github.com/zhyswan/api-client.git","type":"git"},"_npmVersion":"11.13.0","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","dependencies":{"ofetch":">=1.4.0","@i.un/openapi-kit":"^0.1.1","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^4.1.7","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_2.0.2_1780276351168_0.7679070287847238","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@i.un/api-client","version":"2.0.3","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@2.0.3","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"https://github.com/zhyswan/api-client#readme","bugs":{"url":"https://github.com/zhyswan/api-client/issues"},"dist":{"shasum":"17fac8b4995430306835b0a49574786bd09e36ac","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-2.0.3.tgz","fileCount":27,"integrity":"sha512-iOTGERenMlibZn8m2LxBhDaVM6iMwGX17mGbfa9izCnU5CjpXMo53bt0/OEYXqpQOSSeG63TbvwoL8ykek1u1g==","signatures":[{"sig":"MEUCIHKgUOzv+b7fveDz5U/gLBhM+WuuUdV8MLf9ZeXBPoXMAiEA3c0hMdx/e53TyaEcOFG0vNVfop0Z4wdD8L1wSmC9lCk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":115837},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"6337650a4b575270475087c170a4646cec9ae938","scripts":{"test":"vitest run --typecheck","build":"tsup","clean":"rm -rf dist","test:watch":"vitest watch --typecheck","build:watch":"tsup --watch","prepublishOnly":"pnpm test && pnpm build","proto:generate":"buf generate src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:edd894d3-20ba-4a93-b39c-513e35dd142e"}},"repository":{"url":"git+https://github.com/zhyswan/api-client.git","type":"git"},"_npmVersion":"11.16.0","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"ofetch":">=1.4.0","@i.un/openapi-kit":"^0.1.1","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^4.1.7","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_2.0.3_1784707341743_0.19121937118913435","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@i.un/api-client","version":"3.0.0","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@3.0.0","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"https://github.com/zhyswan/api-client#readme","bugs":{"url":"https://github.com/zhyswan/api-client/issues"},"dist":{"shasum":"d99ad731ee5a5efb9274955759195f591c8b9abc","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-3.0.0.tgz","fileCount":27,"integrity":"sha512-hH99luzGF13E5iLKeGVKFlNmbuYG64ZaNXQNPBPGVVtqZ9EqwEW3Dn651hfqfu+Se/qELbNrH4KyG6ff3cVAtA==","signatures":[{"sig":"MEQCIGy7Zp+f7zP/u81AZ5/DbCM5xfQtyVS19DlUnuSMJigMAiAoKmqW8qskOLgCOM5KBMwjO3KjVxM9aXGW+jiSEoy/Vw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122106},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"f89febc2d45e52e055d100fe93bbacd4ca7bf0b3","scripts":{"test":"vitest run --typecheck","build":"tsup","clean":"rm -rf dist","test:watch":"vitest watch --typecheck","build:watch":"tsup --watch","prepublishOnly":"pnpm test && pnpm build","proto:generate":"buf generate src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:edd894d3-20ba-4a93-b39c-513e35dd142e"}},"repository":{"url":"git+https://github.com/zhyswan/api-client.git","type":"git"},"_npmVersion":"11.19.0","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"ofetch":">=1.4.0","@i.un/openapi-kit":"^0.1.1","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^4.1.7","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_3.0.0_1788429183341_0.6802463193222714","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@i.un/api-client","version":"4.0.0","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","_id":"@i.un/api-client@4.0.0","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"homepage":"https://github.com/zhyswan/api-client#readme","bugs":{"url":"https://github.com/zhyswan/api-client/issues"},"dist":{"shasum":"5ffd6893a7e2fb73e1233caf93099ac596c30ac8","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-4.0.0.tgz","fileCount":27,"integrity":"sha512-YH7OwDbBL0SnkC/hrOZ98DI3tqVQzzqOSZWMPCRoFz4o9unZkd0+Mr86QQir21z41+peRTZXF8FOs5Iblw01pQ==","signatures":[{"sig":"MEYCIQDObgdDntf0upJxMjCkC3GqO8ZxLRMoXdrqRIVIkmuUgAIhAPIRi7ia6MKkRkhx96WTQnL5yJWnWqT/Zs0pN210BL8Y","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":123117},"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","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"994a8733dbfe11de70fc2c6ca9eca40c31640034","scripts":{"test":"vitest run --typecheck","build":"tsup","clean":"rm -rf dist","test:watch":"vitest watch --typecheck","build:watch":"tsup --watch","prepublishOnly":"pnpm test && pnpm build","proto:generate":"buf generate src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:edd894d3-20ba-4a93-b39c-513e35dd142e"}},"repository":{"url":"git+https://github.com/zhyswan/api-client.git","type":"git"},"_npmVersion":"11.17.0","description":"Universal API client for i.un services","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"ofetch":">=1.4.0","@i.un/openapi-kit":"^0.1.1","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^4.1.7","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"tmp":"tmp/api-client_4.0.0_1788431004948_0.08037634301808061","host":"s3://npm-registry-packages-npm-production"}},"4.0.1":{"_id":"@i.un/api-client@4.0.1","bugs":{"url":"https://github.com/zhyswan/api-client/issues"},"dist":{"shasum":"2b5f53996da4d37aeb64db27d745c330f59c4e87","tarball":"https://registry.npmjs.org/@i.un/api-client/-/api-client-4.0.1.tgz","fileCount":27,"integrity":"sha512-vJYPRTu8p/frB3gXhAHm1B3WlzPGmyzB+IeJbHr/Qi4EUlESHZW+z5bQCpEup9OeV7Jp3Kt+Gs/tGUiRf1+xVw==","signatures":[{"sig":"MEQCIBewpXSCE6Dc5LCrpvC7r06LfyN6udd6uLLEp0Ak3G0LAiA0RVyZhiUoH+qUuk7jJeg7/3nLAutC77QfTmwMF+29tw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICgMkZH66kE2uwLFHz7qS/KpJrOMM5oS36JUWQJNjqrRAiBImxYAtzs/UEcSFUguqPO1kohJbPdpfgLLo3dOP1zv5w=="}],"unpackedSize":123835},"main":"dist/index.cjs","name":"@i.un/api-client","type":"module","types":"dist/index.d.ts","author":{"name":"nova","email":"www.nova@gmail.com"},"module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./chain":{"types":"./dist/chain.d.ts","import":"./dist/chain.js","require":"./dist/chain.cjs"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js","require":"./dist/client.cjs"},"./protobuf":{"types":"./dist/protobuf.d.ts","import":"./dist/protobuf.js","require":"./dist/protobuf.cjs"}},"gitHead":"72cc31cd1a884bc94fb9a7be210f7855e154e336","license":"MIT","scripts":{"test":"vitest run --typecheck","build":"tsup","clean":"rm -rf dist","test:watch":"vitest watch --typecheck","build:watch":"tsup --watch","prepublishOnly":"pnpm test && pnpm build","proto:generate":"buf generate src"},"version":"4.0.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"edd894d3-20ba-4a93-b39c-513e35dd142e"}},"homepage":"https://github.com/zhyswan/api-client#readme","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"repository":{"url":"git+https://github.com/zhyswan/api-client.git","type":"git"},"_npmVersion":"11.19.0","description":"Universal API client for i.un services","directories":{},"maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"ofetch":">=1.4.0","@i.un/openapi-kit":"^0.1.4","@bufbuild/protobuf":"^2.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^4.1.7","typescript":"^5.6.0","@bufbuild/buf":"^1.63.0","@bufbuild/protoc-gen-es":"^2.10.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/api-client_4.0.1_1790814520642_0.23068631306833454"}}},"time":{"created":"2025-12-07T10:04:44.070Z","modified":"2026-10-01T00:28:40.895Z","0.1.0":"2025-12-07T10:04:44.277Z","1.0.0":"2025-12-07T14:48:26.993Z","1.0.1":"2025-12-08T02:22:02.347Z","1.0.2":"2025-12-08T13:08:56.606Z","1.0.3":"2026-01-05T03:09:23.498Z","1.0.4":"2026-01-16T06:55:23.683Z","1.0.5":"2026-01-16T07:58:57.226Z","1.0.6":"2026-01-16T08:02:56.607Z","1.0.7":"2026-01-16T12:54:26.228Z","1.0.8":"2026-01-17T05:22:36.048Z","1.0.9":"2026-01-17T07:04:53.388Z","1.1.0":"2026-01-17T10:35:21.225Z","1.1.1":"2026-01-17T13:47:44.374Z","1.1.2":"2026-01-17T14:01:43.454Z","1.1.3":"2026-01-17T22:35:33.943Z","1.1.4":"2026-01-18T01:08:43.042Z","1.1.5":"2026-01-18T01:29:29.088Z","1.1.6":"2026-01-18T01:44:33.497Z","1.1.7":"2026-01-18T02:06:54.317Z","1.1.8":"2026-01-18T11:31:10.064Z","1.1.9":"2026-01-18T11:57:40.656Z","1.2.0":"2026-01-18T12:32:08.708Z","1.2.1":"2026-01-18T13:27:47.445Z","1.2.2":"2026-01-18T13:28:35.964Z","1.2.3":"2026-01-19T02:38:18.534Z","1.2.8":"2026-01-19T02:50:00.497Z","1.2.9":"2026-01-20T02:09:00.451Z","1.3.0":"2026-01-20T06:57:25.518Z","1.3.1":"2026-01-22T09:26:16.059Z","1.3.2":"2026-01-22T10:59:20.474Z","1.3.3":"2026-01-23T03:36:39.416Z","1.3.4":"2026-01-23T09:51:59.692Z","1.3.5":"2026-01-23T09:54:19.013Z","1.3.6":"2026-01-23T10:02:15.698Z","1.3.7":"2026-04-22T03:13:52.567Z","2.0.0":"2026-05-31T03:04:10.851Z","2.0.1":"2026-05-31T14:09:11.668Z","2.0.2":"2026-06-01T01:12:31.281Z","2.0.3":"2026-07-22T08:02:21.892Z","3.0.0":"2026-09-03T09:53:03.473Z","4.0.0":"2026-09-03T10:23:25.114Z","4.0.1":"2026-10-01T00:28:40.745Z"},"bugs":{"url":"https://github.com/zhyswan/api-client/issues"},"author":{"name":"nova","email":"www.nova@gmail.com"},"license":"MIT","homepage":"https://github.com/zhyswan/api-client#readme","keywords":["api","client","chain","fetch","ts","sdk","refresh-token","token","access-token"],"repository":{"url":"git+https://github.com/zhyswan/api-client.git","type":"git"},"description":"Universal API client for i.un services","maintainers":[{"name":"zhyswan","email":"www.nova@gmail.com"}],"readme":"# Api Client\n\n> 基于 `ofetch` 的轻量 HTTP 客户端,可选用 OpenAPI spec 驱动端到端类型。\n> A lightweight HTTP client built on `ofetch`, with optional end-to-end types driven by your OpenAPI spec.\n\n- 自动注入 `Authorization` token / Automatic `Authorization` token injection\n- 单飞(single-flight)的可选 token 刷新 / Optional single-flight token refresh\n- 统一的成功 / 错误处理,协议可配 / Unified success / error handling, configurable protocol\n- **可选:用 openapi-typescript 的 `paths` 做端到端类型** —— endpoint 补全、query / body / path 参数与响应全部从 spec 推导 / **Optional: end-to-end types from an openapi-typescript `paths`** — endpoint autocomplete, query / body / path params and responses all inferred\n- 还内置:请求链编排(chain)、Protobuf 安全传输 / Also bundled: request-chain orchestration, Protobuf secure transport\n\n浏览器、Node、浏览器扩展、Cloudflare Workers 均可用。\nWorks in browsers, Node, browser extensions, and Cloudflare Workers.\n\n---\n\n## 安装 / Installation\n\n```bash\nnpm install @i.un/api-client\n# or\npnpm add @i.un/api-client\n# or\nyarn add @i.un/api-client\n```\n\n> 包名 / Package name: `@i.un/api-client`\n\n---\n\n## 快速上手 / Quick Start\n\n```ts\nimport { createApiClient, type TokenStorage } from \"@i.un/api-client\";\n\n// 1. 提供 TokenStorage(token 从哪读 / 存到哪)\n//    Provide a TokenStorage (where to read / store the token)\nconst tokenStorage: TokenStorage = {\n  async getAccessToken() {\n    return localStorage.getItem(\"access_token\") || \"\";\n  },\n  async setAccessToken(token: string) {\n    localStorage.setItem(\"access_token\", token);\n  },\n};\n\n// 2. 创建 client(不带 spec:响应为 unknown,用 <T> 指定,兼容旧用法)\n//    Create a client (no spec: responses are unknown; pass <T> — legacy-compatible)\nconst client = createApiClient({\n  baseURL: \"https://api.example.com\",\n  tokenStorage,\n  refreshToken: \"/auth/refresh\", // token 刷新端点 / token-refresh endpoint\n});\n\n// 3. 调用(两段式:url + options)/ Call it (two-arg: url + options)\nconst user = await client.get<{ name: string }>(\"/user/profile\");\nconst updated = await client.post<{ ok: boolean }>(\"/user/profile\", {\n  body: { name: \"foo\" },\n});\n```\n\n> **2.0 起接口为两段式 `(url, options)`** —— `query` / `path` / `body` 都放进 `options`。\n> **Since 2.0 the shape is two-arg `(url, options)`** — `query` / `path` / `body` all live in `options`.\n> 见下方「迁移」/ see \"Migration\" below.\n\n---\n\n## 用 OpenAPI spec 强类型 / Typed against your OpenAPI spec\n\n传入 openapi-typescript 生成的 `paths`,即可获得**端到端类型**:endpoint 自动补全、`query` / `path` / `body` 与响应全部从 spec 推导,无需手写类型或 `<T>`。\nPass the `paths` produced by openapi-typescript to get **end-to-end types**: endpoint autocomplete, plus `query` / `path` / `body` and responses inferred from the spec — no hand-written types or `<T>`.\n\n```ts\nimport { createApiClient } from \"@i.un/api-client\";\nimport type { paths } from \"./api\"; // openapi-typescript 生成 / generated by openapi-typescript\n\n// 默认:通用库,如实返回后端响应(不解包)\nconst api = createApiClient<paths, \"/api\">({\n  baseURL: \"https://api.example.com/api\",\n  tokenStorage,\n});\n\nconst me = await api.get(\"/me\");                          // 响应 = 后端原样返回\nconst u  = await api.get(\"/users/{id}\", { path: { id } }); // path 参数类型安全 + 运行时拼接\nawait api.post(\"/users\", { body: { name: \"foo\" } });       // body 类型来自 spec\nawait api.get(\"/users\", { query: { page: 1 } });           // query 类型来自 spec\n\n// 信封后端({ code, data, message }):显式 opt-in 解包,自动剥出 data\n// Envelope backend: opt in to unwrapping, the data field is peeled automatically\nconst envApi = createApiClient<paths, \"/api\", \"data\">({\n  baseURL: \"https://api.example.com/api\",\n  tokenStorage,\n  dataKey: \"data\",\n});\nconst user = await envApi.get(\"/me\");                      // 响应 = 解包后的 data\n```\n\n### 三个泛型轴 / The three generic axes\n\n`createApiClient<Paths, Prefix, DataKey>`\n\n| 泛型 / Generic | 含义 / Meaning | 默认 / Default |\n| --- | --- | --- |\n| `Paths` | openapi-typescript 的 `paths`;`unknown` = 未类型化(回退到 `<T>(url)`)/ the `paths`; `unknown` = untyped | `unknown` |\n| `Prefix` | 从 spec key 剥掉的前缀,对应 `baseURL` 的路径段 / prefix stripped from spec keys, matching the `baseURL` path segment | `''` |\n| `DataKey` | `never`(默认)= 不解包,如实返回;传字段名(如 `'data'`)= 解包该字段 / `never` (default) = no unwrap; a field name = unwrap it | `never` |\n\n> 例:`baseURL` 为 `https://x.com/api`、spec key 为 `/api/me`,则 `Prefix='/api'`,调用传去前缀的 `/me`。\n> e.g. with `baseURL` `https://x.com/api` and spec key `/api/me`, set `Prefix='/api'` and call `/me`.\n\n> **默认不解包** —— api-client 是通用库,不假设后端协议。要解包 `{ code, data, message }` 信封,显式传 `DataKey` 字段名 + 运行时 `dataKey`(类型会**强制二者一致**:自定义字段名时 `dataKey` 必填且必须 === `DataKey`)。\n> **No unwrap by default** — api-client is a universal client and assumes nothing about your backend. To unwrap a `{ code, data, message }` envelope, pass a `DataKey` field name plus the runtime `dataKey` (the type **enforces they match**: with a custom field name `dataKey` is required and must === `DataKey`).\n\n### 生成 spec / Generate the spec\n\n```bash\nopenapi-typescript https://api.example.com/api/docs-json -o ./api.ts\n```\n\n### 在项目侧组装短别名 / Build project-side aliases\n\n类型内核来自 [`@i.un/openapi-kit`](https://www.npmjs.com/package/@i.un/openapi-kit),已由本包**原样再导出**(`ResponseFor` / `QueryFor` / `BodyFor` / `AllPaths` / `MethodsFor` / `DefaultMethod` / `ApiKit` …)。你可以在项目里组装短别名:\nThe type core comes from [`@i.un/openapi-kit`](https://www.npmjs.com/package/@i.un/openapi-kit) and is **re-exported as-is** here (`ResponseFor` / `QueryFor` / `BodyFor` / `AllPaths` / `MethodsFor` / `DefaultMethod` / `ApiKit` …). Assemble short aliases in your project:\n\n```ts\nimport type {\n  ResponseFor, BodyFor, QueryFor, AllPaths, MethodsFor, DefaultMethod,\n} from \"@i.un/api-client\";\nimport type { paths } from \"./api\";\n\ntype Pfx = \"/api\";\ntype DKey = \"data\";\n\nexport type ApiResponse<\n  P extends AllPaths<paths, Pfx>,\n  M extends MethodsFor<paths, Pfx, P> = DefaultMethod<paths, Pfx, P>,\n> = ResponseFor<paths, Pfx, P, M, unknown, DKey>;\n\nexport type ApiBody<\n  P extends AllPaths<paths, Pfx>,\n  M extends MethodsFor<paths, Pfx, P> = DefaultMethod<paths, Pfx, P, \"post\">,\n> = BodyFor<paths, Pfx, P, M>;\n\n// 用法 / usage:\ntype Me = ApiResponse<\"/me\">;\ntype CreateUser = ApiBody<\"/users\", \"post\">;\n```\n\n> 不传泛型时,`createApiClient(...)` 完全退回未类型化模式:`get<T>(url)` 照旧可用。\n> Without generics, `createApiClient(...)` falls back to untyped mode: `get<T>(url)` works as before.\n\n---\n\n## 响应处理:默认不解包 / Response: no unwrap by default\n\n**默认**,api-client 如实返回后端响应(裸数据、完整信封、`null` / 204 都原样返回) —— 它是通用库,不假设你的后端协议。\n**By default** api-client returns the backend response as-is (raw data, full envelope, `null` / 204 alike) — it's a universal client and assumes nothing about your protocol.\n\n**信封解包是 opt-in。** 如果后端用如下信封 / **Unwrapping is opt-in.** If your backend uses this envelope:\n\n```ts\nexport interface ApiResult<T> {\n  code: number;\n  data: T;\n  message: string;\n}\n```\n\n传字段名开启解包 / pass the field name to enable unwrapping:\n\n```ts\nconst api = createApiClient<paths, \"/api\", \"data\">({ baseURL, tokenStorage, dataKey: \"data\" });\n```\n\n开启后 / Once enabled:\n\n- `code === 0`(成功)→ 返回 `data` 字段。/ on success → returns the `data` field.\n- `code !== 0`(业务失败)→ 抛出 `ApiError`(见下)。/ on business failure → throws `ApiError` (see below).\n- 字段名与成功码都可配:`codeKey` / `messageKey` / `dataKey` / `successCode`(默认 `{ code, data, message }` + `0`)。/ field names & success code are configurable.\n\n> 要整个 client 都拿完整信封,就**不开解包**(默认);要换整套解包/错误逻辑见「高级」。\n> To get full envelopes everywhere, just **don't enable unwrapping** (the default); to replace the whole unwrap / error logic see \"Advanced\".\n\n---\n\n## 错误类型 / Error Type\n\n```ts\nexport interface ApiError extends Error {\n  code: number;   // 业务错误码 / business error code\n  data?: unknown;  // 后端 data 字段 / backend data field\n  status?: number; // HTTP 状态码(网络层错误)/ HTTP status (network-level)\n}\n\nexport const isApiError = (error: unknown): error is ApiError =>\n  error instanceof Error && \"code\" in error;\n```\n\n```ts\ntry {\n  const data = await api.get(\"/some/api\");\n} catch (e) {\n  if (isApiError(e)) {\n    console.log(\"业务错误 / business error\", e.code, e.message, e.data);\n  } else {\n    console.error(\"意外错误 / unexpected error\", e);\n  }\n}\n```\n\n---\n\n## 配置项 / Options: `CreateApiClientOptions`\n\n```ts\nexport interface CreateApiClientOptions {\n  baseURL: string;\n\n  // 可选。不传则不自动注入 Authorization、也不自动刷新 —— 适合无状态 / token 由\n  // onRequest 自行注入的场景(如 Cloudflare Worker 透传用户 token)。\n  // Optional. Omit for stateless / token-injected-in-onRequest setups (e.g. a\n  // Cloudflare Worker forwarding the user's token): no auto-inject, no auto-refresh.\n  tokenStorage?: TokenStorage;\n\n  // 可选:自动 token 刷新 / optional automatic token refresh\n  refreshToken?: (() => Promise<string>) | string | false;\n\n  // 鉴权错误码,默认 isAuthError 据此判定(code 或 status 命中即触发刷新),默认 401\n  // auth code for the default isAuthError (code or status match → refresh), default 401\n  unauthorizedCode?: number;\n\n  // 如何判定鉴权错误(默认 code/status === unauthorizedCode)/ how to detect an auth error\n  isAuthError?: (error: { code: number; status?: number }) => boolean;\n\n  // 信封字段名与成功码(解包模式用)。dataKey 不在此 —— 由 DataKey 泛型 + DataKeyOption 控制\n  // envelope field names & success code (unwrap mode). dataKey lives on the DataKey generic.\n  codeKey?: string;\n  messageKey?: string;\n  successCode?: number;\n\n  // 自定义成功解包 / custom success unwrapping\n  unwrapResponse?<T>(result: unknown): T;\n\n  // 自定义错误映射 / custom error mapping\n  createErrorFromResult?(res: unknown): Error;\n\n  // 请求 / 响应钩子(如 Protobuf 编解码)/ request / response hooks (e.g. Protobuf)\n  onRequest?: (context: FetchContext) => void | Promise<void>;\n  onResponse?: (context: FetchContext) => void | Promise<void>;\n}\n```\n\n### `TokenStorage`\n\n```ts\nexport interface TokenStorage {\n  getAccessToken: () => Promise<string> | string;\n  setAccessToken: (token: string) => Promise<void> | void;\n}\n```\n\ntoken 存哪由你决定 / You decide where the token lives:\n\n- 浏览器 / Browser:`localStorage` / `sessionStorage` / cookies\n- Node:内存 / Redis / 数据库 / in-memory, Redis, DB …\n- 扩展 / Extension:`chrome.storage`、cookies …\n\n> **`tokenStorage` 可选**:无状态场景(如 Cloudflare Worker 代用户转发请求)可以**不传**,改在 `onRequest` 里自行注入 token —— 库就不碰 token、不刷新,适合「每请求透传当前用户 token」且不希望有任何跨请求 token 状态的用法。\n> **`tokenStorage` is optional**: for stateless setups (e.g. a Worker forwarding a user's request), omit it and inject the token yourself in `onRequest`. The library then never touches/refreshes the token — ideal for per-request token forwarding with zero cross-request state.\n\n---\n\n## 自动刷新 Token / Automatic Token Refresh\n\n### 方式一:字符串 endpoint(推荐)/ Option 1: String endpoint (recommended)\n\n```ts\nconst api = createApiClient({ baseURL, tokenStorage, refreshToken: \"/auth/refresh\" });\n```\n\n行为 / Behavior:\n\n- 命中 `isAuthError`(默认 401)时,`POST` 刷新端点,取 `data.access_token` 存回 `tokenStorage`,再**自动重试一次**原请求。\n  On an auth error (401 by default), `POST`s the refresh endpoint, stores `data.access_token`, then **retries the original request once**.\n- **单飞 / Single-flight**:内部 `refreshingPromise` 保证同一时刻只有一个刷新请求,并发的 401 复用其结果。\n  An internal `refreshingPromise` ensures only one in-flight refresh; concurrent 401s reuse it.\n\n### 方式二:自定义函数 / Option 2: Custom function\n\n```ts\nconst api = createApiClient({\n  baseURL,\n  tokenStorage,\n  refreshToken: async () => {\n    const res = await ofetch<{ accessToken: string }>(\"/auth/refresh\", { baseURL, method: \"POST\" });\n    return res.accessToken;\n  },\n});\n```\n\n> 建议**不要**在 `refreshToken` 里再调用会自动刷新的 `request`,以免刷新端点本身返回鉴权错误时递归。\n> Prefer **not** to call the auto-refreshing `request` inside `refreshToken`, to avoid recursion if the refresh endpoint itself returns an auth error.\n\n---\n\n## 请求方法 / Request Methods\n\n```ts\nconst { rawRequest, request, get, post, put, patch, del } = createApiClient(...);\n```\n\n| 方法 / Method | 说明 / Description |\n| --- | --- |\n| `rawRequest` | 底层 `$fetch` 实例,原样返回,无刷新 / 解包 / underlying `$fetch`, raw, no refresh / unwrap |\n| `request<T>(url, options?)` | 核心逃生舱:token 注入 + 刷新 + 解包 + 抛错 / core escape hatch |\n| `get` / `del` `(url, options?)` | `options.query` 作查询参数 / `options.query` as query string |\n| `post` / `put` / `patch` `(url, options?)` | `options.body` 作请求体 / `options.body` as body |\n\n`options` 同时透传 `ApiRequestOptions`(`headers` / `timeout` / `responseType` …);带 `{param}` 的端点 `options.path` **必填**。\n`options` also passes through `ApiRequestOptions` (`headers` / `timeout` / `responseType` …); for endpoints with `{param}`, `options.path` is **required**.\n\n```ts\n// GET /users?page=1\nawait get(\"/users\", { query: { page: 1 } });\n\n// POST /users { name }\nawait post(\"/users\", { body: { name: \"foo\" } });\n\n// GET /users/123  ——  模板 + path,运行时拼接 / template + path, interpolated at runtime\nawait get(\"/users/{id}\", { path: { id: \"123\" } });\n\n// 直接用底层 request(更灵活)/ raw request (more flexible)\nconst data = await request<User>(\"/users/1\", { method: \"GET\" });\n```\n\n---\n\n## 高级:自定义解包与错误映射 / Advanced: Custom unwrapping and error mapping\n\n后端不是 `{ code, data, message }` 协议时,可覆盖 / If your backend differs from `{ code, data, message }`:\n\n```ts\nconst api = createApiClient({\n  baseURL,\n  tokenStorage,\n  refreshToken: false,\n\n  unwrapResponse<T>(result) {\n    // 例:后端返回 { success, result, errorMsg } / e.g. backend returns { success, result, errorMsg }\n    if (result && typeof result === \"object\" && \"success\" in result) {\n      const body = result as any;\n      if (body.success) return body.result as T;\n    }\n    return result as T;\n  },\n\n  createErrorFromResult(res): Error {\n    const body = res as any;\n    return new Error(body.errorMsg || \"Request failed\");\n  },\n});\n```\n\n---\n\n## 请求链执行 / Request Chain Execution\n\n`executeRequestChain` 用于编排**多个有依赖的 HTTP 请求**:共享 **Context**、支持 **变量替换**、可按策略 **智能路由**。这是运行时动态能力,与上面的 spec 类型无关。\n`executeRequestChain` orchestrates **multiple dependent HTTP requests**: a shared **Context**, **variable substitution**, and strategy-based **smart routing**. It is a runtime/dynamic feature, independent of the spec types above.\n\n### 核心概念 / Core Concepts\n\n- **Rule (`ChainRequestRule`)**:链中的一步 / a single step.\n- **Context**:累积结果的共享对象,每步可读写 / shared object accumulating results.\n- **Handler (`NetworkHandler`)**:按 URL / Method 决定用哪个 **Adapter** 执行 / picks the **Adapter** per URL / Method.\n\n### 规则配置 / Rule Configuration (`ChainRequestRule`)\n\n| 字段 / Property | 类型 / Type | 说明 / Description |\n| :-- | :-- | :-- |\n| `key` | `string` | 结果存入 Context 的键 / key to store the result in Context |\n| `request` | `HttpRequestSpec` | method / url / query / headers / body |\n| `selector` | `string` | 可选,点号路径(如 `user.id`)提取数据 / optional dot-path to extract data |\n| `optional` | `boolean` | 为真时该步失败也继续 / continue even if this step fails |\n\n`body` 只对 **POST / PUT / PATCH** 有效;GET / DELETE 不会带请求体,它们的参数放 `query`。\n`body` applies to **POST / PUT / PATCH** only; GET / DELETE carry no request body — put their parameters in `query`.\n\n### 变量替换 / Variable Substitution\n\n可在 `query` / `headers` / `body` 用 `{{key.path}}`,引擎以 Context 中的值替换。\nUse `{{key.path}}` in `query` / `headers` / `body`; the engine substitutes from the Context.\n\n> **`url` 里不要写 `{{}}`**(写了会 `console.warn`)。`{{}}` 取的是运行时值,而运行时值进 URL\n> 一律需要编码,字符串拼接编不了:值里带 `&` 会被当成参数分隔符,服务端只收到半截值,且通常\n> 表现为「查不到」而不是报错。带进请求的值放 `query`,编码由 `URLSearchParams` 保证。\n> 值必须进 path 段时,由配置方把整条 url 在自己那边拼好(path 段的编码规则和 query 不同)。\n>\n> **Never put `{{}}` in `url`** (doing so logs a `console.warn`). Runtime values always need\n> encoding when they enter a URL, and string concatenation cannot do that — an `&` in a value\n> silently truncates the parameter. Put such values in `query`, where `URLSearchParams` handles\n> the encoding. If a value must land in a path segment, build the full url on the config side.\n\n### 示例:三步编排 / Example: 3-step orchestration\n\n```ts\nimport { executeRequestChain } from \"@i.un/api-client\";\n\nconst rules = [\n  { key: \"auth\", request: { method: \"POST\", url: \"/login\", body: { user: \"admin\" } } },\n  {\n    key: \"profile\",\n    request: {\n      method: \"GET\",\n      url: \"/users\",\n      query: { id: \"{{auth.userId}}\" },\n      headers: { \"X-Session\": \"{{auth.token}}\" },\n    },\n    selector: \"data\",\n  },\n  {\n    key: \"update\",\n    request: { method: \"PUT\", url: \"/sync\", body: { source: \"web\", profile: \"{{profile}}\" } },\n  },\n];\n\nconst result = await executeRequestChain(rules);\n```\n\n### 自定义路由(策略模式)/ Custom Routing (Strategy Pattern)\n\n提供一组 `NetworkHandler` 把请求路由到不同环境(如把 `chrome-extension://` 走扩展 API,其余走标准 fetch)。\nProvide `NetworkHandler`s to route requests to different environments (e.g. `chrome-extension://` to an extension API, the rest to standard fetch).\n\n```ts\nconst handlers = [\n  {\n    name: \"extension-router\",\n    shouldHandle: (url) => url.startsWith(\"chrome-extension://\"),\n    adapter: {\n      // 第二个参数是 options:{ headers } / { body, headers }\n      post: (url, options) => chrome.runtime.sendMessage({ url, body: options?.body }),\n      get: (url, options) => /* ... */,\n    },\n  },\n];\n\nawait executeRequestChain(rules, handlers);\n```\n\n---\n\n## Protobuf 与安全通信 / Protobuf & Security\n\nProtobuf 模块在 `ofetch` 之上提供安全层:二进制序列化、XOR 混淆、通过 hooks 自动集成。\nThe Protobuf module adds a security layer over `ofetch`: binary serialization, XOR obfuscation, automatic integration via hooks.\n\n### 处理流程 / Pipeline\n\n**Object** → **Transform**(可选)→ **Protobuf Encode** → **XOR Obfuscation** → **Binary Payload**\n\n### 集成 Hook / Integration Hooks\n\n用 `createProtobufHooks` 给 client 加 Protobuf 支持 / Use `createProtobufHooks` to add Protobuf support:\n\n```ts\nimport { createApiClient, createProtobufHooks, createXorObfuscator } from \"@i.un/api-client\";\n\nconst hooks = createProtobufHooks({\n  // obfuscator: createXorObfuscator(\"my-secret-key\"), // 可选 / optional\n  transform: {\n    beforeEncode: (data) => ({ ...data, ts: Date.now() }),\n    afterDecode: (res) => res.data,\n  },\n});\n\nconst api = createApiClient({ baseURL: \"/api\", tokenStorage, ...hooks });\n\n// 用法:把 Content-Type / Accept 设为 application/x-protobuf\n// usage: set Content-Type / Accept to application/x-protobuf\nawait api.post(\"/secure-endpoint\", {\n  body: { foo: \"bar\" },\n  headers: { \"Content-Type\": \"application/x-protobuf\" },\n});\n```\n\n### 手动配置请求头 / Manual Header Configuration\n\n```ts\nimport { getProtobufHeaders } from \"@i.un/api-client\";\n\n// 收发都用 Protobuf(默认)/ send & receive Protobuf (default)\nconst headers = { ...getProtobufHeaders({ send: true, receive: true }), \"X-Custom\": \"val\" };\n\n// 仅接收 / receive only\nconst receiveOnly = getProtobufHeaders({ send: false, receive: true });\n\nawait api.get(\"/data\", { headers: receiveOnly });\n```\n\n### 信封模式 vs 自定义类型 / Envelope Mode vs Custom Type Mode\n\n- **信封模式(默认)/ Envelope (default)**:不提供 `protoType` 时用内置 `SecurePayload`(时间戳 + JSON 串)。无需为每个接口定义 schema 即可隐藏 DevTools 数据。\n  Without a `protoType`, uses the built-in `SecurePayload` (timestamp + JSON). Hides data from DevTools without per-API schemas.\n- **自定义类型 / Custom Type**:提供编译自 `.proto` 的 `protoType`,获得完整二进制性能与类型安全。\n  Provide a `protoType` compiled from `.proto` for full binary performance and type safety.\n\n```ts\nconst hooks = createProtobufHooks({ protoType: MyCompiledMessage });\n```\n\n### 自定义混淆 / Custom Obfuscator\n\n默认不混淆。用内置 XOR / Off by default. Built-in XOR:\n\n```ts\nimport { createProtobufHooks, createXorObfuscator } from \"@i.un/api-client\";\n\nconst hooks = createProtobufHooks({ obfuscator: createXorObfuscator(\"your-secret-key\") });\n```\n\n或完全自定义 / or fully custom:\n\n```ts\nimport { createProtobufHooks, type ProtobufObfuscator } from \"@i.un/api-client\";\n\nconst myObfuscator: ProtobufObfuscator = {\n  encrypt: (data: Uint8Array) => data, // 你的加密 / your encryption\n  decrypt: (data: Uint8Array) => data, // 你的解密 / your decryption\n};\n\nconst hooks = createProtobufHooks({ obfuscator: myObfuscator });\n```\n\n### 服务端 / 边缘 用法 / Server-Side Usage (Node / Workers)\n\n```ts\nimport { parseSecureRequest, secureResponse, createXorObfuscator } from \"@i.un/api-client\";\n\n// 1. 解析进来的请求 / parse incoming request\nconst body = await parseSecureRequest(request, { obfuscator: createXorObfuscator(\"key\") });\n\n// 2. 返回安全响应 / send secure response\nreturn await secureResponse({ success: true }, { obfuscator: createXorObfuscator(\"key\") });\n```\n\n---\n\n## 从 1.x 迁移 / Migration from 1.x\n\n2.0 把接口从**三段式**改为**两段式**(`query` / `body` / `path` 进 `options`),以对齐 OpenAPI spec 类型。\n2.0 moves from a **three-arg** to a **two-arg** shape (`query` / `body` / `path` go into `options`), to align with OpenAPI spec types.\n\n```ts\n// 1.x → 2.0\nget(\"/list\", { page: 1 })        →  get(\"/list\", { query: { page: 1 } })\npost(\"/x\", body)                 →  post(\"/x\", { body })\ndel(\"/x\", { id })                →  del(\"/x\", { query: { id } })\nget(`/u/${id}`)                  →  get(\"/u/{id}\", { path: { id } })\nget<T>(\"/me\")                    →  get<T>(\"/me\")              // 单参调用不变 / unchanged\n```\n\n> 仅传 `url` 的调用(`get<T>(url)`)**无需改动**;只有「第二参直接传 query / body 对象」的写法需要包成 `{ query }` / `{ body }`。\n> Single-arg calls (`get<T>(url)`) are **unchanged**; only \"second arg is a raw query / body object\" needs wrapping in `{ query }` / `{ body }`.\n\n另外两个破坏性变更 / Two more breaking changes:\n\n- **默认不再解包。** 1.x 默认解包 `{ code, data, message }` 取 `data`;2.0 默认如实返回。信封后端要显式开启:`createApiClient<paths, '/api', 'data'>({ …, dataKey: 'data' })`。\n  **No unwrap by default.** 1.x unwrapped `data`; 2.0 returns as-is. Envelope backends opt in: `createApiClient<paths, '/api', 'data'>({ …, dataKey: 'data' })`.\n- **移除 `returnFullResponse`。** 它改运行时返回却不改类型(类型对不上)。要完整信封就用默认(不解包)的 client;要解包后的 data 就开 `dataKey`。\n  **`returnFullResponse` removed.** It changed the runtime return without changing the type. For full envelopes use a default (no-unwrap) client; for unwrapped data enable `dataKey`.\n\n---\n\n## 环境与注意事项 / Environment & Notes\n\n- 基于 `ofetch`,可用于浏览器、Node 18+、Nuxt、Workers 等 / Built on `ofetch`; browsers, Node 18+, Nuxt, Workers.\n- 依赖 `fetch` / `Headers`:浏览器与 Node 18+ 内置;更老的 Node 需 `undici` / `cross-fetch` polyfill。\n  Requires `fetch` / `Headers`: built-in in browsers and Node 18+; polyfill older Node with `undici` / `cross-fetch`.\n- 核心 client **不依赖** `window` / `localStorage` / `chrome`;环境相关逻辑放进你的 `TokenStorage`。\n  The core client does **not** depend on `window` / `localStorage` / `chrome`; keep env-specific logic in your `TokenStorage`.\n\n---\n\n## License\n\nMIT\n","readmeFilename":"README.md"}