@helium/blockchain-api 0.16.1 → 0.17.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/contracts.js CHANGED
@@ -1,15 +1,13 @@
1
- export { apiContract, dataCreditsContract, fiatContract, fullApiContract, governanceContract, healthContract, hotspotsContract, migrationContract, rewardContract, squadsContract, swapContract, tokensContract, transactionsContract, webhooksContract, welcomePacksContract } from './chunk-74MKIHWG.js';
1
+ export { apiContract, dataCreditsContract, fullApiContract, governanceContract, healthContract, hotspotsContract, migrationContract, rewardContract, squadsContract, swapContract, tokensContract, transactionsContract, welcomePacksContract } from './chunk-DSPXJINC.js';
2
2
  import './chunk-XSASLENU.js';
3
- import './chunk-7CTJX35S.js';
4
- import './chunk-O2GVB37L.js';
5
3
  import './chunk-KZ3X5E6E.js';
4
+ import './chunk-V3MNHRVC.js';
6
5
  import './chunk-7KWTYKKU.js';
7
6
  import './chunk-TGBSASKU.js';
8
7
  import './chunk-7GK4VHJM.js';
9
8
  import './chunk-ORTJ2MHX.js';
10
- import './chunk-HHWYMUFM.js';
11
- import './chunk-V3MNHRVC.js';
12
9
  import './chunk-PLSGT3ZU.js';
13
10
  import './chunk-4RVSLJOU.js';
11
+ import './chunk-O2GVB37L.js';
14
12
  import './chunk-U5EY5SM3.js';
