Skip to content

Commit

Permalink
Merge pull request #561 from MoralisWeb3/changeset-release/beta
Browse files Browse the repository at this point in the history
Version Packages (beta)
  • Loading branch information
ErnoW authored Aug 8, 2022
2 parents 919afcb + 0c5979e commit 2c2b263
Show file tree
Hide file tree
Showing 21 changed files with 208 additions and 33 deletions.
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"chilly-chefs-sort",
"curly-boats-stare",
"early-points-hammer",
"flat-swans-type",
"forty-yaks-tie",
"green-avocados-hear",
"itchy-feet-float",
Expand Down
2 changes: 1 addition & 1 deletion demos/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"next": "12.2.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"moralis": "^2.0.0-beta.7",
"moralis": "^2.0.0-beta.8",
"wagmi": "^0.5.11",
"next-auth": "4.10.2",
"axios": "^0.27.2",
Expand Down
4 changes: 2 additions & 2 deletions demos/parse-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"express": "^4.18.1",
"parse-dashboard": "^4.1.4",
"parse-server": "^5.2.4",
"moralis": "^2.0.0-beta.7",
"@moralisweb3/core": "^2.0.0-beta.7"
"moralis": "^2.0.0-beta.8",
"@moralisweb3/core": "^2.0.0-beta.8"
},
"devDependencies": {
"mongodb-runner": "^4.9.0",
Expand Down
2 changes: 1 addition & 1 deletion demos/test-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"format:check": "prettier . \"src/**/*.+(js|ts|json)\" --check"
},
"dependencies": {
"moralis": "^2.0.0-beta.7",
"moralis": "^2.0.0-beta.8",
"dotenv": "^16.0.1"
}
}
21 changes: 21 additions & 0 deletions packages/apiUtils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @moralisweb3/api-utils

## 2.0.0-beta.8

### Minor Changes

