@sonenta/react-i18next 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -169,9 +169,9 @@ interface SonentaConfig {
169
169
  */
170
170
  format?: (value: unknown, format: string | undefined, lng: string | undefined, options: Record<string, unknown>) => string;
171
171
  };
172
- /** Override the API base. Defaults to `https://api.verbumia.dev`. */
172
+ /** Override the API base. Defaults to `https://api.sonenta.com`. */
173
173
  apiBase?: string;
174
- /** Override the CDN base. Defaults to `https://cdn.verbumia.ca`. */
174
+ /** Override the CDN base. Defaults to `https://cdn.sonenta.com`. */
175
175
  cdnBase?: string;
176
176
  /**
177
177
  * Optional plugins that hook into THIS provider's tree/registry — e.g.
package/dist/index.d.ts CHANGED
@@ -169,9 +169,9 @@ interface SonentaConfig {
169
169
  */
170
170
  format?: (value: unknown, format: string | undefined, lng: string | undefined, options: Record<string, unknown>) => string;
171
171
  };
172
- /** Override the API base. Defaults to `https://api.verbumia.dev`. */
172
+ /** Override the API base. Defaults to `https://api.sonenta.com`. */
173
173
  apiBase?: string;
174
- /** Override the CDN base. Defaults to `https://cdn.verbumia.ca`. */
174
+ /** Override the CDN base. Defaults to `https://cdn.sonenta.com`. */
175
175
  cdnBase?: string;
176
176
  /**
177
177
  * Optional plugins that hook into THIS provider's tree/registry — e.g.
package/dist/index.js CHANGED
@@ -210,7 +210,7 @@ function flattenPlurals(tree, locale) {
210
210
 
211
211
  // src/transport.ts
212
212
  var SDK_LIB = "@sonenta/react-i18next";
213
- var SDK_VER = true ? "2.0.1" : "0.0.0-dev";
213
+ var SDK_VER = true ? "2.1.0" : "0.0.0-dev";
214
214
  function defaultTransport(opts) {
215
215
  return async (batch) => {
216
216
  if (!batch.length) return;
@@ -364,8 +364,8 @@ var KeyRegistry = class {
364
364
  var keyRegistry = new KeyRegistry();
365
365
 
366
366
  // src/i18n.ts
367
- var DEFAULT_API_BASE = "https://api.verbumia.dev";
368
- var DEFAULT_CDN_BASE = "https://cdn.verbumia.ca";
367
+ var DEFAULT_API_BASE = "https://api.sonenta.com";
368
+ var DEFAULT_CDN_BASE = "https://cdn.sonenta.com";
369
369
  var DEFAULT_FLUSH_MS = 5e3;
370
370
  var DEFAULT_BATCH = 50;
371
371
  var DEFAULT_BUFFER = 200;