Skip to content

Commit

Permalink
Merge pull request #34 from proximax-storage/develop
Browse files Browse the repository at this point in the history
0.0.7+8
  • Loading branch information
shinneng authored May 30, 2022
2 parents ffee248 + 8ff5fe8 commit 2feba13
Show file tree
Hide file tree
Showing 153 changed files with 936 additions and 8,877 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish sdk

on:
release:
types: [published]

jobs:
publish:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v1
- name: Publish
uses: sakebook/[email protected]
with:
credential: ${{ secrets.PUB_CREDENTIALS_JSON }}
flutter_package: false
skip_test: true
dry_run: false
14 changes: 0 additions & 14 deletions .travis/publish.sh

This file was deleted.

55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,89 @@
## 0.0.7+8
[FIXED] fixed bug ModifyMultisigAccountTransaction.

## 0.0.7+7

### Updates

[UPDATE] exclude buffer analyzer.
[UPDATE] update imports.

## 0.0.7+6

### Fixed bugs

[FIXED] fixed bug get partialTransactions.

## 0.0.7+5

### Updates

[UPDATE] update README

## 0.0.7+4

### New Features

[ADD] Metadata version V2 support.

## 0.0.7+2

### New Features

[ADD] Transaction examples api.

## 0.0.7+1

### Updates

[UPDATE] sdk: '>=2.16.0'.

## 0.0.6+6

### Updates

[UPDATE] Homepage URL.

## 0.0.6+5

### New Features

[ADD] Message encrypted.

### Updates

[UPDATE] format code.

## 0.0.5+5

[ADD] Message toJson method.

## 0.0.5+4

### Updates

[UPDATE] analysis code.

## 0.0.5+3

### Updates

[UPDATE] format code.

## 0.0.5+2

### New Features

[ADD] AccountPropertiesAddressTransaction.

[ADD] AccountPropertiesMosaicTransaction.

[ADD] AccountPropertiesEntityTypeTransaction.

## 0.0.5+1

### New Features

[ADD] AddExchangeOfferTransaction model.

[ADD] Extension AliasTypeToInt and AliasActionTypeToInt.
Expand All @@ -59,18 +97,23 @@
[ADD] ExchangeRoutes Api.

### Updates

[UPDATE] BigInt method.

[UPDATE] Buffer Endian.

[UPDATE] Unnecessary new keyword.

## 0.0.4+1

### New Features

[UPDATE] Update Sirius chain 0.5.0

## 0.0.3+5

### New Features

[ADD] ModifyMultisigAccountTransaction support.

[ADD] Get ModifyMultisigInfo.
Expand All @@ -88,6 +131,7 @@
[ADD] CosignatureTransaction class.

### Updates

[UPDATE] Reformat style.

[UPDATE] Update example.
Expand All @@ -103,16 +147,21 @@
[UPDATE] fixed bug in TableArrayAttribute.

## 0.0.3+4

### Updates

[UPDATE] latest published versions for http dependency.

## 0.0.3+3

### Updates

[UPDATE] Reformat style.

[UPDATE] Update example.

### Fixed bugs

[FIXED] fixed bug in Deadline null

[FIXED] fixed bug in MosaicSupplyChangeTransaction
Expand All @@ -134,7 +183,9 @@
[FIXED] fixed bug in BlockInfoDTO

## 0.0.3+2

### Updates

[UPDATE] Reformat style.

[UPDATE] rename Config Class.
Expand All @@ -144,9 +195,11 @@
[UPDATE] examples.

## 0.0.3+1

- Initial version, created by Eleazar Garrido.

### New Features

[ADD] Get Account MultiSig Info.

[ADD] Get Account MultiSign Graph Info.
Expand All @@ -156,6 +209,7 @@
[ADD] Get Transactions Statuses.

### Updates

[UPDATE] Documentation fixes.

[UPDATE] Reformat style.
Expand All @@ -165,6 +219,7 @@
[UPDATE] examples.

### Fixed bugs

[FIXED] Undefined name 'HEX'.

[DELETED] removed unused functions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

The ProximaX Sirius Chain Dart SDK works as a lightweight Dart library for interacting with the Sirius Blockchain. It provides a complete library set coverage, and supports synchronous and asynchronous requests.
The ProximaX Sirius Chain Dart SDK works as a lightweight Dart library for interacting with the Sirius Blockchain. It
provides a complete library set coverage, and supports synchronous and asynchronous requests.

**1. Depend on it**

Add this to your package's pubspec.yaml file:

```dart
dependencies:
xpx_chain_sdk: 0.0.7+5
xpx_chain_sdk: 0.0.7+8
```

