{"_id":"@alphayard/unibox-sdk","_rev":"5-12419fb55dc3f05fbc5164b53c13ff6e","name":"@alphayard/unibox-sdk","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@alphayard/unibox-sdk","version":"0.1.0","keywords":["unibox","storage","sdk","boundary","uniapps"],"license":"UNLICENSED","_id":"@alphayard/unibox-sdk@0.1.0","maintainers":[{"name":"24ep","email":"jaroonwit.pool@gmail.com"}],"dist":{"shasum":"0fe422e345a07a54fe30eb134ce71d836408bb1e","tarball":"https://registry.npmjs.org/@alphayard/unibox-sdk/-/unibox-sdk-0.1.0.tgz","fileCount":5,"integrity":"sha512-/Xh6nZkfNiXJTvbLOgGtPgK6XSrxiVbcP5ilgrEX+tEyEi3FiyYdapQSQmD8BzrHVMSmGwqxpRa6kTCjlEpOSg==","signatures":[{"sig":"MEYCIQCWMjtNKV8F+OzGYm9PfaqrZRgpbtTbwsy8vBt1AniczwIhAJ1jcEETjyJjp27KAkZsF/x7XeMdi+8x65HOYcKSqEMT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37570},"main":"dist/index.js","types":"src/index.ts","source":"src/index.ts","engines":{"node":">=18"},"exports":{".":{"types":"./src/index.ts","default":"./dist/index.js","react-native":"./src/index.ts"}},"gitHead":"0f895e1f80a0ed76c1e819d0c78b4e2a679e8b4f","scripts":{"build":"tsc -p tsconfig.json","type-check":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run type-check && npm run build"},"_npmUser":{"name":"24ep","email":"jaroonwit.pool@gmail.com"},"_npmVersion":"11.6.2","description":"UniBox storage SDK for Boundary and other UniApps clients","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","react-native":"src/index.ts","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/unibox-sdk_0.1.0_1778696136521_0.6705196702580118","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@alphayard/unibox-sdk","version":"0.1.1","keywords":["unibox","storage","sdk","boundary","uniapps"],"license":"UNLICENSED","_id":"@alphayard/unibox-sdk@0.1.1","maintainers":[{"name":"24ep","email":"jaroonwit.pool@gmail.com"}],"dist":{"shasum":"d43ece1ddce0a1fc65f0ef0b168f7b60cf187cc0","tarball":"https://registry.npmjs.org/@alphayard/unibox-sdk/-/unibox-sdk-0.1.1.tgz","fileCount":5,"integrity":"sha512-WxQ9xXXWdi0OXHl1jgOsoN7RlfaQ9cL+UBOV4i0SVQt+tpFbsfQF5HKLwwrLlZ0Y20zo0ZpRGwb0b8FLF6mWkA==","signatures":[{"sig":"MEYCIQCknLRJNhczlE7lC7KuQdtGzRwv0lhbUhz/GzXWHdXZoQIhAOQfyDegsUfZlLoEcs9nV0lVRwW9My5BP4Ro/NCayM5w","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40123},"main":"dist/index.js","types":"src/index.ts","source":"src/index.ts","engines":{"node":">=18"},"exports":{".":{"types":"./src/index.ts","default":"./dist/index.js","react-native":"./src/index.ts"}},"gitHead":"6510f959a1f9f84db0d3e277e5c30adca6fb0cd4","scripts":{"build":"tsc -p tsconfig.json","type-check":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run type-check && npm run build"},"_npmUser":{"name":"24ep","email":"jaroonwit.pool@gmail.com"},"_npmVersion":"11.6.2","description":"UniBox storage SDK for Boundary and other UniApps clients","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","react-native":"src/index.ts","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/unibox-sdk_0.1.1_1778960955398_0.7943711971857532","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@alphayard/unibox-sdk","version":"0.1.2","keywords":["unibox","storage","sdk","boundary","uniapps"],"license":"UNLICENSED","_id":"@alphayard/unibox-sdk@0.1.2","maintainers":[{"name":"24ep","email":"jaroonwit.pool@gmail.com"}],"dist":{"shasum":"290bcaeac7fb4b48c2ad66b6f693492ee9f33c05","tarball":"https://registry.npmjs.org/@alphayard/unibox-sdk/-/unibox-sdk-0.1.2.tgz","fileCount":5,"integrity":"sha512-DNJ0I5YHdevf4uwBuhpFAEHj4+5hGLJYNlC4HJojm0HBNYypKVs6Bclo0Nxfk2oztQ3eJBAXfzT7EeLpjhzvVA==","signatures":[{"sig":"MEUCIAOdpFgQSpK0FUddy21yJgFzGSodpELSKjXQPa6DN/wdAiEAz1Ny00u48+K/3gOczujCRQVJ2URrE+9mwOpbJZU3gSw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45382},"main":"dist/index.js","types":"src/index.ts","source":"src/index.ts","engines":{"node":">=18"},"exports":{".":{"types":"./src/index.ts","default":"./dist/index.js","react-native":"./src/index.ts"}},"gitHead":"f716237a1a77451bfaf5b522c22363e3614904c7","scripts":{"build":"tsc -p tsconfig.json","type-check":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run type-check && npm run build"},"_npmUser":{"name":"24ep","email":"jaroonwit.pool@gmail.com"},"_npmVersion":"11.6.2","description":"UniBox storage SDK for Boundary and other UniApps clients","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","react-native":"src/index.ts","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/unibox-sdk_0.1.2_1779158021188_0.6386193817212784","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@alphayard/unibox-sdk","version":"0.1.3","keywords":["unibox","storage","sdk","boundary","uniapps"],"license":"UNLICENSED","_id":"@alphayard/unibox-sdk@0.1.3","maintainers":[{"name":"24ep","email":"jaroonwit.pool@gmail.com"}],"dist":{"shasum":"d185f0681ed010495af1a1cc6ab0f14a72696e87","tarball":"https://registry.npmjs.org/@alphayard/unibox-sdk/-/unibox-sdk-0.1.3.tgz","fileCount":5,"integrity":"sha512-PdkESv3vPq66LhKme8KELu1xRjNYIIUkMlwK2UxWeURugo5OhzVe2M0Wcn60pQil61Ix1sm1QTE1Jcz+2xjbaQ==","signatures":[{"sig":"MEYCIQCd4GV9T8tZ+HvRLXyVd3lr0Rz+7g+xencbMZnibmu9uwIhAIVhrvkla6NA/3BkkzimivsLm8f75dK0rW19O6Tm4RPM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47884},"main":"src/index.ts","types":"src/index.ts","source":"src/index.ts","engines":{"node":">=18"},"exports":{".":{"types":"./src/index.ts","default":"./src/index.ts","react-native":"./src/index.ts"}},"gitHead":"4fc1462638bafd2de05739e03f37ffe283bab20a","scripts":{"build":"tsc -p tsconfig.json","type-check":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run type-check && npm run build"},"_npmUser":{"name":"24ep","email":"jaroonwit.pool@gmail.com"},"_npmVersion":"11.6.2","description":"UniBox storage SDK for Boundary and other UniApps clients","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","react-native":"src/index.ts","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/unibox-sdk_0.1.3_1779511112072_0.060352772982990466","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@alphayard/unibox-sdk","version":"0.1.4","description":"UniBox storage SDK for Boundary and other UniApps clients","main":"src/index.ts","types":"src/index.ts","react-native":"src/index.ts","source":"src/index.ts","exports":{".":{"types":"./src/index.ts","react-native":"./src/index.ts","default":"./src/index.ts"}},"scripts":{"build":"tsc -p tsconfig.json","type-check":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run type-check && npm run build"},"sideEffects":false,"publishConfig":{"access":"public"},"keywords":["unibox","storage","sdk","boundary","uniapps"],"engines":{"node":">=18"},"license":"UNLICENSED","gitHead":"c5b4b3a2f8e9690d3dafb7d6feb43c943d198d8c","_id":"@alphayard/unibox-sdk@0.1.4","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-3tdoBR6bncxlKBIOWVzprOnP1UuX3lR+oRSS82n0Ej41XN+62TiRzTskvx0Bl8rlb1upOKC3sw/PqdibRpb27g==","shasum":"95a8bb99b382766a560feb74d3ed986e7298de3e","tarball":"https://registry.npmjs.org/@alphayard/unibox-sdk/-/unibox-sdk-0.1.4.tgz","fileCount":5,"unpackedSize":48596,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCHsuO6459QOBzFTCbtqEBK8r8JPQW7ZYpWz4x1UdY48wIga/+sh0axGwq+RQcmiQYTttFUWtVq7KVnYtOza3LVLFk="}]},"_npmUser":{"name":"24ep","email":"jaroonwit.pool@gmail.com"},"directories":{},"maintainers":[{"name":"24ep","email":"jaroonwit.pool@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/unibox-sdk_0.1.4_1779785137535_0.3868137709105983"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-13T18:15:36.403Z","modified":"2026-05-26T08:45:37.816Z","0.1.0":"2026-05-13T18:15:36.684Z","0.1.1":"2026-05-16T19:49:15.543Z","0.1.2":"2026-05-19T02:33:41.329Z","0.1.3":"2026-05-23T04:38:32.211Z","0.1.4":"2026-05-26T08:45:37.697Z"},"license":"UNLICENSED","keywords":["unibox","storage","sdk","boundary","uniapps"],"description":"UniBox storage SDK for Boundary and other UniApps clients","maintainers":[{"name":"24ep","email":"jaroonwit.pool@gmail.com"}],"readme":"# `@alphayard/unibox-sdk`\r\n\r\nUniBox client SDK for file storage in Boundary and other UniApps clients.\r\n\r\n## What it does\r\n\r\n- Upload files\r\n- List files\r\n- List folders\r\n- Create folders\r\n- Load circle folders\r\n- Read folder breadcrumb paths\r\n- Fetch file details\r\n- Update file metadata\r\n- Delete files\r\n- Search files\r\n- Read quota and analytics\r\n- Build public or proxied file URLs\r\n\r\n## Install\r\n\r\n```bash\r\nnpm install @alphayard/unibox-sdk\r\n```\r\n\r\nFor local development in this monorepo, `boundary-app` uses:\r\n\r\n```json\r\n\"@alphayard/unibox-sdk\": \"file:../packages/unibox-sdk\"\r\n```\r\n\r\n## Usage\r\n\r\n```ts\r\nimport { createUniBoxClient } from '@alphayard/unibox-sdk';\r\n\r\nconst unibox = createUniBoxClient({\r\n  baseURL: 'http://localhost:4000/api/v1',\r\n  appId: 'your-app-id',\r\n  getAccessToken: async () => 'jwt-token',\r\n});\r\n\r\nconst result = await unibox.uploadFile({\r\n  file,\r\n  description: 'Profile image',\r\n  isPublic: true,\r\n});\r\n\r\nconst folders = await unibox.getCircleFolders('circle-id');\r\n\r\nconst createdFolder = await unibox.createCircleFolder('circle-id', {\r\n  name: 'Invoices',\r\n  parentId: 'optional-parent-folder-id',\r\n});\r\n```\r\n\r\n## Publish\r\n\r\nFor local Boundary app development, Metro resolves the package from `src/index.ts`.\r\n\r\nBefore publishing to npm, build the package so `dist/` is up to date:\r\n\r\n```bash\r\ncd packages/unibox-sdk\r\nnpm run build\r\n```\r\n\r\nPublishing still requires an authenticated npm session:\r\n\r\n```bash\r\ncd packages/unibox-sdk\r\nnpm publish\r\n```\r\n","readmeFilename":"README.md"}