@helium/blockchain-api 0.3.7 → 0.3.8
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.d.ts +16 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2509,6 +2509,14 @@ declare const apiContract: {
|
|
|
2509
2509
|
message: string;
|
|
2510
2510
|
status: number;
|
|
2511
2511
|
};
|
|
2512
|
+
INSUFFICIENT_FUNDS: {
|
|
2513
|
+
readonly status: 400;
|
|
2514
|
+
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
2515
|
+
readonly data: zod.ZodObject<{
|
|
2516
|
+
required: zod.ZodNumber;
|
|
2517
|
+
available: zod.ZodNumber;
|
|
2518
|
+
}, zod_v4_core.$strip>;
|
|
2519
|
+
};
|
|
2512
2520
|
}>>>, Record<never, never>>;
|
|
2513
2521
|
};
|
|
2514
2522
|
rewardContract: {
|
|
@@ -4678,6 +4686,14 @@ declare const fullApiContract: {
|
|
|
4678
4686
|
message: string;
|
|
4679
4687
|
status: number;
|
|
4680
4688
|
};
|
|
4689
|
+
INSUFFICIENT_FUNDS: {
|
|
4690
|
+
readonly status: 400;
|
|
4691
|
+
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
4692
|
+
readonly data: zod.ZodObject<{
|
|
4693
|
+
required: zod.ZodNumber;
|
|
4694
|
+
available: zod.ZodNumber;
|
|
4695
|
+
}, zod_v4_core.$strip>;
|
|
4696
|
+
};
|
|
4681
4697
|
}>>>>, Record<never, never>>;
|
|
4682
4698
|
};
|
|
4683
4699
|
rewardContract: {
|
package/dist/index.js
CHANGED
|
@@ -1011,7 +1011,8 @@ var hotspotsContract = oc.tag("Hotspot").prefix("/hotspots").router({
|
|
|
1011
1011
|
updateHotspotInfo: oc.route({ method: "POST", path: "/update-info", summary: "Update hotspot info", description: "Creates an unsigned transaction to update hotspot configuration. Requires deviceType discriminant (iot or mobile) to select the correct update path and validate against on-chain network." }).input(UpdateHotspotInfoInputSchema).output(UpdateHotspotInfoOutputSchema).errors({
|
|
1012
1012
|
NOT_FOUND,
|
|
1013
1013
|
UNAUTHORIZED,
|
|
1014
|
-
BAD_REQUEST: { message: "Device type mismatch", status: 400 }
|
|
1014
|
+
BAD_REQUEST: { message: "Device type mismatch", status: 400 },
|
|
1015
|
+
INSUFFICIENT_FUNDS
|
|
1015
1016
|
})
|
|
1016
1017
|
});
|
|
1017
1018
|
var rewardContract = oc.tag("Reward Contract").prefix("/hotspots").router({
|