New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@shopware-ag/admin-extension-sdk

Package Overview
Dependencies
Maintainers
6
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopware-ag/admin-extension-sdk - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

1

es/channel.js

@@ -42,3 +42,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

if (typeof event.data !== 'string') {
console.log('event.data', event.data);
return;

@@ -45,0 +44,0 @@ }

export declare const getLanguage: (messageOptions?: import("../channel").MessageDataType<"contextLanguage"> | undefined) => Promise<{
systemLanguageId: string;
languageId: string;
name: string;
}>;
export declare const getEnvironment: (messageOptions?: import("../channel").MessageDataType<"contextEnvironment"> | undefined) => Promise<"development" | "production">;
export declare const getEnvironment: (messageOptions?: import("../channel").MessageDataType<"contextEnvironment"> | undefined) => Promise<"development" | "production" | "testing">;
export declare const getLocale: (messageOptions?: import("../channel").MessageDataType<"contextLocale"> | undefined) => Promise<{

@@ -15,5 +14,2 @@ locale: string;

}>;
export declare const getHost: (messageOptions?: import("../channel").MessageDataType<"contextHost"> | undefined) => Promise<{
hostUrl: string;
}>;
/**

@@ -26,3 +22,2 @@ * Get the current content language

languageId: string;
name: string;
};

@@ -34,3 +29,3 @@ };

export declare type contextEnvironment = {
responseType: 'development' | 'production';
responseType: 'development' | 'production' | 'testing';
};

@@ -55,9 +50,1 @@ /**

};
/**
* Get the information about the host
*/
export declare type contextHost = {
responseType: {
hostUrl: string;
};
};

@@ -6,3 +6,2 @@ import { createSender } from '../channel';

export const getCurrency = createSender('contextCurrency', {});
export const getHost = createSender('contextHost', {});
//# sourceMappingURL=index.js.map

3

es/messages.types.d.ts
import { notificationDispatch } from './notification/index';
import { windowRedirect, windowReload } from './window/index';
import { contextLanguage, contextEnvironment, contextLocale, contextCurrency, contextHost } from './context/index';
import { contextLanguage, contextEnvironment, contextLocale, contextCurrency } from './context/index';
/**

@@ -16,3 +16,2 @@ * Contains all shopware send types.

contextCurrency: contextCurrency;
contextHost: contextHost;
getPageTitle: getPageTitle;

@@ -19,0 +18,0 @@ __function__: __function__;

{
"name": "@shopware-ag/admin-extension-sdk",
"version": "0.0.13",
"version": "0.0.14",
"repository": "git://github.com/shopware/admin-extension-sdk.git",

@@ -5,0 +5,0 @@ "description": "The SDK for App iframes to communicate with the Shopware Adminstration",

@@ -54,3 +54,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

if (typeof event.data !== 'string') {
console.log('event.data', event.data);
return;

@@ -57,0 +56,0 @@ }

export declare const getLanguage: (messageOptions?: import("../channel").MessageDataType<"contextLanguage"> | undefined) => Promise<{
systemLanguageId: string;
languageId: string;
name: string;
}>;
export declare const getEnvironment: (messageOptions?: import("../channel").MessageDataType<"contextEnvironment"> | undefined) => Promise<"development" | "production">;
export declare const getEnvironment: (messageOptions?: import("../channel").MessageDataType<"contextEnvironment"> | undefined) => Promise<"development" | "production" | "testing">;
export declare const getLocale: (messageOptions?: import("../channel").MessageDataType<"contextLocale"> | undefined) => Promise<{

@@ -15,5 +14,2 @@ locale: string;

}>;
export declare const getHost: (messageOptions?: import("../channel").MessageDataType<"contextHost"> | undefined) => Promise<{
hostUrl: string;
}>;
/**

@@ -26,3 +22,2 @@ * Get the current content language

languageId: string;
name: string;
};

@@ -34,3 +29,3 @@ };

export declare type contextEnvironment = {
responseType: 'development' | 'production';
responseType: 'development' | 'production' | 'testing';
};

@@ -55,9 +50,1 @@ /**

};
/**
* Get the information about the host
*/
export declare type contextHost = {
responseType: {
hostUrl: string;
};
};

@@ -12,3 +12,3 @@ (function (factory) {

Object.defineProperty(exports, "__esModule", { value: true });
exports.getHost = exports.getCurrency = exports.getLocale = exports.getEnvironment = exports.getLanguage = void 0;
exports.getCurrency = exports.getLocale = exports.getEnvironment = exports.getLanguage = void 0;
const channel_1 = require("../channel");

@@ -19,4 +19,3 @@ exports.getLanguage = (0, channel_1.createSender)('contextLanguage', {});

exports.getCurrency = (0, channel_1.createSender)('contextCurrency', {});
exports.getHost = (0, channel_1.createSender)('contextHost', {});
});
//# sourceMappingURL=index.js.map
import { notificationDispatch } from './notification/index';
import { windowRedirect, windowReload } from './window/index';
import { contextLanguage, contextEnvironment, contextLocale, contextCurrency, contextHost } from './context/index';
import { contextLanguage, contextEnvironment, contextLocale, contextCurrency } from './context/index';
/**

@@ -16,3 +16,2 @@ * Contains all shopware send types.

contextCurrency: contextCurrency;
contextHost: contextHost;
getPageTitle: getPageTitle;

@@ -19,0 +18,0 @@ __function__: __function__;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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