@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 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.
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = "RNPinwheelSDK"
3
- s.version = "3.0.5"
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.5'
17
+ s.dependency 'PinwheelSDK', '3.1.0'
18
18
  end
@@ -41,7 +41,7 @@ rootProject.allprojects {
41
41
  }
42
42
  }
43
43
 
44
- def PW_ANDROID_SDK_VERSION = '3.0.4'
44
+ def PW_ANDROID_SDK_VERSION = '3.1.0'
45
45
 
46
46
  dependencies {
47
47
  def pwVersion = rootProject.hasProperty('pwVersion') ? rootProject.pwVersion : PW_ANDROID_SDK_VERSION
@@ -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.5")
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
- screen_name: string;
60
+ screenName: string;
61
61
  selectedEmployerId?: string;
62
62
  selectedEmployerName?: string;
63
63
  selectedPlatformId?: string;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Importing package.json here causes a problem with the folder structure when we npm pack and publish.
3
3
  */
4
- export declare const VERSION = "3.0.5";
4
+ export declare const VERSION = "3.1.0";
package/dist/constants.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Importing package.json here causes a problem with the folder structure when we npm pack and publish.
3
3
  */
4
- export const VERSION = '3.0.5';
4
+ export const VERSION = '3.1.0';
@@ -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.5"];
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinwheel/react-native-pinwheel",
3
- "version": "3.0.5",
3
+ "version": "3.1.0",
4
4
  "type": "module",
5
5
  "description": "Pinwheel React Native SDK",
6
6
  "main": "dist/index.js",