- [#560](https://github.com/MoralisWeb3/Moralis-JS-SDK/pull/560) [`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981) Thanks [@ErnoW](https://github.com/ErnoW)! - Improve Erc20Value logic by:

- geters for Erc20 for: `token.decimals`, `token.name`, `token.symbol`, `token.contractAddress`, `token.chain`, `token.logo`, `token.logoHash` and `token.thumbnail`,
- adding an optional token reference for `Erc20Value`. This can be used by calling `Erc20Value.create(amount, { token })`
- fixes and additions for output of `Erc20Value`:
- `erc20Value.value` now returns the value in a decimal string `"123.567"`
- `erc20Value.amount` returns the Bignumber value withtout taking decimals into account
- `erc20Value.decimals` returns the decimals
- `erc20Value.toNumber()` returns the value in a decimal number (or throws an error if the value is too big): `123.456`
- `erc20Value.display()` returns the value in a readable string with the token symbol if available: `"123.456 LINK"` (or `"123.456"`)
- `Moralis.EvmApi.getTokenBalances()` now returns an `Erc20Value` object with associated token information.

### Patch Changes

- Updated dependencies [[`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981)]:
- @moralisweb3/core@2.0.0-beta.8

## 2.0.0-beta.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/apiUtils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@moralisweb3/api-utils",
"author": "Moralis",
"version": "2.0.0-beta.7",
"version": "2.0.0-beta.8",
"license": "MIT",
"private": false,
"main": "./lib/index.js",
Expand All @@ -26,6 +26,6 @@
"typescript": "^4.5.5"
},
"dependencies": {
"@moralisweb3/core": "^2.0.0-beta.7"
"@moralisweb3/core": "^2.0.0-beta.8"
}
}
23 changes: 23 additions & 0 deletions packages/auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @moralisweb3/auth

## 2.0.0-beta.8

### Minor Changes

- [#560](https://github.com/MoralisWeb3/Moralis-JS-SDK/pull/560) [`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981) Thanks [@ErnoW](https://github.com/ErnoW)! - Improve Erc20Value logic by:

- geters for Erc20 for: `token.decimals`, `token.name`, `token.symbol`, `token.contractAddress`, `token.chain`, `token.logo`, `token.logoHash` and `token.thumbnail`,
- adding an optional token reference for `Erc20Value`. This can be used by calling `Erc20Value.create(amount, { token })`
- fixes and additions for output of `Erc20Value`:
- `erc20Value.value` now returns the value in a decimal string `"123.567"`
- `erc20Value.amount` returns the Bignumber value withtout taking decimals into account
- `erc20Value.decimals` returns the decimals
- `erc20Value.toNumber()` returns the value in a decimal number (or throws an error if the value is too big): `123.456`
- `erc20Value.display()` returns the value in a readable string with the token symbol if available: `"123.456 LINK"` (or `"123.456"`)
- `Moralis.EvmApi.getTokenBalances()` now returns an `Erc20Value` object with associated token information.

### Patch Changes

- Updated dependencies [[`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981)]:
- @moralisweb3/api-utils@2.0.0-beta.8
- @moralisweb3/core@2.0.0-beta.8
- @moralisweb3/evm-utils@2.0.0-beta.8

## 2.0.0-beta.7

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@moralisweb3/auth",
"author": "Moralis",
"version": "2.0.0-beta.7",
"version": "2.0.0-beta.8",
"license": "MIT",
"private": false,
"main": "./lib/index.js",
Expand Down Expand Up @@ -29,8 +29,8 @@
"openapi-typescript": "^5.2.0"
},
"dependencies": {
"@moralisweb3/core": "^2.0.0-beta.7",
"@moralisweb3/api-utils": "^2.0.0-beta.7",
"@moralisweb3/evm-utils": "^2.0.0-beta.7"
"@moralisweb3/core": "^2.0.0-beta.8",
"@moralisweb3/api-utils": "^2.0.0-beta.8",
"@moralisweb3/evm-utils": "^2.0.0-beta.8"
}
}
16 changes: 16 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @moralisweb3/core

## 2.0.0-beta.8

### Minor Changes

- [#560](https://github.com/MoralisWeb3/Moralis-JS-SDK/pull/560) [`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981) Thanks [@ErnoW](https://github.com/ErnoW)! - Improve Erc20Value logic by:

- geters for Erc20 for: `token.decimals`, `token.name`, `token.symbol`, `token.contractAddress`, `token.chain`, `token.logo`, `token.logoHash` and `token.thumbnail`,
- adding an optional token reference for `Erc20Value`. This can be used by calling `Erc20Value.create(amount, { token })`
- fixes and additions for output of `Erc20Value`:
- `erc20Value.value` now returns the value in a decimal string `"123.567"`
- `erc20Value.amount` returns the Bignumber value withtout taking decimals into account
- `erc20Value.decimals` returns the decimals
- `erc20Value.toNumber()` returns the value in a decimal number (or throws an error if the value is too big): `123.456`
- `erc20Value.display()` returns the value in a readable string with the token symbol if available: `"123.456 LINK"` (or `"123.456"`)
- `Moralis.EvmApi.getTokenBalances()` now returns an `Erc20Value` object with associated token information.

## 2.0.0-beta.7

## 2.0.0-beta.6
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@moralisweb3/core",
"author": "Moralis",
"version": "2.0.0-beta.7",
"version": "2.0.0-beta.8",
"license": "MIT",
"private": false,
"main": "./lib/index.js",
Expand Down
23 changes: 23 additions & 0 deletions packages/evmApi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @moralisweb3/evm-api

## 2.0.0-beta.8

### Minor Changes

- [#560](https://github.com/MoralisWeb3/Moralis-JS-SDK/pull/560) [`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981) Thanks [@ErnoW](https://github.com/ErnoW)! - Improve Erc20Value logic by:

- geters for Erc20 for: `token.decimals`, `token.name`, `token.symbol`, `token.contractAddress`, `token.chain`, `token.logo`, `token.logoHash` and `token.thumbnail`,
- adding an optional token reference for `Erc20Value`. This can be used by calling `Erc20Value.create(amount, { token })`
- fixes and additions for output of `Erc20Value`:
- `erc20Value.value` now returns the value in a decimal string `"123.567"`
- `erc20Value.amount` returns the Bignumber value withtout taking decimals into account
- `erc20Value.decimals` returns the decimals
- `erc20Value.toNumber()` returns the value in a decimal number (or throws an error if the value is too big): `123.456`
- `erc20Value.display()` returns the value in a readable string with the token symbol if available: `"123.456 LINK"` (or `"123.456"`)
- `Moralis.EvmApi.getTokenBalances()` now returns an `Erc20Value` object with associated token information.

### Patch Changes

- Updated dependencies [[`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981)]:
- @moralisweb3/api-utils@2.0.0-beta.8
- @moralisweb3/core@2.0.0-beta.8
- @moralisweb3/evm-utils@2.0.0-beta.8

## 2.0.0-beta.7

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/evmApi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@moralisweb3/evm-api",
"author": "Moralis",
"version": "2.0.0-beta.7",
"version": "2.0.0-beta.8",
"license": "MIT",
"private": false,
"main": "./lib/index.js",
Expand All @@ -28,8 +28,8 @@
"typescript": "^4.5.5"
},
"dependencies": {
"@moralisweb3/api-utils": "^2.0.0-beta.7",
"@moralisweb3/core": "^2.0.0-beta.7",
"@moralisweb3/evm-utils": "^2.0.0-beta.7"
"@moralisweb3/api-utils": "^2.0.0-beta.8",
"@moralisweb3/core": "^2.0.0-beta.8",
"@moralisweb3/evm-utils": "^2.0.0-beta.8"
}
}
21 changes: 21 additions & 0 deletions packages/evmUtils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @moralisweb3/evm-utils

## 2.0.0-beta.8

### Minor Changes

- [#560](https://github.com/MoralisWeb3/Moralis-JS-SDK/pull/560) [`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981) Thanks [@ErnoW](https://github.com/ErnoW)! - Improve Erc20Value logic by:

- geters for Erc20 for: `token.decimals`, `token.name`, `token.symbol`, `token.contractAddress`, `token.chain`, `token.logo`, `token.logoHash` and `token.thumbnail`,
- adding an optional token reference for `Erc20Value`. This can be used by calling `Erc20Value.create(amount, { token })`
- fixes and additions for output of `Erc20Value`:
- `erc20Value.value` now returns the value in a decimal string `"123.567"`
- `erc20Value.amount` returns the Bignumber value withtout taking decimals into account
- `erc20Value.decimals` returns the decimals
- `erc20Value.toNumber()` returns the value in a decimal number (or throws an error if the value is too big): `123.456`
- `erc20Value.display()` returns the value in a readable string with the token symbol if available: `"123.456 LINK"` (or `"123.456"`)
- `Moralis.EvmApi.getTokenBalances()` now returns an `Erc20Value` object with associated token information.

### Patch Changes

- Updated dependencies [[`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981)]:
- @moralisweb3/core@2.0.0-beta.8

## 2.0.0-beta.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/evmUtils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@moralisweb3/evm-utils",
"author": "Moralis",
"version": "2.0.0-beta.7",
"version": "2.0.0-beta.8",
"license": "MIT",
"private": false,
"main": "./lib/index.js",
Expand Down Expand Up @@ -30,6 +30,6 @@
"dependencies": {
"@ethersproject/address": "^5.6.0",
"@ethersproject/transactions": "^5.6.0",
"@moralisweb3/core": "^2.0.0-beta.7"
"@moralisweb3/core": "^2.0.0-beta.8"
}
}
6 changes: 3 additions & 3 deletions packages/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"typescript": "^4.5.5"
},
"dependencies": {
"@moralisweb3/core": "^2.0.0-beta.7",
"@moralisweb3/evm-api": "^2.0.0-beta.7",
"@moralisweb3/evm-utils": "^2.0.0-beta.7",
"@moralisweb3/core": "^2.0.0-beta.8",
"@moralisweb3/evm-api": "^2.0.0-beta.8",
"@moralisweb3/evm-utils": "^2.0.0-beta.8",
"eventemitter3": "^4.0.7"
}
}
26 changes: 26 additions & 0 deletions packages/moralis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# moralis

## 2.0.0-beta.8

### Minor Changes

- [#560](https://github.com/MoralisWeb3/Moralis-JS-SDK/pull/560) [`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981) Thanks [@ErnoW](https://github.com/ErnoW)! - Improve Erc20Value logic by:

- geters for Erc20 for: `token.decimals`, `token.name`, `token.symbol`, `token.contractAddress`, `token.chain`, `token.logo`, `token.logoHash` and `token.thumbnail`,
- adding an optional token reference for `Erc20Value`. This can be used by calling `Erc20Value.create(amount, { token })`
- fixes and additions for output of `Erc20Value`:
- `erc20Value.value` now returns the value in a decimal string `"123.567"`
- `erc20Value.amount` returns the Bignumber value withtout taking decimals into account
- `erc20Value.decimals` returns the decimals
- `erc20Value.toNumber()` returns the value in a decimal number (or throws an error if the value is too big): `123.456`
- `erc20Value.display()` returns the value in a readable string with the token symbol if available: `"123.456 LINK"` (or `"123.456"`)
- `Moralis.EvmApi.getTokenBalances()` now returns an `Erc20Value` object with associated token information.

### Patch Changes

- Updated dependencies [[`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981)]:
- @moralisweb3/api-utils@2.0.0-beta.8
- @moralisweb3/auth@2.0.0-beta.8
- @moralisweb3/core@2.0.0-beta.8
- @moralisweb3/evm-api@2.0.0-beta.8
- @moralisweb3/evm-utils@2.0.0-beta.8
- @moralisweb3/sol-api@2.0.0-beta.8

## 2.0.0-beta.7

### Patch Changes
Expand Down
14 changes: 7 additions & 7 deletions packages/moralis/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "moralis",
"author": "Moralis",
"version": "2.0.0-beta.7",
"version": "2.0.0-beta.8",
"license": "MIT",
"private": false,
"main": "./lib/index.js",
Expand All @@ -19,11 +19,11 @@
"dev": "tsc --watch"
},
"dependencies": {
"@moralisweb3/auth": "^2.0.0-beta.7",
"@moralisweb3/core": "^2.0.0-beta.7",
"@moralisweb3/api-utils": "^2.0.0-beta.7",
"@moralisweb3/evm-api": "^2.0.0-beta.7",
"@moralisweb3/evm-utils": "^2.0.0-beta.7",
"@moralisweb3/sol-api": "^2.0.0-beta.7"
"@moralisweb3/auth": "^2.0.0-beta.8",
"@moralisweb3/core": "^2.0.0-beta.8",
"@moralisweb3/api-utils": "^2.0.0-beta.8",
"@moralisweb3/evm-api": "^2.0.0-beta.8",
"@moralisweb3/evm-utils": "^2.0.0-beta.8",
"@moralisweb3/sol-api": "^2.0.0-beta.8"
}
}
23 changes: 23 additions & 0 deletions packages/solApi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @moralisweb3/sol-api

## 2.0.0-beta.8

### Minor Changes

- [#560](https://github.com/MoralisWeb3/Moralis-JS-SDK/pull/560) [`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981) Thanks [@ErnoW](https://github.com/ErnoW)! - Improve Erc20Value logic by:

- geters for Erc20 for: `token.decimals`, `token.name`, `token.symbol`, `token.contractAddress`, `token.chain`, `token.logo`, `token.logoHash` and `token.thumbnail`,
- adding an optional token reference for `Erc20Value`. This can be used by calling `Erc20Value.create(amount, { token })`
- fixes and additions for output of `Erc20Value`:
- `erc20Value.value` now returns the value in a decimal string `"123.567"`
- `erc20Value.amount` returns the Bignumber value withtout taking decimals into account
- `erc20Value.decimals` returns the decimals
- `erc20Value.toNumber()` returns the value in a decimal number (or throws an error if the value is too big): `123.456`
- `erc20Value.display()` returns the value in a readable string with the token symbol if available: `"123.456 LINK"` (or `"123.456"`)
- `Moralis.EvmApi.getTokenBalances()` now returns an `Erc20Value` object with associated token information.

### Patch Changes

- Updated dependencies [[`d413073`](https://github.com/MoralisWeb3/Moralis-JS-SDK/commit/d4130736a22b5e28da767864d57be8d2abcf5981)]:
- @moralisweb3/api-utils@2.0.0-beta.8
- @moralisweb3/core@2.0.0-beta.8
- @moralisweb3/sol-utils@2.0.0-beta.8

## 2.0.0-beta.7

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/solApi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@moralisweb3/sol-api",
"author": "Moralis",
"version": "2.0.0-beta.7",
"version": "2.0.0-beta.8",
"license": "MIT",
"private": false,
"main": "./lib/index.js",
Expand All @@ -25,8 +25,8 @@
"typescript": "^4.5.5"
},
"dependencies": {
"@moralisweb3/api-utils": "^2.0.0-beta.7",
"@moralisweb3/core": "^2.0.0-beta.7",
"@moralisweb3/sol-utils": "^2.0.0-beta.7"
"@moralisweb3/api-utils": "^2.0.0-beta.8",
"@moralisweb3/core": "^2.0.0-beta.8",
"@moralisweb3/sol-utils": "^2.0.0-beta.8"
}
}
Loading

0 comments on commit 2c2b263

Please sign in to comment.