@superdurable/connector-atlassian-bitbucket 0.1.0 → 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,9 +1,9 @@
1
1
  # Bitbucket TypeScript connector
2
2
 
3
- `@superdurable/connector-atlassian-bitbucket` implements the `listRepositories` and `listPullRequests` read operations as typed Dex Query Steps. It uses the static connection name supplied by the consuming Flow and resolves the workspace access token at call time.
3
+ The SDK supports all 22 Bitbucket operations and the repository event Trigger. Use the [connection guide](../README.md#authentication-and-configuration) to configure a Bitbucket workspace access token. The [resource example Worker](examples/resource-read/README.md) serves the operation Flows through the static `bitbucket-resource-read` connection.
4
4
 
5
- The [resource-read example](examples/resource-read/README.md) contains a runnable Worker, Flow starter, and a real Dex Worker/Client integration test. The [connector README](../README.md) describes authorization, configuration, branches, and retry behavior.
5
+ When upgrading to v0.2.0, pass all 22 operations to `newConnectionWithOperations`. The client-backed `newConnection` factory registers them automatically. The Go-recorded replay tests cover request paths, provider decisions, response fields, and bounded sends.
6
6
 
7
- Error responses are classified by HTTP status even if their bodies cannot be read. A `null` item in a provider `values` array becomes a zero-value repository or pull request, matching the Go connector.
7
+ The [repository webhook Worker](examples/repository-event/README.md) verifies Bitbucket deliveries and starts a Flow through a durable Trigger inbox. Use `repositoryEventCodec` for Step inputs, Attributes, and Flow results that contain Bitbucket events. It preserves the decimal digits of issue, pull request, and comment IDs beyond JavaScript’s safe integer range.
8
8
 
9
- Run `npm ci && npm run check` to verify the package. Run `npm run test:integration` with `DEX_FLOW_SERVICE_ADDRESS` set to a running `dexcli dev` server.
9
+ Use `exactIntegerJSONCodec` for Flows and persisted data that contain operation pull request IDs, comment IDs, or pagination values. For numbers outside the safe JavaScript integer range, it preserves the original decimal integer as native raw JSON.