google_identity_services_web 0.3.3+1
google_identity_services_web: ^0.3.3+1 copied to clipboard
A Dart JS-interop layer for Google Identity Services. Google's new sign-in SDK for Web that supports multiple types of credentials.
0.3.3+1 #
- Handles potential exceptions gracefully while fetching
Moment*Reasonfor invalid value.
0.3.3 #
- Moves all the JavaScript types to extend
JSObject.
0.3.2 #
- Adds the
nonceparameter toloadWebSdk.
0.3.1+5 #
- Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
- Cleans up documentation of callbacks in
CodeClientConfig,TokenClientConfig,onGoogleLibraryLoad, andrevoketo indicate they only accept Dart functions and not JS functions.
0.3.1+4 #
- Restores support for Dart
^3.3.0.
0.3.1+3 #
- Updates
README.mdto reflect modernindex.htmlscript tag placement.
0.3.1+2 #
- Adds support for
web: ^1.0.0. - Updates SDK version to Dart
^3.4.0. Flutter^3.22.0.
0.3.1+1 #
- Uses
TrustedTypesfromweb: ^0.5.1.
0.3.1 #
- Updates web code to package
web: ^0.5.0. - Updates SDK version to Dart
^3.3.0. Flutter^3.19.0.
0.3.0+2 #
- Adds
fedcm_autotoCredentialSelectByenum. - Adds
unknown_reasonto allMoment*Reasonenums.
0.3.0+1 #
- Corrects 0.3.0 changelog entry about the minimum Flutter/Dart dependencies.
0.3.0 #
- Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
- Migrates from
package:js/dart:htmltopackage:webso this package can compile to WASM. - Performs the following breaking API changes (in bold) and other fixes to
align with the published GIS SDK:
- Removes the need to explicitly
allowInteropin all callbacks. id:- Changes type:
IdConfiguration.intermediate_iframe_close_callbacktoVoidFn?.
- Adds:
fedcmtoCredentialSelectByenum. - Fixes typo in
storeCredentialcallbackpositional parameter name.
- Changes type:
oauth2:- Removes:
CodeClientConfig.auto_select,hint(nowlogin_hint), andhosted_domain(nowhd).TokenClientConfig.hint(nowlogin_hint) andhosted_domain(nowhd).OverridableTokenClientConfig.hint(nowlogin_hint).
- Changes types:
CodeClientConfig.redirect_uritoUri?.scopeinCodeClientConfigandCodeResponsetoList<String>.CodeResponse.codeandstatetoString?(now nullable).scopeinTokenClientConfig,OverridableTokenClientConfig, andTokenResponsetoList<String>.- The following
TokenResponsegetters are now nullable:access_token,expires_in,hd,prompt,token_type, andstate. - The
error_callbackfunctions now receive aGoogleIdentityServicesErrorparameter, instead ofObject.
- Adds:
include_granted_scopesandenable_granular_consenttoCodeClientConfig.include_granted_scopesandenable_granular_consenttoTokenClientConfig.enable_granular_consenttoOverridableTokenClientConfig.messagetoGoogleIdentityServicesError.
- Fixes:
- Assert that
scopeis not empty when used to createCodeClientConfig,TokenClientConfig, andOverridableTokenClientConfiginstances. - Deprecated
enable_serial_consent.
- Assert that
- Removes:
- Removes the need to explicitly
0.2.2 #
- Adds the following new fields to
IdConfiguration:login_hint,hdas auto-select hints for users with multiple accounts/domains.use_fedcm_for_promptso FedCM can be enabled.
0.2.1+1 #
- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
0.2.1 #
- Relaxes the
renderButtonAPI so any JS-Interop Object can be itstarget. - Exposes the
Button*configuration enums, so the rendered button can be configured.
0.2.0 #
- Adds
renderButtonAPI toid.dart. - Breaking Change: Makes JS-interop API more
dart2wasm-friendly.- Removes external getters for function types
- Introduces an external getter for the whole libraries instead.
- Updates
README.mdwith the new way ofimporting the desired libraries.
0.1.1 #
- Add optional
scopetoOverridableTokenClientConfigobject. - Mark some callbacks as optional properly.
0.1.0 #
- Initial release.