@rango-dev/widget-embedded 0.29.1-next.4 → 0.29.1-next.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/widget-embedded",
3
- "version": "0.29.1-next.4",
3
+ "version": "0.29.1-next.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -53,4 +53,4 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  }
56
- }
56
+ }
@@ -169,6 +169,9 @@ export const createSettingsSlice: StateCreator<
169
169
  ...(isLiquidityHidden && {
170
170
  disabledLiquiditySources: nextConfig.liquiditySources || [],
171
171
  }),
172
+ ...(nextConfig?._INTERNAL_SETTINGS_?.autoUpdateSettings && {
173
+ language: nextConfig.language || DEFAULT_LANGUAGE,
174
+ }),
172
175
  });
173
176
  },
174
177
  });
@@ -224,4 +224,9 @@ export type WidgetConfig = {
224
224
  __UNSTABLE_OR_INTERNAL__?: {
225
225
  walletConnectListedDesktopWalletLink?: string;
226
226
  };
227
+
228
+ // Internal configuration options. Not intended for public use or modification.
229
+ _INTERNAL_SETTINGS_?: {
230
+ autoUpdateSettings?: boolean; // If true, settings will be updated automatically based on the configuration.
231
+ };
227
232
  };