@superwall/runtime 2.6.0 → 2.6.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.
|
@@ -68,6 +68,13 @@ export type SuperwallDeviceVariables = {
|
|
|
68
68
|
fontScale?: number;
|
|
69
69
|
preferredContentSizeCategory?: string;
|
|
70
70
|
isLowPowerModeEnabled?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* @deprecated The native SDK always reports `true`, so this says nothing
|
|
73
|
+
* about Apple Pay. To know whether Apple Pay is set up with a card, in the
|
|
74
|
+
* app or on the web, use `useApplePay().available` or `checkApplePay()` from
|
|
75
|
+
* `superwall/hooks`. In `checkout: "applePay"` mode Stripe's
|
|
76
|
+
* `canMakePayment()` decides, reported by `useApplePay(product).product`.
|
|
77
|
+
*/
|
|
71
78
|
isApplePayAvailable?: boolean;
|
|
72
79
|
isMac?: boolean;
|
|
73
80
|
isSandbox?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superwall/runtime",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "Framework-agnostic runtime for headless Superwall paywalls: bridge, session, products, localization, mock host.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"paywall",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"clean": "rm -rf dist coverage"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@superwall/protocol": "2.6.
|
|
42
|
+
"@superwall/protocol": "2.6.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@superwall/host": "workspace:*",
|
package/src/session/variables.ts
CHANGED
|
@@ -73,6 +73,13 @@ export type SuperwallDeviceVariables = {
|
|
|
73
73
|
fontScale?: number;
|
|
74
74
|
preferredContentSizeCategory?: string;
|
|
75
75
|
isLowPowerModeEnabled?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated The native SDK always reports `true`, so this says nothing
|
|
78
|
+
* about Apple Pay. To know whether Apple Pay is set up with a card, in the
|
|
79
|
+
* app or on the web, use `useApplePay().available` or `checkApplePay()` from
|
|
80
|
+
* `superwall/hooks`. In `checkout: "applePay"` mode Stripe's
|
|
81
|
+
* `canMakePayment()` decides, reported by `useApplePay(product).product`.
|
|
82
|
+
*/
|
|
76
83
|
isApplePayAvailable?: boolean;
|
|
77
84
|
isMac?: boolean;
|
|
78
85
|
isSandbox?: string;
|