one 2.6.12 → 2.6.14

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.
@@ -27,6 +27,7 @@ import SecureElementCredential
27
27
  import Translation
28
28
  import WebKit
29
29
  import WorkoutKit
30
+ @_weakLinked import _PassKit_SwiftUI
30
31
 
31
32
  @MainActor public enum OneNativeRegisteredValue {
32
33
  private static var values: [String: Any] = [:]
@@ -869,8 +870,12 @@ extension View {
869
870
  case "paddingWithSet": view = AnyView(view.oneNativeSDKPaddingWithSet(value, emit: emit))
870
871
  case "paletteSelectionEffect": view = AnyView(view.oneNativeSDKPaletteSelectionEffect(value, emit: emit))
871
872
  case "pasteDestination": view = AnyView(view.oneNativeSDKPasteDestination(value, emit: emit))
872
- case "payLaterViewAction": view = AnyView(view.oneNativeSDKPayLaterViewAction(value, emit: emit))
873
- case "payLaterViewDisplayStyle": view = AnyView(view.oneNativeSDKPayLaterViewDisplayStyle(value, emit: emit))
873
+ case "payLaterViewAction":
874
+ precondition(!ProcessInfo.processInfo.isiOSAppOnMac, "payLaterViewAction is unavailable on macOS")
875
+ view = AnyView(view.oneNativeSDKPayLaterViewAction(value, emit: emit))
876
+ case "payLaterViewDisplayStyle":
877
+ precondition(!ProcessInfo.processInfo.isiOSAppOnMac, "payLaterViewDisplayStyle is unavailable on macOS")
878
+ view = AnyView(view.oneNativeSDKPayLaterViewDisplayStyle(value, emit: emit))
874
879
  case "payWithApplePayButtonDisableCardArt": view = AnyView(view.oneNativeSDKPayWithApplePayButtonDisableCardArt(value, emit: emit))
875
880
  case "payWithApplePayButtonStyle": view = AnyView(view.oneNativeSDKPayWithApplePayButtonStyle(value, emit: emit))
876
881
  case "persistentSystemOverlays": view = AnyView(view.oneNativeSDKPersistentSystemOverlays(value, emit: emit))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "one",
3
- "version": "2.6.12",
3
+ "version": "2.6.14",
4
4
  "description": "One is a React framework for web, iOS, and Android apps.",
5
5
  "license": "BSD-3-Clause",
6
6
  "sideEffects": [
@@ -236,18 +236,18 @@
236
236
  "@react-navigation/native-stack": "8.0.0-alpha.58",
237
237
  "@react-navigation/routers": "8.0.0-alpha.20",
238
238
  "@ungap/structured-clone": "^1.2.0",
239
- "@vxrn/color-scheme": "2.6.12",
240
- "@vxrn/compiler": "2.6.12",
241
- "@vxrn/resolve": "2.6.12",
242
- "@vxrn/tslib-lite": "2.6.12",
243
- "@vxrn/use-isomorphic-layout-effect": "2.6.12",
244
- "@vxrn/utils": "2.6.12",
245
- "@vxrn/vite-plugin-metro": "2.6.12",
239
+ "@vxrn/color-scheme": "2.6.14",
240
+ "@vxrn/compiler": "2.6.14",
241
+ "@vxrn/resolve": "2.6.14",
242
+ "@vxrn/tslib-lite": "2.6.14",
243
+ "@vxrn/use-isomorphic-layout-effect": "2.6.14",
244
+ "@vxrn/utils": "2.6.14",
245
+ "@vxrn/vite-plugin-metro": "2.6.14",
246
246
  "babel-dead-code-elimination": "1.0.10",
247
247
  "babel-plugin-module-resolver": "^5.0.2",
248
248
  "citty": "^0.1.6",
249
249
  "core-js": "^3.38.1",
250
- "create-vxrn": "2.6.12",
250
+ "create-vxrn": "2.6.14",
251
251
  "escape-string-regexp": "^5.0.0",
252
252
  "fast-deep-equal": "^3.1.3",
253
253
  "fast-glob": "^3.3.3",
@@ -269,7 +269,7 @@
269
269
  "tsconfig-paths": "^4",
270
270
  "use-latest-callback": "^0.2.3",
271
271
  "vite": "^8.2.2",
272
- "vxrn": "2.6.12",
272
+ "vxrn": "2.6.14",
273
273
  "web-streams-polyfill": "^4.3.0",
274
274
  "ws": "^8.21.0",
275
275
  "xxhashjs": "^0.2.2"
@@ -337,7 +337,7 @@
337
337
  "@types/react-dom": "^19.2.2",
338
338
  "@types/react-test-renderer": "^19.1.0",
339
339
  "@types/xxhashjs": "^0.2.4",
340
- "@vxrn/emitter": "2.6.12",
340
+ "@vxrn/emitter": "2.6.14",
341
341
  "depcheck": "^1.4.7",
342
342
  "esbuild": "^0.25.12",
343
343
  "immer": "^10.1.1",
@@ -513,7 +513,7 @@
513
513
  }
514
514
  }
515
515
  },
516
- "releaseSourceCommit": "a04a783d5665af4b8696633597697e3cf2f16e0f",
516
+ "releaseSourceCommit": "c63695e6bd3a9335d22b572305fb0c4e2357afb2",
517
517
  "repository": {
518
518
  "type": "git",
519
519
  "url": "git+https://github.com/onejs/one.git",