react-native-klarna-inapp-sdk
Advanced tools
Comparing version 2.3.2 to 2.3.3
@@ -21,2 +21,4 @@ "use strict"; | ||
returnUrl: this.props.returnUrl || '', | ||
overScrollMode: this.props.overScrollMode ?? 'always', | ||
bounces: this.props.bounces ?? true, | ||
onLoadStart: event => { | ||
@@ -23,0 +25,0 @@ if (this.props.onLoadStart != null) { |
@@ -13,2 +13,4 @@ import React, { Component } from 'react'; | ||
returnUrl: this.props.returnUrl || '', | ||
overScrollMode: this.props.overScrollMode ?? 'always', | ||
bounces: this.props.bounces ?? true, | ||
onLoadStart: event => { | ||
@@ -15,0 +17,0 @@ if (this.props.onLoadStart != null) { |
@@ -7,2 +7,4 @@ import React, { Component, type RefObject } from 'react'; | ||
readonly returnUrl: string; | ||
readonly overScrollMode?: 'always' | 'content' | 'never'; | ||
readonly bounces?: boolean; | ||
readonly onLoadStart?: (navigationEvent: KlarnaWebViewNavigationEvent) => void; | ||
@@ -9,0 +11,0 @@ readonly onLoadEnd?: (navigationEvent: KlarnaWebViewNavigationEvent) => void; |
@@ -1,3 +0,1 @@ | ||
/// <reference types="react-native/types/modules/Codegen" /> | ||
/// <reference types="react-native/modules/Codegen" /> | ||
import type { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes'; | ||
@@ -4,0 +2,0 @@ import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes'; |
@@ -1,3 +0,1 @@ | ||
/// <reference types="react-native/types/modules/Codegen" /> | ||
/// <reference types="react-native/modules/Codegen" /> | ||
import type { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes'; | ||
@@ -4,0 +2,0 @@ import type { HostComponent } from 'react-native'; |
@@ -1,3 +0,1 @@ | ||
/// <reference types="react-native/types/modules/Codegen" /> | ||
/// <reference types="react-native/modules/Codegen" /> | ||
import type { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes'; | ||
@@ -16,2 +14,4 @@ import type { HostComponent } from 'react-native'; | ||
onRenderProcessGone: DirectEventHandler<KlarnaWebViewRenderProcessGoneEvent>; | ||
overScrollMode: string; | ||
bounces: boolean; | ||
} | ||
@@ -18,0 +18,0 @@ type KlarnaWebViewNavigationEvent = Readonly<{ |
{ | ||
"name": "react-native-klarna-inapp-sdk", | ||
"title": "Klarna Mobile SDK React Native", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"description": "This library wraps Klarna Mobile SDK and exposes its functionality as React Native components.", | ||
@@ -6,0 +6,0 @@ "main": "lib/commonjs/index", |
@@ -16,5 +16,11 @@ import type { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes'; | ||
onKlarnaMessage: DirectEventHandler<KlarnaWebViewKlarnaMessageEvent>; | ||
/* Android only */ | ||
onRenderProcessGone: DirectEventHandler<KlarnaWebViewRenderProcessGoneEvent>; | ||
overScrollMode: string; | ||
/* End of Android only */ | ||
/* iOS only */ | ||
bounces: boolean; | ||
/* End of iOS only */ | ||
} | ||
@@ -21,0 +27,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
350065
1922