@idosgames/core 0.25.0 → 0.26.1

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/CHANGELOG.md CHANGED
@@ -16,6 +16,16 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
16
16
 
17
17
  ### Added
18
18
 
19
+ - **Prices in Credits (Aspis) in every sale of the game's author** (0.26.0). `client.credits.pay(call, options)` runs
20
+ the whole flow (request, the player's confirmation on idosgames.com, the confirmed call) for any method below;
21
+ `store.purchaseWithCredits` now goes through it. New `creditsConfirmationID` on `lootbox.open`,
22
+ `collection.openPack`, `craft.craft`, `dealOffer.executeNode`, `timedBoost.activate`,
23
+ `premium.purchaseItemOrCurrency`, `item.upgradeLevel`, `character.unlockCharacter` / `upgradeStatLevel` /
24
+ `upgradeCharacterLevel` / `unlockSkin`, `coopEvent.spin`, `gameLoop.boardSpecialChoose`, every `ai.generate*`;
25
+ `workshop.publish({ credits })`. A response that only created the request carries `CreditsConfirmation` and changes
26
+ nothing in the cache. `CreditsError` adds `NotAllowedHere` (marketplace, PvP), `MixedWithStorePayment`,
27
+ `SellerNotReady`, `ConfirmationInUse` (InApp AI). Credits are never a reward.
28
+
19
29
  - **Sign-in in the AI Coder's live preview** (0.24.3). `canUsePreviewSignIn()`: inside the dashboard's preview
20
30
  `requestPlatformSignIn` asks the dashboard, and the answer is a code for the title's DEV copy. The bridge
21
31
  there talks to `https://platform.idosgames.com` only.