@sparkvault/sdk-js 12.0.4 → 12.0.5
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/dist/index.cjs +19 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +19 -9
- package/dist/index.mjs.map +1 -1
- package/dist/ingots/types.d.ts +4 -2
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
package/dist/ingots/types.d.ts
CHANGED
|
@@ -16,8 +16,10 @@ export type { UnsealedVault };
|
|
|
16
16
|
* - `upsert` (the server default): the upload replaces the holder's content.
|
|
17
17
|
* - `complete_pending`: a holder whose own upload never finalized is completed
|
|
18
18
|
* (`created: false`); a published holder is refused with a 409 CONFLICT whose
|
|
19
|
-
* `details`
|
|
20
|
-
*
|
|
19
|
+
* `details.reason` is `'NAME_HELD'`, and is left untouched. The details
|
|
20
|
+
* describe the holder (`ingot_id`, `status`, `size_bytes`) unless another
|
|
21
|
+
* app manages it or another request claimed the name first, when they carry
|
|
22
|
+
* the reason alone.
|
|
21
23
|
* - `refuse`: any holder, its upload finished or not, is refused with that
|
|
22
24
|
* same 409 and left untouched; the create only ever mints.
|
|
23
25
|
* - `new_name`: the holder is never touched; the ingot is minted under the
|