@revenuecat/purchases-capacitor-ui 12.3.0 → 12.3.2

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: "17.52.0")
14
+ .package(url: "https://github.com/RevenueCat/purchases-hybrid-common.git", exact: "17.55.1")
15
15
  ],
16
16
  targets: [
17
17
  .target(
@@ -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 'PurchasesHybridCommonUI', '17.52.0'
16
+ s.dependency 'PurchasesHybridCommonUI', '17.55.1'
17
17
  s.swift_version = '5.1'
18
18
  end
@@ -51,6 +51,6 @@ repositories {
51
51
  dependencies {
52
52
  implementation project(':capacitor-android')
53
53
  implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
54
- implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:17.52.0'
54
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:17.55.1'
55
55
  implementation "org.jetbrains.kotlin:kotlin-stdlib:2.2.20"
56
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revenuecat/purchases-capacitor-ui",
3
- "version": "12.3.0",
3
+ "version": "12.3.2",
4
4
  "description": "UI components for RevenueCat Capacitor SDK",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -45,6 +45,7 @@
45
45
  }
46
46
  },
47
47
  "scripts": {
48
+ "prepare": "cd .. && husky",
48
49
  "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
49
50
  "verify:ios": "xcodebuild -scheme RevenuecatPurchasesCapacitorUi -destination generic/platform=iOS && npm run verify:ios:cocoapods",
50
51
  "verify:ios:cocoapods": "cd ios/CocoapodsInstallationTest && pod install && xcodebuild -workspace CocoapodsInstallationTest.xcworkspace -scheme CocoapodsInstallationTest -destination 'generic/platform=iOS' CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY=\"\" build",
@@ -58,18 +59,27 @@
58
59
  "build": "npm run clean && tsc && rollup -c ../rollup.config.js",
59
60
  "clean": "rimraf ./dist",
60
61
  "watch": "tsc --watch",
62
+ "apitest": "npm run build && cd apitesters && npm install && tsc -p .",
61
63
  "prepublishOnly": "npm run build",
62
64
  "extract-api": "api-extractor run --local --verbose"
63
65
  },
64
66
  "dependencies": {
65
67
  "@capacitor/core": "^8.0.0",
66
68
  "@revenuecat/purchases-capacitor": "^10.2.4",
67
- "@revenuecat/purchases-typescript-internal-esm": "17.52.0"
69
+ "@revenuecat/purchases-typescript-internal-esm": "17.55.1"
68
70
  },
69
71
  "peerDependencies": {
70
72
  "@capacitor/core": ">=8.0.0"
71
73
  },
74
+ "lint-staged": {
75
+ "*.{ts,js,java,html,css}": [
76
+ "eslint --fix",
77
+ "prettier --write --plugin=prettier-plugin-java"
78
+ ]
79
+ },
72
80
  "devDependencies": {
81
+ "husky": "^9.1.7",
82
+ "lint-staged": "^16.4.0",
73
83
  "@capacitor/cli": "^8.0.0",
74
84
  "@capacitor/docgen": "^0.3.1",
75
85
  "@ionic/eslint-config": "^0.4.0",