
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@shopware-ag/meteor-admin-sdk
Advanced tools
The meteor-admin-sdk
is a JavaScript library for all Shopware 6 App and Plugin developer which want an easy way to extend and customize the administration.
Install it to your package.json
npm i --save @shopware-ag/meteor-admin-sdk
and import it in your app:
// import everything
import * as sw from '@shopware-ag/meteor-admin-sdk';
// or import only needed functionality
import { notification } from '@shopware-ag/meteor-admin-sdk';
Import the source from the CDN
// use the latest version available
<script src="https://unpkg.com/@shopware-ag/meteor-admin-sdk/cdn"></script>
// use a fix version (example here: 1.2.3)
<script src="https://unpkg.com/@shopware-ag/meteor-admin-sdk@1.2.3/cdn"></script>
and then you can access it with the global variable sw
.
sw.notification.dispatch({
title: 'My first notification',
message: 'This was really easy to do'
})
Throw a notification:
sw.notification.dispatch({
title: 'My first notification',
message: 'This was really easy to do'
})
Get the system currency:
const currency = await sw.context.getCurrency();
Subscribe for UI locale changes:
let currentLocale = 'en-GB';
sw.context.subscribeLocale(({ locale }) => {
currentLocale = locale;
})
See more examples in the Documentation.
FAQs
The Meteor SDK for the Shopware Administration.
The npm package @shopware-ag/meteor-admin-sdk receives a total of 18,286 weekly downloads. As such, @shopware-ag/meteor-admin-sdk popularity was classified as popular.
We found that @shopware-ag/meteor-admin-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.