@openfort/react-native 0.1.12 → 0.1.13

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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const SDK_INFO = {
5
5
  name: '@openfort/react-native',
6
- version: '0.1.9',
6
+ version: '0.1.13',
7
7
  description: 'React Native client for Openfort',
8
8
  homepage: 'https://openfort.io/docs',
9
9
  };
@@ -39,7 +39,10 @@ export function createOpenfortClient({ baseConfiguration, overrides, shieldConfi
39
39
  // baseUrl,
40
40
  // logLevel,
41
41
  return new OpenfortClient({
42
- baseConfiguration,
42
+ baseConfiguration: {
43
+ nativeAppIdentifier: nativeAppId,
44
+ ...baseConfiguration
45
+ },
43
46
  overrides: {
44
47
  ...overrides,
45
48
  crypto: {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export declare const SDK_INFO: {
5
5
  readonly name: "@openfort/react-native";
6
- readonly version: "0.1.9";
6
+ readonly version: "0.1.13";
7
7
  readonly description: "React Native client for Openfort";
8
8
  readonly homepage: "https://openfort.io/docs";
9
9
  };
@@ -16,6 +16,8 @@ export type CommonEmbeddedWalletConfiguration = {
16
16
  ethereumProviderPolicyId?: PolicyConfig;
17
17
  accountType?: AccountTypeEnum;
18
18
  debug?: boolean;
19
+ /** Recovery method for the embedded wallet: 'automatic' or 'password' */
20
+ recoveryMethod?: 'automatic' | 'password';
19
21
  };
20
22
  export type EncryptionSession = {
21
23
  /** Function to retrieve an encryption session using a session ID */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openfort/react-native",
3
3
  "main": "dist/index.js",
4
- "version": "0.1.12",
4
+ "version": "0.1.13",
5
5
  "license": "MIT",
6
6
  "description": "React Native SDK for Openfort platform integration",
7
7
  "scripts": {
@@ -23,7 +23,7 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@openfort/openfort-js": "^0.10.27"
26
+ "@openfort/openfort-js": "^0.10.28"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "expo-apple-authentication": "*",