@bluxcc/react 0.1.20 → 0.1.21

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.
@@ -2,6 +2,7 @@ import { Horizon, rpc } from '@stellar/stellar-sdk';
2
2
  import { HorizonApi } from '@stellar/stellar-sdk/lib/horizon';
3
3
  import { Url } from '../utils/network/url';
4
4
  import { UseAccountResult } from '../useStellar/useAccount';
5
+ import { LanguageKey } from '../constants/locales';
5
6
  /**
6
7
  * Enum representing the supported wallets in the system.
7
8
  */
@@ -56,6 +57,7 @@ export interface IProviderConfig {
56
57
  appearance?: Partial<IAppearance>;
57
58
  transports?: ITransports;
58
59
  explorer?: IExplorers;
60
+ lang?: LanguageKey;
59
61
  showWalletUIs?: boolean;
60
62
  loginMethods?: Array<'wallet' | 'email' | 'sms' | 'google' | 'twitter' | 'discord' | 'github' | 'passkey'>;
61
63
  }
@@ -0,0 +1,2 @@
1
+ import translations, { LanguageKey } from '../constants/locales';
2
+ export declare const translate: (key: keyof typeof translations, lang: LanguageKey, vars?: Record<string, string>) => string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bluxcc/react",
3
3
  "author": "Blux team",
4
- "version": "0.1.20",
4
+ "version": "0.1.21",
5
5
  "homepage": "https://blux.cc",
6
6
  "description": "Connecting to the Stellar Ecosystem and Beyond",
7
7
  "repository": {