@pinwheel/react-native-pinwheel 2.5.0-alpha → 2.5.1

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
@@ -2,9 +2,35 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 2.5.x Releases
6
+
7
+ [2.5.0](#250) | [2.5.1](#251)
8
+
9
+ ---
10
+ ### 2.5.1
11
+
12
+ #### Notes
13
+
14
+ - Internal contract changes
15
+
16
+ ### 2.5.0
17
+
18
+ #### Notes
19
+
20
+ We're thrilled to announce the latest version of our SDK! While you'll find that our familiar API contract remains unchanged, there's a host of improvements that make this upgrade indispensable:
21
+
22
+ - **Enhanced Redundancy**: 🛡️ We've fortified our systems, ensuring smoother recovery from integration failures for a significant percentage of our traffic.
23
+ - **Superior Uptime**: 🦾 Reliability is a top priority. This upgrade brings even more robust uptime for DDS integrations.
24
+ - **Increased Conversion**: ↗️ We are leveraging system level features to increase conversion.
25
+ - **Easy Upgrade**: 🥧 No changes were made to the API contract. Easy as pie.
26
+
5
27
  ## 2.4.x Releases
6
28
 
7
- ### [2.4.0](https://github.com/underdog-tech/react-native-pinwheel/releases/tag/2.4.0)
29
+ [2.4.0](#240)
30
+
31
+ ---
32
+
33
+ ### 2.4.0
8
34
 
9
35
  - Removing `overrides` from main package.
10
36
  - Updating example app to use newest ReactNative versions.
@@ -12,30 +38,30 @@ All notable changes to this project will be documented in this file.
12
38
 
13
39
  ## 2.3.x Releases
14
40
 
15
- - `2.3.x` Releases - [2.3.4](#234) | [2.3.5](#235) | [2.3.6](#236) | [2.3.10](#2310) | [2.3.12](#2312) | [2.3.13](#2313) | [2.3.14](#2314) | [2.3.17](#2317)
41
+ [2.3.4](#234) | [2.3.5](#235) | [2.3.6](#236) | [2.3.10](#2310) | [2.3.12](#2312) | [2.3.13](#2313) | [2.3.14](#2314) | [2.3.17](#2317)
16
42
 
17
43
  ---
18
44
 
19
- ### [2.3.17](https://github.com/underdog-tech/react-native-pinwheel/releases/tag/2.3.17)
45
+ ### 2.3.17
20
46
 
21
47
  Export `ScreenTransition` event payload type for the `screen_transition` event.
22
48
 
23
49
 
24
- ### [2.3.14](https://github.com/underdog-tech/react-native-pinwheel/releases/tag/2.3.14)
50
+ ### 2.3.14
25
51
 
26
52
  Remove `hermes-engine` and `shell-quote` sub-dependencies from package-lock files.
27
53
 
28
- ### [2.3.13](https://github.com/underdog-tech/react-native-pinwheel/releases/tag/2.3.13)
54
+ ### 2.3.13
29
55
 
30
56
  Bump `hermes-engine` and `shell-quote` sub-dependency package.
31
57
 
32
- ### [2.3.12](https://github.com/underdog-tech/react-native-pinwheel/releases/tag/2.3.12)
58
+ ### 2.3.12
33
59
 
34
60
  Add CircleCI scripting and local scripts.
35
61
  - Add `npm run dev` script.
36
62
  - Remove need for hardcoding api secret in code to run locally.
37
63
 
38
- ### [2.3.10](https://github.com/underdog-tech/react-native-pinwheel/releases/tag/2.3.10)
64
+ ### 2.3.10
39
65
 
40
66
  Use node 16.7.0 instead of 12.16.1 to install dependencies.
41
67
 
package/README.md CHANGED
@@ -8,7 +8,7 @@ You may want to run the example app locally to get started.
8
8
 
9
9
  #### Dependencies
10
10
 
11
- - Node 16.7.0 (check with `node -v` and upgrade versions using `nvm`)
11
+ - Node 16.7.0 (check with `node -v` and upgrade versions using `nvm` if needed)
12
12
  - iPhone 14 simulator (open your Simulator app and check the available versions)
13
13
  - iOS 16 running on the simulator (open your Simulator app and check the available versions)
14
14
  - `pod` version 1.11.3 (check with `pod --version`)
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = "RNPinwheelSDK"
3
- s.version = "2.5.0-alpha"
3
+ s.version = "2.5.1"
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', '2.4.3'
17
+ s.dependency 'PinwheelSDK', '2.4.5'
18
18
  end
@@ -15,8 +15,6 @@ buildscript {
15
15
  apply plugin: 'com.android.library'
16
16
  apply plugin: 'kotlin-android'
17
17
 
18
- def MIN_PW_SDK_VERSION = '2.4.1'
19
-
20
18
  android {
21
19
  compileSdkVersion 33
22
20
 
@@ -43,8 +41,10 @@ rootProject.allprojects {
43
41
  }
44
42
  }
45
43
 
44
+ def PW_SDK_VERSION = '2.4.5'
45
+
46
46
  dependencies {
47
- def pwVersion = rootProject.hasProperty('pwVersion') ? rootProject.pwVersion : MIN_PW_SDK_VERSION
47
+ def pwVersion = rootProject.hasProperty('pwVersion') ? rootProject.pwVersion : PW_SDK_VERSION
48
48
  implementation 'com.facebook.react:react-native:+'
49
49
  implementation "com.getpinwheel:pinwheel-android:$pwVersion"
50
50
  }
@@ -162,7 +162,7 @@ class PinwheelViewManager(
162
162
 
163
163
 
164
164
  this.token?.let {
165
- val pinwheelFragment = PinwheelFragment.newInstance(it, "react native")
165
+ val pinwheelFragment = PinwheelFragment.newInstance(it, "react native", "2.5.1")
166
166
  pinwheelFragment.pinwheelEventListener = this
167
167
  val activity = reactContext.currentActivity as FragmentActivity
168
168
  activity.supportFragmentManager
package/constants.d.ts CHANGED
@@ -1,6 +1,6 @@
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 = "2.5.0-alpha";
4
+ export declare const VERSION = "2.5.1";
5
5
  export declare const LINK_PAGE_URL = "https://cdn.getpinwheel.com/link-v2.3.0.html";
6
6
  export declare const PINWHEEL_DOMAIN = "getpinwheel.com";
package/constants.js CHANGED
@@ -1,6 +1,6 @@
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 = '2.5.0-alpha';
4
+ export const VERSION = '2.5.1';
5
5
  export const LINK_PAGE_URL = 'https://cdn.getpinwheel.com/link-v2.3.0.html';
6
6
  export const PINWHEEL_DOMAIN = 'getpinwheel.com';
@@ -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"];
21
+ self.pinwheelWrapperVC = [[PinwheelWrapperVC alloc] initWithToken:self.token delegate:self sdk:@"react native" version: @"2.5.1"];
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": "2.5.0-alpha",
3
+ "version": "2.5.1",
4
4
  "type": "module",
5
5
  "description": "Pinwheel React Native SDK",
6
6
  "main": "index.js",