File tree Expand file tree Collapse file tree 6 files changed +12
-7
lines changed Expand file tree Collapse file tree 6 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1+ ## [ 6.8.1] - 2023-07-03
2+
3+ * Fix auth bug.
4+ * Pubspec.yaml dependency updates.
5+
16## [ 6.8.0] - 2023-07-03
27
38* UI fixes.
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ import 'package:flutter/services.dart' show rootBundle;
4848Future <User ?> getUser () async =>
4949 (await (NyStorage .read <User >(SharedKey .authUser)));
5050
51- Future appWooSignal (Function (WooSignal ) api) async {
51+ Future appWooSignal (Function (WooSignal api ) api) async {
5252 return await api (WooSignal .instance);
5353}
5454
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ class _AccountLandingPageState extends NyState<AccountLandingPage> {
226226 String ? token = wpUserLoginResponse.data! .userToken;
227227 String userId = wpUserLoginResponse.data! .userId.toString ();
228228 User user = User .fromUserAuthResponse (token: token, userId: userId);
229- await Auth . set (user, key : SharedKey .authUser);
229+ await user. save ( SharedKey .authUser);
230230
231231 showToastNotification (context,
232232 title: trans ("Hello" ),
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ class _AccountRegistrationPageState extends NyState<AccountRegistrationPage> {
236236 String ? token = wpUserRegisterResponse.data! .userToken;
237237 String userId = wpUserRegisterResponse.data! .userId.toString ();
238238 User user = User .fromUserAuthResponse (token: token, userId: userId);
239- await Auth . set (user, key : SharedKey .authUser);
239+ await user. save ( SharedKey .authUser);
240240
241241 await WPJsonAPI .instance.api ((request) => request.wpUpdateUserInfo (token,
242242 firstName: firstName, lastName: lastName));
Original file line number Diff line number Diff line change @@ -1142,10 +1142,10 @@ packages:
11421142 dependency: "direct main"
11431143 description:
11441144 name: woosignal
1145- sha256: "2daf353de3ff3e6b2087bf886fc9cd66effc8e78e3e1c71eee755ec978204a6b "
1145+ sha256: "5059a0f531149e3bd9ee70a24e76315644663462509c84771d3bb8ca403726ab "
11461146 url: "https://pub.dev"
11471147 source: hosted
1148- version: "3.6 .1"
1148+ version: "3.7 .1"
11491149 wp_json_api:
11501150 dependency: "direct main"
11511151 description:
Original file line number Diff line number Diff line change 11# Official WooSignal App Template for WooCommerce
22
33# Label StoreMax
4- # Version: 6.8.0
4+ # Version: 6.8.1
55# Author: Anthony Gordon
66# Homepage: https://woosignal.com
77# Documentation: https://woosignal.com/docs/app/label-storemax
@@ -30,7 +30,7 @@ dependencies:
3030 analyzer : ^5.12.0
3131 intl : ^0.18.0
3232 nylo_framework : ^5.1.1
33- woosignal : ^3.6 .1
33+ woosignal : ^3.7 .1
3434 wp_json_api : ^3.3.2
3535 cached_network_image : ^3.2.3
3636 package_info_plus : ^4.0.2
You can’t perform that action at this time.
0 commit comments