@fluid-app/portal-sdk 0.1.312 → 0.1.313
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/{AddressAutocompleteInput-CmbuVfD5.cjs → AddressAutocompleteInput-BqZwiUup.cjs} +212 -136
- package/dist/AddressAutocompleteInput-BqZwiUup.cjs.map +1 -0
- package/dist/{AddressAutocompleteInput-RLaGWKfq.mjs → AddressAutocompleteInput-DY0ZFQOs.mjs} +212 -136
- package/dist/AddressAutocompleteInput-DY0ZFQOs.mjs.map +1 -0
- package/dist/{FluidProvider-D4T1Tfn7.mjs → FluidProvider-BdjVFM6g.mjs} +5 -3
- package/dist/{FluidProvider-D4T1Tfn7.mjs.map → FluidProvider-BdjVFM6g.mjs.map} +1 -1
- package/dist/{FluidProvider-FvdFx8ML.cjs → FluidProvider-CiMgrTE0.cjs} +5 -3
- package/dist/{FluidProvider-FvdFx8ML.cjs.map → FluidProvider-CiMgrTE0.cjs.map} +1 -1
- package/dist/{MessagingScreen-_TJsaL8I.cjs → MessagingScreen-B0nvkVRJ.cjs} +2 -2
- package/dist/{MessagingScreen-_TJsaL8I.cjs.map → MessagingScreen-B0nvkVRJ.cjs.map} +1 -1
- package/dist/{MessagingScreen-CWqnuXcd.mjs → MessagingScreen-ClnTfJPR.mjs} +2 -2
- package/dist/{MessagingScreen-CWqnuXcd.mjs.map → MessagingScreen-ClnTfJPR.mjs.map} +1 -1
- package/dist/{MessagingScreen-bUf-46H5.cjs → MessagingScreen-DckwoF5C.cjs} +2 -2
- package/dist/{MessagingScreen-CwQMhw18.mjs → MessagingScreen-Dz57LSh8.mjs} +2 -3
- package/dist/{OrdersScreen-kVm3EyXs.cjs → OrdersScreen-Ci3ZZZKP.cjs} +2 -2
- package/dist/{OrdersScreen-kVm3EyXs.cjs.map → OrdersScreen-Ci3ZZZKP.cjs.map} +1 -1
- package/dist/{OrdersScreen-CGxEuDzh.cjs → OrdersScreen-CtzoJUXX.cjs} +2 -2
- package/dist/{OrdersScreen-Wrt08mBS.mjs → OrdersScreen-DKzZQPWm.mjs} +2 -4
- package/dist/{OrdersScreen-OEk3M3Qm.mjs → OrdersScreen-zpW6p4eP.mjs} +2 -2
- package/dist/{OrdersScreen-OEk3M3Qm.mjs.map → OrdersScreen-zpW6p4eP.mjs.map} +1 -1
- package/dist/{ProfileScreen-DCrPvVaF.cjs → ProfileScreen-BRYNGS4S.cjs} +3 -3
- package/dist/{ProfileScreen-BBjsjvuj.cjs → ProfileScreen-BXZMqNcY.cjs} +30 -23
- package/dist/ProfileScreen-BXZMqNcY.cjs.map +1 -0
- package/dist/{ProfileScreen-Dd0reAiP.mjs → ProfileScreen-BirNjDNw.mjs} +3 -4
- package/dist/{ProfileScreen-DeTQ4Xoo.mjs → ProfileScreen-D-Vo-_yC.mjs} +30 -23
- package/dist/ProfileScreen-D-Vo-_yC.mjs.map +1 -0
- package/dist/{ShareablesScreen-C6OmCNlO.mjs → ShareablesScreen-3CCVMNaT.mjs} +0 -2
- package/dist/{ShopScreen-BGiVyKAO.cjs → ShopScreen-CBZsxycw.cjs} +2 -2
- package/dist/{ShopScreen-KF3dsnFC.mjs → ShopScreen-CC3KbNCc.mjs} +2 -2
- package/dist/{ShopScreen-KF3dsnFC.mjs.map → ShopScreen-CC3KbNCc.mjs.map} +1 -1
- package/dist/{ShopScreen-Cx-iyP99.cjs → ShopScreen-D9I_t5HX.cjs} +2 -2
- package/dist/{ShopScreen-Cx-iyP99.cjs.map → ShopScreen-D9I_t5HX.cjs.map} +1 -1
- package/dist/{ShopScreen-YlDG7ZJk.mjs → ShopScreen-Jsj-2scF.mjs} +2 -4
- package/dist/{SubscriptionsScreen-Di98lE9y.cjs → SubscriptionsScreen-Bo4cTf0n.cjs} +3 -3
- package/dist/{SubscriptionsScreen-CFEAH36q.cjs → SubscriptionsScreen-CNjeVllB.cjs} +114 -41
- package/dist/SubscriptionsScreen-CNjeVllB.cjs.map +1 -0
- package/dist/{SubscriptionsScreen-CGTKGw7C.mjs → SubscriptionsScreen-DcmKn9y1.mjs} +114 -41
- package/dist/SubscriptionsScreen-DcmKn9y1.mjs.map +1 -0
- package/dist/{SubscriptionsScreen-DBKaPLTx.mjs → SubscriptionsScreen-s9CNAkH9.mjs} +3 -5
- package/dist/index.cjs +17 -17
- package/dist/index.mjs +19 -19
- package/package.json +17 -17
- package/dist/AddressAutocompleteInput-CmbuVfD5.cjs.map +0 -1
- package/dist/AddressAutocompleteInput-RLaGWKfq.mjs.map +0 -1
- package/dist/ProfileScreen-BBjsjvuj.cjs.map +0 -1
- package/dist/ProfileScreen-DeTQ4Xoo.mjs.map +0 -1
- package/dist/SubscriptionsScreen-CFEAH36q.cjs.map +0 -1
- package/dist/SubscriptionsScreen-CGTKGw7C.mjs.map +0 -1
|
@@ -15808,7 +15808,7 @@ async function payment_methods_list(client, params) {
|
|
|
15808
15808
|
}
|
|
15809
15809
|
/**
|
|
15810
15810
|
* Create a payment method
|
|
15811
|
-
* Tokenizes and stores a new payment method via the vault provider. Requires a vault token obtained from the vault credentials endpoint.
|
|
15811
|
+
* Tokenizes and stores a new payment method via the vault provider. Requires a vault token obtained from the vault credentials endpoint, and a billing_address_id referencing an existing address owned by the customer (create one via POST /api/pay/addresses first).
|
|
15812
15812
|
*
|
|
15813
15813
|
* @param client - Fetch client instance
|
|
15814
15814
|
* @param body - body
|
|
@@ -15916,7 +15916,9 @@ function createPortalTenantPayAdapter(client) {
|
|
|
15916
15916
|
};
|
|
15917
15917
|
},
|
|
15918
15918
|
createAddress: async (body) => {
|
|
15919
|
-
await addresses_create(client, body);
|
|
15919
|
+
const response = await addresses_create(client, body);
|
|
15920
|
+
if (!response.address) throw new Error("addresses_create returned no address");
|
|
15921
|
+
return mapAddress(response.address);
|
|
15920
15922
|
},
|
|
15921
15923
|
updateAddress: async (addressId, body) => {
|
|
15922
15924
|
await addresses_update(client, addressId, body);
|
|
@@ -18270,4 +18272,4 @@ Object.defineProperty(exports, "widgetPropertySchemas", {
|
|
|
18270
18272
|
}
|
|
18271
18273
|
});
|
|
18272
18274
|
|
|
18273
|
-
//# sourceMappingURL=FluidProvider-
|
|
18275
|
+
//# sourceMappingURL=FluidProvider-CiMgrTE0.cjs.map
|