chore: Update SDK

This commit is contained in:
Krille Fear 2021-09-13 15:26:51 +02:00
parent 435f2a7310
commit 7aa72c3c08
7 changed files with 34 additions and 30 deletions

View File

@ -177,9 +177,9 @@ class LoginController extends State<Login> {
final clientSecret = DateTime.now().millisecondsSinceEpoch.toString(); final clientSecret = DateTime.now().millisecondsSinceEpoch.toString();
final response = await showFutureLoadingDialog( final response = await showFutureLoadingDialog(
context: context, context: context,
future: () => Matrix.of(context).client.requestEmailToken( future: () => Matrix.of(context).client.requestTokenToResetPasswordEmail(
input.single,
clientSecret, clientSecret,
input.single,
sendAttempt++, sendAttempt++,
), ),
); );

View File

@ -33,9 +33,9 @@ class Settings3PidController extends State<Settings3Pid> {
final clientSecret = DateTime.now().millisecondsSinceEpoch.toString(); final clientSecret = DateTime.now().millisecondsSinceEpoch.toString();
final response = await showFutureLoadingDialog( final response = await showFutureLoadingDialog(
context: context, context: context,
future: () => Matrix.of(context).client.requestEmailToken( future: () => Matrix.of(context).client.requestTokenToRegisterEmail(
input.single,
clientSecret, clientSecret,
input.single,
Settings3Pid.sendAttempt++, Settings3Pid.sendAttempt++,
), ),
); );

View File

@ -168,9 +168,9 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
final clientSecret = final clientSecret =
Matrix.of(context).client.generateUniqueTransactionId(); Matrix.of(context).client.generateUniqueTransactionId();
final currentThreepidCreds = final currentThreepidCreds =
await Matrix.of(context).client.requestEmailToken( await Matrix.of(context).client.requestTokenToRegisterEmail(
emailInput.single,
clientSecret, clientSecret,
emailInput.single,
0, 0,
); );
final auth = AuthenticationThreePidCreds( final auth = AuthenticationThreePidCreds(

View File

@ -2,6 +2,8 @@
// Generated file. Do not edit. // Generated file. Do not edit.
// //
// clang-format off
#include "generated_plugin_registrant.h" #include "generated_plugin_registrant.h"
#include <file_selector_linux/file_selector_plugin.h> #include <file_selector_linux/file_selector_plugin.h>

View File

@ -2,6 +2,8 @@
// Generated file. Do not edit. // Generated file. Do not edit.
// //
// clang-format off
#ifndef GENERATED_PLUGIN_REGISTRANT_ #ifndef GENERATED_PLUGIN_REGISTRANT_
#define GENERATED_PLUGIN_REGISTRANT_ #define GENERATED_PLUGIN_REGISTRANT_

View File

@ -56,7 +56,7 @@ packages:
name: async name: async
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.6.1" version: "2.8.1"
audioplayers: audioplayers:
dependency: "direct main" dependency: "direct main"
description: description:
@ -105,7 +105,7 @@ packages:
name: canonical_json name: canonical_json
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.0" version: "1.1.0"
characters: characters:
dependency: transitive dependency: transitive
description: description:
@ -119,7 +119,7 @@ packages:
name: charcode name: charcode
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.0" version: "1.3.1"
chewie: chewie:
dependency: "direct main" dependency: "direct main"
description: description:
@ -513,6 +513,13 @@ packages:
description: flutter description: flutter
source: sdk source: sdk
version: "0.0.0" version: "0.0.0"
frontend_server_client:
dependency: transitive
description:
name: frontend_server_client
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.2"
future_loading_dialog: future_loading_dialog:
dependency: "direct main" dependency: "direct main"
description: description:
@ -719,19 +726,17 @@ packages:
matrix: matrix:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." name: matrix
ref: e13b00d127bc68c0659188b1e8aa25f510e9398a url: "https://pub.dartlang.org"
resolved-ref: e13b00d127bc68c0659188b1e8aa25f510e9398a source: hosted
url: "https://gitlab.com/famedly/company/frontend/famedlysdk.git" version: "0.5.0"
source: git
version: "0.4.3"
matrix_api_lite: matrix_api_lite:
dependency: "direct main" dependency: transitive
description: description:
name: matrix_api_lite name: matrix_api_lite
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.2" version: "0.4.3"
matrix_link_text: matrix_link_text:
dependency: "direct main" dependency: "direct main"
description: description:
@ -745,7 +750,7 @@ packages:
name: meta name: meta
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.3.0" version: "1.7.0"
mgrs_dart: mgrs_dart:
dependency: transitive dependency: transitive
description: description:
@ -1048,7 +1053,7 @@ packages:
name: random_string name: random_string
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.0" version: "2.3.1"
receive_sharing_intent: receive_sharing_intent:
dependency: "direct main" dependency: "direct main"
description: description:
@ -1312,21 +1317,21 @@ packages:
name: test name: test
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.16.8" version: "1.17.10"
test_api: test_api:
dependency: transitive dependency: transitive
description: description:
name: test_api name: test_api
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.3.0" version: "0.4.2"
test_core: test_core:
dependency: transitive dependency: transitive
description: description:
name: test_core name: test_core
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.3.19" version: "0.4.0"
timezone: timezone:
dependency: transitive dependency: transitive
description: description:
@ -1410,7 +1415,7 @@ packages:
name: unorm_dart name: unorm_dart
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.2" version: "0.2.0"
url_launcher: url_launcher:
dependency: "direct main" dependency: "direct main"
description: description:

View File

@ -1,7 +1,7 @@
name: fluffychat name: fluffychat
description: Chat with your friends. description: Chat with your friends.
publish_to: none publish_to: none
version: 0.40.0+1 version: 0.40.1+1
environment: environment:
sdk: ">=2.6.0 <3.0.0" sdk: ">=2.6.0 <3.0.0"
@ -45,11 +45,7 @@ dependencies:
intl: any intl: any
localstorage: ^4.0.0+1 localstorage: ^4.0.0+1
lottie: ^1.1.0 lottie: ^1.1.0
matrix: matrix: ^0.5.0
git:
url: https://gitlab.com/famedly/company/frontend/famedlysdk.git
ref: e13b00d127bc68c0659188b1e8aa25f510e9398a
matrix_api_lite: 0.4.2
matrix_link_text: ^1.0.2 matrix_link_text: ^1.0.2
native_imaging: native_imaging:
git: https://gitlab.com/famedly/libraries/native_imaging.git git: https://gitlab.com/famedly/libraries/native_imaging.git
@ -105,4 +101,3 @@ flutter:
- asset: fonts/NotoSans/NotoSans-BoldItalic.ttf - asset: fonts/NotoSans/NotoSans-BoldItalic.ttf
weight: 700 weight: 700
style: italic style: italic