@bunnyapp/components 1.8.0-beta.14 → 1.8.0-beta.15
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/cjs/index.js +1 -10
- package/dist/esm/index.js +1 -10
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1288,7 +1288,7 @@ const DEFAULT_CONFIG = {
|
|
|
1288
1288
|
};
|
|
1289
1289
|
|
|
1290
1290
|
// This will be replaced at build time by rollup-plugin-replace
|
|
1291
|
-
const PACKAGE_VERSION = '1.8.0-beta.
|
|
1291
|
+
const PACKAGE_VERSION = '1.8.0-beta.14';
|
|
1292
1292
|
const createRequestHeaders = (token) => {
|
|
1293
1293
|
const headers = createClientDevHeaders({ token });
|
|
1294
1294
|
// Add the components version header
|
|
@@ -23840,15 +23840,6 @@ function Signup({ companyName, priceListCode, returnUrl, couponCode, className,
|
|
|
23840
23840
|
setInitialQuote(data === null || data === void 0 ? void 0 : data.quote);
|
|
23841
23841
|
handleRecalculateTaxes((_b = data === null || data === void 0 ? void 0 : data.quote) === null || _b === void 0 ? void 0 : _b.id);
|
|
23842
23842
|
},
|
|
23843
|
-
onError: (error) => {
|
|
23844
|
-
const errorMessage = error.response.errors[0].message;
|
|
23845
|
-
if (errorMessage.includes("Address couldn't be validated")) {
|
|
23846
|
-
showErrorNotification$2('Please enter a valid billing address');
|
|
23847
|
-
}
|
|
23848
|
-
else {
|
|
23849
|
-
showErrorNotification$2(errorMessage);
|
|
23850
|
-
}
|
|
23851
|
-
},
|
|
23852
23843
|
});
|
|
23853
23844
|
// Queries
|
|
23854
23845
|
const { data: maskedPriceList, isLoading: isLoadingPriceList } = reactQuery.useQuery({
|
package/dist/esm/index.js
CHANGED
|
@@ -1286,7 +1286,7 @@ const DEFAULT_CONFIG = {
|
|
|
1286
1286
|
};
|
|
1287
1287
|
|
|
1288
1288
|
// This will be replaced at build time by rollup-plugin-replace
|
|
1289
|
-
const PACKAGE_VERSION = '1.8.0-beta.
|
|
1289
|
+
const PACKAGE_VERSION = '1.8.0-beta.14';
|
|
1290
1290
|
const createRequestHeaders = (token) => {
|
|
1291
1291
|
const headers = createClientDevHeaders({ token });
|
|
1292
1292
|
// Add the components version header
|
|
@@ -23838,15 +23838,6 @@ function Signup({ companyName, priceListCode, returnUrl, couponCode, className,
|
|
|
23838
23838
|
setInitialQuote(data === null || data === void 0 ? void 0 : data.quote);
|
|
23839
23839
|
handleRecalculateTaxes((_b = data === null || data === void 0 ? void 0 : data.quote) === null || _b === void 0 ? void 0 : _b.id);
|
|
23840
23840
|
},
|
|
23841
|
-
onError: (error) => {
|
|
23842
|
-
const errorMessage = error.response.errors[0].message;
|
|
23843
|
-
if (errorMessage.includes("Address couldn't be validated")) {
|
|
23844
|
-
showErrorNotification$2('Please enter a valid billing address');
|
|
23845
|
-
}
|
|
23846
|
-
else {
|
|
23847
|
-
showErrorNotification$2(errorMessage);
|
|
23848
|
-
}
|
|
23849
|
-
},
|
|
23850
23841
|
});
|
|
23851
23842
|
// Queries
|
|
23852
23843
|
const { data: maskedPriceList, isLoading: isLoadingPriceList } = useQuery({
|
package/package.json
CHANGED