@secretkeylabs/stacks-tools 0.4.0-fdbbd5e → 0.4.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/dist/index.cjs +3 -2
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -280,8 +280,9 @@ var CoreApiResponseSchema = v5.object({
|
|
|
280
280
|
stacks_tip_height: v5.number(),
|
|
281
281
|
stacks_tip: v5.string(),
|
|
282
282
|
stacks_tip_consensus_hash: v5.string(),
|
|
283
|
-
unanchored_tip: v5.string(),
|
|
284
|
-
|
|
283
|
+
unanchored_tip: v5.nullable(v5.string()),
|
|
284
|
+
unanchored_seq: v5.nullable(v5.string()),
|
|
285
|
+
exit_at_block_height: v5.nullable(v5.number())
|
|
285
286
|
});
|
|
286
287
|
async function coreApi(apiOpts) {
|
|
287
288
|
const init = {};
|
package/dist/index.d.cts
CHANGED
|
@@ -1200,8 +1200,9 @@ declare const CoreApiResponseSchema: v.ObjectSchema<{
|
|
|
1200
1200
|
readonly stacks_tip_height: v.NumberSchema<undefined>;
|
|
1201
1201
|
readonly stacks_tip: v.StringSchema<undefined>;
|
|
1202
1202
|
readonly stacks_tip_consensus_hash: v.StringSchema<undefined>;
|
|
1203
|
-
readonly unanchored_tip: v.StringSchema<undefined>;
|
|
1204
|
-
readonly
|
|
1203
|
+
readonly unanchored_tip: v.NullableSchema<v.StringSchema<undefined>, never>;
|
|
1204
|
+
readonly unanchored_seq: v.NullableSchema<v.StringSchema<undefined>, never>;
|
|
1205
|
+
readonly exit_at_block_height: v.NullableSchema<v.NumberSchema<undefined>, never>;
|
|
1205
1206
|
}, undefined>;
|
|
1206
1207
|
type CoreApiResponse = v.InferOutput<typeof CoreApiResponseSchema>;
|
|
1207
1208
|
declare function coreApi(apiOpts: ApiRequestOptions): Promise<Result$1<CoreApiResponse>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1200,8 +1200,9 @@ declare const CoreApiResponseSchema: v.ObjectSchema<{
|
|
|
1200
1200
|
readonly stacks_tip_height: v.NumberSchema<undefined>;
|
|
1201
1201
|
readonly stacks_tip: v.StringSchema<undefined>;
|
|
1202
1202
|
readonly stacks_tip_consensus_hash: v.StringSchema<undefined>;
|
|
1203
|
-
readonly unanchored_tip: v.StringSchema<undefined>;
|
|
1204
|
-
readonly
|
|
1203
|
+
readonly unanchored_tip: v.NullableSchema<v.StringSchema<undefined>, never>;
|
|
1204
|
+
readonly unanchored_seq: v.NullableSchema<v.StringSchema<undefined>, never>;
|
|
1205
|
+
readonly exit_at_block_height: v.NullableSchema<v.NumberSchema<undefined>, never>;
|
|
1205
1206
|
}, undefined>;
|
|
1206
1207
|
type CoreApiResponse = v.InferOutput<typeof CoreApiResponseSchema>;
|
|
1207
1208
|
declare function coreApi(apiOpts: ApiRequestOptions): Promise<Result$1<CoreApiResponse>>;
|
package/dist/index.js
CHANGED
|
@@ -238,8 +238,9 @@ var CoreApiResponseSchema = v5.object({
|
|
|
238
238
|
stacks_tip_height: v5.number(),
|
|
239
239
|
stacks_tip: v5.string(),
|
|
240
240
|
stacks_tip_consensus_hash: v5.string(),
|
|
241
|
-
unanchored_tip: v5.string(),
|
|
242
|
-
|
|
241
|
+
unanchored_tip: v5.nullable(v5.string()),
|
|
242
|
+
unanchored_seq: v5.nullable(v5.string()),
|
|
243
|
+
exit_at_block_height: v5.nullable(v5.number())
|
|
243
244
|
});
|
|
244
245
|
async function coreApi(apiOpts) {
|
|
245
246
|
const init = {};
|