**2. Install it**
Expand Down Expand Up @@ -47,6 +48,8 @@ Examples are in the [examples](https://github.com/proximax-storage/dart-xpx-chai
For more examples, go to our [wiki](https://github.com/proximax-storage/dart-xpx-chain-sdk/wiki)

## Contribution ##
We'd love to get more people involved in the project. Please feel free to raise any issues or PR and we'll review your contribution.


We'd love to get more people involved in the project. Please feel free to raise any issues or PR and we'll review your
contribution.

Copyright (c) 2019 ProximaX Limited
4 changes: 2 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ analyzer:
implicit-casts: true
implicit-dynamic: true
exclude:
- lib/imp/**
- lib/src/model/transaction/buffer/**
#
## ALL lint rules are included. Unused lints should be commented
## out with a reason. An up to date list of all options is here
Expand Down Expand Up @@ -228,7 +228,7 @@ linter:
# Name non-constant identifiers using lowerCamelCase.
# recommendation: recommended
# 0 issues
- non_constant_identifier_names : false
- non_constant_identifier_names: false

# Omit type annotations for local variables.
# recommendation: avoid
Expand Down
14 changes: 7 additions & 7 deletions example/api_accounts.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* license that can be found in the LICENSE file.
*/

import 'package:xpx_chain_sdk/xpx_sdk.dart';
import 'package:xpx_chain_sdk/xpx_chain_sdk.dart';

void main() async {
const baseUrl = 'http://bctestnet3.brimstone.xpxsirius.io:3000';
Expand Down Expand Up @@ -59,7 +59,8 @@ void main() async {

// Gets an array of transactions for which an account is the sender or receiver.
try {
final result = await client.account.transactions(accountOne.address);
final result = await client.account
.transactions(accountOne, TransactionQueryParams()..embedded = true);
print(result);
} on Exception catch (e) {
print('Exception when calling Account->Transactions: $e\n');
Expand All @@ -68,8 +69,7 @@ void main() async {
// Gets an array of incoming transactions.
// A transaction is said to be incoming with respect to an account if the account is the recipient of the transaction.
try {
final result =
await client.account.incomingTransactions(accountOne.address);
final result = await client.account.incomingTransactions(accountOne);
print(result);
} on Exception catch (e) {
print('Exception when calling Account->IncomingTransactions: $e\n');
Expand All @@ -86,16 +86,16 @@ void main() async {

// Gets the array of transactions not included in a block where an account is the sender or receiver.
try {
final result =
await client.account.unconfirmedTransactions(accountOne.address);
final result = await client.account.unconfirmedTransactions(accountOne);
print(result);
} on Exception catch (e) {
print('Exception when calling Account->UnconfirmedTransactions: $e\n');
}

// Gets an array of [aggregate bonded transactions] where the account is the sender or requires to cosign the transaction.
try {
final result = await client.account.partialTransactions(accountOne.address);
final result = await client.account.partialTransactions(
accountOne, TransactionQueryParams()..embedded = true);
print(result);
} on Exception catch (e) {
print('Exception when calling Account->AggregateBondedTransactions: $e\n');
Expand Down
2 changes: 1 addition & 1 deletion example/api_blockchain.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* license that can be found in the LICENSE file.
*/

import 'package:xpx_chain_sdk/xpx_sdk.dart';
import 'package:xpx_chain_sdk/xpx_chain_sdk.dart';

void main() async {
const baseUrl = 'http://bctestnet3.brimstone.xpxsirius.io';
Expand Down
2 changes: 1 addition & 1 deletion example/api_metadat.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* license that can be found in the LICENSE file.
*/

import 'package:xpx_chain_sdk/xpx_sdk.dart';
import 'package:xpx_chain_sdk/xpx_chain_sdk.dart';

void main() async {
const baseUrl = 'http://bctestnet3.brimstone.xpxsirius.io:3000';
Expand Down
2 changes: 1 addition & 1 deletion example/api_mosaics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* license that can be found in the LICENSE file.
*/

import 'package:xpx_chain_sdk/xpx_sdk.dart';
import 'package:xpx_chain_sdk/xpx_chain_sdk.dart';

void main() async {
const baseUrl = 'http://bctestnet3.brimstone.xpxsirius.io:3000';
Expand Down
2 changes: 1 addition & 1 deletion example/api_namespace.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* license that can be found in the LICENSE file.
*/

import 'package:xpx_chain_sdk/xpx_sdk.dart';
import 'package:xpx_chain_sdk/xpx_chain_sdk.dart';

void main() async {
const baseUrl = 'http://bctestnet3.brimstone.xpxsirius.io:3000';
Expand Down
2 changes: 1 addition & 1 deletion example/api_network.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* license that can be found in the LICENSE file.
*/

import 'package:xpx_chain_sdk/xpx_sdk.dart';
import 'package:xpx_chain_sdk/xpx_chain_sdk.dart';

void main() async {
const baseUrl = 'http://bctestnet3.brimstone.xpxsirius.io:3000';
Expand Down
2 changes: 1 addition & 1 deletion example/api_node.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* license that can be found in the LICENSE file.
*/

import 'package:xpx_chain_sdk/xpx_sdk.dart';
import 'package:xpx_chain_sdk/xpx_chain_sdk.dart';

void main() async {
const baseUrl = 'http://bctestnet3.brimstone.xpxsirius.io:3000';
Expand Down
Loading

0 comments on commit 2feba13

Please sign in to comment.