Skip to content

Commit

Permalink
Merge pull request #3184 from superhero-com/release/v2.2.9
Browse files Browse the repository at this point in the history
Release v2.2.9
  • Loading branch information
CedrikNikita authored Jul 22, 2024
2 parents 2362be0 + f067bbc commit 22a4233
Show file tree
Hide file tree
Showing 155 changed files with 3,064 additions and 2,230 deletions.
13 changes: 0 additions & 13 deletions .babelrc

This file was deleted.

49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,55 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [2.2.9](https://github.com/Superhero-com/superhero-wallet/compare/v2.2.8...v2.2.9) (2024-07-19)


### Features

* add addressBook selector to multisig creation form ([bc700d9](https://github.com/Superhero-com/superhero-wallet/commit/bc700d988abaae273c0b46e0e29475a1ca1da777))
* **address-book:** add form validation ([0aea2b7](https://github.com/Superhero-com/superhero-wallet/commit/0aea2b7a9ad8d04e266868610199cc1c571114b3))
* **address-book:** add page & form ([b2be9db](https://github.com/Superhero-com/superhero-wallet/commit/b2be9db60daa3e4b2eaf270fed8de7ed871df6cb))
* **address-book:** add share address button ([69f08ac](https://github.com/Superhero-com/superhero-wallet/commit/69f08ac6bf4a8d9fe0f00d8245c7bd3c00829c73))
* **address-book:** filters logic ([9197946](https://github.com/Superhero-com/superhero-wallet/commit/9197946952341cf57d7c42879204edc5faa63a59))
* **address-book:** import export functionality ([08d1d21](https://github.com/Superhero-com/superhero-wallet/commit/08d1d21a544992f5752604af6294827e4f4d7751))
* **address-book:** send to contact ([e617b2c](https://github.com/Superhero-com/superhero-wallet/commit/e617b2c206e79568c29f838c71c90cd85b0dc20c))
* global font family definition ([812ba5e](https://github.com/Superhero-com/superhero-wallet/commit/812ba5e95e8d072e9dcbda4ec9af27b6cdbf1be3))
* improve character counter ui ([840d86d](https://github.com/Superhero-com/superhero-wallet/commit/840d86dbacc7771babecdae20044363d505e0eec))
* radio input styles unification ([fc8d3eb](https://github.com/Superhero-com/superhero-wallet/commit/fc8d3ebce916fa2a67dd42bb8afd610e0888f09e))
* remove duplicated babel config files ([b95089a](https://github.com/Superhero-com/superhero-wallet/commit/b95089a78a08d9bb74b8a5406333dbe3138d2e96))
* remove name avatar faces ([c06755c](https://github.com/Superhero-com/superhero-wallet/commit/c06755c15530b3928f3eb7066150ccf0b6440f7e))
* show fee in transaction list for token transfers ([a67d5c5](https://github.com/Superhero-com/superhero-wallet/commit/a67d5c5a951924a9c056a80d845332a115b3d3bb))


### Bug Fixes

* add missing wording ([9ee8c2a](https://github.com/Superhero-com/superhero-wallet/commit/9ee8c2a6ee5a2e2e2d21c0dd65cfddca67f63a0d))
* **aens:** show correct auction end info ([9ac1b19](https://github.com/Superhero-com/superhero-wallet/commit/9ac1b192c194efb0a1eeb366526f9e130d590870))
* **aens:** validate name correctly ([38101a4](https://github.com/Superhero-com/superhero-wallet/commit/38101a42519afafa95e937443b9f6d66924c9267))
* be able to select from account assets only ([47d46d5](https://github.com/Superhero-com/superhero-wallet/commit/47d46d57c9ff91da23bfffdf591a8b1a51cefa79))
* link button colors ([fc0cadf](https://github.com/Superhero-com/superhero-wallet/commit/fc0cadfdf5746203baf6b793be5af1f05db19114))
* **multisig:** show correct multisig proposal blockHeight ([69b80f7](https://github.com/Superhero-com/superhero-wallet/commit/69b80f707b30a723edfa2f42d4bcdb626a9fec7b))
* **multisig:** show correct revoke info ([e10038b](https://github.com/Superhero-com/superhero-wallet/commit/e10038b666832fa6f385abaa91cbee53b7acdb4b))
* network switcher options margin ([d1b9b73](https://github.com/Superhero-com/superhero-wallet/commit/d1b9b73e557d01f4b9b95ff0e29302f4d2328cec))
* remove incorrect component prop ([0e0d63a](https://github.com/Superhero-com/superhero-wallet/commit/0e0d63a2a243b41d7439bfeaa0d3e82e48e836fc))
* show bid history correctly ([9869205](https://github.com/Superhero-com/superhero-wallet/commit/9869205f0391c63265f7f2a0a20f516fb93f04e3))


### Documentation

* add a deep link schema ([7d5cdba](https://github.com/Superhero-com/superhero-wallet/commit/7d5cdba894d05197ce41d84cbb3001837a85cc41))


### Maintenance

* add data-cys to address-book filters ([56c3259](https://github.com/Superhero-com/superhero-wallet/commit/56c32596421c58cfa22d75a4c2cbc5f291f74430))
* **address-book:** resolve comments ([279c322](https://github.com/Superhero-com/superhero-wallet/commit/279c322926284ee0884e79867d197a82e2dda084))
* change mainnet backend url ([244b4ab](https://github.com/Superhero-com/superhero-wallet/commit/244b4ab9bcf017bc1efba4b7b2155fae26489ad1))
* multisig accounts use storage ref ([79f5b3c](https://github.com/Superhero-com/superhero-wallet/commit/79f5b3c7ce1470143337a5de3a9ab68e4975d8f6))
* remove unused wording ([341fc0e](https://github.com/Superhero-com/superhero-wallet/commit/341fc0e04300a7e4bd01f5b40fbb4d8691548a83))
* unify label text styling ([833599d](https://github.com/Superhero-com/superhero-wallet/commit/833599d38471baf98c7333153b3d8fdda2be1ee3))
* update ionic ([56a2897](https://github.com/Superhero-com/superhero-wallet/commit/56a2897c4a4066762c273c1dfdc9941c08c057f4))

### [2.2.8](https://github.com/Superhero-com/superhero-wallet/compare/v2.2.7...v2.2.8) (2024-07-17)


Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

[![main action](https://github.com/superhero-com/superhero-wallet/actions/workflows/main.yml/badge.svg)](https://github.com/superhero-com/superhero-wallet/actions/workflows/main.yml) [![codeql](https://github.com/superhero-com/superhero-wallet/actions/workflows/codeql.yml/badge.svg)](https://github.com/superhero-com/superhero-wallet/actions/workflows/codeql.yml) [![test](https://github.com/superhero-com/superhero-wallet/actions/workflows/test.yml/badge.svg)](https://github.com/superhero-com/superhero-wallet/actions/workflows/test.yml)

## Guides & Examples

- [Deep link schema](docs/deep-link-schema.md)

## Build

Clone the master branch of this repo.
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.superhero.cordova"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 20208
versionName "2.2.8"
versionCode 20209
versionName "2.2.9"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module.exports = {
presets: [
['@babel/preset-env', {
useBuiltIns: 'usage',
targets: '> 0.25%, not dead, not ie 11, not op_mini all',
corejs: 3.22,
}],
'@vue/cli-plugin-babel/preset',
],
};
88 changes: 88 additions & 0 deletions docs/deep-link-schema.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Deep link URL Schema

Remember that all parameters specified must be URI encoded.

## Connect to a wallet

```bash
https://wallet.superhero.com/address
? x-success=<success-url>
& x-cancel=<cancel-url>
```
|URL Params|Description|
|--|--|
|`x-success` (required)| This is a callback URL in case user accepts the connection attempt. Callback **must** contain: <br> - `{address}` parameter in order to get current address; <br> - `{networkId}` parameter in order to get current `networkId`.|
|`x-cancel` (required)| This is a callback URL in case user rejected connection attempt.|

### Example

```
https://wallet.superhero.com/address?x-success=https%3A%2F%2Ftest.com%2Fsuccess-connection%3Faddress%3D%7Baddress%7D%26networkdId%3D%7BnetworkId%7D&x-cancel=https%3A%2F%2Ftest.com%2Ffail-connection
```


## Sign a transaction

```bash
https://wallet.superhero.com/sign-transaction
? transaction=<Encoding.Transaction>
& networkId=<string>
& broadcast=<boolean>
& replace-caller=<boolean>
& x-success=<success-url>
& x-cancel=<cancel-url>
```

|URL Params|Description|
|--|--|
|`transaction` (required)|Valid transaction in [Encoding.Transaction](https://docs.aeternity.com/aepp-sdk-js/latest/api/enums/Encoding.html#Transaction) format `tx_`.|
|`networkId` (required)|The `networkId` identifier of the network which the wallet should sign your transaction with.|
|`broadcast` (optional)| This flag is for sending a signed transaction by the wallet.|
|`replace-caller` (optional)| This flag is used to ensure that the transmitted `transaction` is called using the current address.|
|`x-success` (required)| This is a callback URL in case user signs the transaction. If the `broadcast` flag is: <br> - `false/not set` callback **must** contain `{transaction}` parameter in order to get the signed transaction; <br> - `true` callback can have `{transaction-hash}` of the broadcasted transaction.|
|`x-cancel` (required)| This is a callback URL in case user doesn't sign the transaction. |

### Example of sign transaction deep link creation:

```javascript
const rawTx = await aeSdk.buildTx(transaction);
const query = new URLSearchParams({
transaction: rawTx,
networkId: 'ae_uat', // or your network id
broadcast: "true",
});
const url = `https://wallet.superhero.com/sign-transaction?${query.toString()}&x-success=<success-url>&x-cancel=<cancel-url>`;
```

### Deep link example

```
# broadcast set to true
https://wallet.superhero.com/sign-transaction?transaction=tx_%2BFEMAaEB915T9XgiInpYtGMJXW2rZXyrgEV0vmLeC%2BH5UnnQkDehAfdeU%2FV4IiJ6WLRjCV1tq2V8q4BFdL5i3gvh%2BVJ50JA3C4YPJvVhyAAAAYAYTgEV&networkId=ae_uat&broadcast=true&x-success=https%3A%2F%2Ftest.com%2Fsuccess-connection%3Ftransaction-hash%3D%7Btransaction-hash%7D&x-cancel=https%3A%2F%2Ftest.com%2Ffail-connection
# broadcast set to false
https://wallet.superhero.com/sign-transaction?transaction=tx_%2BFEMAaEB915T9XgiInpYtGMJXW2rZXyrgEV0vmLeC%2BH5UnnQkDehAfdeU%2FV4IiJ6WLRjCV1tq2V8q4BFdL5i3gvh%2BVJ50JA3C4YPJvVhyAAAAYAYTgEV&networkId=ae_uat&x-success=https%3A%2F%2Ftest.com%2Fsuccess-transaction-signing%3Ftransaction%3D%7Btransaction%7D&x-cancel=https%3A%2F%2Ftest.com%2Ffail-transaction-signing
```

## Sign a message

```bash
https://wallet.superhero.com/sign-message
? message=<message>
& encoding=<string>
& x-success=<success-url>
& x-cancel=<cancel-url>
```

|URL Params|Description|
|--|--|
|`message` (required)| Message to sign.|
|`encoding` (optional)| Encoding of the message. Currently only `hex` is supported.|
|`x-success` (required)| This is a callback URL in case user signs the message. Callback **must** contain: <br> - `{signature}` parameter in order to get signed message; <br> - `{address}` parameter in order to get current address.|
|`x-cancel` (required)| This is a callback URL in case user rejected to sign the message.|

### Example

```
https://wallet.superhero.com/sign-message?message=test&x-success=https%3A%2F%2Ftest.com%2Fsuccess-message-sign%3Fsignature%3D%7Bsignature%7D%26address%3D%7Baddress%7D&x-cancel=https%3A%2F%2Ftest.com%2Ffail-message-sign
```
4 changes: 2 additions & 2 deletions ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.2.8;
MARKETING_VERSION = 2.2.9;
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
PRODUCT_BUNDLE_IDENTIFIER = com.superhero.cordova;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -390,7 +390,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.2.8;
MARKETING_VERSION = 2.2.9;
PRODUCT_BUNDLE_IDENTIFIER = com.superhero.cordova;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
Expand Down
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "superhero-wallet",
"version": "2.2.8",
"version": "2.2.9",
"description": "Superhero wallet",
"author": "Superhero",
"license": "MIT",
Expand Down Expand Up @@ -60,9 +60,9 @@
"@fontsource/ibm-plex-mono": "^5.0.12",
"@fontsource/ibm-plex-sans": "^5.0.19",
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
"@ionic/cli": "^7.1.1",
"@ionic/vue": "^7.0.9",
"@ionic/vue-router": "^7.1.2",
"@ionic/cli": "^7.2.0",
"@ionic/vue": "^8.2.2",
"@ionic/vue-router": "^8.2.2",
"@ngraveio/bc-ur": "^1.1.6",
"@rushstack/eslint-patch": "^1.3.2",
"@trapezedev/configure": "^7.0.10",
Expand Down
Loading

0 comments on commit 22a4233

Please sign in to comment.