@helium/blockchain-api 0.3.7 → 0.3.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +3043 -1405
  2. package/dist/index.js +249 -3
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -48,7 +48,7 @@ var ScheduleInputSchema = z.object({
48
48
  dayOfMonth: z.string().optional()
49
49
  });
50
50
  var TokenAmountInputSchema = z.object({
51
- amount: z.string().describe(
51
+ amount: z.string().regex(/^\d+$/, "Amount must be a whole number in smallest unit").describe(
52
52
  'Raw token amount in smallest unit (bones). e.g. for a mint with 8 decimals, 1 full token = "100000000"'
53
53
  ),
54
54
  mint: PublicKeySchema.describe("Mint address of the token")
@@ -216,6 +216,152 @@ var UpdateTransferOutputSchema = z.object({
216
216
  success: z.boolean()
217
217
  });
218
218
  var QuoteOutputSchema = QuoteResponseSchema;
219
+ var LockupKindSchema = z.enum(["cliff", "constant"]);
220
+ var CreatePositionInputSchema = z.object({
221
+ walletAddress: WalletAddressSchema.describe(
222
+ "Wallet address that will own the position"
223
+ ),
224
+ tokenAmount: TokenAmountInputSchema.describe(
225
+ "Token amount and mint to deposit"
226
+ ),
227
+ lockupKind: LockupKindSchema.describe("Type of lockup: cliff or constant"),
228
+ lockupPeriodsInDays: z.number().int().min(1).max(2920).describe("Number of days to lock the position (max ~8 years)"),
229
+ subDaoMint: PublicKeySchema.optional().describe(
230
+ "Sub-DAO mint to delegate to immediately after creation (optional)"
231
+ ),
232
+ automationEnabled: z.boolean().optional().describe("Enable delegation claim bot automation (optional)")
233
+ });
234
+ var ClosePositionInputSchema = z.object({
235
+ walletAddress: WalletAddressSchema.describe(
236
+ "Wallet address that owns the position"
237
+ ),
238
+ positionMint: PublicKeySchema.describe("Mint address of the position NFT")
239
+ });
240
+ var ExtendPositionInputSchema = z.object({
241
+ walletAddress: WalletAddressSchema.describe(
242
+ "Wallet address that owns the position"
243
+ ),
244
+ positionMint: PublicKeySchema.describe("Mint address of the position NFT"),
245
+ lockupPeriodsInDays: z.number().int().min(1).describe("New lockup period in days")
246
+ });
247
+ var FlipLockupKindInputSchema = z.object({
248
+ walletAddress: WalletAddressSchema.describe(
249
+ "Wallet address that owns the position"
250
+ ),
251
+ positionMint: PublicKeySchema.describe("Mint address of the position NFT")
252
+ });
253
+ var ResetLockupInputSchema = z.object({
254
+ walletAddress: WalletAddressSchema.describe(
255
+ "Wallet address that owns the position"
256
+ ),
257
+ positionMint: PublicKeySchema.describe("Mint address of the position NFT"),
258
+ lockupKind: LockupKindSchema.describe("New lockup type: cliff or constant"),
259
+ lockupPeriodsInDays: z.number().int().min(1).max(1460).describe("New lockup period in days (max 4 years)")
260
+ });
261
+ var SplitPositionInputSchema = z.object({
262
+ walletAddress: WalletAddressSchema.describe(
263
+ "Wallet address that owns the position"
264
+ ),
265
+ positionMint: PublicKeySchema.describe(
266
+ "Mint address of the source position NFT"
267
+ ),
268
+ amount: z.string().regex(/^\d+$/, "Amount must be a whole number in smallest unit (bones)").describe(
269
+ "Raw token amount to transfer to new position (in smallest unit)"
270
+ ),
271
+ lockupKind: LockupKindSchema.describe("Lockup type for new position"),
272
+ lockupPeriodsInDays: z.number().int().min(1).describe("Lockup period for new position in days")
273
+ });
274
+ var TransferPositionInputSchema = z.object({
275
+ walletAddress: WalletAddressSchema.describe(
276
+ "Wallet address that owns both positions"
277
+ ),
278
+ positionMint: PublicKeySchema.describe(
279
+ "Mint address of the source position NFT"
280
+ ),
281
+ targetPositionMint: PublicKeySchema.describe(
282
+ "Mint address of the target position NFT"
283
+ ),
284
+ amount: z.string().regex(/^\d+$/, "Amount must be a whole number in smallest unit (bones)").describe("Raw token amount to transfer (in smallest unit)")
285
+ });
286
+ var DelegatePositionInputSchema = z.object({
287
+ walletAddress: WalletAddressSchema.describe(
288
+ "Wallet address that owns the positions"
289
+ ),
290
+ positionMints: z.array(PublicKeySchema).min(1).describe("Array of position NFT mint addresses to delegate"),
291
+ subDaoMint: PublicKeySchema.describe("Sub-DAO mint address to delegate to"),
292
+ automationEnabled: z.boolean().optional().describe("Enable delegation claim bot automation")
293
+ });
294
+ var ExtendDelegationInputSchema = z.object({
295
+ walletAddress: WalletAddressSchema.describe(
296
+ "Wallet address that owns the position"
297
+ ),
298
+ positionMint: PublicKeySchema.describe("Mint address of the position NFT")
299
+ });
300
+ var UndelegateInputSchema = z.object({
301
+ walletAddress: WalletAddressSchema.describe(
302
+ "Wallet address that owns the position"
303
+ ),
304
+ positionMint: PublicKeySchema.describe("Mint address of the position NFT")
305
+ });
306
+ var ClaimDelegationRewardsInputSchema = z.object({
307
+ walletAddress: WalletAddressSchema.describe(
308
+ "Wallet address that owns the positions"
309
+ ),
310
+ positionMints: z.array(PublicKeySchema).min(1).describe("Array of position NFT mint addresses to claim rewards for")
311
+ });
312
+ var VoteInputSchema = z.object({
313
+ walletAddress: WalletAddressSchema.describe(
314
+ "Wallet address that owns the positions"
315
+ ),
316
+ proposalKey: PublicKeySchema.describe("Public key of the proposal to vote on"),
317
+ positionMints: z.array(PublicKeySchema).min(1).describe("Array of position NFT mint addresses to vote with"),
318
+ choice: z.number().int().min(0).describe("The choice index to vote for")
319
+ });
320
+ var RelinquishVoteInputSchema = z.object({
321
+ walletAddress: WalletAddressSchema.describe(
322
+ "Wallet address that owns the positions"
323
+ ),
324
+ proposalKey: PublicKeySchema.describe(
325
+ "Public key of the proposal to relinquish vote from"
326
+ ),
327
+ positionMints: z.array(PublicKeySchema).min(1).describe("Array of position NFT mint addresses to relinquish votes for"),
328
+ choice: z.number().int().min(0).describe("The choice index to relinquish")
329
+ });
330
+ var RelinquishPositionVotesInputSchema = z.object({
331
+ walletAddress: WalletAddressSchema.describe(
332
+ "Wallet address that owns the position"
333
+ ),
334
+ positionMint: PublicKeySchema.describe("Mint address of the position NFT"),
335
+ organization: PublicKeySchema.describe(
336
+ "Public key of the DAO organization to relinquish votes from"
337
+ )
338
+ });
339
+ var AssignProxiesInputSchema = z.object({
340
+ walletAddress: WalletAddressSchema.describe(
341
+ "Wallet address that owns the positions"
342
+ ),
343
+ positionMints: z.array(PublicKeySchema).min(1).describe("Array of position NFT mint addresses to assign proxy for"),
344
+ proxyKey: PublicKeySchema.describe(
345
+ "Public key of the proxy recipient who will vote on your behalf"
346
+ ),
347
+ expirationTime: z.number().int().describe("Unix timestamp when the proxy assignment expires")
348
+ });
349
+ var UnassignProxiesInputSchema = z.object({
350
+ walletAddress: WalletAddressSchema.describe(
351
+ "Wallet address that owns the positions"
352
+ ),
353
+ proxyKey: PublicKeySchema.describe("Public key of the proxy to unassign"),
354
+ positionMints: z.array(PublicKeySchema).min(1).describe("Array of position NFT mint addresses to unassign proxy for")
355
+ });
356
+ var GovernanceTransactionResponseSchema = z.object({
357
+ transactionData: TransactionDataSchema,
358
+ estimatedSolFee: TokenAmountOutputSchema.optional().describe(
359
+ "Estimated total SOL fee including rent, priority fees, and automation costs"
360
+ ),
361
+ hasMore: z.boolean().optional().describe(
362
+ "True if more work remains \u2014 call again with the same arguments to continue. Used for multi-batch reward claiming and large position sets."
363
+ )
364
+ });
219
365
  var HealthResponseSchema = z.object({
220
366
  ok: z.boolean(),
221
367
  error: z.string().optional()
@@ -1011,9 +1157,108 @@ var hotspotsContract = oc.tag("Hotspot").prefix("/hotspots").router({
1011
1157
  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
1158
  NOT_FOUND,
1013
1159
  UNAUTHORIZED,
1014
- BAD_REQUEST: { message: "Device type mismatch", status: 400 }
1160
+ BAD_REQUEST: { message: "Device type mismatch", status: 400 },
1161
+ INSUFFICIENT_FUNDS
1015
1162
  })
1016
1163
  });
1164
+ var governanceContract = oc.tag("Governance").prefix("/governance").router({
1165
+ createPosition: oc.route({
1166
+ method: "POST",
1167
+ path: "/positions",
1168
+ summary: "Create staking position",
1169
+ description: "Create a new staking position with specified lockup parameters. Optionally delegate to a sub-DAO immediately."
1170
+ }).input(CreatePositionInputSchema).errors({ BAD_REQUEST, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1171
+ closePosition: oc.route({
1172
+ method: "POST",
1173
+ path: "/positions/{positionMint}/close",
1174
+ summary: "Close staking position",
1175
+ description: "Close an expired staking position and withdraw all deposited tokens. Position must have no active votes and lockup must be expired."
1176
+ }).input(ClosePositionInputSchema).errors({ BAD_REQUEST, NOT_FOUND, UNAUTHORIZED, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1177
+ extendPosition: oc.route({
1178
+ method: "POST",
1179
+ path: "/positions/{positionMint}/extend",
1180
+ summary: "Extend position lockup",
1181
+ description: "Extend the lockup period of an existing staking position."
1182
+ }).input(ExtendPositionInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1183
+ flipLockupKind: oc.route({
1184
+ method: "POST",
1185
+ path: "/positions/{positionMint}/flip-lockup",
1186
+ summary: "Flip lockup kind",
1187
+ description: "Switch position lockup between cliff and constant. Cliff unlocks at a specific time, constant never decays."
1188
+ }).input(FlipLockupKindInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1189
+ resetLockup: oc.route({
1190
+ method: "POST",
1191
+ path: "/positions/{positionMint}/reset-lockup",
1192
+ summary: "Reset position lockup",
1193
+ description: "Reset both lockup kind and period for a position. Allows changing cliff/constant and duration in one transaction."
1194
+ }).input(ResetLockupInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1195
+ splitPosition: oc.route({
1196
+ method: "POST",
1197
+ path: "/positions/{positionMint}/split",
1198
+ summary: "Split position",
1199
+ description: "Split tokens from an existing position into a new position with its own lockup parameters."
1200
+ }).input(SplitPositionInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1201
+ transferPosition: oc.route({
1202
+ method: "POST",
1203
+ path: "/positions/{positionMint}/transfer",
1204
+ summary: "Transfer between positions",
1205
+ description: "Transfer tokens from one position to another. Both positions must have no active votes."
1206
+ }).input(TransferPositionInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1207
+ delegatePositions: oc.route({
1208
+ method: "POST",
1209
+ path: "/positions/delegate/{subDaoMint}",
1210
+ summary: "Delegate positions",
1211
+ description: "Delegate one or more positions to a sub-DAO. When changing delegation (already delegated to a different sub-DAO), automatically claims pending rewards first. If many epochs need claiming, may require multiple API calls - check hasMore in the response. Automatically handles expired delegations (claim, close, re-delegate) and renewable delegations (extend expiration). Optionally enable/disable automation for reward claiming. Safe to call repeatedly with the same positions. Supports proxy voting \u2014 positions proxied to the caller are auto-detected."
1212
+ }).input(DelegatePositionInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1213
+ claimDelegationRewards: oc.route({
1214
+ method: "POST",
1215
+ path: "/positions/claim-rewards",
1216
+ summary: "Claim delegation rewards",
1217
+ description: "Claim delegation rewards for one or more positions. May produce multiple transactions if rewards span many epochs. If many epochs need claiming, may require multiple API calls - check hasMore in the response. Safe to call repeatedly with the same positions - returns empty transactions when nothing left to claim."
1218
+ }).input(ClaimDelegationRewardsInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1219
+ undelegatePosition: oc.route({
1220
+ method: "POST",
1221
+ path: "/positions/{positionMint}/undelegate",
1222
+ summary: "Undelegate position",
1223
+ description: "Remove delegation from a position. Automatically claims any pending rewards before undelegating. If many epochs need claiming, may require multiple API calls - check hasMore in the response. Submit the returned transactions, then call again to get remaining claims or the final undelegate transaction."
1224
+ }).input(UndelegateInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1225
+ extendDelegation: oc.route({
1226
+ method: "POST",
1227
+ path: "/positions/{positionMint}/delegation/extend",
1228
+ summary: "Extend delegation",
1229
+ description: "Extend the expiration of a delegated position to the current season end."
1230
+ }).input(ExtendDelegationInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1231
+ vote: oc.route({
1232
+ method: "POST",
1233
+ path: "/proposals/{proposalKey}/vote",
1234
+ summary: "Vote on proposal",
1235
+ description: "Cast votes on a proposal using one or more positions. Auto-detects owned vs proxied positions \u2014 proxied positions use proxy vote path. Automatically queues cleanup tasks to relinquish vote markers after the proposal ends."
1236
+ }).input(VoteInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1237
+ relinquishVote: oc.route({
1238
+ method: "POST",
1239
+ path: "/proposals/{proposalKey}/relinquish-votes",
1240
+ summary: "Relinquish vote",
1241
+ description: "Remove votes from a specific choice on a proposal for one or more positions. Auto-detects owned vs proxied positions \u2014 proxied positions use proxy relinquish path."
1242
+ }).input(RelinquishVoteInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1243
+ relinquishPositionVotes: oc.route({
1244
+ method: "POST",
1245
+ path: "/positions/{positionMint}/relinquish-vote",
1246
+ summary: "Relinquish all position votes",
1247
+ description: "Remove ALL active votes from a single position across all proposals in an organization."
1248
+ }).input(RelinquishPositionVotesInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1249
+ assignProxies: oc.route({
1250
+ method: "POST",
1251
+ path: "/proxy/{proxyKey}/assign",
1252
+ summary: "Assign voting proxy",
1253
+ description: "Delegate voting power to a proxy recipient for one or more positions. The proxy can vote on your behalf until the expiration time. If the recipient has already voted on open proposals, automatically propagates those votes to delegated positions via countProxyVoteV0."
1254
+ }).input(AssignProxiesInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema),
1255
+ unassignProxies: oc.route({
1256
+ method: "POST",
1257
+ path: "/proxy/{proxyKey}/unassign",
1258
+ summary: "Unassign voting proxy",
1259
+ description: "Remove voting proxy delegation from one or more positions, returning voting power to the owner."
1260
+ }).input(UnassignProxiesInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(GovernanceTransactionResponseSchema)
1261
+ });
1017
1262
  var rewardContract = oc.tag("Reward Contract").prefix("/hotspots").router({
1018
1263
  find: oc.route({
1019
1264
  method: "GET",
@@ -1242,6 +1487,7 @@ var webhooksContract = oc.tag("Webhooks").router({
1242
1487
  })
1243
1488
  });
1244
1489
  var apiContract = oc.router({
1490
+ governance: governanceContract,
1245
1491
  health: healthContract,
1246
1492
  tokens: tokensContract,
1247
1493
  hotspots: hotspotsContract,
@@ -1256,4 +1502,4 @@ var fullApiContract = oc.router({
1256
1502
  webhooks: webhooksContract
1257
1503
  });
1258
1504
 
1259
- export { AutomationScheduleSchema, AutomationStatusOutputSchema, BAD_REQUEST, BankAccountListOutputSchema, BankAccountSchema, BatchStatusOutputSchema, BridgeTransferSchema, CONFLICT, ClaimInviteRequestSchema, ClaimInviteResponseSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateBankAccountInputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, DeleteRewardContractTransactionResponseSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, ErrorResponseSchema, EstimateCostToCreateRewardContractResponseSchema, EstimateInputSchema, EstimateOutputSchema, FeesOutputSchema, FindRewardContractResponseSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetBalancesInputSchema, GetBankAccountInputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetInputSchema, GetInstructionsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetQuoteInputSchema, GetSendQuoteInputSchema, GetSplitInputSchema, GetTokensInputSchema, GetTransferInputSchema, HealthResponseSchema, HeliumPublicKeySchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, InitKycInputSchema, KycStatusOutputSchema, NOT_FOUND, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, PublicKeySchema, QuoteOutputSchema, QuoteResponseSchema, RATE_LIMITED, ResubmitInputSchema, ResubmitOutputSchema, RewardSplitInputSchema, SIMULATION_FAILED, ScheduleInputSchema, SendFundsInputSchema, SendFundsOutputSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, SubmitInputSchema, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, TokenAccountSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TokenBalanceDataSchema, TokenListOutputSchema, TokenSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, TransactionStatusSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, TransferInputSchema, TransferOutputSchema, UNAUTHENTICATED, UNAUTHORIZED, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema, WalletAddressSchema, WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, fullApiContract };
1505
+ export { AssignProxiesInputSchema, AutomationScheduleSchema, AutomationStatusOutputSchema, BAD_REQUEST, BankAccountListOutputSchema, BankAccountSchema, BatchStatusOutputSchema, BridgeTransferSchema, CONFLICT, ClaimDelegationRewardsInputSchema, ClaimInviteRequestSchema, ClaimInviteResponseSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, ClosePositionInputSchema, CreateBankAccountInputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, CreateInviteResponseSchema, CreatePositionInputSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DelegatePositionInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, DeleteRewardContractTransactionResponseSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, ErrorResponseSchema, EstimateCostToCreateRewardContractResponseSchema, EstimateInputSchema, EstimateOutputSchema, ExtendDelegationInputSchema, ExtendPositionInputSchema, FeesOutputSchema, FindRewardContractResponseSchema, FlipLockupKindInputSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetBalancesInputSchema, GetBankAccountInputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetInputSchema, GetInstructionsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetQuoteInputSchema, GetSendQuoteInputSchema, GetSplitInputSchema, GetTokensInputSchema, GetTransferInputSchema, GovernanceTransactionResponseSchema, HealthResponseSchema, HeliumPublicKeySchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, InitKycInputSchema, KycStatusOutputSchema, LockupKindSchema, NOT_FOUND, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, PublicKeySchema, QuoteOutputSchema, QuoteResponseSchema, RATE_LIMITED, RelinquishPositionVotesInputSchema, RelinquishVoteInputSchema, ResetLockupInputSchema, ResubmitInputSchema, ResubmitOutputSchema, RewardSplitInputSchema, SIMULATION_FAILED, ScheduleInputSchema, SendFundsInputSchema, SendFundsOutputSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitPositionInputSchema, SplitResponseSchema, SplitShareSchema, SubmitInputSchema, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, TokenAccountSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TokenBalanceDataSchema, TokenListOutputSchema, TokenSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, TransactionStatusSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, TransferInputSchema, TransferOutputSchema, TransferPositionInputSchema, UNAUTHENTICATED, UNAUTHORIZED, UnassignProxiesInputSchema, UndelegateInputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema, VoteInputSchema, WalletAddressSchema, WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, fullApiContract };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helium/blockchain-api",
3
- "version": "0.3.7",
3
+ "version": "0.3.9",
4
4
  "description": "TypeScript client and schemas for the Helium Blockchain API",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {