@rollershop/capacitor-emarsys-sdk 1.2.1-beta.4 → 1.2.1-beta.5

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/README.md CHANGED
@@ -1,11 +1,10 @@
1
1
  # Capacitor Emarsys SDK
2
2
 
3
- ![Maintenance](https://img.shields.io/maintenance/yes/2022)
3
+ ![Maintenance](https://img.shields.io/maintenance/yes/2024)
4
4
  [![npm](https://img.shields.io/npm/v/@rollershop/capacitor-emarsys-sdk)](https://www.npmjs.com/package/@rollershop/capacitor-emarsys-sdk)
5
5
 
6
6
  This Plugin is used as a wrapper for the [Emarsys SDK](https://help.emarsys.com/hc/en-us).
7
7
 
8
-
9
8
  <!-- START doctoc generated TOC please keep comment here to allow auto update -->
10
9
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
11
10
  **Table of Content**
@@ -70,7 +69,7 @@ This Plugin is used as a wrapper for the [Emarsys SDK](https://help.emarsys.com/
70
69
 
71
70
  ## SDK Versions
72
71
 
73
- - iOS: [`3.4.1`](https://github.com/emartech/ios-emarsys-sdk/releases/tag/3.4.1)
72
+ - iOS: [`3.7.0`](https://github.com/emartech/ios-emarsys-sdk/releases/tag/3.7.0)
74
73
  - Android: Not implemented
75
74
 
76
75
  ## Install
@@ -816,7 +815,7 @@ Called when a event is received
816
815
  ### addListener('silentPushMessageInformation', ...)
817
816
 
818
817
  ```typescript
819
- addListener(eventName: 'silentPushMessageInformation', listenerFunc: (information: SilentPushMessageInformation) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
818
+ addListener(eventName: 'silentPushMessageInformation', listenerFunc: (information: SilentPushMessageInformation) => void) => any
820
819
  ```
821
820
 
822
821
  Called when a silent push message is received
@@ -13,6 +13,6 @@ Pod::Spec.new do |s|
13
13
  s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14
14
  s.ios.deployment_target = '14.0'
15
15
  s.dependency 'Capacitor'
16
- s.dependency 'EmarsysSDK', '3.4.1'
16
+ s.dependency 'EmarsysSDK', '3.7.0'
17
17
  s.swift_version = '5.1'
18
18
  end
@@ -1,8 +1,8 @@
1
1
  ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1'
3
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0'
4
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2'
5
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0'
2
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
4
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
5
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
6
6
  }
7
7
 
8
8
  buildscript {
@@ -11,17 +11,18 @@ buildscript {
11
11
  jcenter()
12
12
  }
13
13
  dependencies {
14
- classpath 'com.android.tools.build:gradle:4.2.1'
14
+ classpath 'com.android.tools.build:gradle:8.2.1'
15
15
  }
16
16
  }
17
17
 
18
18
  apply plugin: 'com.android.library'
19
19
 
20
20
  android {
21
- compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 30
21
+ namespace "de.roller.emarsys"
22
+ compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
22
23
  defaultConfig {
23
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
24
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 30
24
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
25
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
25
26
  versionCode 1
26
27
  versionName "1.0"
27
28
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -36,8 +37,8 @@ android {
36
37
  abortOnError false
37
38
  }
38
39
  compileOptions {
39
- sourceCompatibility JavaVersion.VERSION_1_8
40
- targetCompatibility JavaVersion.VERSION_1_8
40
+ sourceCompatibility JavaVersion.VERSION_17
41
+ targetCompatibility JavaVersion.VERSION_17
41
42
  }
42
43
  }
43
44
 
@@ -1,3 +1,3 @@
1
1
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
- package="de.roller.emarsys">
2
+ >
3
3
  </manifest>
package/dist/docs.json CHANGED
@@ -627,7 +627,7 @@
627
627
  },
628
628
  {
629
629
  "name": "addListener",
630
- "signature": "(eventName: 'silentPushMessageInformation', listenerFunc: (information: SilentPushMessageInformation) => void) => Promise<PluginListenerHandle> & PluginListenerHandle",
630
+ "signature": "(eventName: 'silentPushMessageInformation', listenerFunc: (information: SilentPushMessageInformation) => void) => any",
631
631
  "parameters": [
632
632
  {
633
633
  "name": "eventName",
@@ -256,7 +256,7 @@ export interface EmarsysPlugin {
256
256
  *
257
257
  * @since 1.0.0
258
258
  */
259
- addListener(eventName: 'silentPushMessageInformation', listenerFunc: (information: SilentPushMessageInformation) => void): Promise<PluginListenerHandle> & PluginListenerHandle;
259
+ addListener(eventName: 'silentPushMessageInformation', listenerFunc: (information: SilentPushMessageInformation) => void): Promise<PluginListenerHandle>;
260
260
  /**
261
261
  * Remove all native listeners for this plugin.
262
262
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollershop/capacitor-emarsys-sdk",
3
- "version": "1.2.1-beta.4",
3
+ "version": "1.2.1-beta.5",
4
4
  "description": "Capacitor Plugin that wraps the Emarsys SDK",
5
5
  "type": "module",
6
6
  "main": "dist/plugin.cjs.js",
@@ -51,13 +51,13 @@
51
51
  "prepublishOnly": "pnpm build"
52
52
  },
53
53
  "devDependencies": {
54
- "@capacitor/android": "^5.3.0",
55
- "@capacitor/cli": "^5.3.0",
56
- "@capacitor/core": "^5.3.0",
54
+ "@capacitor/android": "^6.0.0",
55
+ "@capacitor/cli": "^6.0.0",
56
+ "@capacitor/core": "^6.0.0",
57
57
  "@capacitor/docgen": "0.2.1",
58
- "@capacitor/ios": "^5.3.0",
58
+ "@capacitor/ios": "^6.0.0",
59
59
  "@commitlint/config-conventional": "17.7.0",
60
- "@ionic/eslint-config": "0.3.0",
60
+ "@ionic/eslint-config": "^0.4.0",
61
61
  "@ionic/prettier-config": "4.0.0",
62
62
  "@ionic/swiftlint-config": "1.1.2",
63
63
  "@saithodev/semantic-release-backmerge": "3.2.0",
@@ -68,7 +68,7 @@
68
68
  "@typescript-eslint/eslint-plugin": "6.4.0",
69
69
  "@typescript-eslint/parser": "6.4.0",
70
70
  "doctoc": "2.2.1",
71
- "eslint": "8.47.0",
71
+ "eslint": "^8.57.0",
72
72
  "npm-check": "6.0.1",
73
73
  "prettier": "3.0.2",
74
74
  "prettier-plugin-java": "2.2.0",
@@ -79,7 +79,7 @@
79
79
  "typescript": "4.4.4"
80
80
  },
81
81
  "peerDependencies": {
82
- "@capacitor/core": "^5.3.0"
82
+ "@capacitor/core": "^6.0.0"
83
83
  },
84
84
  "prettier": "@ionic/prettier-config",
85
85
  "swiftlint": "@ionic/swiftlint-config",