diff --git a/.changeset/eight-owls-grow.md b/.changeset/eight-owls-grow.md deleted file mode 100644 index 47b4e4712..000000000 --- a/.changeset/eight-owls-grow.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"near-api-js": major -"@near-js/accounts": minor -"@near-js/transactions": minor -"@near-js/types": minor -"@near-js/utils": minor -"@near-js/biometric-ed25519": patch -"@near-js/cookbook": patch -"@near-js/crypto": patch -"@near-js/providers": patch -"@near-js/wallet-account": patch ---- - -Replace bn.js by BigInt. diff --git a/.changeset/little-chefs-decide.md b/.changeset/little-chefs-decide.md deleted file mode 100644 index a8ff0391b..000000000 --- a/.changeset/little-chefs-decide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@near-js/accounts": minor ---- - -Extend Contract class to accept Connection object diff --git a/.changeset/mighty-paws-tap.md b/.changeset/mighty-paws-tap.md deleted file mode 100644 index 683aa87d0..000000000 --- a/.changeset/mighty-paws-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@near-js/biometric-ed25519": minor ---- - -Include sanitization on navigator.credentials response to support Bitwarden password manager diff --git a/.changeset/shiny-coats-fly.md b/.changeset/shiny-coats-fly.md deleted file mode 100644 index f6f90b484..000000000 --- a/.changeset/shiny-coats-fly.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@near-js/accounts": minor -"@near-js/providers": minor -"@near-js/wallet-account": minor ---- - -Introduce FailoverRpcProvider that switches between providers in case of a failure of one of them diff --git a/.changeset/weak-guests-dream.md b/.changeset/weak-guests-dream.md deleted file mode 100644 index 0ccad0e69..000000000 --- a/.changeset/weak-guests-dream.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@near-js/accounts": patch -"near-api-js": patch ---- - -replace ajv with is-my-json-valid diff --git a/packages/accounts/CHANGELOG.md b/packages/accounts/CHANGELOG.md index 0992ba2cc..5d94d2bd6 100644 --- a/packages/accounts/CHANGELOG.md +++ b/packages/accounts/CHANGELOG.md @@ -1,5 +1,27 @@ # @near-js/accounts +## 1.1.0 + +### Minor Changes + +- [#1223](https://github.com/near/near-api-js/pull/1223) [`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b) Thanks [@gtsonevv](https://github.com/gtsonevv)! - Replace bn.js by BigInt. + +- [#1325](https://github.com/near/near-api-js/pull/1325) [`cc401a6c`](https://github.com/near/near-api-js/commit/cc401a6c893398e2185c35765ca316f68ac86074) Thanks [@denbite](https://github.com/denbite)! - Extend Contract class to accept Connection object + +- [#1334](https://github.com/near/near-api-js/pull/1334) [`3f363113`](https://github.com/near/near-api-js/commit/3f363113e102d0acf29b7b2635acf6160a028cc3) Thanks [@denbite](https://github.com/denbite)! - Introduce FailoverRpcProvider that switches between providers in case of a failure of one of them + +### Patch Changes + +- [#1292](https://github.com/near/near-api-js/pull/1292) [`f739324b`](https://github.com/near/near-api-js/commit/f739324b2959712281d957eb26a09e5d68e32c80) Thanks [@gtsonevv](https://github.com/gtsonevv)! - replace ajv with is-my-json-valid + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b), [`3f363113`](https://github.com/near/near-api-js/commit/3f363113e102d0acf29b7b2635acf6160a028cc3)]: + - @near-js/transactions@1.2.0 + - @near-js/types@0.1.0 + - @near-js/utils@0.2.0 + - @near-js/crypto@1.2.2 + - @near-js/providers@0.2.0 + - @near-js/signers@0.1.2 + ## 1.0.4 ### Patch Changes diff --git a/packages/accounts/package.json b/packages/accounts/package.json index 894ff6b96..861f5d270 100644 --- a/packages/accounts/package.json +++ b/packages/accounts/package.json @@ -1,6 +1,6 @@ { "name": "@near-js/accounts", - "version": "1.0.4", + "version": "1.1.0", "description": "Classes encapsulating account-specific functionality", "main": "lib/index.js", "scripts": { diff --git a/packages/biometric-ed25519/CHANGELOG.md b/packages/biometric-ed25519/CHANGELOG.md index faf35141a..b2cbaa8fd 100644 --- a/packages/biometric-ed25519/CHANGELOG.md +++ b/packages/biometric-ed25519/CHANGELOG.md @@ -1,5 +1,19 @@ # @near-js/biometric-ed25519 +## 1.2.0 + +### Minor Changes + +- [#1331](https://github.com/near/near-api-js/pull/1331) [`bc2e982b`](https://github.com/near/near-api-js/commit/bc2e982b35a6777c33675a1502a40404c9dd9df2) Thanks [@hcho112](https://github.com/hcho112)! - Include sanitization on navigator.credentials response to support Bitwarden password manager + +### Patch Changes + +- [#1223](https://github.com/near/near-api-js/pull/1223) [`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b) Thanks [@gtsonevv](https://github.com/gtsonevv)! - Replace bn.js by BigInt. + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b)]: + - @near-js/utils@0.2.0 + - @near-js/crypto@1.2.2 + ## 1.1.2 ### Patch Changes diff --git a/packages/biometric-ed25519/package.json b/packages/biometric-ed25519/package.json index 8c2217af9..402bbc59c 100644 --- a/packages/biometric-ed25519/package.json +++ b/packages/biometric-ed25519/package.json @@ -1,7 +1,7 @@ { "name": "@near-js/biometric-ed25519", "description": "JavaScript library to handle webauthn and biometric keys", - "version": "1.1.2", + "version": "1.2.0", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { diff --git a/packages/cookbook/CHANGELOG.md b/packages/cookbook/CHANGELOG.md index a73513ad9..2a6137d35 100644 --- a/packages/cookbook/CHANGELOG.md +++ b/packages/cookbook/CHANGELOG.md @@ -1,5 +1,19 @@ # @near-js/cookbook +## 1.0.17 + +### Patch Changes + +- [#1223](https://github.com/near/near-api-js/pull/1223) [`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b) Thanks [@gtsonevv](https://github.com/gtsonevv)! - Replace bn.js by BigInt. + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b), [`cc401a6c`](https://github.com/near/near-api-js/commit/cc401a6c893398e2185c35765ca316f68ac86074), [`3f363113`](https://github.com/near/near-api-js/commit/3f363113e102d0acf29b7b2635acf6160a028cc3), [`f739324b`](https://github.com/near/near-api-js/commit/f739324b2959712281d957eb26a09e5d68e32c80)]: + - near-api-js@4.0.0 + - @near-js/accounts@1.1.0 + - @near-js/transactions@1.2.0 + - @near-js/providers@0.2.0 + - @near-js/keystores-node@0.0.10 + - @near-js/signers@0.1.2 + ## 1.0.16 ### Patch Changes diff --git a/packages/cookbook/package.json b/packages/cookbook/package.json index 4720f1d4b..aa18347ed 100644 --- a/packages/cookbook/package.json +++ b/packages/cookbook/package.json @@ -1,7 +1,7 @@ { "name": "@near-js/cookbook", "private": true, - "version": "1.0.16", + "version": "1.0.17", "description": "", "main": "main.js", "author": "", diff --git a/packages/crypto/CHANGELOG.md b/packages/crypto/CHANGELOG.md index 76ce0e47e..302ccedc1 100644 --- a/packages/crypto/CHANGELOG.md +++ b/packages/crypto/CHANGELOG.md @@ -1,5 +1,15 @@ # @near-js/crypto +## 1.2.2 + +### Patch Changes + +- [#1223](https://github.com/near/near-api-js/pull/1223) [`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b) Thanks [@gtsonevv](https://github.com/gtsonevv)! - Replace bn.js by BigInt. + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b)]: + - @near-js/types@0.1.0 + - @near-js/utils@0.2.0 + ## 1.2.1 ### Patch Changes diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 6a380b424..073a1ab69 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -1,6 +1,6 @@ { "name": "@near-js/crypto", - "version": "1.2.1", + "version": "1.2.2", "description": "Abstractions around NEAR-compatible elliptical curves and cryptographic keys", "main": "lib/index.js", "scripts": { diff --git a/packages/keystores-browser/CHANGELOG.md b/packages/keystores-browser/CHANGELOG.md index 94e11b38d..6daad5262 100644 --- a/packages/keystores-browser/CHANGELOG.md +++ b/packages/keystores-browser/CHANGELOG.md @@ -1,5 +1,13 @@ # @near-js/keystores-browser +## 0.0.10 + +### Patch Changes + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b)]: + - @near-js/crypto@1.2.2 + - @near-js/keystores@0.0.10 + ## 0.0.9 ### Patch Changes diff --git a/packages/keystores-browser/package.json b/packages/keystores-browser/package.json index 920fb8ed9..838b5435c 100644 --- a/packages/keystores-browser/package.json +++ b/packages/keystores-browser/package.json @@ -1,6 +1,6 @@ { "name": "@near-js/keystores-browser", - "version": "0.0.9", + "version": "0.0.10", "description": "KeyStore implementation for working with keys in browser LocalStorage", "main": "lib/index.js", "scripts": { diff --git a/packages/keystores-node/CHANGELOG.md b/packages/keystores-node/CHANGELOG.md index 5eb0e547f..3302da9ef 100644 --- a/packages/keystores-node/CHANGELOG.md +++ b/packages/keystores-node/CHANGELOG.md @@ -1,5 +1,13 @@ # @near-js/keystores-node +## 0.0.10 + +### Patch Changes + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b)]: + - @near-js/crypto@1.2.2 + - @near-js/keystores@0.0.10 + ## 0.0.9 ### Patch Changes diff --git a/packages/keystores-node/package.json b/packages/keystores-node/package.json index 7ce6bc39f..ccf252097 100644 --- a/packages/keystores-node/package.json +++ b/packages/keystores-node/package.json @@ -1,6 +1,6 @@ { "name": "@near-js/keystores-node", - "version": "0.0.9", + "version": "0.0.10", "description": "KeyStore implementation for working with keys in the local filesystem", "main": "lib/index.js", "scripts": { diff --git a/packages/keystores/CHANGELOG.md b/packages/keystores/CHANGELOG.md index 07de5c48d..e0c7901e0 100644 --- a/packages/keystores/CHANGELOG.md +++ b/packages/keystores/CHANGELOG.md @@ -1,5 +1,13 @@ # @near-js/keystores +## 0.0.10 + +### Patch Changes + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b)]: + - @near-js/types@0.1.0 + - @near-js/crypto@1.2.2 + ## 0.0.9 ### Patch Changes diff --git a/packages/keystores/package.json b/packages/keystores/package.json index 291e4f563..04c409af6 100644 --- a/packages/keystores/package.json +++ b/packages/keystores/package.json @@ -1,6 +1,6 @@ { "name": "@near-js/keystores", - "version": "0.0.9", + "version": "0.0.10", "description": "Key storage and management implementations", "main": "lib/index.js", "scripts": { diff --git a/packages/near-api-js/CHANGELOG.md b/packages/near-api-js/CHANGELOG.md index 4979c9761..a137dfc76 100644 --- a/packages/near-api-js/CHANGELOG.md +++ b/packages/near-api-js/CHANGELOG.md @@ -1,5 +1,28 @@ # near-api-js +## 4.0.0 + +### Major Changes + +- [#1223](https://github.com/near/near-api-js/pull/1223) [`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b) Thanks [@gtsonevv](https://github.com/gtsonevv)! - Replace bn.js by BigInt. + +### Patch Changes + +- [#1292](https://github.com/near/near-api-js/pull/1292) [`f739324b`](https://github.com/near/near-api-js/commit/f739324b2959712281d957eb26a09e5d68e32c80) Thanks [@gtsonevv](https://github.com/gtsonevv)! - replace ajv with is-my-json-valid + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b), [`cc401a6c`](https://github.com/near/near-api-js/commit/cc401a6c893398e2185c35765ca316f68ac86074), [`3f363113`](https://github.com/near/near-api-js/commit/3f363113e102d0acf29b7b2635acf6160a028cc3), [`f739324b`](https://github.com/near/near-api-js/commit/f739324b2959712281d957eb26a09e5d68e32c80)]: + - @near-js/accounts@1.1.0 + - @near-js/transactions@1.2.0 + - @near-js/types@0.1.0 + - @near-js/utils@0.2.0 + - @near-js/crypto@1.2.2 + - @near-js/providers@0.2.0 + - @near-js/wallet-account@1.2.0 + - @near-js/keystores@0.0.10 + - @near-js/keystores-browser@0.0.10 + - @near-js/keystores-node@0.0.10 + - @near-js/signers@0.1.2 + ## 3.0.4 ### Patch Changes diff --git a/packages/near-api-js/package.json b/packages/near-api-js/package.json index bf315900b..ec997df34 100644 --- a/packages/near-api-js/package.json +++ b/packages/near-api-js/package.json @@ -1,7 +1,7 @@ { "name": "near-api-js", "description": "JavaScript library to interact with NEAR Protocol via RPC API", - "version": "3.0.4", + "version": "4.0.0", "repository": { "type": "git", "url": "git+https://github.com/near/near-api-js.git" diff --git a/packages/providers/CHANGELOG.md b/packages/providers/CHANGELOG.md index a8c1e8a31..789552259 100644 --- a/packages/providers/CHANGELOG.md +++ b/packages/providers/CHANGELOG.md @@ -1,5 +1,20 @@ # @near-js/providers +## 0.2.0 + +### Minor Changes + +- [#1334](https://github.com/near/near-api-js/pull/1334) [`3f363113`](https://github.com/near/near-api-js/commit/3f363113e102d0acf29b7b2635acf6160a028cc3) Thanks [@denbite](https://github.com/denbite)! - Introduce FailoverRpcProvider that switches between providers in case of a failure of one of them + +### Patch Changes + +- [#1223](https://github.com/near/near-api-js/pull/1223) [`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b) Thanks [@gtsonevv](https://github.com/gtsonevv)! - Replace bn.js by BigInt. + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b)]: + - @near-js/transactions@1.2.0 + - @near-js/types@0.1.0 + - @near-js/utils@0.2.0 + ## 0.1.1 ### Patch Changes diff --git a/packages/providers/package.json b/packages/providers/package.json index 9a773fbee..0e3c17a84 100644 --- a/packages/providers/package.json +++ b/packages/providers/package.json @@ -1,6 +1,6 @@ { "name": "@near-js/providers", - "version": "0.1.1", + "version": "0.2.0", "description": "Library of implementations for interfacing with the NEAR blockchain", "main": "lib/index.js", "scripts": { diff --git a/packages/signers/CHANGELOG.md b/packages/signers/CHANGELOG.md index 87be4a7d0..b54844c51 100644 --- a/packages/signers/CHANGELOG.md +++ b/packages/signers/CHANGELOG.md @@ -1,5 +1,13 @@ # @near-js/signers +## 0.1.2 + +### Patch Changes + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b)]: + - @near-js/crypto@1.2.2 + - @near-js/keystores@0.0.10 + ## 0.1.1 ### Patch Changes diff --git a/packages/signers/package.json b/packages/signers/package.json index fe0281c72..63934375c 100644 --- a/packages/signers/package.json +++ b/packages/signers/package.json @@ -1,6 +1,6 @@ { "name": "@near-js/signers", - "version": "0.1.1", + "version": "0.1.2", "description": "Core dependencies for the NEAR API JavaScript client", "main": "lib/index.js", "scripts": { diff --git a/packages/transactions/CHANGELOG.md b/packages/transactions/CHANGELOG.md index 25ab3c9e2..655f29265 100644 --- a/packages/transactions/CHANGELOG.md +++ b/packages/transactions/CHANGELOG.md @@ -1,5 +1,19 @@ # @near-js/transactions +## 1.2.0 + +### Minor Changes + +- [#1223](https://github.com/near/near-api-js/pull/1223) [`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b) Thanks [@gtsonevv](https://github.com/gtsonevv)! - Replace bn.js by BigInt. + +### Patch Changes + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b)]: + - @near-js/types@0.1.0 + - @near-js/utils@0.2.0 + - @near-js/crypto@1.2.2 + - @near-js/signers@0.1.2 + ## 1.1.2 ### Patch Changes diff --git a/packages/transactions/package.json b/packages/transactions/package.json index af311e3ba..0911251d8 100644 --- a/packages/transactions/package.json +++ b/packages/transactions/package.json @@ -1,6 +1,6 @@ { "name": "@near-js/transactions", - "version": "1.1.2", + "version": "1.2.0", "description": "Functions and data types for transactions on NEAR", "main": "lib/index.js", "scripts": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 5573267de..e27da63f3 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,11 @@ # @near-js/types +## 0.1.0 + +### Minor Changes + +- [#1223](https://github.com/near/near-api-js/pull/1223) [`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b) Thanks [@gtsonevv](https://github.com/gtsonevv)! - Replace bn.js by BigInt. + ## 0.0.4 ### Patch Changes diff --git a/packages/types/package.json b/packages/types/package.json index 1f74423b2..d2e9bf578 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@near-js/types", - "version": "0.0.4", + "version": "0.1.0", "description": "TypeScript types for working with the Near JS API", "main": "lib/index.js", "scripts": { diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index e6c5b51b3..8309f8b7d 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,16 @@ # @near-js/utils +## 0.2.0 + +### Minor Changes + +- [#1223](https://github.com/near/near-api-js/pull/1223) [`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b) Thanks [@gtsonevv](https://github.com/gtsonevv)! - Replace bn.js by BigInt. + +### Patch Changes + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b)]: + - @near-js/types@0.1.0 + ## 0.1.0 ### Minor Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index da7004aae..8042c232c 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@near-js/utils", - "version": "0.1.0", + "version": "0.2.0", "description": "Common methods and constants for the NEAR API JavaScript client", "main": "lib/index.js", "scripts": { diff --git a/packages/wallet-account/CHANGELOG.md b/packages/wallet-account/CHANGELOG.md index 5bc1c3383..2a8406c9b 100644 --- a/packages/wallet-account/CHANGELOG.md +++ b/packages/wallet-account/CHANGELOG.md @@ -1,5 +1,25 @@ # @near-js/wallet-account +## 1.2.0 + +### Minor Changes + +- [#1334](https://github.com/near/near-api-js/pull/1334) [`3f363113`](https://github.com/near/near-api-js/commit/3f363113e102d0acf29b7b2635acf6160a028cc3) Thanks [@denbite](https://github.com/denbite)! - Introduce FailoverRpcProvider that switches between providers in case of a failure of one of them + +### Patch Changes + +- [#1223](https://github.com/near/near-api-js/pull/1223) [`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b) Thanks [@gtsonevv](https://github.com/gtsonevv)! - Replace bn.js by BigInt. + +- Updated dependencies [[`9060b781`](https://github.com/near/near-api-js/commit/9060b7811668d71bdf21170273a42842c3691f9b), [`cc401a6c`](https://github.com/near/near-api-js/commit/cc401a6c893398e2185c35765ca316f68ac86074), [`3f363113`](https://github.com/near/near-api-js/commit/3f363113e102d0acf29b7b2635acf6160a028cc3), [`f739324b`](https://github.com/near/near-api-js/commit/f739324b2959712281d957eb26a09e5d68e32c80)]: + - @near-js/accounts@1.1.0 + - @near-js/transactions@1.2.0 + - @near-js/types@0.1.0 + - @near-js/utils@0.2.0 + - @near-js/crypto@1.2.2 + - @near-js/providers@0.2.0 + - @near-js/keystores@0.0.10 + - @near-js/signers@0.1.2 + ## 1.1.1 ### Patch Changes diff --git a/packages/wallet-account/package.json b/packages/wallet-account/package.json index bd06be797..2c5ca40a6 100644 --- a/packages/wallet-account/package.json +++ b/packages/wallet-account/package.json @@ -1,6 +1,6 @@ { "name": "@near-js/wallet-account", - "version": "1.1.1", + "version": "1.2.0", "description": "Dependencies for the NEAR API JavaScript client in the browser", "main": "lib/index.js", "scripts": {