@revenuecat/purchases-capacitor 13.2.0 → 13.2.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/Package.swift CHANGED
@@ -11,7 +11,7 @@ let package = Package(
11
11
  ],
12
12
  dependencies: [
13
13
  .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"),
14
- .package(url: "https://github.com/RevenueCat/purchases-hybrid-common.git", exact: "18.15.1")
14
+ .package(url: "https://github.com/RevenueCat/purchases-hybrid-common.git", exact: "18.18.0")
15
15
  ],
16
16
  targets: [
17
17
  .target(
package/README.md CHANGED
@@ -1433,6 +1433,10 @@ Subscription purchases of the Customer.
1433
1433
  | **`storeTransactionId`** | <code>string \| null</code> | The transaction id in the store of the subscription. |
1434
1434
  | **`isActive`** | <code>boolean</code> | Whether the subscription is currently active. |
1435
1435
  | **`willRenew`** | <code>boolean</code> | Whether the subscription will renew at the next billing period. |
1436
+ | **`autoResumeDate`** | <code>string \| null</code> | Date when a paused subscription is expected to automatically resume. Only set for Google Play subscriptions that have been paused; null otherwise. |
1437
+ | **`displayName`** | <code>string \| null</code> | The display name of the subscription as configured in the RevenueCat dashboard. |
1438
+ | **`managementURL`** | <code>string \| null</code> | The management URL for this subscription. |
1439
+ | **`productPlanIdentifier`** | <code>string \| null</code> | The base plan identifier that unlocked this subscription (Google Play base plans and Apple purchases with non-upfront billing plans). |
1436
1440
 
1437
1441
 
1438
1442
  #### PurchasesError
@@ -13,6 +13,6 @@ Pod::Spec.new do |s|
13
13
  s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
14
  s.ios.deployment_target = '15.0'
15
15
  s.dependency 'Capacitor'
16
- s.dependency 'PurchasesHybridCommon', '18.15.1'
16
+ s.dependency 'PurchasesHybridCommon', '18.18.0'
17
17
  s.swift_version = '5.1'
18
18
  end
@@ -61,7 +61,7 @@ dependencies {
61
61
  implementation fileTree(dir: 'libs', include: ['*.jar'])
62
62
  implementation project(':capacitor-android')
63
63
  implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
64
- implementation 'com.revenuecat.purchases:purchases-hybrid-common:18.15.1'
64
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common:18.18.0'
65
65
  testImplementation "junit:junit:$junitVersion"
66
66
  androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
67
67
  androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
@@ -86,7 +86,7 @@ class PurchasesPlugin : Plugin() {
86
86
 
87
87
  companion object {
88
88
  private const val PLATFORM_NAME = "capacitor"
89
- private const val PLUGIN_VERSION = "13.2.0"
89
+ private const val PLUGIN_VERSION = "13.2.1"
90
90
 
91
91
  private const val CUSTOMER_INFO_KEY = "customerInfo"
92
92
  }
package/dist/docs.json CHANGED
@@ -2306,6 +2306,34 @@
2306
2306
  "docs": "Whether the subscription will renew at the next billing period.",
2307
2307
  "complexTypes": [],
2308
2308
  "type": "boolean"
2309
+ },
2310
+ {
2311
+ "name": "autoResumeDate",
2312
+ "tags": [],
2313
+ "docs": "Date when a paused subscription is expected to automatically resume.\nOnly set for Google Play subscriptions that have been paused; null otherwise.",
2314
+ "complexTypes": [],
2315
+ "type": "string | null"
2316
+ },
2317
+ {
2318
+ "name": "displayName",
2319
+ "tags": [],
2320
+ "docs": "The display name of the subscription as configured in the RevenueCat dashboard.",
2321
+ "complexTypes": [],
2322
+ "type": "string | null"
2323
+ },
2324
+ {
2325
+ "name": "managementURL",
2326
+ "tags": [],
2327
+ "docs": "The management URL for this subscription.",
2328
+ "complexTypes": [],
2329
+ "type": "string | null"
2330
+ },
2331
+ {
2332
+ "name": "productPlanIdentifier",
2333
+ "tags": [],
2334
+ "docs": "The base plan identifier that unlocked this subscription (Google Play base plans\nand Apple purchases with non-upfront billing plans).",
2335
+ "complexTypes": [],
2336
+ "type": "string | null"
2309
2337
  }
2310
2338
  ]
2311
2339
  },
@@ -90,7 +90,7 @@ public class PurchasesPlugin: CAPPlugin, PurchasesDelegate, CAPBridgedPlugin {
90
90
  CAPPluginMethod(name: "trackCustomPaywallImpression", returnType: CAPPluginReturnNone),
91
91
  ]
92
92
  private let platformFlavor = "capacitor"
93
- private let platformVersion = "13.2.0"
93
+ private let platformVersion = "13.2.1"
94
94
 
95
95
  private let customerInfoKey = "customerInfo"
96
96
  private let transactionKey = "transaction"
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@revenuecat/purchases-capacitor",
3
- "version": "13.2.0",
3
+ "version": "13.2.1",
4
+ "packageManager": "yarn@1.22.22",
4
5
  "description": "Capacitor in-app purchases and subscriptions made easy. Support for iOS and Android.",
5
6
  "main": "dist/esm/index.js",
6
7
  "module": "dist/esm/index.js",
@@ -88,6 +89,6 @@
88
89
  }
89
90
  },
90
91
  "dependencies": {
91
- "@revenuecat/purchases-typescript-internal-esm": "18.15.1"
92
+ "@revenuecat/purchases-typescript-internal-esm": "18.18.0"
92
93
  }
93
94
  }