@qidao/sdk 5.1.15 → 5.1.17
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/vaultInfo.d.ts +3 -1
- package/package.json +3 -3
package/dist/src/vaultInfo.d.ts
CHANGED
|
@@ -19,8 +19,10 @@ export interface COLLATERAL {
|
|
|
19
19
|
vaultAddress: string;
|
|
20
20
|
shortName: VaultShortName;
|
|
21
21
|
contractAbi: VaultContractAbi;
|
|
22
|
+
version: 1;
|
|
22
23
|
}
|
|
23
|
-
export interface COLLATERAL_V2 extends COLLATERAL {
|
|
24
|
+
export interface COLLATERAL_V2 extends Omit<COLLATERAL, 'version'> {
|
|
25
|
+
version: 2;
|
|
24
26
|
}
|
|
25
27
|
export declare function isV2QiVault(collateral: COLLATERAL | COLLATERAL_V2): collateral is COLLATERAL_V2;
|
|
26
28
|
export declare const COLLATERALS: {
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qidao/sdk",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "5.1.
|
|
4
|
+
"version": "5.1.17",
|
|
5
5
|
"description": "🛠 An SDK for building applications on top of QiDao Protocol.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"umd:main": "dist/index.umd.js",
|
|
8
8
|
"source": "./src/index.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
"require": "./dist/index.js",
|
|
11
|
-
"
|
|
12
|
-
"
|
|
11
|
+
"types": "./dist/src/index.d.ts",
|
|
12
|
+
"default": "./dist/index.modern.js"
|
|
13
13
|
},
|
|
14
14
|
"module": "./dist/index.module.js",
|
|
15
15
|
"unpkg": "./dist/index.umd.js",
|