@dynamic-labs/react-native-extension 2.1.0-alpha.2 → 2.1.0-alpha.20
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/index.js +2107 -319
- package/package.json +5 -4
- package/src/lib/ReactNativeExtension.d.ts +5 -1
- package/src/lib/hooks/useWebViewVisibility/index.d.ts +1 -0
- package/src/lib/hooks/useWebViewVisibility/useWebViewVisibility.d.ts +4 -0
- package/src/lib/utils/setupFetchHandler/index.d.ts +1 -0
- package/src/lib/utils/setupFetchHandler/setupFetchHandler.d.ts +2 -0
- package/src/lib/utils/setupPasskeyHandler/index.d.ts +1 -0
- package/src/lib/utils/setupPasskeyHandler/setupPasskeyHandler.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/react-native-extension",
|
|
3
|
-
"version": "2.1.0-alpha.
|
|
3
|
+
"version": "2.1.0-alpha.20",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"module": "./index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -14,13 +14,14 @@
|
|
|
14
14
|
"./package.json": "./package.json"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@dynamic-labs/message-transport": "2.1.0-alpha.
|
|
18
|
-
"@dynamic-labs/logger": "2.1.0-alpha.
|
|
17
|
+
"@dynamic-labs/message-transport": "2.1.0-alpha.20",
|
|
18
|
+
"@dynamic-labs/logger": "2.1.0-alpha.20",
|
|
19
|
+
"@turnkey/react-native-passkey-stamper": "0.2.5"
|
|
19
20
|
},
|
|
20
21
|
"peerDependencies": {
|
|
21
22
|
"react": "^18.2.0",
|
|
22
23
|
"react-native": "^0.73.6",
|
|
23
24
|
"react-native-webview": "^13.6.4",
|
|
24
|
-
"@dynamic-labs/client": "2.1.0-alpha.
|
|
25
|
+
"@dynamic-labs/client": "2.1.0-alpha.20"
|
|
25
26
|
}
|
|
26
27
|
}
|
|
@@ -9,11 +9,15 @@ type ReactNativeExtensionProps = {
|
|
|
9
9
|
* Enable debugging in the WebView.
|
|
10
10
|
*/
|
|
11
11
|
webviewDebuggingEnabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The origin of the app.
|
|
14
|
+
*/
|
|
15
|
+
appOrigin?: string;
|
|
12
16
|
};
|
|
13
17
|
export type IReactNativeExtension = {
|
|
14
18
|
reactNative: {
|
|
15
19
|
WebView: () => JSX.Element;
|
|
16
20
|
};
|
|
17
21
|
};
|
|
18
|
-
export declare const ReactNativeExtension: ({ webviewUrl, webviewDebuggingEnabled, }?: ReactNativeExtensionProps) => Extension<IReactNativeExtension>;
|
|
22
|
+
export declare const ReactNativeExtension: ({ webviewUrl, webviewDebuggingEnabled, appOrigin, }?: ReactNativeExtensionProps) => Extension<IReactNativeExtension>;
|
|
19
23
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useWebViewVisibility } from './useWebViewVisibility';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { setupFetchHandler } from './setupFetchHandler';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { setupPasskeyHandler } from './setupPasskeyHandler';
|