@ember-finance/sdk 2.1.0 → 2.1.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.
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Ember Protocol Vaults API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface DefiIntegration
16
+ */
17
+ export interface DefiIntegration {
18
+ /**
19
+ * The name of the integrated DeFi app
20
+ * @type {string}
21
+ * @memberof DefiIntegration
22
+ */
23
+ appName: string;
24
+ /**
25
+ * The URL the app integration redirects to
26
+ * @type {string}
27
+ * @memberof DefiIntegration
28
+ */
29
+ url: string;
30
+ /**
31
+ * The logo/icon url of the integrated app
32
+ * @type {string}
33
+ * @memberof DefiIntegration
34
+ */
35
+ logoUrl: string;
36
+ /**
37
+ * The description shown in the integrations list on the vault details page
38
+ * @type {string}
39
+ * @memberof DefiIntegration
40
+ */
41
+ description: string;
42
+ /**
43
+ * The chain the integration is on
44
+ * @type {string}
45
+ * @memberof DefiIntegration
46
+ */
47
+ chain: string;
48
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Ember Protocol Vaults API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -13,6 +13,7 @@ export * from "./borrowed.js";
13
13
  export * from "./chain.js";
14
14
  export * from "./chain-vault-details.js";
15
15
  export * from "./coin-price.js";
16
+ export * from "./defi-integration.js";
16
17
  export * from "./deposit-transaction.js";
17
18
  export * from "./ember-position.js";
18
19
  export * from "./evm-contracts.js";
@@ -13,6 +13,7 @@ export * from "./borrowed.js";
13
13
  export * from "./chain.js";
14
14
  export * from "./chain-vault-details.js";
15
15
  export * from "./coin-price.js";
16
+ export * from "./defi-integration.js";
16
17
  export * from "./deposit-transaction.js";
17
18
  export * from "./ember-position.js";
18
19
  export * from "./evm-contracts.js";
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { ApyAverages } from "./apy-averages.js";
13
13
  import type { ChainVaultDetails } from "./chain-vault-details.js";
14
+ import type { DefiIntegration } from "./defi-integration.js";
14
15
  import type { EmberPosition } from "./ember-position.js";
15
16
  import type { Manager } from "./manager.js";
16
17
  import type { ReportedApy } from "./reported-apy.js";
@@ -223,6 +224,12 @@ export interface VaultDetail {
223
224
  * @memberof VaultDetail
224
225
  */
225
226
  redemptionPriceE9?: string;
227
+ /**
228
+ * The DeFi app integrations associated with the vault (shown on the vault details page)
229
+ * @type {Array<DefiIntegration>}
230
+ * @memberof VaultDetail
231
+ */
232
+ defiIntegrations: Array<DefiIntegration>;
226
233
  }
227
234
  export declare const VaultDetailStatusEnum: {
228
235
  readonly Active: "active";
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.1.0",
4
+ "version": "2.1.1",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
7
7
  "main": "./dist/index.js",