Releases: near/near-api-js
Releases · near/near-api-js
v0.41.0
Highlights:
- Multisig/2FA improvements
- Upgrade to borsh 0.4.0
- Allow to pass method names when signing in
Commits:
- yarn compile 27d43a7
- Merge tag 'v0.40.0' e04ed64
- Merge pull request #572 from near/robust-2fa e641946
- Fix nit in src/account_multisig.ts 848eaf4
- TODOs c8a4f2a
- Don’t block on deleting unconfirmed multisig requests 0371ac0
- remove getRequestNonce d43e72d
- Upgrade to borsh 0.4.0 336bdf5
- Add methodNames to URL for signin (#578) f09dee3
- add volovyk-s as codeowner (#580) 6555d43
- Adding keyPath uses that keystore first (#577) f3b03a0
- Fix/contract callback url ignored (#542) a056673
- Bump bn.js from 5.1.0 to 5.2.0 aeedb8d
- Upgrade to GitHub-native Dependabot (#571) e04b365
v0.40.0
- Generated Error classes deleted (#570) ee975a1
- Check cache for access key after network request (#567) 81e824e
- use human readable near amounts in errors (#556) 4bce666
- bump bn version number to 5.1.0 to match types (#551) b922eb5
- Bump typedoc from 0.20.35 to 0.20.36 10f52ba
- Merge pull request #561 from near/fix/tx-status-string-and-buffer 27ca6cd
- update types and docs 9847fbf
- Merge pull request #555 from near/fix/node-fetch-only-in-node-build b2c633d
- update txStatus to take a string or a buffer 3acc6ce
- oops missing files 4a2fcc1
- Merge pull request #558 from near/exponential-backoff-fix 251f3c5
- fix bug in exponentialBackoff 1644d8e
- Merge pull request #534 from near/feat/add-rpc-endpoints f8bfaef
- fix linting d41f711
- remove node-fetch added to global in node env 27425c8
- add Josh and Ryan as codeowners (#554) 1de4eed
- Add stale PRs action to the workflow (#487) cdae1fb
- Merge branch 'master' into feat/add-rpc-endpoints a127371
- Improve TypeDoc by improving the layout and adding some comments (#541) 71920e0
- Merge pull request #548 from near/dependabot/npm_and_yarn/typedoc-0.20.35 55bf012
- Bump typedoc from 0.19.2 to 0.20.35 8da7a92
- Merge pull request #533 from near/feat/json-rpc-query-types 6e36ba2
- fix types merge conflict 5106954
- compile 00faf5b
- check access_key permission type is FullAccess aee985d
- Merge pull request #528 from near/get-network-deleted fc54def
- Merge pull request #527 from near/contract-does-not-exist-error 6b36722
- lint fix c25ccbe
- SignInOptions used instead of string accountId aa79107
- conflixts solved 2d60cf7
- fix conflicts 5052a95
- update AccessKey type in Provider class 43cbb29
- change AccessKey => AccessKeyWithPublicKey 965d141
- update comments 0907607
- fix linting errors ffe21af
- typo 216d10f
- added contractCodeChanges 98e3d01
- add contractStateChanges f7cbc0e
- add accountChanges bacf0c2
- added singleAccessKeyChanges and AccessKey type 5246c07
- add accessKeyChanges & ChangeResult type 4e9bb90
- add basic fetch block changes test 441cb16
- remove deprectated BlockId from BlockChanges d2ae7a8
- add BlockChanges method w/ types c5076c8
- fix wallet tests; args are b64 c87b1e0
- add rpc query request types c6961f5
- update BlockResult interface c5be4c1
- add chunk interface 3f2cdd5
- update BlockHeader inerface 12a3f4a
- add query rpc types 611029a
- add send tx async c89f7e5
- add tx status w/ reciept a403ce7
- yarn fix 906bcd6
- yarn fix a6b8d2b
- test fix f456e11
- getNetwork deleted from Provider b37a44e
- requestSignIn throws error if cintractId does not exist 260bc3c
v0.39.0
Commits:
- Merge pull request #524 from near/login-no-app-key 2c2d639
- Merge pull request #529 from near/2fa-update 98e141a
- Fix passing result back from 2FA account 28bfd60
- Allow wallet sign in without asking for access key c8b1ca0
- Simplify types a bit 3f62f4f
- Merge branch 'master' into account-type-fixes 9cb393f
- Fix tests to not require title when logging in 17923a5
- requestSignIn: deprecate title param, fix typing 9847955
Commit Range:
v0.38.0...master
v0.38.0
- Retry on "Failed to fetch" error 126bd3d
- Fix documentation links for JSON-RPC provider 1c824e0
- Merge pull request #508 from near/feat/expose-experimental-protocol-config 960b798
- Merge branch 'master' into feat/expose-experimental-protocol-config 922ec06
- Update to always use EXPERIMENTAL_protocol_config 5ae8062
- Gas price method added to provider (#521) 7896384
- fixed doc-types e197b83
- fixed the fallback detection 7ca8a37
- yarn build a48c294
- implement a fallback to EXPERIMENTAL_genesis_config for
experimental_protocolConfig
method implementation c6dd9fe - yarn fix 766dd9d
- feat: Exposed experimental_protocolConfig provider method f1549d9
v0.37.0
- yarn compile 5d1ef47
- Merge pull request #517 from near/fix-nonce-again cc1a42e
- Merge pull request #492 from near/account-reduce-requests 155e747
- Add deprecation warnings 7226bc7
- Remove account.fetchState call from account.test.js 5302f47
- Remove
receiver.fetchState()
call in test 5ba2324 - Remove dependency on
Account.ready
fromConnectedWalletAccount
764fdec - Don't call
account.state()
innear.account()
167edc3 - Don't fetch account state pre-emptively 65ec3c8
- Merge pull request #516 from near/fix-nonce-again 7ada88f
- Use .type when handling key does not exist error d53aaf7
- yarn compile f858819
- yarn fix 3132ffa
- Add InvalidNonce parsing from string a0659be
- Add test for handling of invalid nonce errors 2a0e48d
- Merge pull request #497 from near/fix/update-docs-link 5265f06
- yarn.lock a1550b9
- Merge pull request #484 from near/dependabot/npm_and_yarn/types/bn.js-5.1.0 795a583
- Adding vgrichina@ as CODEOWNER e8c955d
- Merge pull request #496 from near/error-handling/string-to-typed cf79831
- Merge pull request #466 from near/dependabot/npm_and_yarn/mustache-4.1.0 af9ca97
- Merge pull request #489 from near/dependabot/npm_and_yarn/bundlewatch-0.3.2 531a200
- Merge pull request #512 from near/dependabot/npm_and_yarn/bn.js-5.2.0 c97af27
- Merge pull request #513 from near/dependabot/npm_and_yarn/ts-morph-10.0.0 215695a
- Merge branch 'master' into error-handling/string-to-typed 077bf09
- Merge pull request #505 from near/handle-timeouts 43d344c
- Remove outdated TODOs c08f4f6
- Bump ts-morph from 8.2.0 to 10.0.0 98d4aed
- Bump bn.js from 5.1.3 to 5.2.0 cf5c81a
- Implement timeout handling at sendJsonRpc level dd3cfde
- lint fix 4395950
- getErrorTypeFromErrorMessage test added dbcc813
- Merge branch 'master' into error-handling/string-to-typed 43d7de4
- Merge pull request #499 from near/fix-webpack-fs 6d4e688
- Make sure that webpack build doesn’t end up requiring
fs
be3fc8b - error check by string replaced by check by type 409acf5
- update rpc doc link e25372e
- types added to some rpc errors e567f4a
- Bump bundlewatch from 0.3.1 to 0.3.2 b9ad789
- Bump @types/bn.js from 4.11.6 to 5.1.0 55d74f8
- Bump mustache from 4.0.1 to 4.1.0 437bca1
v0.36.3
v0.36.2
v0.36.1
v0.36.0
- yarn compile 48007d0
- Make sure to use final block height for request signing e4c8a0c
- Throw error for expired 2FA code 6c4223d
- Merge pull request #468 from near/fix/errors cb688fa
- error schemas synced with nearcore 8489863
- Fix where error-polyfill is imported 56e45fb
- redudant test file deleted b40403a
- Merge pull request #465 from near/borsh-added 0aefdb0
- borsh library added 538292d
v0.35.0
- yarn compile fe62cd7
- yarn.lock b3b576c
- fix(utils/web): Fix typo in Content-Type header 34f4771
- Merge pull request #452 from near/view-state 67400fa
- yarn compile 47e6b81
- Add test 719fc46
- Add return type b617b5c
- Remove TODO 356ef6f
- yarn compile f114089
- Add doc for viewState method b05dc16
- Style fixes 39854c8
- yarn fix 777229d
- Merge pull request #456 from near/fix/low-balance-for-state-error 8807885
- fix: add v important "more" to error message 036cd72
- Update CODEOWNERS 3253b18
- Support both blockId and finality in viewState e77edb6
- Prototype account.viewState f7ad042