Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@assaabloy/gw-group-nav-header
Advanced tools
Global web - web components
Custom HTML element
<gw-group-nav-header content=""></gw-group-nav-header>
Properties
Name | Type | Description |
---|---|---|
content | Object | base64 encoded |
LocationSwitcher
The modal for switching market/language can be triggered by applying
#location-modal-open
to the url. Directly in the browser url or in the dialog of any component with a button/link.
LoginArea
The Toast Login/Logout messages can be triggered by putting a query param in the navbar url.
One of these can be used:
?loginSuccessful=true
?logoutSuccessful=true
content
{
"transparency": "solid | translucent | transparent",
"layout": "floating | full-width",
"color": "default | inverted",
"url": "",
"authUrl": "",
"logo": {
"link": "",
"default": {
"image": {
"url": "",
"width": "",
"height": "",
"alt": "",
}
},
"inverted": {
"image": {
"url": "",
"width": "",
"height": "",
"alt": "",
}
},
},
"navigationData": {
"marketData": {
"name": ""
},
"menuItems": [
{
"links": [
{
"links": [
{
"id": "",
"label": "",
"url": "",
"description": ""
}
],
"id": "",
"label": "",
"url": "",
"description": ""
}
],
"id": "",
"label": "",
"url": "",
"description": ""
}
],
"return": ""
},
"locationSwitcher": {
"title": "",
"text": "",
"trigger": "",
"marketDropdown": {
"title": "",
"text": ""
},
"languageListTitle": "",
"links": [
{
"text": "",
"url": "",
"external": false
}
],
// Translations
"openDialog": "Open dialog",
"closeDialog": "Close dialog",
"locationDialog": "Location dialog",
},
"divisionBrandSwitcherData": {
"visible": true,
"title": ""
"text": ""
"link": {
"text": ""
"url": ""
},
"logotype": "",
"image": {
"mobile": {
"url": "",
"alt": "",
"renditions": {
"blur-up": "",
"400": "",
"800": "",
"1200": "",
"1600": "",
"2500": ""
}
},
"desktop": {
"url": "",
"alt": "",
"renditions": {
"blur-up": "",
"400": "",
"800": "",
"1200": "",
"1600": "",
"2500": ""
}
},
}
"divisions": {
"title": "",
"links": [
{
"title": "",
"text": "",
"link": {
"url": ""
}
}
]
},
"brands": {
"links": [
{
"logotype": "",
"url": ""
"alt": ""
}
],
"link": {
"text": ""
"url": ""
}
},
// Translations
"openDialog": "Open dialog",
"closeDialog": "Close dialog",
"divisionsDialog": "Divisions dialog",
},
"topbar": {
"visible": true,
"links": [
{
"text": "",
"url": ""
"external": false
}
]
},
"search": {
"addSearch": {
"id": "a4ee0edb87a2540e22448e0aa614e0e4"
},
"targetUrl": "http://localhost:3000/search",
"isMarketHiddenInUrl": false,
"isLanguageHiddenInUrl": false,
"showMore": "Show more",
"showingXofY": "Showing {{current}} of {{max}}",
"search": "How can we help you?",
"sitewide": "site wide",
"viewAll": "View all",
"noResults": "No results",
"resetSearchField": "Reset search field"
}
"loginArea": {
"active": true,
"signedIn": "Signed in",
"signIn": "Sign in",
"signOut": "Sign out",
"menuItems": [
{
"id": "",
"label": "",
"url": "",
"links": []
},
],
"loginSuccessful": "Hello {{firstName}}! You are now logged in!",
"logoutSuccessful": "You are now logged out.",
}
}
content.url response
{
"navigationData": {
"marketData": {
"name": ""
}
},
"locationSwitcher": {
"currentMarket": {
"market": "",
"languages": [
{
"language": "",
"url": ""
}
]
},
"markets": [
{
"market": "",
"languages": [
{
"language": "",
"url": ""
}
]
}
]
},
"breadcrumbs": [
{
"text": "",
"url": ""
},
],
"loginArea": {
"isAuthenticated": true,
"loginUrl": "",
"logoutUrl": "",
"user": {
"firstName": "",
"lastName": ""
},
}
}
Dependencies
@assaabloy/gw-group-vendor
@assaabloy/brand-styles
FAQs
Web component - Header navigation
The npm package @assaabloy/gw-group-nav-header receives a total of 295 weekly downloads. As such, @assaabloy/gw-group-nav-header popularity was classified as not popular.
We found that @assaabloy/gw-group-nav-header demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.