@xsolla/backpack-js 1.9.1 → 1.9.3-rc.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
@@ -36,7 +36,7 @@ Send (web3 transfer) is off by default, but an embed may turn it on with `enable
36
36
 
37
37
  Transfuse (minting an off-chain catalogue item onto the chain) is off by default too, and turns on with `enableTransfuse` / `enable-transfuse`. It needs no credentials at all — the backend performs the mint — but it is irreversible and costs gas, and the action only appears on items the items API marks `is_mintable`, so turning it on where no project is wired for minting simply shows nothing.
38
38
 
39
- Salvage (destroying an item) is the other way round: it is **on** by default, and an embed turns it off with `enableSalvage` / `enable-salvage`. It signs nothing and costs nothing, the backend refuses the item types it will not destroy, XLA and XLA-NT (the tokens gas is paid in) never get the seat, and the drag onto the target is the confirmation, so there is no button a user can hit by accident. The merchant configuration can withhold the seat as well, and wins over the attribute.
39
+ Salvage (destroying an item, labelled "Remove" on the wheel) is the other way round: it is **on** by default, and an embed turns it off with `enableSalvage` / `enable-salvage`. It signs nothing and costs nothing, the backend refuses the item types it will not destroy, XLA and XLA-NT (the tokens gas is paid in) never get the seat, and the drag onto the target is the confirmation, so there is no button a user can hit by accident. The merchant configuration can withhold the seat as well, and wins over the attribute.
40
40
 
41
41
  Set `openItem` / `open-item` to open that inventory item as the element loads, with its action wheel already up. Backpack fetches the item on its own, so it does not have to be on the first page of the grid. A missing row, a failed fetch, or a hidden SKU leaves the grid as it is. Clearing the attribute, or the player closing the wheel, returns to the catalog. Reloading the embed does not open the same id again.
42
42
 
@@ -27,6 +27,7 @@ export declare class BackpackElement extends HTMLElement {
27
27
  enableAnalytics: boolean;
28
28
  externalId: string | undefined;
29
29
  openItem: string | undefined;
30
+ reauthRedirectUri: string | undefined;
30
31
 
31
32
  connectedCallback(): void;
32
33
  disconnectedCallback(): void;