{"_id":"@cognitiveproof/softbinding-api-plugin-gcp-bucket","_rev":"2-89486dce50b920587389ea6e6d518760","name":"@cognitiveproof/softbinding-api-plugin-gcp-bucket","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@cognitiveproof/softbinding-api-plugin-gcp-bucket","version":"1.0.0","license":"MIT","_id":"@cognitiveproof/softbinding-api-plugin-gcp-bucket@1.0.0","maintainers":[{"name":"mrappard","email":"mrappard@gmail.com"}],"dist":{"shasum":"8f66e92c5f835ae086c7e1d1e79a14184980f977","tarball":"https://registry.npmjs.org/@cognitiveproof/softbinding-api-plugin-gcp-bucket/-/softbinding-api-plugin-gcp-bucket-1.0.0.tgz","fileCount":7,"integrity":"sha512-Jb0dbH7kE+jLZqIrxz5RXmdBEqOz5tCVYxmFfQvRIkbAePjq7tXgz8EsOT9tOIX34gSOl8/jjTH5F49p1hUC+A==","signatures":[{"sig":"MEQCIA+U+DWqZZo7QfYsV/RrTGdLwRUOzG7n1JDdlb95ypW/AiAJTD5M+40O73/hjxyhbn2BhAfEV7xS5Ej38RogTIGVPw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9779},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9ad98a64ca17474e8154258c8a269fadfb7e44d1","scripts":{"test":"jest","build":"tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mrappard","email":"mrappard@gmail.com"},"_npmVersion":"11.12.1","description":"Google Cloud Storage object store plugin for the C2PA Soft Binding Resolution API server","directories":{},"_nodeVersion":"25.9.0","dependencies":{"@google-cloud/storage":"^7.19.0","@cognitiveproof/softbinding-api-plugin-types":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.2","ts-jest":"^29.4.11","typescript":"^5.3.3","@types/jest":"^30.0.0"},"_npmOperationalInternal":{"tmp":"tmp/softbinding-api-plugin-gcp-bucket_1.0.0_1781196902831_0.8763084699879564","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@cognitiveproof/softbinding-api-plugin-gcp-bucket","version":"1.0.1","description":"Google Cloud Storage object store plugin for the C2PA Soft Binding Resolution API server","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Cognitive-Proof/c2pa-soft-binding-server.git","directory":"plugins/gcpBucket"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","typecheck":"tsc --noEmit","test":"jest"},"dependencies":{"@cognitiveproof/softbinding-api-plugin-types":"^1.0.0","@google-cloud/storage":"^5.18.3","uuid":"14.0.1"},"devDependencies":{"@types/jest":"^30.0.0","jest":"^30.4.2","ts-jest":"^29.4.11","typescript":"^5.3.3"},"gitHead":"926c8e9d8f455998f7bccda68a25a2fd060fabe2","_id":"@cognitiveproof/softbinding-api-plugin-gcp-bucket@1.0.1","bugs":{"url":"https://github.com/Cognitive-Proof/c2pa-soft-binding-server/issues"},"homepage":"https://github.com/Cognitive-Proof/c2pa-soft-binding-server#readme","_nodeVersion":"20.20.2","_npmVersion":"11.18.0","dist":{"integrity":"sha512-POk2misK9WeP2ML1jLi69o2ZkPPo+u+k5AKhwETvwr1fvD/kyHnOxV3GmlL7g9y3Op6LYGzuaw1+vlkQ+AZf8Q==","shasum":"fcb51328b8f4bc7a7f13b5ddc0dcdb52ad16631c","tarball":"https://registry.npmjs.org/@cognitiveproof/softbinding-api-plugin-gcp-bucket/-/softbinding-api-plugin-gcp-bucket-1.0.1.tgz","fileCount":7,"unpackedSize":9978,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cognitiveproof%2fsoftbinding-api-plugin-gcp-bucket@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF7uHxpgz34ghsCmAoxJ9vwPI6qQGzDWWyKKB9riUo29AiAI+EfRFV4YQpqM4VxidX4ZkGeSOwkB1AQFIwGVPUW0/A=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ff81bd11-a83c-4fc2-9cd3-ba2ac950dfd6"}},"directories":{},"maintainers":[{"name":"mrappard","email":"mrappard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/softbinding-api-plugin-gcp-bucket_1.0.1_1783631579230_0.16894146334554483"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-11T16:55:02.629Z","modified":"2026-07-09T21:12:59.632Z","1.0.0":"2026-06-11T16:55:02.979Z","1.0.1":"2026-07-09T21:12:59.355Z"},"license":"MIT","description":"Google Cloud Storage object store plugin for the C2PA Soft Binding Resolution API server","maintainers":[{"name":"mrappard","email":"mrappard@gmail.com"}],"readme":"# @cognitiveproof/softbinding-api-plugin-gcp-bucket\n\nGoogle Cloud Storage `ObjectStorePlugin` for [`@cognitiveproof/softbinding-api-server`](https://github.com/mrappard/c2pa-soft-binding-server) — the C2PA Soft Binding Resolution API server.\n\nStores arbitrary binary blobs (e.g. assets referenced by `byReference`) in two GCS buckets — a private \"data\" bucket and a \"public\" bucket served via signed/public URLs.\n\n## Install\n\n```bash\nnpm install @cognitiveproof/softbinding-api-server @cognitiveproof/softbinding-api-plugin-gcp-bucket\n```\n\n## Usage\n\n```ts\nimport { createServer, loadObjectStore } from '@cognitiveproof/softbinding-api-server';\n\nconst objectStore = loadObjectStore('@cognitiveproof/softbinding-api-plugin-gcp-bucket');\n```\n\nOr pass the package name via the `OBJECTSTORE_PLUGIN` environment variable.\n\n> Note: `createServer()` does not call `loadObjectStore()` automatically — no bundled route currently needs blob storage. Use `loadObjectStore()` directly in your own routes/middleware if you need it.\n\n## Configuration\n\n| Env var                    | Required | Description                                                                                                                                                                          |\n| -------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `DATA_BUCKET_NAME`         | Yes      | Name of the private GCS bucket used for `saveData`/`loadData`/`deleteData`                                                                                                           |\n| `PUBLIC_BUCKET_NAME`       | Yes      | Name of the GCS bucket used for `savePublicData`/`loadPublicData`/`getPublicUrl`                                                                                                     |\n| `GOOGLE_BUCKET_CREDENTIAL` | No       | JSON service account credentials (as a JSON string). If unset, uses [Application Default Credentials](https://cloud.google.com/docs/authentication/application-default-credentials). |\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","homepage":"https://github.com/Cognitive-Proof/c2pa-soft-binding-server#readme","repository":{"type":"git","url":"git+https://github.com/Cognitive-Proof/c2pa-soft-binding-server.git","directory":"plugins/gcpBucket"},"bugs":{"url":"https://github.com/Cognitive-Proof/c2pa-soft-binding-server/issues"}}