Skip to content

Commit

Permalink
Bumped version to 5.0, follow IoP domain changes
Browse files Browse the repository at this point in the history
  • Loading branch information
izolyomi committed Apr 1, 2021
1 parent 8b41bc4 commit 45501c6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IOP SDK

This package contains all Dart tool you need to interact with IOP SSI (project Morpheus) and DNS (project Coeus) APIs and create awesome apps. For more info please visit the [IOP Developer Portal](https://developer.iop.global/).
This package contains all Dart tool you need to interact with IOP SSI (project Morpheus) and DNS (project Coeus) APIs and create awesome apps. For more info please visit the [IOP Developer Portal](https://developer.iop.technology//).

This SDK will improve over time to be able to use it more easily.

Expand Down Expand Up @@ -32,7 +32,7 @@ Add this to your package's `pubspec.yaml` file:

```yaml
dependencies:
iop_sdk: ^4.0.0
iop_sdk: ^5.0.0
```
## Modules
Expand All @@ -57,7 +57,7 @@ Currently, we support only Linux and MacOS, but we are preparing Android, iOS an

All interfaces and types that are needed to communicate with an Authority endpoint. Authorities have two types of APIs, a public and a private as described below.

See more about the Authorities API [here](https://developer.iop.global/api/authority_api)
See more about the Authorities API [here](https://developer.iop.technology//api/authority_api)

##### Public API

Expand All @@ -69,25 +69,25 @@ The Private API is available with authentication only and used mostly by interna

#### Inspector

All interfaces and types needed to communicate with an Inspector endpoint. See more about the Inspector API [here](https://developer.iop.global/api/inspector_api).
All interfaces and types needed to communicate with an Inspector endpoint. See more about the Inspector API [here](https://developer.iop.technology//api/inspector_api).

#### Verifier

All interfaces and types needed to communicate with a Verifier endpoint. See more about the Verifier API [here](https://developer.iop.global/api/verifier_api).
All interfaces and types needed to communicate with a Verifier endpoint. See more about the Verifier API [here](https://developer.iop.technology//api/verifier_api).

### Layer1

SSI's API consists of two main parts. Layer-1 and layer-2. On layer-1 you perform write operations that change the blockchain's state, while on layer-2 you execute read operations without touching the state.

This module contains all Dart classes and utils needed to interact with the [SSI Layer-1 API](https://developer.iop.global/api/layer1_api).
This module contains all Dart classes and utils needed to interact with the [SSI Layer-1 API](https://developer.iop.technology//api/layer1_api).

For more detailed examples please visit our [tutorial center](https://developer.iop.global/sdk/?id=tutorial-center).
For more detailed examples please visit our [tutorial center](https://developer.iop.technology//sdk/?id=tutorial-center).

### Layer2

This module contains all Dart classes and utils needed to interact with the [Layer-2 API](https://developer.iop.global/api/layer2_api).
This module contains all Dart classes and utils needed to interact with the [Layer-2 API](https://developer.iop.technology//api/layer2_api).

For more detailed examples please visit our [tutorial center](https://developer.iop.global/sdk/?id=tutorial-center).
For more detailed examples please visit our [tutorial center](https://developer.iop.technology//sdk/?id=tutorial-center).

### SSI

Expand Down
1 change: 0 additions & 1 deletion lib/layer2.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export './src/layer2/io.dart';
import './src/layer2/coeus_api.dart';
import './src/layer2/morpheus_api.dart';
import './network.dart';
import 'network.dart';

class Layer2Api {
static MorpheusApi createMorpheusApi(NetworkConfig networkConfig) =>
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: iop_sdk
description: SDK for Decentralized Access Control based on W3C standards to provide SSI with decentralized identifiers (DID), keys, rights and verifiable claims/credentials (VC).
documentation: https://developer.iop.global
documentation: https://developer.iop.technology/
homepage: https://iop.global
repository: https://github.com/Internet-of-People/iop-dart

version: 4.0.0
version: 5.0.0

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion tool/init-flutter-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ rm $ANDROID_JNILIBS_PATH/x86/Android-x86.zip

# TODO consider autoextracting sdk version from our pubspec.yaml
IOP_DEPENDENCY_NAME="iop_sdk"
IOP_DEPENDENCY_LATEST_VERSION="4.0.0"
IOP_DEPENDENCY_LATEST_VERSION="5.0.0"
echo Checking IoP package dependency
if ! grep -zqP "$IOP_DEPENDENCY_NAME:" $PROJECT_FILE
then
Expand Down

0 comments on commit 45501c6

Please sign in to comment.