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

@bearer/authentication-setup

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bearer/authentication-setup - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

dist/bearer-setup/bearer-setup.28kaq7rq.js

2

dist/bearer-setup.js

@@ -1,1 +0,1 @@

!function(e,t,r,s,n,i,o,a,c,u,p,l,d,h){for(p=e.BearerSetup=e.BearerSetup||{},(l=t.createElement("style")).innerHTML="bearer-save-setup{visibility:hidden}.hydrated{visibility:inherit}",l.setAttribute("data-styles",""),d=t.head.querySelector("meta[charset]"),t.head.insertBefore(l,d?d.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("BearerSetup"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var s=e["s-apps"],n=0,i=0;i<s.length;i++)if(e[s[i]].componentOnReady){if(e[s[i]].componentOnReady(t,r))return;n++}if(n<s.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,u),n=n||p.resourcesUrl,l=(d=t.querySelectorAll("script")).length-1;l>=0&&!(h=d[l]).src&&!h.hasAttribute("data-resources-url");l--);d=h.getAttribute("data-resources-url"),!n&&d&&(n=d),!n&&h.src&&(n=(d=h.src.split("/").slice(0,-1)).join("/")+(d.length?"/":"")+"bearer-setup/"),l=t.createElement("script"),function(e,t,r,s){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,l)?l.src=n+"bearer-setup.ocso4tjs.js":(l.src=n+"bearer-setup.733hjqmq.js",l.setAttribute("type","module"),l.setAttribute("crossorigin",!0)),l.setAttribute("data-resources-url",n),l.setAttribute("data-namespace","bearer-setup"),t.head.appendChild(l)}(window,document,0,0,0,0,0,0,0,HTMLElement.prototype);
!function(e,t,r,s,n,i,o,a,u,c,p,l,d,h){for(p=e.BearerSetup=e.BearerSetup||{},(l=t.createElement("style")).innerHTML="bearer-save-setup{visibility:hidden}.hydrated{visibility:inherit}",l.setAttribute("data-styles",""),d=t.head.querySelector("meta[charset]"),t.head.insertBefore(l,d?d.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("BearerSetup"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var s=e["s-apps"],n=0,i=0;i<s.length;i++)if(e[s[i]].componentOnReady){if(e[s[i]].componentOnReady(t,r))return;n++}if(n<s.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,c),n=n||p.resourcesUrl,l=(d=t.querySelectorAll("script")).length-1;l>=0&&!(h=d[l]).src&&!h.hasAttribute("data-resources-url");l--);d=h.getAttribute("data-resources-url"),!n&&d&&(n=d),!n&&h.src&&(n=(d=h.src.split("/").slice(0,-1)).join("/")+(d.length?"/":"")+"bearer-setup/"),l=t.createElement("script"),function(e,t,r,s){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,l)?l.src=n+"bearer-setup.aybiovzr.js":(l.src=n+"bearer-setup.28kaq7rq.js",l.setAttribute("type","module"),l.setAttribute("crossorigin",!0)),l.setAttribute("data-resources-url",n),l.setAttribute("data-namespace","bearer-setup"),t.head.appendChild(l)}(window,document,0,0,0,0,0,0,0,HTMLElement.prototype);

@@ -6,3 +6,2 @@ export class BearerSetup {

event.preventDefault();
this.saved.emit({ setupId: '' + Date.now() });
const inputs = Array.from(this.el.querySelector('form').elements).filter(e => e.tagName.toLowerCase() === 'input');

@@ -20,3 +19,5 @@ const setup = inputs.reduce((acc, node) => {

})
.then(console.log)
.then(data => {
this.saved.emit(data);
})
.catch(console.error);

@@ -23,0 +24,0 @@ };

// BearerSetup: Host Data, ES Module/es2017 Target
export const COMPONENTS = [["bearer-save-setup","dnv63dxn",1,[["clientId",1,0,"client-id",2],["el",64],["integration",1,0,1,2],["noError",1,0,"no-error",4],["setupId",1,0,"setup-id",2],["type",1,0,1,2]]]]
export const COMPONENTS = [["bearer-save-setup","ghdt219g",1,[["clientId",1,0,"client-id",2],["el",64],["integration",1,0,1,2],["noError",1,0,"no-error",4],["setupId",1,0,"setup-id",2],["type",1,0,1,2]]]]
// BearerSetup: Host Data, ES Module/es5 Target
export var COMPONENTS = [["bearer-save-setup","dnv63dxn",1,[["clientId",1,0,"client-id",2],["el",64],["integration",1,0,1,2],["noError",1,0,"no-error",4],["setupId",1,0,"setup-id",2],["type",1,0,1,2]]]]
export var COMPONENTS = [["bearer-save-setup","ghdt219g",1,[["clientId",1,0,"client-id",2],["el",64],["integration",1,0,1,2],["noError",1,0,"no-error",4],["setupId",1,0,"setup-id",2],["type",1,0,1,2]]]]
{
"name": "@bearer/authentication-setup",
"public": "true",
"version": "0.0.3",
"version": "0.0.4",
"description": "Bearer authentication setup components",

@@ -6,0 +6,0 @@ "jsdelivr": "dist/bearer-setup.js",

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