@stacks/blockchain-api-client 7.11.0-beta.7 → 7.11.0-beta.9
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/lib/generated/models/PoxSigner.d.ts +12 -0
- package/lib/generated/models/PoxSigner.js +4 -0
- package/lib/generated/models/PoxSigner.js.map +1 -1
- package/lib/generated/models/PoxStacker.d.ts +14 -0
- package/lib/generated/models/PoxStacker.js +12 -1
- package/lib/generated/models/PoxStacker.js.map +1 -1
- package/lib/index.umd.js +22 -4
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/models/PoxSigner.ts +16 -0
- package/src/generated/models/PoxStacker.ts +17 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacks/blockchain-api-client",
|
|
3
|
-
"version": "7.11.0-beta.
|
|
3
|
+
"version": "7.11.0-beta.9",
|
|
4
4
|
"access": "public",
|
|
5
5
|
"description": "Client for the Stacks Blockchain API",
|
|
6
6
|
"homepage": "https://github.com/hirosystems/stacks-blockchain-api/tree/master/client#readme",
|
|
@@ -55,6 +55,18 @@ export interface PoxSigner {
|
|
|
55
55
|
* @memberof PoxSigner
|
|
56
56
|
*/
|
|
57
57
|
stacked_amount_percent: number;
|
|
58
|
+
/**
|
|
59
|
+
* The number of solo stackers associated with this signer.
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof PoxSigner
|
|
62
|
+
*/
|
|
63
|
+
solo_stacker_count: number;
|
|
64
|
+
/**
|
|
65
|
+
* The number of pooled stackers associated with this signer.
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof PoxSigner
|
|
68
|
+
*/
|
|
69
|
+
pooled_stacker_count: number;
|
|
58
70
|
}
|
|
59
71
|
|
|
60
72
|
export function PoxSignerFromJSON(json: any): PoxSigner {
|
|
@@ -73,6 +85,8 @@ export function PoxSignerFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
73
85
|
'stacked_amount': json['stacked_amount'],
|
|
74
86
|
'weight_percent': json['weight_percent'],
|
|
75
87
|
'stacked_amount_percent': json['stacked_amount_percent'],
|
|
88
|
+
'solo_stacker_count': json['solo_stacker_count'],
|
|
89
|
+
'pooled_stacker_count': json['pooled_stacker_count'],
|
|
76
90
|
};
|
|
77
91
|
}
|
|
78
92
|
|
|
@@ -91,6 +105,8 @@ export function PoxSignerToJSON(value?: PoxSigner | null): any {
|
|
|
91
105
|
'stacked_amount': value.stacked_amount,
|
|
92
106
|
'weight_percent': value.weight_percent,
|
|
93
107
|
'stacked_amount_percent': value.stacked_amount_percent,
|
|
108
|
+
'solo_stacker_count': value.solo_stacker_count,
|
|
109
|
+
'pooled_stacker_count': value.pooled_stacker_count,
|
|
94
110
|
};
|
|
95
111
|
}
|
|
96
112
|
|
|
@@ -37,6 +37,21 @@ export interface PoxStacker {
|
|
|
37
37
|
* @memberof PoxStacker
|
|
38
38
|
*/
|
|
39
39
|
pox_address: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof PoxStacker
|
|
44
|
+
*/
|
|
45
|
+
stacker_type: PoxStackerStackerTypeEnum;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @export
|
|
50
|
+
* @enum {string}
|
|
51
|
+
*/
|
|
52
|
+
export enum PoxStackerStackerTypeEnum {
|
|
53
|
+
solo = 'solo',
|
|
54
|
+
pooled = 'pooled'
|
|
40
55
|
}
|
|
41
56
|
|
|
42
57
|
export function PoxStackerFromJSON(json: any): PoxStacker {
|
|
@@ -52,6 +67,7 @@ export function PoxStackerFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
52
67
|
'stacker_address': json['stacker_address'],
|
|
53
68
|
'stacked_amount': json['stacked_amount'],
|
|
54
69
|
'pox_address': json['pox_address'],
|
|
70
|
+
'stacker_type': json['stacker_type'],
|
|
55
71
|
};
|
|
56
72
|
}
|
|
57
73
|
|
|
@@ -67,6 +83,7 @@ export function PoxStackerToJSON(value?: PoxStacker | null): any {
|
|
|
67
83
|
'stacker_address': value.stacker_address,
|
|
68
84
|
'stacked_amount': value.stacked_amount,
|
|
69
85
|
'pox_address': value.pox_address,
|
|
86
|
+
'stacker_type': value.stacker_type,
|
|
70
87
|
};
|
|
71
88
|
}
|
|
72
89
|
|