@pinwheel/react-native-pinwheel 3.0.5 → 3.1.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/CHANGELOG.md +6 -1
- package/RNPinwheelSDK.podspec +2 -2
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/underdog_tech/react/PinwheelViewManager.kt +1 -1
- package/dist/client-events/registry/v2.3.d.ts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/ios/RNTPinwheelView.m +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,10 +4,15 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
# 3.0.x Releases
|
|
6
6
|
|
|
7
|
-
- `3.0.x` Releases - [3.0.0](#300) | [3.0.1](#301) | [3.0.2](#302) | [3.0.3](#303) | [3.0.4](#304) | [3.0.5](#305)
|
|
7
|
+
- `3.0.x` Releases - [3.0.0](#300) | [3.0.1](#301) | [3.0.2](#302) | [3.0.3](#303) | [3.0.4](#304) | [3.0.5](#305) | [3.1.0](#310)
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
### [3.1.0](https://www.npmjs.com/package/@pinwheel/react-native-pinwheel/v/3.1.0)
|
|
12
|
+
|
|
13
|
+
Expand internal functionality to support a broader range of platforms and increase conversion rate. Fix the casing of the `screenName` field in the exported `ScreenTransitionEventPayload` event payload type.
|
|
14
|
+
|
|
15
|
+
|
|
11
16
|
### [3.0.5](https://www.npmjs.com/package/@pinwheel/react-native-pinwheel/v/3.0.5)
|
|
12
17
|
|
|
13
18
|
Expand internal functionality to support a broader range of platforms and increase conversion rate. Export `OtherEventPayload` event payload type for the `other_event` event.
|
package/RNPinwheelSDK.podspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Pod::Spec.new do |s|
|
|
2
2
|
s.name = "RNPinwheelSDK"
|
|
3
|
-
s.version = "3.0
|
|
3
|
+
s.version = "3.1.0"
|
|
4
4
|
s.summary = "React Native plugin for Pinwheel's SDK"
|
|
5
5
|
s.description = <<-DESC
|
|
6
6
|
An open source React Native plugin for calling Pinwheel's native SDKs to manage payroll data.
|
|
@@ -14,5 +14,5 @@ Pod::Spec.new do |s|
|
|
|
14
14
|
s.public_header_files = 'ios/**/*.h'
|
|
15
15
|
s.requires_arc = true
|
|
16
16
|
s.dependency "React"
|
|
17
|
-
s.dependency 'PinwheelSDK', '3.0
|
|
17
|
+
s.dependency 'PinwheelSDK', '3.1.0'
|
|
18
18
|
end
|
package/android/build.gradle
CHANGED
|
@@ -158,7 +158,7 @@ class PinwheelViewManager(
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
this.token?.let {
|
|
161
|
-
val pinwheelFragment = PinwheelFragment.newInstance(it, "react native", "3.0
|
|
161
|
+
val pinwheelFragment = PinwheelFragment.newInstance(it, "react native", "3.1.0")
|
|
162
162
|
pinwheelFragment.pinwheelEventListener = this
|
|
163
163
|
val activity = reactContext.currentActivity as FragmentActivity
|
|
164
164
|
activity.supportFragmentManager
|
|
@@ -57,7 +57,7 @@ export type DdFormCreateEventPayload = {
|
|
|
57
57
|
};
|
|
58
58
|
export type DdFormDownloadEventPayload = {};
|
|
59
59
|
export type ScreenTransitionEventPayload = {
|
|
60
|
-
|
|
60
|
+
screenName: string;
|
|
61
61
|
selectedEmployerId?: string;
|
|
62
62
|
selectedEmployerName?: string;
|
|
63
63
|
selectedPlatformId?: string;
|
package/dist/constants.d.ts
CHANGED
package/dist/constants.js
CHANGED
package/ios/RNTPinwheelView.m
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
- (void)initPinwheelWrapperVC {
|
|
20
20
|
if (self.token != nil && self.pinwheelWrapperVC == nil) {
|
|
21
|
-
self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native" version: @"3.0
|
|
21
|
+
self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native" version: @"3.1.0"];
|
|
22
22
|
[self addSubview:self.pinwheelWrapperVC.view];
|
|
23
23
|
}
|
|
24
24
|
}
|