From 59411b846354e1e410ef6ae310b85bfe45562c03 Mon Sep 17 00:00:00 2001 From: h7x4abk3g Date: Tue, 30 Jun 2020 11:58:20 +0200 Subject: [PATCH] Export object interfaces for both libraries --- CHANGELOG.md | 4 ++++ lib/api.dart | 2 ++ lib/parser.dart | 1 + pubspec.yaml | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9088c6..e0b10f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.1.0 + +- Export object interfaces for both libraries + ## 1.0.2 - Fix example README diff --git a/lib/api.dart b/lib/api.dart index 23630bc..68d8643 100644 --- a/lib/api.dart +++ b/lib/api.dart @@ -13,6 +13,8 @@ import './src/objects.dart'; import './src/phraseScrape.dart'; import './src/phraseSearch.dart'; +export './src/objects.dart'; + /// Query the official Jisho API for a word or phrase /// /// See https://jisho.org/forum/54fefc1f6e73340b1f160000-is-there-any-kind-of-search-api diff --git a/lib/parser.dart b/lib/parser.dart index c626e6c..ff099fe 100644 --- a/lib/parser.dart +++ b/lib/parser.dart @@ -8,5 +8,6 @@ library unofficial_jisho_parser; export './src/exampleSearch.dart' show uriForExampleSearch, parseExamplePageData; export './src/kanjiSearch.dart' show uriForKanjiSearch, parseKanjiPageData; +export './src/objects.dart'; export './src/phraseScrape.dart' show uriForPhraseScrape, parsePhrasePageData; export './src/phraseSearch.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 19f9bc5..410d7a4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: unofficial_jisho_api -version: 1.0.2 +version: 1.1.0 description: An unofficial api for searching and scraping the japanese dictionary Jisho.org homepage: https://github.com/h7x4ABk3g/unofficial_jisho_api_dart/