Bot releases are hidden (Show)
Yes you have waited for it for too long , please give it a shot
Published by rubenCodeforges over 4 years ago
Updated dependencies to work with Angular 9 and Ivy.
Breaking changes:
Published by rubenCodeforges over 5 years ago
Published by rubenCodeforges over 5 years ago
Fixed some lint errors and droped support for Observable.create
now using new Observable()
GoogleApiService.onLoad()
now returns boolean
as expected and not void
Published by rubenCodeforges almost 6 years ago
Published by rubenCodeforges about 6 years ago
Old RxJs is not more supported.
use .pipe()
see this article https://blog.hackages.io/rxjs-5-5-piping-all-the-things-9d469d1b3f44
Published by rubenCodeforges over 6 years ago
rxjs compat added
Published by rubenCodeforges over 6 years ago
Did some bugfixes according to issues.
Changed the lib url
Added some examples in Readme
Updated npm version
Published by rubenCodeforges almost 7 years ago
Published by rubenCodeforges about 7 years ago
The repository name has changed to ng-gapi
The links in the repo got updated to reflect that change
Published by rubenCodeforges about 7 years ago
this onLoad
method doesnt accepts now a callback , instead it is a Observable
Was:
this.googleApi.onLoad(this.loadGapiAuth());
this.googleApi.onLoad().subscribe(() => {
this.loadGapiAuth();
});
The config interface has also changed.
New name is NgGapiClientConfig
and it extends the gapi ClientConfig
Now you need to change in your config the clientId
to client_id
let gapiClientConfig: NgGapiClientConfig = {
client_id: "CLIENT_ID",
discoveryDocs: ["https://analyticsreporting.googleapis.com/$discovery/rest?version=v4"],
scope: [
"https://www.googleapis.com/auth/analytics.readonly",
"https://www.googleapis.com/auth/analytics"
].join(" ")
};
Published by rubenCodeforges about 7 years ago
Added all configs for the client
interface ClientConfig {
clientId: string;
discoveryDocs: string[];
scope: string;
ux_mode?: string;
fetch_basic_profile?: boolean;
cookie_policy?: string;
hosted_domain?: string;
redirect_uri?: string;
}
For details about the types see the official docs https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiauth2clientconfig
Published by rubenCodeforges over 7 years ago
Published by rubenCodeforges over 7 years ago
This release requires latest Angular 4+ and TypeScript 2.3+ versions
Published by rubenCodeforges over 7 years ago
Published by rubenCodeforges over 7 years ago
Fixed a bug that caused compilation errors when used as npm package
Updated readme with new configuration object
Published by rubenCodeforges over 7 years ago
TODO: