🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@sonenta/react-i18next

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sonenta/react-i18next - npm Package Compare versions

Comparing version
3.0.0
to
3.1.0
+3
-2
dist/index.d.cts

@@ -117,3 +117,4 @@ import * as react_jsx_runtime from 'react/jsx-runtime';

interface SonentaConfig {
/** API key — format `vrb_live_<prefix>.<secret>` with `missing:write` scope. */
/** API key — format `snt_live_<prefix>.<secret>` with `missing:write` scope.
* Older `vrb_live_` keys remain valid: auth is prefix-agnostic, nothing to migrate. */
/**

@@ -229,3 +230,3 @@ * The Sonenta API key.

};
/** Override the API base. Defaults to `https://api.sonenta.com`. */
/** Override the API base. Defaults to `https://api.sonenta.dev`. */
apiBase?: string;

@@ -232,0 +233,0 @@ /** Override the CDN base. Defaults to `https://cdn.sonenta.com`. */

@@ -117,3 +117,4 @@ import * as react_jsx_runtime from 'react/jsx-runtime';

interface SonentaConfig {
/** API key — format `vrb_live_<prefix>.<secret>` with `missing:write` scope. */
/** API key — format `snt_live_<prefix>.<secret>` with `missing:write` scope.
* Older `vrb_live_` keys remain valid: auth is prefix-agnostic, nothing to migrate. */
/**

@@ -229,3 +230,3 @@ * The Sonenta API key.

};
/** Override the API base. Defaults to `https://api.sonenta.com`. */
/** Override the API base. Defaults to `https://api.sonenta.dev`. */
apiBase?: string;

@@ -232,0 +233,0 @@ /** Override the CDN base. Defaults to `https://cdn.sonenta.com`. */

+2
-2
{
"name": "@sonenta/react-i18next",
"version": "3.0.0",
"description": "React SDK for Sonenta — translations + realtime missing-key handler.",
"version": "3.1.0",
"description": "React SDK for Sonenta: translations + realtime missing-key handler.",
"license": "MIT",

@@ -6,0 +6,0 @@ "homepage": "https://sonenta.com",

@@ -91,3 +91,3 @@ # @sonenta/react-i18next

interface SonentaConfig {
token: string; // vrb_live_<prefix>.<secret>
token: string; // snt_live_<prefix>.<secret>
projectUuid: string;

@@ -98,3 +98,3 @@ defaultLocale: string; // BCP-47 (e.g. "fr", "fr-CA")

defaultNS?: string; // alias: default namespace for single-ns apps
apiBase?: string; // default 'https://api.sonenta.com'
apiBase?: string; // default 'https://api.sonenta.dev'
cdnBase?: string; // default 'https://cdn.sonenta.com'

@@ -676,3 +676,3 @@ languageCatalog?: LanguageMeta[]; // embed the language catalog (offline/SSR/RN); powers dir()/nativeName()

<SonentaProvider
token="vrb_live_storybook.fake"
token="snt_live_storybook.fake"
projectUuid="storybook"

@@ -679,0 +679,0 @@ defaultLocale="fr"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display