@indiegems/gem-web-sdk 14.0.1 → 14.0.2
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 +6 -0
- package/README.md +2 -2
- package/brand/ticket-hero-128.png +0 -0
- package/brand/ticket-hero-256.png +0 -0
- package/brand/ticket-hero-384.png +0 -0
- package/brand/ticket-hero-512.png +0 -0
- package/brand/ticket-hero-768.png +0 -0
- package/brand/ticket-icon-20-1.5x.png +0 -0
- package/brand/ticket-icon-20-1x.png +0 -0
- package/brand/ticket-icon-20-2x.png +0 -0
- package/brand/ticket-icon-20-3x.png +0 -0
- package/brand/ticket-icon-32-1.5x.png +0 -0
- package/brand/ticket-icon-32-1x.png +0 -0
- package/brand/ticket-icon-32-2x.png +0 -0
- package/brand/ticket-icon-32-3x.png +0 -0
- package/dist/gem-web-sdk.esm.js +1 -1
- package/dist/gem-web-sdk.function.js +1 -1
- package/dist/gem-web-sdk.game.js +2 -2
- package/dist/gem-web-sdk.min.js +2 -2
- package/dist/gem-web-sdk.sdk.js +2 -2
- package/dist/gem-web-sdk.server.js +1 -1
- package/docs/achievements.md +2 -2
- package/docs/api/api-reference-function.md +3 -3
- package/docs/api/api-reference-game.md +14 -14
- package/docs/api/api-reference-server.md +1 -1
- package/docs/api/reference.json +13 -13
- package/docs/arcade-avatars.md +3 -3
- package/docs/arcade-economy.md +37 -36
- package/docs/brand-art.md +31 -30
- package/docs/changelog.md +6 -0
- package/docs/daily-challenges.md +1 -1
- package/docs/game-economy-tutorial.md +14 -14
- package/docs/getting-started.md +1 -1
- package/docs/inventory-and-catalogs.md +29 -29
- package/docs/manifest.json +32 -32
- package/docs/platform-rules.md +2 -2
- package/docs/rewarded-ads.md +1 -1
- package/docs/saving-player-progress.md +1 -1
- package/docs/server-bundles.md +2 -2
- package/docs/serverless-functions.md +2 -2
- package/docs/trading-and-gifting.md +1 -1
- package/docs/what-a-game-must-do.md +10 -10
- package/package.json +1 -1
- package/schema/bridge.v1.json +7 -7
package/schema/bridge.v1.json
CHANGED
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
"The player's Boost, FOR DISPLAY ONLY — a platform rule, not advice. A",
|
|
775
775
|
"Boost is something the Arcade sells for real money: it",
|
|
776
776
|
"multiplies what the player EARNS in platform currencies (Gems and",
|
|
777
|
-
"
|
|
777
|
+
"Coins) and raises their earning limits. It never touches achievement",
|
|
778
778
|
"points.",
|
|
779
779
|
"",
|
|
780
780
|
"ADVISORY. It may lag: it is pushed on connect and again when the",
|
|
@@ -2737,9 +2737,9 @@
|
|
|
2737
2737
|
"other, `gem.cueReward` returns false and the game does NOTHING. There is",
|
|
2738
2738
|
"no fallback celebration: Gems display belongs to the arcade (the",
|
|
2739
2739
|
"creator's ruling, 2026-09-24), so a game draws no Gems flight, counter or",
|
|
2740
|
-
"celebration of its own. The same holds for
|
|
2740
|
+
"celebration of its own. The same holds for Coins (`ARCADE_TICKETS`):",
|
|
2741
2741
|
"`currencySlug` decides what flies and which total moves. `origin` is the",
|
|
2742
|
-
"centre of the game's icon for that currency — its gem, or its
|
|
2742
|
+
"centre of the game's icon for that currency — its gem, or its coin."
|
|
2743
2743
|
],
|
|
2744
2744
|
"fields": {
|
|
2745
2745
|
"currencySlug": { "kind": "string", "maxLength": 32 },
|
|
@@ -2761,7 +2761,7 @@
|
|
|
2761
2761
|
"direction": "frameToParent",
|
|
2762
2762
|
"transport": "port",
|
|
2763
2763
|
"$comment": [
|
|
2764
|
-
"Whether the arcade shows the player's platform wallets (Gems,
|
|
2764
|
+
"Whether the arcade shows the player's platform wallets (Gems, Coins, the",
|
|
2765
2765
|
"achievement score) over the game right now — and, optionally, which of them.",
|
|
2766
2766
|
"",
|
|
2767
2767
|
"OPT-OUT. With no message at all, the parent shows EVERY wallet: a game that",
|
|
@@ -2775,7 +2775,7 @@
|
|
|
2775
2775
|
"",
|
|
2776
2776
|
"The narrowing is in force when EITHER optional field is present, and is",
|
|
2777
2777
|
"ignored while `visible` is false. It is for a screen about one currency (a",
|
|
2778
|
-
"
|
|
2778
|
+
"Coins store); leaving it out is always safe. `currencies` are platform",
|
|
2779
2779
|
"currency slugs (`GEMS`, `ARCADE_TICKETS`), matched exactly and",
|
|
2780
2780
|
"case-sensitively against the wallets the parent draws; a slug it does not",
|
|
2781
2781
|
"draw is ignored. `score` is its own field so it can never collide with a slug.",
|
|
@@ -3677,14 +3677,14 @@
|
|
|
3677
3677
|
" `unknown_currency` or `currency_not_in_game_payable`. Resolve it EXACTLY,",
|
|
3678
3678
|
" with no",
|
|
3679
3679
|
" alias table of your own: the retired `TICKETS` meant GEMS, and resolving",
|
|
3680
|
-
" it charged Gems to games that meant
|
|
3680
|
+
" it charged Gems to games that meant Coins. An item may carry prices in",
|
|
3681
3681
|
" more than one payable currency, so",
|
|
3682
3682
|
" the frame does choose which wallet pays; the prompt names that currency",
|
|
3683
3683
|
" and its price from platform records, which keeps the choice the player's.",
|
|
3684
3684
|
"",
|
|
3685
3685
|
" A PAYABLE CURRENCY MAY BE ONE THE PLAYER BOUGHT. This shipped on the",
|
|
3686
3686
|
" argument that a payable currency is only ever EARNED: short of Gems or",
|
|
3687
|
-
"
|
|
3687
|
+
" Coins the answer was to go and play, and neither was sold for money.",
|
|
3688
3688
|
" That is no longer true of Gems. The arcade's own store sells them, and",
|
|
3689
3689
|
" bought Gems stay payable in games (owner decision, 2026-10-06). So",
|
|
3690
3690
|
" where a balance came from protects",
|