Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
canewsin committed Oct 14, 2022
1 parent 4e97bfb commit 3790801
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## [0.0.8]
## [1.0.0]
- Implemented Full Core & Main Plugin API with Proper return type
- Full Changelog https://github.com/ZeroNetX/zeronet_ws/compare/4e97bfb7...73e9d309

## [0.0.8]
- Add Support for Flutter Web Apps, See README.md for more Info on config needed.
- Added flutter_lint and implement suggession.
- Full Changelog https://github.com/ZeroNetX/zeronet_ws/compare/73e9d309...715ddb4e
Expand Down
14 changes: 3 additions & 11 deletions example/main.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
import 'package:zeronet_ws/zeronet_ws.dart';

main(List<String> args) async {
await ZeroNet.instance.connect('1HELLoE3sFD9569CLCbHEAVqvqV7U2Ri9d');
var infoMsg = await ZeroNet.instance.siteInfoFuture();
assert(infoMsg.cmd == 'siteInfo');
assert(infoMsg.result != null);

var annInfo = await ZeroNet.instance.announcerInfoFuture();
assert(annInfo.cmd == 'announcerInfo');
assert(annInfo.result != null);
void main(List<String> args) async {
//zeronet_ws has has huge test suite
//See test/zeronet_ws_test.dart for available functions
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: zeronet_ws
description: ZeroNet(X) WebSocket Package to use ZeroNet API via Websockets in your dart program.
version: 0.0.8
version: 1.0.0
homepage: https://github.com/canewsin/zeronet_ws

environment:
Expand Down

0 comments on commit 3790801

Please sign in to comment.