15
13
  import './chunk-Z4E3I2B4.js';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export { ErrorResponse, ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInput, RewardSplitInputSchema, ScheduleInput, ScheduleInputSchema, TagSchema, TokenAmountInput, TokenAmountInputSchema, TokenAmountOutput, TokenAmountOutputSchema, TransactionBatchRequest, TransactionBatchRequestSchema, TransactionBatchResponse, TransactionBatchResponseSchema, TransactionData, TransactionDataSchema, TransactionItem, TransactionItemSchema, TransactionMetadata, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './schemas/common.js';
2
- export { BankAccount, BankAccountListOutput, BankAccountListOutputSchema, BankAccountSchema, BridgeTransfer, BridgeTransferSchema, CreateBankAccountInput, CreateBankAccountInputSchema, DeleteBankAccountInput, DeleteBankAccountInputSchema, DeleteBankAccountOutput, DeleteBankAccountOutputSchema, FeesOutput, FeesOutputSchema, GetBankAccountInput, GetBankAccountInputSchema, GetSendQuoteInput, GetSendQuoteInputSchema, GetTransferInput, GetTransferInputSchema, InitKycInput, InitKycInputSchema, KycStatusOutput, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInput, SendFundsInputSchema, SendFundsOutput, SendFundsOutputSchema, UpdateTransferInput, UpdateTransferInputSchema, UpdateTransferOutput, UpdateTransferOutputSchema } from './schemas/fiat.js';
3
2
  export { AssignProxiesInput, AssignProxiesInputSchema, AssignProxiesResponse, AssignProxiesResponseSchema, ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, ClosePositionInput, ClosePositionInputSchema, ClosePositionResponse, ClosePositionResponseSchema, CreatePositionInput, CreatePositionInputSchema, CreatePositionResponse, CreatePositionResponseSchema, DelegatePositionInput, DelegatePositionInputSchema, DelegatePositionsResponse, DelegatePositionsResponseSchema, ExtendDelegationInput, ExtendDelegationInputSchema, ExtendDelegationResponse, ExtendDelegationResponseSchema, ExtendPositionInput, ExtendPositionInputSchema, ExtendPositionResponse, ExtendPositionResponseSchema, FlipLockupKindInput, FlipLockupKindInputSchema, FlipLockupKindResponse, FlipLockupKindResponseSchema, GetPositionsInput, GetPositionsInputSchema, GetPositionsResponse, GetPositionsResponseSchema, LockupKind, LockupKindSchema, Position, PositionDelegationSchema, PositionSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, SkipReason, SkipReasonSchema, SkippedPosition, SkippedPositionSchema, SplitPositionInput, SplitPositionInputSchema, SplitPositionResponse, SplitPositionResponseSchema, TransferPositionInput, TransferPositionInputSchema, TransferPositionOwnershipInput, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponse, TransferPositionOwnershipResponseSchema, TransferPositionResponse, TransferPositionResponseSchema, UnassignProxiesInput, UnassignProxiesInputSchema, UnassignProxiesResponse, UnassignProxiesResponseSchema, UndelegateInput, UndelegateInputSchema, UndelegatePositionResponse, UndelegatePositionResponseSchema, VoteInput, VoteInputSchema, VoteResponse, VoteResponseSchema } from './schemas/governance.js';
4
3
  export { HealthResponse, HealthResponseSchema } from './schemas/health.js';
5
4
  export { BurnInput, BurnInputSchema, BurnOutputSchema, CreateHntAccountInput, CreateHntAccountInputSchema, CreateHntAccountOutput, CreateHntAccountOutputSchema, GetBalancesInput, GetBalancesInputSchema, MemoInput, MemoInputSchema, MemoOutputSchema, MultiTransferInput, MultiTransferInputSchema, MultiTransferOutput, MultiTransferOutputSchema, MultiTransferRecipient, MultiTransferRecipientSchema, TokenAccount, TokenAccountSchema, TokenBalanceData, TokenBalanceDataSchema, TransferInput, TransferInputSchema, TransferOutput, TransferOutputSchema } from './schemas/tokens.js';
package/dist/index.js CHANGED
@@ -1,17 +1,15 @@
1
1
  import './chunk-DQYAIQQ5.js';
2
- export { apiContract, fullApiContract } from './chunk-74MKIHWG.js';
2
+ export { apiContract, fullApiContract } from './chunk-DSPXJINC.js';
3
3
  export { ALL_POSITIONS_SKIPPED, BAD_REQUEST, BLOCKHASH_EXPIRED, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './chunk-XSASLENU.js';
4
- import './chunk-7CTJX35S.js';
5
- import './chunk-TPPTOJHD.js';
6
- export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-O2GVB37L.js';
4
+ import './chunk-TEWZC6CW.js';
7
5
  export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-KZ3X5E6E.js';
6
+ export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-V3MNHRVC.js';
8
7
  export { BurnInputSchema, BurnOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, MemoInputSchema, MemoOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, MultiTransferRecipientSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from './chunk-7KWTYKKU.js';
9
8
  export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from './chunk-TGBSASKU.js';
10
9
  export { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from './chunk-7GK4VHJM.js';
11
10
  export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-ORTJ2MHX.js';
12
- export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from './chunk-HHWYMUFM.js';
13
- export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-V3MNHRVC.js';
14
11
  export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionDelegationSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-PLSGT3ZU.js';
15
12
  export { HealthResponseSchema } from './chunk-4RVSLJOU.js';
13
+ export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-O2GVB37L.js';
16
14
  export { AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipTypeSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-U5EY5SM3.js';
17
15
  export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TagSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './chunk-Z4E3I2B4.js';
package/dist/schemas.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export { ErrorResponse, ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInput, RewardSplitInputSchema, ScheduleInput, ScheduleInputSchema, TagSchema, TokenAmountInput, TokenAmountInputSchema, TokenAmountOutput, TokenAmountOutputSchema, TransactionBatchRequest, TransactionBatchRequestSchema, TransactionBatchResponse, TransactionBatchResponseSchema, TransactionData, TransactionDataSchema, TransactionItem, TransactionItemSchema, TransactionMetadata, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './schemas/common.js';
2
- export { BankAccount, BankAccountListOutput, BankAccountListOutputSchema, BankAccountSchema, BridgeTransfer, BridgeTransferSchema, CreateBankAccountInput, CreateBankAccountInputSchema, DeleteBankAccountInput, DeleteBankAccountInputSchema, DeleteBankAccountOutput, DeleteBankAccountOutputSchema, FeesOutput, FeesOutputSchema, GetBankAccountInput, GetBankAccountInputSchema, GetSendQuoteInput, GetSendQuoteInputSchema, GetTransferInput, GetTransferInputSchema, InitKycInput, InitKycInputSchema, KycStatusOutput, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInput, SendFundsInputSchema, SendFundsOutput, SendFundsOutputSchema, UpdateTransferInput, UpdateTransferInputSchema, UpdateTransferOutput, UpdateTransferOutputSchema } from './schemas/fiat.js';
3
2
  export { AssignProxiesInput, AssignProxiesInputSchema, AssignProxiesResponse, AssignProxiesResponseSchema, ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, ClosePositionInput, ClosePositionInputSchema, ClosePositionResponse, ClosePositionResponseSchema, CreatePositionInput, CreatePositionInputSchema, CreatePositionResponse, CreatePositionResponseSchema, DelegatePositionInput, DelegatePositionInputSchema, DelegatePositionsResponse, DelegatePositionsResponseSchema, ExtendDelegationInput, ExtendDelegationInputSchema, ExtendDelegationResponse, ExtendDelegationResponseSchema, ExtendPositionInput, ExtendPositionInputSchema, ExtendPositionResponse, ExtendPositionResponseSchema, FlipLockupKindInput, FlipLockupKindInputSchema, FlipLockupKindResponse, FlipLockupKindResponseSchema, GetPositionsInput, GetPositionsInputSchema, GetPositionsResponse, GetPositionsResponseSchema, LockupKind, LockupKindSchema, Position, PositionDelegationSchema, PositionSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, SkipReason, SkipReasonSchema, SkippedPosition, SkippedPositionSchema, SplitPositionInput, SplitPositionInputSchema, SplitPositionResponse, SplitPositionResponseSchema, TransferPositionInput, TransferPositionInputSchema, TransferPositionOwnershipInput, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponse, TransferPositionOwnershipResponseSchema, TransferPositionResponse, TransferPositionResponseSchema, UnassignProxiesInput, UnassignProxiesInputSchema, UnassignProxiesResponse, UnassignProxiesResponseSchema, UndelegateInput, UndelegateInputSchema, UndelegatePositionResponse, UndelegatePositionResponseSchema, VoteInput, VoteInputSchema, VoteResponse, VoteResponseSchema } from './schemas/governance.js';
4
3
  export { HealthResponse, HealthResponseSchema } from './schemas/health.js';
5
4
  export { BurnInput, BurnInputSchema, BurnOutputSchema, CreateHntAccountInput, CreateHntAccountInputSchema, CreateHntAccountOutput, CreateHntAccountOutputSchema, GetBalancesInput, GetBalancesInputSchema, MemoInput, MemoInputSchema, MemoOutputSchema, MultiTransferInput, MultiTransferInputSchema, MultiTransferOutput, MultiTransferOutputSchema, MultiTransferRecipient, MultiTransferRecipientSchema, TokenAccount, TokenAccountSchema, TokenBalanceData, TokenBalanceDataSchema, TransferInput, TransferInputSchema, TransferOutput, TransferOutputSchema } from './schemas/tokens.js';
package/dist/schemas.js CHANGED
@@ -1,13 +1,12 @@
1
- import './chunk-TPPTOJHD.js';
2
- export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-O2GVB37L.js';
1
+ import './chunk-TEWZC6CW.js';
3
2
  export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-KZ3X5E6E.js';
3
+ export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-V3MNHRVC.js';
4
4
  export { BurnInputSchema, BurnOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, MemoInputSchema, MemoOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, MultiTransferRecipientSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from './chunk-7KWTYKKU.js';
5
5
  export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from './chunk-TGBSASKU.js';
6
6
  export { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from './chunk-7GK4VHJM.js';
7
7
  export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-ORTJ2MHX.js';
8
- export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from './chunk-HHWYMUFM.js';
9
- export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-V3MNHRVC.js';
10
8
  export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionDelegationSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-PLSGT3ZU.js';
11
9
  export { HealthResponseSchema } from './chunk-4RVSLJOU.js';
10
+ export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-O2GVB37L.js';
12
11
  export { AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipTypeSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-U5EY5SM3.js';
13
12
  export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TagSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './chunk-Z4E3I2B4.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helium/blockchain-api",
3
- "version": "0.16.1",
3
+ "version": "0.17.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript client and schemas for the Helium Blockchain API",
6
6
  "license": "Apache-2.0",
@@ -21,22 +21,27 @@
21
21
  ],
22
22
  "exports": {
23
23
  ".": {
24
+ "module-sync": "./dist/index.js",
24
25
  "import": "./dist/index.js",
25
26
  "types": "./dist/index.d.ts"
26
27
  },
27
28
  "./contracts": {
29
+ "module-sync": "./dist/contracts.js",
28
30
  "import": "./dist/contracts.js",
29
31
  "types": "./dist/contracts.d.ts"
30
32
  },
31
33
  "./schemas": {
34
+ "module-sync": "./dist/schemas.js",
32
35
  "import": "./dist/schemas.js",
33
36
  "types": "./dist/schemas.d.ts"
34
37
  },
35
38
  "./schemas/*": {
39
+ "module-sync": "./dist/schemas/*.js",
36
40
  "import": "./dist/schemas/*.js",
37
41
  "types": "./dist/schemas/*.d.ts"
38
42
  },
39
43
  "./errors": {
44
+ "module-sync": "./dist/errors.js",
40
45
  "import": "./dist/errors.js",
41
46
  "types": "./dist/errors.d.ts"
42
47
  }
@@ -1,16 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- // src/schemas/webhooks.ts
4
- var BridgeWebhookInputSchema = z.object({
5
- type: z.string(),
6
- kyc_link_id: z.string().optional(),
7
- kyc_status: z.string().optional(),
8
- tos_status: z.string().optional(),
9
- customer_id: z.string().optional()
10
- });
11
- var BridgeWebhookOutputSchema = z.object({
12
- success: z.boolean(),
13
- error: z.string().optional()
14
- });
15
-
16
- export { BridgeWebhookInputSchema, BridgeWebhookOutputSchema };
@@ -1,97 +0,0 @@
1
- import { QuoteResponseSchema } from './chunk-V3MNHRVC.js';
2
- import { createTransactionResponse } from './chunk-Z4E3I2B4.js';
3
- import { z } from 'zod';
4
-
5
- var InitKycInputSchema = z.object({
6
- type: z.enum(["individual", "business"]).optional()
7
- });
8
- var CreateBankAccountInputSchema = z.object({
9
- currency: z.string(),
10
- account_type: z.string(),
11
- bank_name: z.string(),
12
- account_name: z.string(),
13
- first_name: z.string().optional(),
14
- last_name: z.string().optional(),
15
- account_owner_name: z.string().optional(),
16
- business_name: z.string().optional(),
17
- account: z.object({
18
- account_number: z.string(),
19
- routing_number: z.string(),
20
- checking_or_savings: z.string()
21
- }),
22
- address: z.object({
23
- street_line_1: z.string(),
24
- line2: z.string().optional(),
25
- city: z.string(),
26
- state: z.string(),
27
- postal_code: z.string(),
28
- country: z.string()
29
- })
30
- });
31
- var GetBankAccountInputSchema = z.object({
32
- id: z.string()
33
- });
34
- var DeleteBankAccountInputSchema = z.object({
35
- id: z.number()
36
- });
37
- var GetSendQuoteInputSchema = z.object({
38
- id: z.string(),
39
- usdAmount: z.string()
40
- });
41
- var SendFundsInputSchema = z.object({
42
- id: z.string(),
43
- userAddress: z.string(),
44
- quoteResponse: QuoteResponseSchema
45
- });
46
- var GetTransferInputSchema = z.object({
47
- id: z.string()
48
- });
49
- var UpdateTransferInputSchema = z.object({
50
- id: z.string(),
51
- solanaSignature: z.string()
52
- });
53
- var KycStatusOutputSchema = z.object({
54
- kycStatus: z.string(),
55
- tosStatus: z.string(),
56
- tosLink: z.string().nullable(),
57
- kycLink: z.string().nullable(),
58
- kycLinkId: z.string().nullable(),
59
- accountType: z.string().optional(),
60
- rejectionReasons: z.array(z.string()).optional()
61
- });
62
- var FeesOutputSchema = z.object({
63
- developer_fee: z.string(),
64
- developer_fee_percent: z.number()
65
- });
66
- var BankAccountSchema = z.object({
67
- id: z.number().optional(),
68
- bridgeUserId: z.number().optional(),
69
- bridgeExternalAccountId: z.string().optional(),
70
- accountName: z.string().optional(),
71
- bankName: z.string().optional(),
72
- lastFourDigits: z.string().optional(),
73
- routingNumber: z.string().optional(),
74
- accountType: z.string().optional(),
75
- createdAt: z.union([z.string(), z.date()]).optional(),
76
- updatedAt: z.union([z.string(), z.date()]).optional()
77
- }).passthrough();
78
- var BankAccountListOutputSchema = z.array(BankAccountSchema);
79
- var DeleteBankAccountOutputSchema = z.object({
80
- success: z.boolean()
81
- });
82
- var BridgeTransferSchema = z.object({
83
- id: z.string(),
84
- state: z.string(),
85
- source_deposit_instructions: z.object({
86
- to_address: z.string()
87
- })
88
- }).passthrough();
89
- var SendFundsOutputSchema = createTransactionResponse().extend({
90
- bridgeTransfer: BridgeTransferSchema
91
- });
92
- var UpdateTransferOutputSchema = z.object({
93
- success: z.boolean()
94
- });
95
- var QuoteOutputSchema = QuoteResponseSchema;
96
-
97
- export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema };
@@ -1,176 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const InitKycInputSchema: z.ZodObject<{
4
- type: z.ZodOptional<z.ZodEnum<{
5
- individual: "individual";
6
- business: "business";
7
- }>>;
8
- }, z.core.$strip>;
9
- declare const CreateBankAccountInputSchema: z.ZodObject<{
10
- currency: z.ZodString;
11
- account_type: z.ZodString;
12
- bank_name: z.ZodString;
13
- account_name: z.ZodString;
14
- first_name: z.ZodOptional<z.ZodString>;
15
- last_name: z.ZodOptional<z.ZodString>;
16
- account_owner_name: z.ZodOptional<z.ZodString>;
17
- business_name: z.ZodOptional<z.ZodString>;
18
- account: z.ZodObject<{
19
- account_number: z.ZodString;
20
- routing_number: z.ZodString;
21
- checking_or_savings: z.ZodString;
22
- }, z.core.$strip>;
23
- address: z.ZodObject<{
24
- street_line_1: z.ZodString;
25
- line2: z.ZodOptional<z.ZodString>;
26
- city: z.ZodString;
27
- state: z.ZodString;
28
- postal_code: z.ZodString;
29
- country: z.ZodString;
30
- }, z.core.$strip>;
31
- }, z.core.$strip>;
32
- declare const GetBankAccountInputSchema: z.ZodObject<{
33
- id: z.ZodString;
34
- }, z.core.$strip>;
35
- declare const DeleteBankAccountInputSchema: z.ZodObject<{
36
- id: z.ZodNumber;
37
- }, z.core.$strip>;
38
- declare const GetSendQuoteInputSchema: z.ZodObject<{
39
- id: z.ZodString;
40
- usdAmount: z.ZodString;
41
- }, z.core.$strip>;
42
- declare const SendFundsInputSchema: z.ZodObject<{
43
- id: z.ZodString;
44
- userAddress: z.ZodString;
45
- quoteResponse: z.ZodObject<{
46
- inputMint: z.ZodString;
47
- inAmount: z.ZodString;
48
- outputMint: z.ZodString;
49
- outAmount: z.ZodString;
50
- otherAmountThreshold: z.ZodString;
51
- swapMode: z.ZodString;
52
- slippageBps: z.ZodNumber;
53
- platformFee: z.ZodOptional<z.ZodUnknown>;
54
- priceImpactPct: z.ZodString;
55
- routePlan: z.ZodArray<z.ZodUnknown>;
56
- contextSlot: z.ZodOptional<z.ZodNumber>;
57
- timeTaken: z.ZodOptional<z.ZodNumber>;
58
- }, z.core.$loose>;
59
- }, z.core.$strip>;
60
- declare const GetTransferInputSchema: z.ZodObject<{
61
- id: z.ZodString;
62
- }, z.core.$strip>;
63
- declare const UpdateTransferInputSchema: z.ZodObject<{
64
- id: z.ZodString;
65
- solanaSignature: z.ZodString;
66
- }, z.core.$strip>;
67
- declare const KycStatusOutputSchema: z.ZodObject<{
68
- kycStatus: z.ZodString;
69
- tosStatus: z.ZodString;
70
- tosLink: z.ZodNullable<z.ZodString>;
71
- kycLink: z.ZodNullable<z.ZodString>;
72
- kycLinkId: z.ZodNullable<z.ZodString>;
73
- accountType: z.ZodOptional<z.ZodString>;
74
- rejectionReasons: z.ZodOptional<z.ZodArray<z.ZodString>>;
75
- }, z.core.$strip>;
76
- declare const FeesOutputSchema: z.ZodObject<{
77
- developer_fee: z.ZodString;
78
- developer_fee_percent: z.ZodNumber;
79
- }, z.core.$strip>;
80
- declare const BankAccountSchema: z.ZodObject<{
81
- id: z.ZodOptional<z.ZodNumber>;
82
- bridgeUserId: z.ZodOptional<z.ZodNumber>;
83
- bridgeExternalAccountId: z.ZodOptional<z.ZodString>;
84
- accountName: z.ZodOptional<z.ZodString>;
85
- bankName: z.ZodOptional<z.ZodString>;
86
- lastFourDigits: z.ZodOptional<z.ZodString>;
87
- routingNumber: z.ZodOptional<z.ZodString>;
88
- accountType: z.ZodOptional<z.ZodString>;
89
- createdAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
90
- updatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
91
- }, z.core.$loose>;
92
- declare const BankAccountListOutputSchema: z.ZodArray<z.ZodObject<{
93
- id: z.ZodOptional<z.ZodNumber>;
94
- bridgeUserId: z.ZodOptional<z.ZodNumber>;
95
- bridgeExternalAccountId: z.ZodOptional<z.ZodString>;
96
- accountName: z.ZodOptional<z.ZodString>;
97
- bankName: z.ZodOptional<z.ZodString>;
98
- lastFourDigits: z.ZodOptional<z.ZodString>;
99
- routingNumber: z.ZodOptional<z.ZodString>;
100
- accountType: z.ZodOptional<z.ZodString>;
101
- createdAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
102
- updatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
103
- }, z.core.$loose>>;
104
- declare const DeleteBankAccountOutputSchema: z.ZodObject<{
105
- success: z.ZodBoolean;
106
- }, z.core.$strip>;
107
- declare const BridgeTransferSchema: z.ZodObject<{
108
- id: z.ZodString;
109
- state: z.ZodString;
110
- source_deposit_instructions: z.ZodObject<{
111
- to_address: z.ZodString;
112
- }, z.core.$strip>;
113
- }, z.core.$loose>;
114
- declare const SendFundsOutputSchema: z.ZodObject<{
115
- transactionData: z.ZodObject<{
116
- transactions: z.ZodArray<z.ZodObject<{
117
- serializedTransaction: z.ZodString;
118
- metadata: z.ZodOptional<z.ZodObject<{
119
- type: z.ZodString;
120
- description: z.ZodString;
121
- }, z.core.$catchall<z.ZodUnknown>>>;
122
- }, z.core.$strip>>;
123
- parallel: z.ZodBoolean;
124
- tag: z.ZodOptional<z.ZodString>;
125
- actionMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
126
- }, z.core.$strip>;
127
- estimatedSolFee: z.ZodObject<{
128
- amount: z.ZodString;
129
- decimals: z.ZodNumber;
130
- uiAmount: z.ZodNullable<z.ZodNumber>;
131
- uiAmountString: z.ZodString;
132
- mint: z.ZodString;
133
- }, z.core.$strip>;
134
- bridgeTransfer: z.ZodObject<{
135
- id: z.ZodString;
136
- state: z.ZodString;
137
- source_deposit_instructions: z.ZodObject<{
138
- to_address: z.ZodString;
139
- }, z.core.$strip>;
140
- }, z.core.$loose>;
141
- }, z.core.$strip>;
142
- declare const UpdateTransferOutputSchema: z.ZodObject<{
143
- success: z.ZodBoolean;
144
- }, z.core.$strip>;
145
- declare const QuoteOutputSchema: z.ZodObject<{
146
- inputMint: z.ZodString;
147
- inAmount: z.ZodString;
148
- outputMint: z.ZodString;
149
- outAmount: z.ZodString;
150
- otherAmountThreshold: z.ZodString;
151
- swapMode: z.ZodString;
152
- slippageBps: z.ZodNumber;
153
- platformFee: z.ZodOptional<z.ZodUnknown>;
154
- priceImpactPct: z.ZodString;
155
- routePlan: z.ZodArray<z.ZodUnknown>;
156
- contextSlot: z.ZodOptional<z.ZodNumber>;
157
- timeTaken: z.ZodOptional<z.ZodNumber>;
158
- }, z.core.$loose>;
159
- type InitKycInput = z.infer<typeof InitKycInputSchema>;
160
- type CreateBankAccountInput = z.infer<typeof CreateBankAccountInputSchema>;
161
- type GetBankAccountInput = z.infer<typeof GetBankAccountInputSchema>;
162
- type DeleteBankAccountInput = z.infer<typeof DeleteBankAccountInputSchema>;
163
- type GetSendQuoteInput = z.infer<typeof GetSendQuoteInputSchema>;
164
- type SendFundsInput = z.infer<typeof SendFundsInputSchema>;
165
- type GetTransferInput = z.infer<typeof GetTransferInputSchema>;
166
- type UpdateTransferInput = z.infer<typeof UpdateTransferInputSchema>;
167
- type KycStatusOutput = z.infer<typeof KycStatusOutputSchema>;
168
- type FeesOutput = z.infer<typeof FeesOutputSchema>;
169
- type BankAccount = z.infer<typeof BankAccountSchema>;
170
- type BankAccountListOutput = z.infer<typeof BankAccountListOutputSchema>;
171
- type DeleteBankAccountOutput = z.infer<typeof DeleteBankAccountOutputSchema>;
172
- type BridgeTransfer = z.infer<typeof BridgeTransferSchema>;
173
- type SendFundsOutput = z.infer<typeof SendFundsOutputSchema>;
174
- type UpdateTransferOutput = z.infer<typeof UpdateTransferOutputSchema>;
175
-
176
- export { type BankAccount, type BankAccountListOutput, BankAccountListOutputSchema, BankAccountSchema, type BridgeTransfer, BridgeTransferSchema, type CreateBankAccountInput, CreateBankAccountInputSchema, type DeleteBankAccountInput, DeleteBankAccountInputSchema, type DeleteBankAccountOutput, DeleteBankAccountOutputSchema, type FeesOutput, FeesOutputSchema, type GetBankAccountInput, GetBankAccountInputSchema, type GetSendQuoteInput, GetSendQuoteInputSchema, type GetTransferInput, GetTransferInputSchema, type InitKycInput, InitKycInputSchema, type KycStatusOutput, KycStatusOutputSchema, QuoteOutputSchema, type SendFundsInput, SendFundsInputSchema, type SendFundsOutput, SendFundsOutputSchema, type UpdateTransferInput, UpdateTransferInputSchema, type UpdateTransferOutput, UpdateTransferOutputSchema };
@@ -1,3 +0,0 @@
1
- export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from '../chunk-HHWYMUFM.js';
2
- import '../chunk-V3MNHRVC.js';
3
- import '../chunk-Z4E3I2B4.js';
@@ -1,17 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const BridgeWebhookInputSchema: z.ZodObject<{
4
- type: z.ZodString;
5
- kyc_link_id: z.ZodOptional<z.ZodString>;
6
- kyc_status: z.ZodOptional<z.ZodString>;
7
- tos_status: z.ZodOptional<z.ZodString>;
8
- customer_id: z.ZodOptional<z.ZodString>;
9
- }, z.core.$strip>;
10
- declare const BridgeWebhookOutputSchema: z.ZodObject<{
11
- success: z.ZodBoolean;
12
- error: z.ZodOptional<z.ZodString>;
13
- }, z.core.$strip>;
14
- type BridgeWebhookInput = z.infer<typeof BridgeWebhookInputSchema>;
15
- type BridgeWebhookOutput = z.infer<typeof BridgeWebhookOutputSchema>;
16
-
17
- export { type BridgeWebhookInput, BridgeWebhookInputSchema, type BridgeWebhookOutput, BridgeWebhookOutputSchema };
@@ -1 +0,0 @@
1
- export { BridgeWebhookInputSchema, BridgeWebhookOutputSchema } from '../chunk-7CTJX35S.js';
File without changes