@superdurable/connector-box 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # Box connector for TypeScript
2
2
 
3
- `@superdurable/connector-box@0.1.1` implements the Go-verified `downloadFile` and `uploadFile` operations. Use the generated `newDownloadFileStep` and `newUploadFileStep` factories with the static `box` connection. The [connector README](../README.md) documents OAuth setup, scopes, limits, and branches.
3
+ The package implements all 17 Box operations for file and folder metadata, search, sharing, creation, copying, deletion, and bounded uploads and downloads. The [connector README](../README.md) documents the OAuth setup, size limits, and provider behavior.
4
4
 
5
5
  `downloadFile` returns bounded Base64 content. `uploadFile` replaces an existing file by numeric ID, skips identical content, and reads back ambiguous outcomes, retrying when read-back cannot confirm the content. The [file-download example](examples/file-download/README.md) contains a runnable Worker and typed Flow.
6
6
 
7
7
  Run `npm ci --prefix connectors/box/typescript` and `npm run check --prefix connectors/box/typescript` from the repository root. Provider behavior is replayed from `conformance/connectors/box/scenarios.json`. Live Box authorization remains unverified.
8
+
9
+ The [example Worker](examples/file-download/README.md) registers the management Flows with the static `box` connection. Custom connections built with `newConnectionWithOperations` now supply the complete operation set.
10
+ File sizes and page counts use `SignedInteger` to preserve values beyond the safe JavaScript number range. Use `exactIntegerJSONCodec` for Flow values that contain those counts.