Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
v2.0.0
  • Loading branch information
cag committed Sep 2, 2020
1 parent c74fed1 commit 20de381
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Build Status](https://travis-ci.org/gnosis/contract-proxy-kit.svg?branch=master)](https://travis-ci.org/gnosis/contract-proxy-kit)
[![Coverage Status](https://coveralls.io/repos/github/gnosis/contract-proxy-kit/badge.svg?branch=master)](https://coveralls.io/github/gnosis/contract-proxy-kit?branch=master)

**Warning:** This documentation is for the 2.x series development version of the contract proxy kit. For documentation on the current stable 1.x series, go [here](https://github.com/gnosis/contract-proxy-kit/tree/v1.1.1#contract-proxy-kit).
**Warning:** This documentation is for the 2.x series of the contract proxy kit. For documentation on the 1.x series, go [here](https://github.com/gnosis/contract-proxy-kit/tree/v1.1.1#contract-proxy-kit).

Enable batched transactions and contract account interactions using a unique deterministic Gnosis Safe.

Expand Down Expand Up @@ -111,8 +111,8 @@ The URL of the [Safe Relay Service](https://github.com/gnosis/safe-relay-service
- Mainnet: https://safe-relay.gnosis.io/
- Rinkeby: https://safe-relay.rinkeby.gnosis.io/
--->
### CPK#getOwnerAccount

### CPK#getOwnerAccount

This may be used to figure out which account the proxy considers the owner account. It returns a Promise which resolves to the owner account:

Expand Down Expand Up @@ -328,11 +328,11 @@ yarn test

*CPK* uses the [Safe Apps SDK](https://github.com/gnosis/safe-apps-sdk), making your app available to be run in an iframe inside the [Safe Web UI](https://gnosis-safe.io/).

Once your app is ready to be deployed make sure to follow these [steps to run your app as a Safe app](https://github.com/gnosis/safe-apps-sdk#testing-in-the-safe-multisig-application). Apart from that, no extra configuration is needed.
Once your app is ready to be deployed, make sure to follow these [steps to run your app as a Safe app](https://github.com/gnosis/safe-apps-sdk#testing-in-the-safe-multisig-application). Apart from that, no extra configuration is needed.

When running your app inside the *Safe Web UI*, the configuration used to instantiate the *CPK* will be ignored because the responsability to send transactions is now tranferred to the *Safe Web UI* and the wallet connected to it.
When running your app inside the *Safe Web UI*, the configuration used to instantiate the *CPK* will be ignored because the responsibility to send transactions is now transferred to the *Safe Web UI* and the wallet connected to it.

If needed, the method `CPK.isSafeApp()` is available to check if the app using the *CPK* is running as a Safe app or not.
If needed, the method `CPK.isSafeApp()` is available to check if the app using the *CPK* is running as a Safe App or not.

## In-depth Guide

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "contract-proxy-kit",
"version": "2.0.0-alpha.3",
"version": "2.0.0",
"description": "Enable batched transactions and contract account interactions using a unique deterministic Gnosis Safe.",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
Expand Down

0 comments on commit 20de381

Please sign in to comment.