near-api-js 7.5.0
#2032 85af012 Thanks @irondevrel! - Add NEP-616 deterministic account support: canonical state-init encoding and account-ID derivation, the DeterministicStateInit transaction action, and…
- The newest stable release in the 7.5 line: near-api-js 7.5.1
Minor Changes
#2032
85af012Thanks @irondevrel! - Add NEP-616 deterministic account support: canonical state-init encoding and account-ID derivation, the DeterministicStateInit transaction action, and Account.createDeterministicAccount(). Storage deposits cover storage staking and refund any excess; they do not fund the account's spending balance.#2036
f1f5621Thanks @irondevrel! - Expose global contract references fromAccount.getState()and adddecodeSignedDelegate()for Borsh-encoded meta transactions.Export
SignedDelegatewithencode()anddecode()methods, reject trailing bytes and nested or reserved delegate tags when decoding signed delegates, and restoreSignatureinstances when decoding signed transactions.#2034
227824bThanks @irondevrel! - Update generated RPC types and exhaustive error handling to the official nearcore 2.14.0 OpenAPI schema. Add access-key pagination parameters and expose the new account-view fields.#2035
0c2dca5Thanks @irondevrel! - Add protocol-88 universal account support, including canonical state-init construction, raw-byte account ID derivation, the UniversalStateInit action, bootstrap nonces, and nearcore 2.14 RPC types and errors.
Patch Changes
- #2029
799f5adThanks @irondevrel! - Accept RPC base58 code hashes in global-contract use actions while preserving 64-character hexadecimal and raw-byte inputs. Encode raw-byte hashes as base58 when querying global contract code.