Skip to content

Releases: near/near-api-js

v0.25.1

16 May 00:52
Compare
Choose a tag to compare
  • yarn browserify a90ce54
  • Make it easier to inject custom signer / keyStore 612642f
  • yarn browserify d7f0cb8

v0.25.0...v0.25.1

v0.25.0

14 May 01:27
Compare
Choose a tag to compare
  • Increase bundlewatch allowance to 90kb 9ffd92e
  • Merge pull request #316 from near/issue-298 3f5e2fd
  • yarn.lock 8528a74
  • Cleanup for account (#298) 3ae4d91
  • Change genesisConfig to experimental_genesisConfig (#298) c532e50
  • Refactor getAccountBalance (#298) 409a0f0
  • Bump @typescript-eslint/eslint-plugin from 2.30.0 to 2.32.0 a70ff6b
  • Bump @typescript-eslint/parser from 2.30.0 to 2.32.0 5317505
  • Merge pull request #295 from near/contract-fn-binding 0e9e2c7
  • fix: correct binding & name of contract functions f980f3d
  • Merge pull request #315 from near/near.org a555453
  • Add account balance calculation (#298) 8651f7a
  • Add genesis config rpc provider (#298) 1ff1a50
  • refactor: point test/config.js at near.org 325fc82
  • Fix tests (http -> https redirect not supported) 7608e3f
  • yarn browserify 44b30f7

v0.24.0...v0.25.0

v0.24.0

08 May 00:24
Compare
Choose a tag to compare
  • Bump jest from 25.5.3 to 26.0.1 e022008
  • Bump semver from 7.2.1 to 7.3.2 db51150
  • Bump typedoc from 0.17.4 to 0.17.6 89c5196
  • Bump jest from 25.2.7 to 25.5.3 7adcdc9
  • Bump @typescript-eslint/eslint-plugin from 2.27.0 to 2.30.0 9423c6d
  • Bump @typescript-eslint/parser from 2.27.0 to 2.30.0 7bf55ab
  • Merge pull request #300 from near/validator-tools ad9789b
  • Address comments d9191a9
  • Pleasing linter efdb1c8
  • Adding missing current_proposals to EpochValidatorInfo 2e47fe9
  • Validators diff between current and next epoch c8f8b26
  • Adding fetching validators to provider 0baacb3
  • Adding find seat price for validators calculation 4e0043a
  • Merge pull request #299 from near/goodbye-nearlib 591dbf4
  • refactor!: rename localStorage key to near-api-js a69016a
  • Fix parseNearAccount for zero f1dcf73
  • Change default initial balance (typically used in tests) to be 500 NEAR 0df178c
  • Merge pull request #292 from near/annotate-near-config-types e255b07
  • Merge pull request #293 from near/export-near 6bbecb8
  • Merge pull request #296 from near/editorconfig 88b7947
  • style: add .editorconfig 3dd25f9
  • feat: export Near 7473140
  • refactor: add types to connect & Near args 6301298
  • fix(github action): move command to package.json 068b43f
  • fix(github action): prefix path to typedoc command e9ef58a
  • Merge pull request #289 from near/doc-site 3c1faca
  • feat(docs): auto-publish docs to GitHub Pages d3ae00b

v0.23.2...v0.24.0

v0.23.2

15 Apr 22:35
Compare
Choose a tag to compare
  • yarn browserify 3993ebe
  • Fix handling function calls with no deposit attached 3ff6aa3
  • Merge pull request #291 from near/readme 92c7c30
  • refactor: improve README 40f2213

v0.23.1...v0.23.2

v0.23.1

15 Apr 06:56
Compare
Choose a tag to compare

Commits:

  • yarn browserify afb2f95
  • Merge pull request #290 from near/fix-wallet-signing 574d869
  • Lint fixes 6a4a674
  • Add test and fix the mishandling of function call with deposit attached 5d13b08
  • Refactor wallet signing test 6a33483
  • Merge pull request #283 from near/web-no-fs 5adb55c
  • Setup separate entry point for browser build 8b38e5f
  • Merge pull request #288 from near/fix-nearlib-rename b7e3452
  • Replace remaining safe to replace nearlib references 98a2d9f
  • s/nearlib/nearApi in tests b9dcfeb
  • Replace Nearlib in ignore files c7e28d6
  • package.json: change dist/ filenames 18b3666
  • update readme references to nearlib 3133d16
  • Merge pull request #284 from near/betanet-config 041e44c
  • Fix test with hardcoded chain id for betanet 46674a4
  • Fix too low access key allowance in test (for betanet) 1a8f244
  • Fix NotEnoughAllowance error message e2b30da
  • Merge pull request #286 from near/hotfix/typedoc-top-level-a-c 543b6fb
  • Merge branch 'master' into hotfix/typedoc-top-level-a-c 1383764
  • remove website/sidebars.json from revision 72a7017
  • gitignore: add docs/ 6e7c6af
  • git rm cached files in the docs directory ece3f76
  • PR comments, make success and failure urls optional d81a20c
  • Use ci-betanet on Travis CI 7e27b58
  • Add betanet and devnet configs d321379
  • in tsconfig, output to docs/near-api-js instead of docs/nearlib bf181ad
  • nit 09ff052
  • move doc config to tsconfig.json 5b7785c
  • compiled docs output changes ebf80ef
  • typedoc for all files in the key_stores directory ff3d7f3
  • fix (silly) linting issue d0e6ddf
  • typedoc for json-rpc-provider, format, key_par, rpc_errors 1fe406e
  • typedoc generated changes ded141b
  • package.json: modify to match extra flags determined useful by DevX team 710653a
  • Merge branch 'add_type_docs' into hotfix/typedoc-top-level-a-c ed9f0b8
  • typedoc for wallet-account f329b1b
  • typedoc for connection, contract, signer, transaction a9e0dc7
  • updates to sidebars.json e0a0ef8
  • typedoc for account_creator d6b6147
  • add missing @param to account.ts 2d4a8f7
  • typedocs for account.ts 436d630

v0.23.0

08 Apr 07:53
Compare
Choose a tag to compare
  • yarn browserify 206f037
  • yarn.lock d70894f
  • nearlib -> near-api-js 3af472e
  • Add CODEOWNERS ebd2973
  • Bump @typescript-eslint/eslint-plugin from 2.23.0 to 2.24.0 (#267) e840eb7
  • Bump @typescript-eslint/parser from 2.23.0 to 2.24.0 (#265) 3b309c8
  • Bump in-publish from 2.0.0 to 2.0.1 (#266) 82e7094
  • Bump mustache from 4.0.0 to 4.0.1 (#263) d142105
  • Bump bundlewatch from 0.2.5 to 0.2.6 (#260) abf2fd4
  • Merge pull request #279 from near/add_type_docs e018196
  • Bump typedoc from 0.16.11 to 0.17.1 (#269) efe8a05
  • Fix Travis and GitPod badge URLs 39a6716
  • Merge pull request #262 from near/standardize-licenses f80cad5
  • Make license info consistent with near-wallet 2979eb8
  • standardize to be dual license MIT and Apache 3908c8a
  • Update linting 281873f
  • Have ts add use strict bfd1fdc
  • change to "src/" 18e7719
  • Increase test amounts to match state stake (#274) 54a2f5a
  • Adding errors for state rent change (#270) 931f82a
  • Merge pull request #272 from near/feature/expose-sendJsonRpc-method e79bd9e
  • feat: Exposed JsonRpcProvider.sendJsonRpc method to public to help experimenting with EXPERIMENTAL_* APIs in nearcore 24c9cb5
  • Update README to use near-api-js 092d647
  • Move GitPod badge in README 17e1354
  • Merge pull request #255 from nearprotocol/fckt/RequiresFullAccess-messaage-fix 0d7dc05
  • Merge pull request #258 from nearprotocol/vgrichina/gitpod-setup 3043f6e
  • Add prebuilds config to .gitpod.yml e014e5b
  • Add gitpod config 172496d
  • Merge pull request #257 from nearprotocol/remove-yarn-audit 2d1fb3f
  • yarn.lock f7f819b
  • Removing yarn audit from CI fa4dbbb
  • RequiresFullAccess incorrect description fix 08be9e7

v0.22.0...v0.23.0

v0.22.0

05 Mar 01:02
Compare
Choose a tag to compare

Commits:

  • yarn dist 6291a89
  • Bump rimraf from 3.0.1 to 3.0.2 (#222) de49029
  • Bump @typescript-eslint/parser from 2.21.0 to 2.22.0 (#247) f7c94a2
  • Bump @typescript-eslint/eslint-plugin from 2.21.0 to 2.22.0 (#248) 29678f2
  • Merge pull request #235 from nearprotocol/add-common-mds 96d2a2b
  • Merge pull request #249 from nearprotocol/hotfix/masteraccount-initial-gas 4c07b1b
  • fund account created with masterAccount with proper gas 56683c6
  • Merge pull request #246 from nearprotocol/dependabot/npm_and_yarn/typescript-3.8.3 c206284
  • Merge pull request #244 from nearprotocol/dependabot/npm_and_yarn/typedoc-0.16.11 0689146
  • Bump typescript from 3.8.2 to 3.8.3 99be67b
  • Bump typedoc from 0.16.9 to 0.16.11 b5d00a8
  • Merge pull request #227 from nearprotocol/dependabot/npm_and_yarn/semver-7.1.3 b544023
  • Merge pull request #236 from nearprotocol/dependabot/npm_and_yarn/typescript-3.8.2 a485601
  • Bump semver from 7.1.1 to 7.1.3 b9c408b
  • Bump typescript from 3.7.5 to 3.8.2 5ee2f45
  • Merge pull request #241 from nearprotocol/dependabot/npm_and_yarn/typedoc-plugin-markdown-2.2.17 2f52b99
  • Bump typedoc-plugin-markdown from 2.2.16 to 2.2.17 7fdf9d7
  • Fix test broken by #238 d935c9a
  • Merge pull request #225 from nearprotocol/dependabot/npm_and_yarn/tweetnacl-1.0.3 e198628
  • Merge pull request #237 from nearprotocol/dependabot/npm_and_yarn/ts-morph-7.0.0 205a9b1
  • Merge pull request #239 from nearprotocol/dependabot/npm_and_yarn/typescript-eslint/parser-2.21.0 a5bf6e7
  • Merge pull request #240 from nearprotocol/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-2.21.0 06a92c2
  • Merge pull request #238 from nearprotocol/fckt/fix-ReceiverMismatch c987090
  • Bump @typescript-eslint/parser from 2.18.0 to 2.21.0 b65aca3
  • Bump ts-morph from 6.0.2 to 7.0.0 9a45b9f
  • Bump @typescript-eslint/eslint-plugin from 2.18.0 to 2.21.0 7c2208f
  • Bump tweetnacl from 1.0.2 to 1.0.3 a79cd93
  • yarn.lock 80cbd56
  • ReceiverMismatch error message #234 45b63f2
  • Merge pull request #216 from nearprotocol/jest-test-each d5aff59
  • add code of conduct, contributing markdown files f1db8e2
  • Fix error thrown by node-fetch 8aadbdd
  • Merge pull request #221 from nearprotocol/fix-binary-reader d17a72e
  • Fix one off error in BinaryReader ccf2269
  • refactor: clean up format tests e4cd426
  • Merge pull request #213 from nearprotocol/fckt/fix-schema-to-type 647690a
  • fix for empty error variants 76ea814
  • yarn dist 71a4bbe
  • Merge pull request #191 from nearprotocol/function-call-default-gas 213b318
  • Merge pull request #204 from nearprotocol/fix-contract-config 1c93aa7
  • Fix syntax error in account.test.js 627a5bc
  • Fix Contract to not crash without viewMethods/changeMethods 2a207cd
  • Add tests for having only view or change contract methods ccd45c7
  • Merge pull request #106 from nearprotocol/sign-tx 2475049
  • Merge remote-tracking branch 'origin/master' into sign-tx d6679fb
  • Merge pull request #203 from nearprotocol/remove-tslint 2eea295
  • Bump rimraf from 3.0.0 to 3.0.1 (#201) db0897e
  • Bump typedoc from 0.16.7 to 0.16.9 (#200) bee991d
  • Refactor ESLint config and fix/disable remaining issues 2a172d2
  • yarn fix 12d681c
  • Lint TypeScript using eslint ebfc50c
  • yarn fix 6e6e40d
  • Make sure gas is passed as BN e316e72
  • Increase default gas amount for function calls d7eb5cc
  • Merge pull request #202 from nearprotocol/fix_providers_test 2a4f571
  • fix_providers_test 73a0fb1
  • browserify 7e7123b
  • Add missing await 3410168
  • FunctionCall permission only allows one action per tx 141cccb
  • Check for error with not enough balance on access key d95d6bf
  • Merge pull request #197 from nearprotocol/update-error-schema 95b71fa
  • Update error schema and fix tests ec831dd
  • Use WalletConnection in test instead of WalletAccount 721f030
  • yarn fix 0be58f1
  • Make tests work and refactor a little bit fbb41c5
  • Add test for signing redirect when there is no local key 09dd0d9
  • Lint fixes f929ee3
  • Add test for requestSignTransactions a61fac7
  • Add logic to find matching keys / code clean-up 30d451e
  • Merge remote-tracking branch 'origin/master' into sign-tx 26ed384
  • browserify cd08aef
  • Made tx signing happy path work with wallet 30a0bc7
  • Remove signHash from Signer 4e25485
  • TODOs cb3a972
  • Improve serialization test b3d7982
  • Change the way callbackUrl is passed dd5cc09
  • Prototype WalletAccount.requestSignTransactions 44466f5

v0.21.0

22 Jan 20:11
Compare
Choose a tag to compare

Commits:

  • yarn dist f33b971
  • Merge pull request #184 from nearprotocol/expose-sign-transaction bf1ce09
  • yarn fix a8f29f3
  • Make sure both overloads of signTransaction are tested 6f3f7c9
  • Add signTransaction overload ff1c024
  • Add workaround for nearcore error handling inconsistency a64a539
  • build dist/ 8e79172
  • new function 7c7b21f

v0.20.1

22 Jan 02:01
Compare
Choose a tag to compare

Commits:

  • Merge pull request #189 from nearprotocol/find-access-key 1ddc03a
  • Fix expected error in test 17bf1b9
  • Change the way access key is fetched by Account 29769ff
  • Bump typescript from 3.7.4 to 3.7.5 (#185) f26d1cb
  • Bump tweetnacl from 1.0.1 to 1.0.2 (#186) 567f7c0
  • Bump typedoc from 0.16.5 to 0.16.7 (#187) a4af28b
  • Merge pull request #188 from nearprotocol/dependabot/npm_and_yarn/mustache-4.0.0 6e958e4
  • Merge pull request #182 from nearprotocol/yarn-audit a5bb4b7
  • Bump mustache from 3.2.1 to 4.0.0 f05216d
  • move yarn audit to last build step d7fcd94
  • Bump typedoc from 0.15.8 to 0.16.5 (#181) 7937786
  • Merge pull request #180 from nearprotocol/audit-fix 58c301e
  • run yarn audit on build f7444cf
  • fix yarn audit warnings 6e34007

v0.20.0

14 Jan 08:41
Compare
Choose a tag to compare

Commits:

  • yarn dist dbcc1e2
  • Error fixes 36a8ddc
  • Implement UrlAccountCreator for real 5de1ecb
  • Merge pull request #177 from nearprotocol/update-errors-schema b6ba57c
  • RPC errors update 6df822c
  • Merge pull request #163 from nearprotocol/fckt/typed-errors cf9764a
  • increased bundlesize to 85kB cf9aa90
  • add comments 878dc39
  • Merge branch 'master' into fckt/typed-errors c791272
  • works with old and new error format 413f0cf
  • fix spell 9d5637c
  • fix linter df92c87
  • yarn dist cacd96f
  • mustache added, formatted error messages added 436ed63
  • tests pass 1af7ed8
  • remove CLASSMAP, fetch rpc_errors_schema.json from the specific revision e338358