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

@mangoweb/contember-translation-provider

Package Overview
Dependencies
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mangoweb/contember-translation-provider - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

1

dist/index.d.ts

@@ -14,1 +14,2 @@ import * as React from 'react';

export declare const useIsError: () => boolean;
export declare const useCurrentLanguage: () => string;

@@ -12,2 +12,3 @@ Object.defineProperty(exports, '__esModule', { value: true });

isError: false,
currentLanguage: '',
});

@@ -76,2 +77,3 @@ const TRANSLATIONS_BASE_URL = 'https://translations-gw.mgw.cz/get';

isError,
currentLanguage,
} }, props.children));

@@ -84,4 +86,6 @@ };

const useIsError = () => React.useContext(ContemberTranslationContext).isError;
const useCurrentLanguage = () => React.useContext(ContemberTranslationContext).currentLanguage;
exports.ContemberTranslationProvider = ContemberTranslationProvider;
exports.useCurrentLanguage = useCurrentLanguage;
exports.useIsError = useIsError;

@@ -88,0 +92,0 @@ exports.useIsLoadingAnotherLanguage = useIsLoadingAnotherLanguage;

2

package.json
{
"name": "@mangoweb/contember-translation-provider",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.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