diff --git a/enums/HotspotErrorCode.html b/enums/HotspotErrorCode.html index 89d39cc..0d66d3f 100644 --- a/enums/HotspotErrorCode.html +++ b/enums/HotspotErrorCode.html @@ -90,7 +90,7 @@

BAD_ARGS

BAD_ARGS: = "badargs"
@@ -100,7 +100,7 @@

ERROR

ERROR: = "error"
@@ -110,7 +110,7 @@

GATEWAY_NOT_FOUND

GATEWAY_NOT_FOUND: = "gw_not_found"
@@ -120,7 +120,7 @@

UNKNOWN

UNKNOWN: = "unknown"
@@ -130,7 +130,7 @@

WAIT

WAIT: = "wait"
diff --git a/interfaces/Account.SodiumKeyPair.html b/interfaces/Account.SodiumKeyPair.html index 66dfd92..ca22767 100644 --- a/interfaces/Account.SodiumKeyPair.html +++ b/interfaces/Account.SodiumKeyPair.html @@ -105,7 +105,7 @@

pk

pk: string
@@ -115,7 +115,7 @@

sk

sk: string
diff --git a/modules.html b/modules.html index 24679de..d53b8bf 100644 --- a/modules.html +++ b/modules.html @@ -138,7 +138,7 @@

AssertData

AssertData: { balances?: { dc: Balance<DataCredits> | undefined; hnt: Balance<NetworkTokens | TestNetworkTokens> | undefined; sol: Balance<SolTokens> | undefined }; dcNeeded?: Balance<DataCredits>; hasSufficientBalance: boolean; hasSufficientDc?: boolean; hasSufficientHnt?: boolean; hasSufficientSol?: boolean; isFree: boolean; maker?: Maker; makerFees?: { dc?: Balance<DataCredits>; sol?: Balance<SolTokens> }; oraclePrice: Balance<USDollars>; ownerFees?: { dc?: Balance<DataCredits>; sol?: Balance<SolTokens> }; payer: string; solanaTransactions?: string[] }
@@ -308,7 +308,7 @@

DiagnosticInfo

DiagnosticInfo: { connected: string; dialable: string; disk: string; eth: string; fw: string; height: string; ip: string; nat_type: string; wifi: string }
@@ -350,7 +350,7 @@

HotspotBleManager

HotspotBleManager: ReturnType<typeof useHotspotBle>
@@ -369,7 +369,7 @@

HotspotMeta

HotspotMeta: { elevation?: number; gain?: number; isFullHotspot: boolean; lat?: number; lng?: number; location?: string; numLocationAsserts: number; owner?: string }
@@ -408,7 +408,7 @@

OnboardingManager

OnboardingManager: ReturnType<typeof useOnboardingHook>
@@ -418,7 +418,7 @@

SolanaManager

SolanaManager: ReturnType<typeof useSolana>
@@ -431,7 +431,7 @@

Const AlreadyOnboardedE
AlreadyOnboardedError: Error = ...
@@ -441,7 +441,7 @@

Const CreateHotspotExis
CreateHotspotExistsError: Error = ...
@@ -451,7 +451,7 @@

Const heliumHttpClient<
heliumHttpClient: default = ...
@@ -478,7 +478,7 @@

