@getpara/react-native-wallet 2.0.0 → 2.2.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/config.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Environment } from '@getpara/web-sdk';
2
- declare function getPortalBaseURL(env: Environment): "http://localhost:3003" | "https://app.sandbox.usecapsule.com" | "https://app.beta.usecapsule.com" | "https://app.usecapsule.com";
2
+ declare function getPortalBaseURL(env: Environment): "http://localhost:3003" | "https://app.sandbox.getpara.com" | "https://app.beta.getpara.com" | "https://app.getpara.com";
3
3
  declare function getBaseUrl(env: Environment): string;
4
4
  export declare function getBaseMPCNetworkWSUrl(env: Environment): string;
5
5
  export declare let userManagementServer: string;
package/dist/config.js CHANGED
@@ -5,11 +5,11 @@ function getPortalBaseURL(env) {
5
5
  case Environment.DEV:
6
6
  return 'http://localhost:3003';
7
7
  case Environment.SANDBOX:
8
- return 'https://app.sandbox.usecapsule.com';
8
+ return 'https://app.sandbox.getpara.com';
9
9
  case Environment.BETA:
10
- return 'https://app.beta.usecapsule.com';
10
+ return 'https://app.beta.getpara.com';
11
11
  case Environment.PROD:
12
- return 'https://app.usecapsule.com';
12
+ return 'https://app.getpara.com';
13
13
  default:
14
14
  throw new Error(`env: ${env} not supported`);
15
15
  }
package/package.json CHANGED
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "name": "@getpara/react-native-wallet",
3
3
  "description": "Para Wallet for React Native",
4
- "version": "2.0.0",
4
+ "version": "2.2.0",
5
5
  "author": "Para Team <hello@getpara.com> (https://getpara.com)",
6
6
  "dependencies": {
7
- "@getpara/core-sdk": "2.0.0",
8
- "@getpara/user-management-client": "2.0.0",
9
- "@getpara/web-sdk": "2.0.0",
7
+ "@getpara/core-sdk": "2.2.0",
8
+ "@getpara/user-management-client": "2.2.0",
9
+ "@getpara/web-sdk": "2.2.0",
10
10
  "@peculiar/webcrypto": "^1.5.0",
11
11
  "@ungap/structured-clone": "1.3.0",
12
- "node-forge": "1.3.1",
13
12
  "react-native-url-polyfill": "2.0.0",
14
13
  "text-encoding": "0.7.0"
15
14
  },
@@ -93,5 +92,5 @@
93
92
  ]
94
93
  }
95
94
  },
96
- "gitHead": "a64b6aa9b3c481a2d955022f621e495fb55e549e"
95
+ "gitHead": "51765cf39b1667e0283b3906a8f8ef91e447e347"
97
96
  }
package/src/config.ts CHANGED
@@ -6,11 +6,11 @@ function getPortalBaseURL(env: Environment) {
6
6
  case Environment.DEV:
7
7
  return 'http://localhost:3003';
8
8
  case Environment.SANDBOX:
9
- return 'https://app.sandbox.usecapsule.com';
9
+ return 'https://app.sandbox.getpara.com';
10
10
  case Environment.BETA:
11
- return 'https://app.beta.usecapsule.com';
11
+ return 'https://app.beta.getpara.com';
12
12
  case Environment.PROD:
13
- return 'https://app.usecapsule.com';
13
+ return 'https://app.getpara.com';
14
14
  default:
15
15
  throw new Error(`env: ${env} not supported`);
16
16
  }