@mdbase-dev/connect 0.1.0-beta.107 → 0.1.0-beta.110
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 +14 -0
- package/dist/browser/integrity.json +1 -1
- package/dist/browser/mdbase-connect.min.js +3 -3
- package/dist/browser/mdbase-connect.min.js.sha384 +1 -1
- package/dist/connect.js +4 -7
- package/dist/connection-types.d.ts +7 -0
- package/dist/connection.d.ts +1 -1
- package/dist/file-transfer-internals.js +4 -0
- package/dist/files.js +47 -11
- package/dist/index.d.ts +1 -2
- package/dist/runtime-utils.d.ts +5 -1
- package/dist/runtime-utils.js +31 -1
- package/package.json +2 -2
- package/dist/authorization-types.d.ts +0 -7
- package/dist/authorization-types.js +0 -1
- package/dist/connection-index.d.ts +0 -3
- package/dist/connection-index.js +0 -20
package/README.md
CHANGED
|
@@ -685,6 +685,20 @@ browser and Node streams already produce much smaller chunks. After an
|
|
|
685
685
|
ambiguous failure, call it again with a newly opened source and the same
|
|
686
686
|
`transferId` to resume safely.
|
|
687
687
|
|
|
688
|
+
The SDK can consume an optional `prepared_upload_part` on an upload-open
|
|
689
|
+
response. It is only valid for a create-only single PUT, bound to the transfer,
|
|
690
|
+
size and `If-None-Match: *` condition. With more than 60 seconds remaining, it
|
|
691
|
+
avoids the initial status and prepare requests. A successful PUT or HTTP 412
|
|
692
|
+
still requires authoritative commit; neither proves that the stored bytes match.
|
|
693
|
+
Expired capabilities, slow streams and ambiguous PUTs recover through fresh
|
|
694
|
+
status. A replayed open response is never treated as fresh transfer progress.
|
|
695
|
+
Ordinary, multipart and framed transfers retain their existing status path.
|
|
696
|
+
|
|
697
|
+
This is consumer support only: providers in this release omit the optional
|
|
698
|
+
field, so it does not activate immutable uploads or change their wire responses.
|
|
699
|
+
Provider activation and reclamation require separate qualification; the SDK
|
|
700
|
+
must not be taken as authorization to enable an experimental producer.
|
|
701
|
+
|
|
688
702
|
Both lifecycle methods are optimistic and use the descriptor revision by
|
|
689
703
|
default. Pass a stable `mutationId` when retrying after an ambiguous network
|
|
690
704
|
failure; the authority returns the original durable receipt instead of applying
|