Const HotspotBleProvide
  • @@ -517,7 +517,7 @@

    Const OnboardingProvider

    Parameters

    @@ -542,19 +542,19 @@

    Returns Element

    Const SolanaProvider

      -
    • SolanaProvider(__namedParameters: { children: ReactNode; cluster?: "devnet" | "testnet" | "mainnet-beta"; heliumWallet?: string; rpcEndpoint: string }): Element
    • +
    • SolanaProvider(__namedParameters: { children: ReactNode; cluster?: "devnet" | "testnet" | "mainnet-beta"; connection?: Connection; heliumWallet?: string; rpcEndpoint?: string }): Element
    • Parameters

      • -
        __namedParameters: { children: ReactNode; cluster?: "devnet" | "testnet" | "mainnet-beta"; heliumWallet?: string; rpcEndpoint: string }
        +
        __namedParameters: { children: ReactNode; cluster?: "devnet" | "testnet" | "mainnet-beta"; connection?: Connection; heliumWallet?: string; rpcEndpoint?: string }
        • children: ReactNode
          @@ -562,11 +562,14 @@
          children:
          Optional cluster?: "devnet" | "testnet" | "mainnet-beta"
        • +
        • +
          Optional connection?: Connection
          +
        • Optional heliumWallet?: string
        • -
          rpcEndpoint: string
          +
          Optional rpcEndpoint?: string
      • @@ -585,7 +588,7 @@

        Const createHttpClient<
      • @@ -620,7 +623,7 @@

        multiply

      • Parameters

        @@ -646,7 +649,7 @@

        Const useHotspotBle

        Returns { checkFirmwareCurrent: (minVersion: string) => Promise<{ current: boolean; deviceFirmwareVersion: string; minVersion: string }>; connect: (hotspotDevice: Device) => Promise<void>; createAndSignGatewayTxn: (__namedParameters: { ownerAddress: string; ownerKeypairRaw: SodiumKeyPair; payerAddress: string }) => Promise<undefined | AddGatewayV1>; createGatewayTxn: (__namedParameters: { ownerAddress: string; payerAddress: string }) => Promise<string>; disconnect: () => Promise<boolean>; enable: () => Promise<boolean>; ethernetOnline: () => Promise<boolean>; getDiagnosticInfo: () => Promise<DiagnosticInfo>; getOnboardingAddress: () => Promise<string>; getState: () => Promise<State>; isConnected: () => Promise<boolean>; readWifiNetworks: (configured?: boolean) => Promise<undefined | string[]>; removeConfiguredWifi: (name: string) => Promise<undefined | string>; resetDevices: () => void; scannedDevices: Device[]; setWifi: (ssid: string, password: string) => Promise<"connected" | "invalid" | "not_found">; startScan: (callback: (error: null | BleError) => void) => Promise<void>; stopScan: () => void }

        @@ -1011,7 +1014,7 @@

        Const useOnboarding

      • Returns { baseUrl: string; burnHNTForDataCredits: (dcAmount: number) => Promise<undefined | Transaction>; createHotspot: (signedTxn: string) => Promise<string[]>; createTransferTransaction: (__namedParameters: { hotspotAddress: string; newOwnerAddress: string }) => Promise<{ solanaTransactions?: string[] }>; getAssertData: (__namedParameters: { decimalGain?: number; gateway: string; networkDetails: { decimalGain?: number; elevation?: number; hotspotType: HotspotType; lat: number; lng: number }[]; onboardingRecord?: null | OnboardingRecord; owner: string; payer?: string }) => Promise<AssertData>; getHotspots: (__namedParameters: { heliumAddress: string; makerName?: string }) => Promise<undefined | Asset[]>; getKeyToAsset: (hotspotAddress: string) => Promise<undefined | PublicKey>; getMinFirmware: () => Promise<null | string>; getOnboardTransactions: (__namedParameters: { hotspotAddress: string; networkDetails: { decimalGain?: number; elevation?: number; hotspotType: HotspotType; lat?: number; lng?: number }[]; payer?: string }) => Promise<{ solanaTransactions?: string[] }>; getOnboardingRecord: (hotspotAddress: string) => Promise<null | OnboardingRecord>; getOraclePrice: () => Promise<Balance<USDollars>>; onboardingClient: default; submitTransactions: (__namedParameters: { solanaTransactions?: string[] }) => Promise<{ solanaTxnIds?: string[] }> }

        @@ -1307,7 +1310,7 @@

        Const useSolana

      • Returns { connection: undefined | Connection; createTransferCompressedCollectableTxn: (__namedParameters: { collectable: Asset; newOwnerSolanaOrHeliumAddresss: string }) => Promise<undefined | VersionedTransaction>; dcProgram: undefined | Program<DataCredits>; estimateMetaTxnFees: (buff: Buffer, __namedParameters: { maker: PublicKey }) => Promise<undefined | { isFree: boolean; makerFees: { dc: number; lamports: number }; ownerFees: { dc: number; lamports: number } }>; getBalances: () => Promise<undefined | { dcBalance: bigint; hntBalance: bigint; iotBalance: bigint; mobileBalance: bigint }>; getDcBalance: () => Promise<undefined | bigint>; getHntBalance: () => Promise<undefined | bigint>; getHotspotDetails: (__namedParameters: { address: string; type: "MOBILE" | "IOT" }) => Promise<undefined | HotspotMeta>; getHotspots: (opts: Omit<SearchAssetsOpts, "ownerAddress" | "creatorAddress"> & { makerName?: string }) => Promise<undefined | Asset[]>; getOraclePriceFromSolana: (__namedParameters: { tokenType: "HNT" }) => Promise<undefined | PriceData>; getSolBalance: () => Promise<number>; hemProgram: undefined | Program<HeliumEntityManager>; hsdProgram: undefined | Program<HeliumSubDaos>; provider: undefined | AnchorProvider; submitAllSolana: (__namedParameters: { txns: Buffer[] }) => Promise<string[]>; submitSolana: (__namedParameters: { txn: Buffer }) => Promise<string> }

        diff --git a/modules/Account.html b/modules/Account.html index ae103ad..762447e 100644 --- a/modules/Account.html +++ b/modules/Account.html @@ -150,7 +150,7 @@

        Const createKeypair

      • @@ -194,7 +194,7 @@

        Const generateChallenge
      • @@ -225,7 +225,7 @@

        Const getAddress

      • @@ -255,7 +255,7 @@

        Const getKeypair

      • @@ -285,7 +285,7 @@

        Const getMatchingWords<
      • @@ -315,7 +315,7 @@

        Const getMnemonic

      • @@ -345,7 +345,7 @@

        Const heliumAddressToSo
      • Parameters

        @@ -368,7 +368,7 @@

        Const heliumAddressToSo
      • Parameters

        diff --git a/modules/AddGateway.html b/modules/AddGateway.html index e769d39..811fcd0 100644 --- a/modules/AddGateway.html +++ b/modules/AddGateway.html @@ -132,7 +132,7 @@

        Const calculateAddGatew
      • @@ -173,7 +173,7 @@

        Const signGateway

      • Parameters

        @@ -199,7 +199,7 @@

        Const signGatewayTxn
        @@ -235,7 +235,7 @@

        Const txnFromString

        diff --git a/modules/Location.html b/modules/Location.html index f3902d8..8ba3e02 100644 --- a/modules/Location.html +++ b/modules/Location.html @@ -146,7 +146,7 @@

        Const createLocationTxn
      • Parameters

        @@ -204,7 +204,7 @@

        Const getH3Location

      • @@ -242,7 +242,7 @@

        Const getStakingFee

        Parameters

        @@ -273,7 +273,7 @@

        Const signAssert

      • Parameters

        @@ -310,7 +310,7 @@

        Const signAssertTxn

        Parameters

        @@ -347,7 +347,7 @@

        Const txnFromString

        Parameters

        diff --git a/modules/Transfer.html b/modules/Transfer.html index d7b4ad7..9cad9f7 100644 --- a/modules/Transfer.html +++ b/modules/Transfer.html @@ -126,7 +126,7 @@

        Const createTransferTra
      • Parameters

        @@ -166,7 +166,7 @@

        Const createTransferV2<
      • @@ -205,7 +205,7 @@

        Const signTransferV2Txn
      • @@ -241,7 +241,7 @@

        Const txnFromString