Skip to content

Commit ca06a34

Browse files
committed
v4.2.0
1 parent 9e68ab1 commit ca06a34

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+54
-49
lines changed

CHANGELOG.md

+5

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 2-Clause License
22

3-
Copyright (c) 2024, WooSignal Ltd
3+
Copyright (c) 2025, WooSignal Ltd
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

README.md

+1-1

example/pubspec.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ packages:
101101
dependency: transitive
102102
description:
103103
name: date_field
104-
sha256: "57c0bc3818f5c66d796ccbd9eaa786ba6e915222859f0ff26d4a1d5ae4806b8e"
104+
sha256: "921246e5e8fb8e22c82e234de48dde27f9c739071a38dac666258909fd2f7b14"
105105
url: "https://pub.dev"
106106
source: hosted
107-
version: "5.3.0"
107+
version: "6.0.0"
108108
dbus:
109109
dependency: transitive
110110
description:
@@ -409,10 +409,10 @@ packages:
409409
dependency: transitive
410410
description:
411411
name: nylo_support
412-
sha256: "143122780f5bdc769b71a6a26e615644a5635f96df5ad053545404f6e589199a"
412+
sha256: "5ea5c95264e09e321fb31a362cd5b240d1083a178e3558a19f0fd1bc67af29c9"
413413
url: "https://pub.dev"
414414
source: hosted
415-
version: "6.9.1"
415+
version: "6.14.0"
416416
path:
417417
dependency: transitive
418418
description:
@@ -792,7 +792,7 @@ packages:
792792
path: ".."
793793
relative: true
794794
source: path
795-
version: "4.0.5"
795+
version: "4.2.0"
796796
xdg_directories:
797797
dependency: transitive
798798
description:

lib/enums/wp_auth_type.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/enums/wp_meta_data_action_type.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/enums/wp_route_type.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/empty_username_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/existing_user_email_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/existing_user_login_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/incorrect_password_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/invalid_email_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/invalid_nonce_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/invalid_params_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/invalid_user_token_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/invalid_username_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/user_already_exist_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/user_exists_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/username_taken_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/exceptions/woocommerce_not_found_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/helpers/typedefs.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wc_customer_info_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wc_customer_updated_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wc_points_and_rewards_calculate_points.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wc_points_and_rewards_user.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wp_nonce_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wp_nonce_verified_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wp_user_add_role_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wp_user_delete_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wp_user_info_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wp_user_info_updated_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wp_user_login_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wp_user_register_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wp_user_remove_role_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/responses/wp_user_reset_password_response.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/wp_meta_meta.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/models/wp_user.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/networking/network_manager.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted

lib/wp_json_api.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024, WooSignal Ltd.
1+
// Copyright (c) 2025, WooSignal Ltd.
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms are permitted
@@ -23,7 +23,7 @@ import '/models/wp_user.dart';
2323
import '/networking/network_manager.dart';
2424

2525
/// The version of the wp_json_api
26-
String _wpJsonAPIVersion = "4.1.0";
26+
String _wpJsonAPIVersion = "4.2.0";
2727

2828
/// The base class to initialize and use WPJsonAPI
2929
class WPJsonAPI {

pubspec.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ packages:
101101
dependency: transitive
102102
description:
103103
name: date_field
104-
sha256: "57c0bc3818f5c66d796ccbd9eaa786ba6e915222859f0ff26d4a1d5ae4806b8e"
104+
sha256: "921246e5e8fb8e22c82e234de48dde27f9c739071a38dac666258909fd2f7b14"
105105
url: "https://pub.dev"
106106
source: hosted
107-
version: "5.3.0"
107+
version: "6.0.0"
108108
dbus:
109109
dependency: transitive
110110
description:
@@ -409,10 +409,10 @@ packages:
409409
dependency: "direct main"
410410
description:
411411
name: nylo_support
412-
sha256: "5970a112f83a7fb66b10ea1c3da34414359ae56c47bf0c8b5614965996d5d6c8"
412+
sha256: "5ea5c95264e09e321fb31a362cd5b240d1083a178e3558a19f0fd1bc67af29c9"
413413
url: "https://pub.dev"
414414
source: hosted
415-
version: "6.10.0"
415+
version: "6.14.0"
416416
path:
417417
dependency: transitive
418418
description:

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: wp_json_api
22
description: WordPress and WooCommerce JSON API for Flutter Mobile. API allows you to login, register new users, get users info and more.
3-
version: 4.1.0
3+
version: 4.2.0
44
homepage: https://woosignal.com
55
repository: https://github.com/woosignal/wp-json-api-flutter
66
issue_tracker: https://github.com/woosignal/wp-json-api-flutter/issues
@@ -12,7 +12,7 @@ environment:
1212

1313
dependencies:
1414
dio: ^5.7.0
15-
nylo_support: ^6.10.0
15+
nylo_support: ^6.14.0
1616
flutter:
1717
sdk: flutter
1818
collection: ^1.17.0

0 commit comments

Comments
 (0)