@pinwheel/react-native-pinwheel 3.5.4 → 3.6.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.
@@ -17,5 +17,5 @@ Pod::Spec.new do |s|
17
17
 
18
18
  install_modules_dependencies(s)
19
19
 
20
- s.dependency 'PinwheelSDK', '3.4.1'
20
+ s.dependency 'PinwheelSDK', '3.4.2'
21
21
  end
@@ -89,7 +89,7 @@ class Pinwheel : FrameLayout {
89
89
  Handler(Looper.getMainLooper()).post {
90
90
  if (this.pinwheelFragment == null) {
91
91
  this.token?.let {
92
- val pinwheelFragment = PinwheelFragment.newInstanceWithAdvancedOptions(it, "react native", "3.5.4", getReactNativeVersion(), this.handleInsets, this.useDarkMode)
92
+ val pinwheelFragment = PinwheelFragment.newInstanceWithAdvancedOptions(it, "react native", "3.6.0", getReactNativeVersion(), this.handleInsets, this.useDarkMode)
93
93
  pinwheelEventListener?.let { listener ->
94
94
  pinwheelFragment.pinwheelEventListener = listener
95
95
  }
@@ -74,7 +74,7 @@ using namespace facebook::react;
74
74
  [[PinwheelWrapperVC alloc] initWithToken:self.token
75
75
  delegate:self
76
76
  sdk:@"react native"
77
- version:@"3.5.4"
77
+ version:@"3.6.0"
78
78
  useDarkMode:self.useDarkMode
79
79
  useAppBoundDomains:NO
80
80
  useAppBoundDomainsForNativeLink:NO];
@@ -237,7 +237,7 @@ Class<RCTComponentViewProtocol> RTNPinwheelCls(void) {
237
237
  [[PinwheelWrapperVC alloc] initWithToken:self.token
238
238
  delegate:self
239
239
  sdk:@"react native"
240
- version:@"3.5.4"
240
+ version:@"3.6.0"
241
241
  useDarkMode:self.useDarkMode
242
242
  useAppBoundDomains:NO
243
243
  useAppBoundDomainsForNativeLink:NO];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinwheel/react-native-pinwheel",
3
- "version": "3.5.4",
3
+ "version": "3.6.0",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -96,7 +96,6 @@ export type OtherEventPayload = {
96
96
  export type BillSwitchPayload = {
97
97
  platformId: string;
98
98
  platformName: string;
99
- isGuidedSwitch: boolean;
100
99
  isIntegratedSwitch: boolean;
101
100
  frequency: string;
102
101
  nextPaymentDate: string;
@@ -126,7 +126,6 @@ export type OtherEventPayload = {
126
126
  export type BillSwitchPayload = {
127
127
  platformId: string;
128
128
  platformName: string;
129
- isGuidedSwitch: boolean; // deprecated: will be removed in future version
130
129
  isIntegratedSwitch: boolean;
131
130
  frequency: string;
132
131
  nextPaymentDate: string;