Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@victor.bjorklund/svelte-social-auth

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@victor.bjorklund/svelte-social-auth - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

16

index.js

@@ -326,3 +326,3 @@ (function (global, factory) {

append(span, t1);
/*button_binding*/ ctx[4](button);
/*button_binding*/ ctx[5](button);
},

@@ -340,3 +340,3 @@ p(ctx, [dirty]) {

if (detaching) detach(button);
/*button_binding*/ ctx[4](null);
/*button_binding*/ ctx[5](null);
}

@@ -350,2 +350,3 @@ };

let { clientId } = $$props;
let { hostedDomain } = $$props;
let { text = "Sign in with Google" } = $$props;

@@ -362,3 +363,7 @@ let disabled = true;

gapi.load("auth2", async () => {
GoogleAuth = gapi.auth2.init({ client_id: clientId });
GoogleAuth = gapi.auth2.init({
client_id: clientId,
hosted_domain: hostedDomain
});
GoogleAuth.then(attachHandler, handleInitialisationError);

@@ -387,6 +392,7 @@ });

if ("clientId" in $$props) $$invalidate(3, clientId = $$props.clientId);
if ("hostedDomain" in $$props) $$invalidate(4, hostedDomain = $$props.hostedDomain);
if ("text" in $$props) $$invalidate(0, text = $$props.text);
};
return [text, signinCta, disabled, clientId, button_binding];
return [text, signinCta, disabled, clientId, hostedDomain, button_binding];
}

@@ -398,3 +404,3 @@

if (!document.getElementById("svelte-hvm1lj-style")) add_css();
init(this, options, instance, create_fragment, safe_not_equal, { clientId: 3, text: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { clientId: 3, hostedDomain: 4, text: 0 });
}

@@ -401,0 +407,0 @@ }

@@ -6,3 +6,3 @@ {

"main": "index.js",
"version": "2.1.1",
"version": "2.1.2",
"scripts": {

@@ -9,0 +9,0 @@ "build": "rollup -c",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc