aegis-swap-widget 0.7.0 → 0.8.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/CHANGELOG.md +11 -0
- package/README.md +8 -3
- package/dist/aegis-swap-widget.js +636 -633
- package/dist/styles.css +1 -1
- package/dist/widget/types.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 127be2b: Add trusted Aegis Engine v1.0.3 deployment support for Robinhood Chain, upgrade the Engine SDK to 0.33.0, and bundle Robinhood Chain network artwork in the widget. Redeem quotes now return execution fields only for an SDK-verified frame, and an execution-gated redeem that the Engine assessed above the post-redeem utilization cap reports `utilization-blocked`.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [127be2b]
|
|
12
|
+
- @aegis-engine/core@0.4.0
|
|
13
|
+
|
|
3
14
|
## 0.7.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -4,7 +4,9 @@ Embed Amplifi Swap or Aegis Engine directly in a React application. Import the
|
|
|
4
4
|
component and CSS, then configure networks, REST data, wallet handoff, and host
|
|
5
5
|
styling through props.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Choose `<AegisSwapWidget />` for a swap-only embed or
|
|
8
|
+
`<AegisEngineWidget />` for Buy, Borrow, Lend, and Positions. Quoting, token
|
|
9
|
+
approval, Permit2 signing, and transaction submission stay inside the widget.
|
|
8
10
|
|
|
9
11
|
In the direct-pool widget, typing in the Sell field creates an exact-input swap
|
|
10
12
|
and typing in the Buy field creates an exact-output swap. Active quotes refresh
|
|
@@ -60,6 +62,9 @@ export function Engine({ account, provider }) {
|
|
|
60
62
|
|
|
61
63
|
## Partner context and host action requirements
|
|
62
64
|
|
|
65
|
+
Wolf Game partners can use the canonical
|
|
66
|
+
[live Wolf preview](https://swap.widget.aegis.markets/wolf).
|
|
67
|
+
|
|
63
68
|
`partnerContext` adds optional, display-only facts from a game or partner. The
|
|
64
69
|
host must normalize this data on its server. Do not pass API keys, private
|
|
65
70
|
vendor responses, or wallet-specific context through shared URLs.
|
|
@@ -197,8 +202,8 @@ widget should own selection. The nested Buy surface remains independently
|
|
|
197
202
|
controlled through `buySwapConfig`; one-shot partner Buy intents already
|
|
198
203
|
resolve their matching direct pool.
|
|
199
204
|
|
|
200
|
-
Wolf Game's
|
|
201
|
-
harvesting data. It does not provide wallet-specific inventory, claimable
|
|
205
|
+
Wolf Game's aggregate API provides game-wide balances plus weather and
|
|
206
|
+
harvesting data for a selected community. It does not provide wallet-specific inventory, claimable
|
|
202
207
|
resources, energy timing, or a concrete action requirement. A Wolf host must
|
|
203
208
|
therefore create `actionRequirement` only from real game state. Do not derive it
|
|
204
209
|
from aggregate weather or inventory alone.
|