@fluid-app/portal-sdk 0.1.485 → 0.1.486
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/dist/{ProfileScreen-CUkBqifi.mjs → ProfileScreen-B6a4dd62.mjs} +2 -2
- package/dist/{ProfileScreen-yi6_DEsN.cjs → ProfileScreen-B9ew5EIJ.cjs} +2 -2
- package/dist/{ProfileScreen-Bo0Pnojo.cjs → ProfileScreen-BQMf7w0k.cjs} +2 -2
- package/dist/{ProfileScreen-Bo0Pnojo.cjs.map → ProfileScreen-BQMf7w0k.cjs.map} +1 -1
- package/dist/{ProfileScreen-DX_erSoF.mjs → ProfileScreen-D4FpU_l8.mjs} +2 -2
- package/dist/{ProfileScreen-DX_erSoF.mjs.map → ProfileScreen-D4FpU_l8.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-9NJY-K63.cjs → SubscriptionsScreen-ByVgv3qf.cjs} +2 -2
- package/dist/{SubscriptionsScreen-9NJY-K63.cjs.map → SubscriptionsScreen-ByVgv3qf.cjs.map} +1 -1
- package/dist/{SubscriptionsScreen-C44-Ft7P.mjs → SubscriptionsScreen-DQuqYGHH.mjs} +2 -2
- package/dist/{SubscriptionsScreen-C44-Ft7P.mjs.map → SubscriptionsScreen-DQuqYGHH.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-Duigd4Qu.mjs → SubscriptionsScreen-DaJsb9sg.mjs} +2 -2
- package/dist/{SubscriptionsScreen-CKbJgV4Y.cjs → SubscriptionsScreen-f5mFmNJ_.cjs} +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.mjs +7 -7
- package/dist/{use-portal-card-add-3ds-flow-DPX94F0H.cjs → use-portal-card-add-3ds-flow-B6h1F8qd.cjs} +48 -28
- package/dist/use-portal-card-add-3ds-flow-B6h1F8qd.cjs.map +1 -0
- package/dist/{use-portal-card-add-3ds-flow-CaxgEoqx.mjs → use-portal-card-add-3ds-flow-CCxDpsu-.mjs} +48 -28
- package/dist/use-portal-card-add-3ds-flow-CCxDpsu-.mjs.map +1 -0
- package/package.json +15 -15
- package/dist/use-portal-card-add-3ds-flow-CaxgEoqx.mjs.map +0 -1
- package/dist/use-portal-card-add-3ds-flow-DPX94F0H.cjs.map +0 -1
package/dist/{use-portal-card-add-3ds-flow-CaxgEoqx.mjs → use-portal-card-add-3ds-flow-CCxDpsu-.mjs}
RENAMED
|
@@ -704,29 +704,6 @@ function AddressAutocompleteInput({ control, setValue, countryIso, addressLineFi
|
|
|
704
704
|
}
|
|
705
705
|
//#endregion
|
|
706
706
|
//#region ../../platform/address-fields/src/country-config.ts
|
|
707
|
-
function isFieldRequired$1(addressFields, fieldName) {
|
|
708
|
-
return addressFields.find((f) => f.field === fieldName)?.required ?? false;
|
|
709
|
-
}
|
|
710
|
-
createContext(null);
|
|
711
|
-
//#endregion
|
|
712
|
-
//#region ../../fluid-pay/core/src/context.ts
|
|
713
|
-
const FluidPayApiContext = createContext(null);
|
|
714
|
-
const FluidPayApiProvider = FluidPayApiContext.Provider;
|
|
715
|
-
function useFluidPayApi() {
|
|
716
|
-
const api = useContext(FluidPayApiContext);
|
|
717
|
-
if (!api) throw new Error("useFluidPayApi must be used within a FluidPayCoreProvider");
|
|
718
|
-
return api;
|
|
719
|
-
}
|
|
720
|
-
//#endregion
|
|
721
|
-
//#region ../../fluid-pay/core/src/provider.tsx
|
|
722
|
-
function FluidPayCoreProvider({ api, children }) {
|
|
723
|
-
return /* @__PURE__ */ jsx(FluidPayApiProvider, {
|
|
724
|
-
value: api,
|
|
725
|
-
children
|
|
726
|
-
});
|
|
727
|
-
}
|
|
728
|
-
//#endregion
|
|
729
|
-
//#region ../../fluid-pay/core/src/utils/country-config.ts
|
|
730
707
|
const US_STATES = [
|
|
731
708
|
{
|
|
732
709
|
name: "Alabama",
|
|
@@ -736,6 +713,10 @@ const US_STATES = [
|
|
|
736
713
|
name: "Alaska",
|
|
737
714
|
isoCode: "AK"
|
|
738
715
|
},
|
|
716
|
+
{
|
|
717
|
+
name: "American Samoa",
|
|
718
|
+
isoCode: "AS"
|
|
719
|
+
},
|
|
739
720
|
{
|
|
740
721
|
name: "Arizona",
|
|
741
722
|
isoCode: "AZ"
|
|
@@ -760,6 +741,10 @@ const US_STATES = [
|
|
|
760
741
|
name: "Delaware",
|
|
761
742
|
isoCode: "DE"
|
|
762
743
|
},
|
|
744
|
+
{
|
|
745
|
+
name: "District of Columbia",
|
|
746
|
+
isoCode: "DC"
|
|
747
|
+
},
|
|
763
748
|
{
|
|
764
749
|
name: "Florida",
|
|
765
750
|
isoCode: "FL"
|
|
@@ -768,6 +753,10 @@ const US_STATES = [
|
|
|
768
753
|
name: "Georgia",
|
|
769
754
|
isoCode: "GA"
|
|
770
755
|
},
|
|
756
|
+
{
|
|
757
|
+
name: "Guam",
|
|
758
|
+
isoCode: "GU"
|
|
759
|
+
},
|
|
771
760
|
{
|
|
772
761
|
name: "Hawaii",
|
|
773
762
|
isoCode: "HI"
|
|
@@ -864,6 +853,10 @@ const US_STATES = [
|
|
|
864
853
|
name: "North Dakota",
|
|
865
854
|
isoCode: "ND"
|
|
866
855
|
},
|
|
856
|
+
{
|
|
857
|
+
name: "Northern Mariana Islands",
|
|
858
|
+
isoCode: "MP"
|
|
859
|
+
},
|
|
867
860
|
{
|
|
868
861
|
name: "Ohio",
|
|
869
862
|
isoCode: "OH"
|
|
@@ -880,6 +873,10 @@ const US_STATES = [
|
|
|
880
873
|
name: "Pennsylvania",
|
|
881
874
|
isoCode: "PA"
|
|
882
875
|
},
|
|
876
|
+
{
|
|
877
|
+
name: "Puerto Rico",
|
|
878
|
+
isoCode: "PR"
|
|
879
|
+
},
|
|
883
880
|
{
|
|
884
881
|
name: "Rhode Island",
|
|
885
882
|
isoCode: "RI"
|
|
@@ -904,6 +901,10 @@ const US_STATES = [
|
|
|
904
901
|
name: "Utah",
|
|
905
902
|
isoCode: "UT"
|
|
906
903
|
},
|
|
904
|
+
{
|
|
905
|
+
name: "U.S. Virgin Islands",
|
|
906
|
+
isoCode: "VI"
|
|
907
|
+
},
|
|
907
908
|
{
|
|
908
909
|
name: "Vermont",
|
|
909
910
|
isoCode: "VT"
|
|
@@ -927,12 +928,31 @@ const US_STATES = [
|
|
|
927
928
|
{
|
|
928
929
|
name: "Wyoming",
|
|
929
930
|
isoCode: "WY"
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
name: "District of Columbia",
|
|
933
|
-
isoCode: "DC"
|
|
934
931
|
}
|
|
935
932
|
];
|
|
933
|
+
function isFieldRequired$1(addressFields, fieldName) {
|
|
934
|
+
return addressFields.find((f) => f.field === fieldName)?.required ?? false;
|
|
935
|
+
}
|
|
936
|
+
createContext(null);
|
|
937
|
+
//#endregion
|
|
938
|
+
//#region ../../fluid-pay/core/src/context.ts
|
|
939
|
+
const FluidPayApiContext = createContext(null);
|
|
940
|
+
const FluidPayApiProvider = FluidPayApiContext.Provider;
|
|
941
|
+
function useFluidPayApi() {
|
|
942
|
+
const api = useContext(FluidPayApiContext);
|
|
943
|
+
if (!api) throw new Error("useFluidPayApi must be used within a FluidPayCoreProvider");
|
|
944
|
+
return api;
|
|
945
|
+
}
|
|
946
|
+
//#endregion
|
|
947
|
+
//#region ../../fluid-pay/core/src/provider.tsx
|
|
948
|
+
function FluidPayCoreProvider({ api, children }) {
|
|
949
|
+
return /* @__PURE__ */ jsx(FluidPayApiProvider, {
|
|
950
|
+
value: api,
|
|
951
|
+
children
|
|
952
|
+
});
|
|
953
|
+
}
|
|
954
|
+
//#endregion
|
|
955
|
+
//#region ../../fluid-pay/core/src/utils/country-config.ts
|
|
936
956
|
const COUNTRY_CONFIGS = {
|
|
937
957
|
US: {
|
|
938
958
|
regionLabel: "State",
|
|
@@ -22557,4 +22577,4 @@ function usePortalCardAdd3DSFlow({ payApi, onApproved, onFailed, onCanceled, t }
|
|
|
22557
22577
|
//#endregion
|
|
22558
22578
|
export { ProfileTranslationBridge as _, getBrowserInfo as a, EditPaymentMethodDialog as c, getCardDisplayName as d, getCardExpiry as f, EllipsesDropdown as g, ConfirmActionDialog as h, isThreeDsRequiredCreate as i, FluidPayCoreProvider as l, UserInfoDialog as m, createFluidPayApiAdapter as n, CreditCardFormDialog as o, getPaymentMethodLogoBrand as p, mapToFluidPayPaymentMethod as r, AddressFormDialog as s, usePortalCardAdd3DSFlow as t, PaymentIcon as u, useProfileTranslation as v };
|
|
22559
22579
|
|
|
22560
|
-
//# sourceMappingURL=use-portal-card-add-3ds-flow-
|
|
22580
|
+
//# sourceMappingURL=use-portal-card-add-3ds-flow-CCxDpsu-.mjs.map
|