@dynamic-labs/react-native-extension 2.1.0-alpha.2 → 2.1.0-alpha.3

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.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -5,6 +5,8 @@ import { Logger } from '@dynamic-labs/logger';
5
5
  import { StyleSheet } from 'react-native';
6
6
  import { jsx } from 'react/jsx-runtime';
7
7
 
8
+ var version$1 = "2.1.0-alpha.3";
9
+
8
10
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
9
11
 
10
12
  var check = function (it) {
@@ -1193,8 +1195,9 @@ const createWebView = props => {
1193
1195
  return WebViewWrapper;
1194
1196
  };
1195
1197
 
1198
+ const defaultWebviewUrl = `https://webview.dynamicauth.com/${version$1}`;
1196
1199
  const ReactNativeExtension = ({
1197
- webviewUrl: _webviewUrl = 'http://localhost:4201',
1200
+ webviewUrl: _webviewUrl = defaultWebviewUrl,
1198
1201
  webviewDebuggingEnabled
1199
1202
  } = {}) => (_, core) => ({
1200
1203
  reactNative: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/react-native-extension",
3
- "version": "2.1.0-alpha.2",
3
+ "version": "2.1.0-alpha.3",
4
4
  "main": "./index.js",
5
5
  "module": "./index.js",
6
6
  "types": "./src/index.d.ts",
@@ -14,13 +14,13 @@
14
14
  "./package.json": "./package.json"
15
15
  },
16
16
  "dependencies": {
17
- "@dynamic-labs/message-transport": "2.1.0-alpha.2",
18
- "@dynamic-labs/logger": "2.1.0-alpha.2"
17
+ "@dynamic-labs/message-transport": "2.1.0-alpha.3",
18
+ "@dynamic-labs/logger": "2.1.0-alpha.3"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": "^18.2.0",
22
22
  "react-native": "^0.73.6",
23
23
  "react-native-webview": "^13.6.4",
24
- "@dynamic-labs/client": "2.1.0-alpha.2"
24
+ "@dynamic-labs/client": "2.1.0-alpha.3"
25
25
  }
26
26
  }