@ember-finance/sdk 2.11.0-pre.2 → 2.11.0-pre.3

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.
@@ -15,12 +15,30 @@
15
15
  * @interface CoinPlacement
16
16
  */
17
17
  export interface CoinPlacement {
18
+ /**
19
+ * Stable identity for this placement, for a client to key a list on. A protocol can list the same coin at several venues — the same pair at two fee tiers, or the two tranches of one market — so protocol and label together do not identify a row. Survives a re-sync.
20
+ * @type {string}
21
+ * @memberof CoinPlacement
22
+ */
23
+ id: string;
18
24
  /**
19
25
  * Adapter id, e.g. \"bluefin-spot\"
20
26
  * @type {string}
21
27
  * @memberof CoinPlacement
22
28
  */
23
29
  protocol: string;
30
+ /**
31
+ * The protocol\'s display name, e.g. \"Current Finance\". Absent when the protocol is not in our catalogue yet — render `protocol` then.
32
+ * @type {string}
33
+ * @memberof CoinPlacement
34
+ */
35
+ protocolName?: string;
36
+ /**
37
+ * Icon for the protocol. Absent when the protocol is not in our catalogue yet.
38
+ * @type {string}
39
+ * @memberof CoinPlacement
40
+ */
41
+ protocolLogoUrl?: string;
24
42
  /**
25
43
  * Chain identifier as catalogued, e.g. \"sui-mainnet\".
26
44
  * @type {string}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ember-finance/sdk",
3
3
  "description": "Ember Protocol SDK",
4
- "version": "2.11.0-pre.2",
4
+ "version": "2.11.0-pre.3",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
7
7
  "main": "./dist/index.js",