Releases: near/near-api-js
Releases · near/near-api-js
v0.34.0
v0.33.0
- yarn.lock eba4409
- Merge pull request #453 from near/fix-multisig-4 be3854f
- Minor fixes to addKey and Signer docs f95829a
- Remove extra files 1fc7039
- yarn fix ade9409
- Merge branch 'signer-from-keypair' into fix-multisig-4 e9f469b
- merge #436 20f0073
- Merge branch 'fix-account-addkey' into fix-multisig-4 f80581f
- add ; 3eb1e01
- reorder conditions to catch empty string cb2de9d
- update with receiver_id check 70a446a
- update with comment c173560
- add regression test 17606f3
- Merge pull request #454 from TrevorJTClarke/patch-1 a32290e
- Update README.md 7d7acda
- remove comment 93245e7
- fix deployMultisig to only convert full access keys to multisig limited access keys 6fefec0
- fix deployMultisig to only convert full access keys to multisig limited access keys 59cd202
- lint and fix e958b50
- merge master 6a6bbaa
- lint and fix 17af019
- switch to static method to create one off signer d24a7cb
- s/Account2fa/Account2FA/ to match JS conventions d0ac752
- yarn.lock cc30113
- fix test 5df4f6b
- reorg params 6f46791
- yarn fix bcef930
- add fromKeyPair 6358607
- Merge pull request #447 from near/dependabot/npm_and_yarn/jest-26.6.3 14fcb5e
- Merge pull request #445 from near/ms-disable a8c8c78
- refactor to split multisig and 2fa c3777ec
- update helperUrl reference 75680ec
- remove env vars, update tests c4d0af9
- merge/master f619c46
- fix BigInt and workingAccount errors b48768c
- remove addKey, add tests for key rotations, addKey (app key), sendMoney f96252f
- Bump jest from 26.4.2 to 26.6.3 4a7ae6b
- fix test for data files 000c833
- lint and fix 8ecb4e1
- add ledger key check test b0df148
- remove debug code 9a3bdf2
- merge master 49bb84d
- Merge branch 'master' into ms-disable 9ef87d0
- replace TextEncoder with Buffer.from 1ec7fd4
- clean up tests 8c1b01e
- clean up tests 1f97564
- clean up tests 0285e81
- update the mod if multisig method to be detection vs. near.account wrapper a06d8c4
- fix debug code, remove comments 20c2f06
- cleanup account_multisig, remove enable and add check to deployMultisig a521ff5
- Merge branch 'master' into fix-multisig-2 9c7a62f
- add support for multiple methodNames to Account.addKey f51c94c
- adding tests 411469e
- some review edits done 7efb781
- added options for verifyCode callback 9fc947f
- add modIfMultisig method to patch near instance .account helper 581e205
- updated AccountMultisig with callbacks and more handling of code/verify flow; no need to override signAndSendTransaction 9bf5934
v0.32.0
- Merge pull request #449 from near/fix-2fa-app 632c09d
- Fix adding app key to multisig account f64c8bf
- Merge pull request #429 from near/allow-borsh-deserialization 79a3369
- refactor: re-extract Buffer 7c2accb
- refactor(contract): use describe.each for tests 2c7ced7
- feat: enable view calls to deserialize with borsh 83bcd89
- Merge pull request #435 from near/fix/available-balance-computation ca5bdb4
- fix: fixed the available balance computation when stake is involved a309882
v0.31.0
- yarn compile 813dcc7
- Merge pull request #426 from near/allow-borsh-serialization 41be9de
- refactor(contract): address TS linter complaints c7dc8a9
- feat: allow borsh-serialized contract fn arguments f9f2ade
- Revert "Support array of method names" d4d4cf1
- Support array of method names 9093293
- Merge pull request #396 from near/walletUrl ad8f3f8
- Make walletUrl optional in NearConfig dced69d
- Merge pull request #414 from near/fix-multisig-1 bb36d27
- Merge remote-tracking branch 'origin/master' into fix-multisig-1 5024c8d
- Extract account.signTransaction b3d61a9
- update delete request console warning so not so loud 1b50638
- cleaned up 7d92991
- Merge pull request #418 from miohtama/patch-1 ff1219d
- Remove dist/ from repo (no more need AFAIK) 94d21a1
- Added documentation link cd6f2fb
- more node aware code and added node-fetch for CH methods 9325ac1
- Merge pull request #412 from near/remove-legacy-code c524091
- fix: remove legacy code 5e172a2
- docs: add walletUrl to NearConfig type 0b68824
v0.30.0
- yarn browserify 91971c5
- yarn.lock 23303c3
- Merge pull request #403 from near/feat-multisig 5778b65
- Merge pull request #406 from near/dependabot/npm_and_yarn/typedoc-0.19.2 cea5e5c
- Merge pull request #409 from near/dependabot/npm_and_yarn/bundlewatch-0.3.1 49f4608
- fixed broken tests a8bafb4
- Merge pull request #408 from near/debug-signer b51697a
- Bump bundlewatch from 0.2.7 to 0.3.1 e0d23aa
- adjust max bundle size b3dde40
- Fix error message in test 2fdcbc7
- Add debug toString to signer and key stores 4b5e6be
- Bump typedoc from 0.18.0 to 0.19.2 95840a3
- removed optional chaining code, tests passing 9d612d9
- Merge branch 'master' into feat-multisig 9013ed0
- revert dist/ 9784ce6
- major refactor and e2e testing 217bffb
- deploy contract working 23381a7
- remove file 163a648
- init AccountMultisig b415ca2
- yarn browserify 5b914f2
- yarn.lock 2e53745
- Bump typedoc from 0.17.8 to 0.18.0 3ce8327
- Bump ts-morph from 7.1.3 to 8.1.0 242ced2
v0.29.1
Highlights:
- More reliable timeout handling
- Export Signature class
- Wallet 2FA support
Commits:
- Add handling for "[-32000] Server error: Timeout error" 487ddf1
- Record current directory in file system keystore (#386) 07cb970
- Merge pull request #389 from anbud/fix/export-signature-class cf003f1
- Export Signature class bc69dfe
- Bump jest from 26.2.2 to 26.3.0 40d7f79
- Merge pull request #379 from near/fix-no-fak-wallet-sign df2862a
- revert dist 797f434
- add comment to wallet-account.test 115c429
- review edits ec6eb55
- yarn browserify 158327e
- lint and fix d732fdd
- update approach to checking access keys bee28bc
- fix: send user to sign route with actions and "as2fa" flag if no access key to sign in app or full access key 4302255
Commit Range:
v0.29.0...v0.29.1
v0.29.0
- 30 Tgas should be enough for anybody ccd8726
- Merge pull request #354 from near/function-call-sugar 6a5795f
- Adjust account.functionCall docs as well 8e8ef33
- yarn fix 627e006
- Add some docs for transaction.functionCall a2135b8
- Don't serialize args in account.ts 4c568fb
- Add test for transaction.functionCall f859641
- yarn.lock ec2df3b
- Merge pull request #374 from near/retry-nonce 7fdc213
- Remove NEAR_RETRY_NONCE as race condition fix is already deployed 46193e6
- Use less aggressive number of retries 181847e
- Put behind NEAR_RETRY_NONCE env var feature flag 9ec8638
- Retry on rate limiting / network related errors 4963d92
- Retry sending transaction instead of just polling status 711f10b
- Increase number of retries b425e7a
- Cache nonce, retry on nonce errors 1ca00f4
0.28.0
- Fix missing await's in MergeKeyStore 716a1eb
- Bump @types/http-errors from 1.6.3 to 1.8.0 d29e516
- [Security] Bump lodash from 4.17.15 to 4.17.19 a9fe128
- Fix formating issue for a not enough balance error e0d23a7
- Drive-by to fix formatting in other error types 51472ed
- Merge pull request #364 from near/not-enough-balance 090edb5
- Add janedegtiareva to CODEOWNERS as per devx ownership splitup 7b11416
- Bump ts-morph from 7.1.2 to 7.1.3 (#361) 89de461
- Adding transaction id to errors returned from signAndSendTransaction 5b8eeb6
- more allowances in test 54a31c4
- Remove mentions of devnet, since it's no longer running (#372) ee59cf0
- Merge pull request #371 from near/gas-price-update 0d72404
- Bump typescript from 3.9.6 to 3.9.7 (#359) 2c529c9
v0.27.0
- yarn browserify afd5711
- yarn.lock dc68232
- Merge pull request #350 from near/fix-timeout 9111ef2
- Handle error returned by txStatus before transaction lands b52e400
- Fix retry on Timeout error a9c8b1b
- Disable CI on betanet as it timeouts all the time bf226b6
- yarn.lock fb38f70
- chore: make @chadoh codeowner f718d1a
- Merge pull request #349 from near/dependabot/npm_and_yarn/jest-26.1.0 2572d11
- Merge pull request #285 from near/test-setup-using-helper fa33984
- Run CI on betanet instead of devnet for now 89c956a
- Remove unused vars 6f70f21
- Improve test account name generation 4cc459a
- Run NODE_ENV=devnet tests on CI f13356d
- Fix deleteAccount call ad0b775
- Bump jest from 26.0.1 to 26.1.0 8073690
- Remove debug logging 85b0d07
- Fix all tests 48e187b
- Make providers.test.js work d160abc
- Remove INITIAL_BALANCE usage from promise.test.js c4584da
- More changes to make tests work with account helper 0ad89ec
- Change test setup to use account helper if available 6feda3b
- Merge pull request #348 from near/fix-cross-contract-test 4e89b74
- yarn browserify aa9da48
- use near-hello 0.5.1 f7e00b7
- Update near-hello / yarn.lock 48af0b2
- fix cross contract test 841f73a
- Merge pull request #332 from near/hotfix/print-all-errors 1c85e87
- Merge pull request #347 from near/fix-light-client-proof 3a85970
- lint fixes: remove unnecessary escapes 44bbc30
- lib and dist artifacts d4dfa16
- yarn lockfile changes 3598bfd
- add necessary gas to test cross-contract call ac1972c
- update near-hello to 0.5.0 with cross-contract and updates 81ff0ac
- Merge branch 'master' into hotfix/print-all-errors f571e5b
- Return
experimental_lightClientProof
but add deprecation 584d471 - Keep EXPERIMENTAL_ endpoint, but rename the method 1b79b3c
- Promote EXPERIMENTAL_light_client_proof to non-experimental 0473048
- add cross contract test, delete test account returning funds after 462c455
- remove getAllKeys from viewMethods, fix regex in test e9b63bd
- modify tests to work with new output 68ba2d3
- compiled account.js file e35df91
- set prefix of printLogs function to have default value of '' 2c31a59
- compiled account.js file 6b71595
- extra check for status and typeof 66a336c
- compiled files account.js/account.d.ts 7367dff
- print receipt id(s), log, and failure in a tabbed format 7d1047a
- dist and lib files that have been modified bab06c3
- in signAndSendTransaction, print receipt failures b73cdf1
v0.26.0
- yarn browserify 62358f0
- Restructure browser/Node exports separation f1fbf58
- yarn.lock a3e587b
- Merge pull request #337 from near/rpc-light-client-proof 30a720c
- Merge branch 'master' into rpc-light-client-proof ef58c62
- chore: use standard dual license in package.json fcc3696
- add test for failures 350ff83
- yarn fix 7629c3b
- Removed creationg of extra accounts 6904d81
- Refactor experimental_lightClientProof test 77b0e98
- wait for specific condition 552cf39
- add a test a462abb
- Merge pull request #345 from near/rpc-provider-block cfcd6a1
- feat(JsonRpcProvider): support named params 3c715f4
- Merge pull request #340 from near/change-max-prepaid-gas ed71944
- Change max prepaid gas 5ebcd83
- add link fc5bdcf
- Merge pull request #329 from near/add-public-key-field 790deab
- add rpc for light client proof 880b3d9
- Update feature_request.md 239d6ad
- Update bug_report.md 1cd5f83
- Update bug_report.md 8128ba8
- Update issue templates db68f34
- fix 5c1f1b8
- add tests e623621
- add public_key field to key file 0c0c228
- Bump yarn.lock 25e7e60