@shipengine/elements 0.6.39 → 0.6.40
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/index.cjs +0 -11
- package/index.js +0 -11
- package/package.json +4 -4
package/index.cjs
CHANGED
|
@@ -2948,16 +2948,6 @@ const ShipmentForm = ({
|
|
|
2948
2948
|
}
|
|
2949
2949
|
});
|
|
2950
2950
|
|
|
2951
|
-
const handleUpdateShipDate = shipDate => __awaiter(void 0, void 0, void 0, function* () {
|
|
2952
|
-
const updatedShipment = yield createOrUpdateShipment(Object.assign(Object.assign({}, shipment), {
|
|
2953
|
-
shipDate
|
|
2954
|
-
}));
|
|
2955
|
-
|
|
2956
|
-
if (updatedShipment) {
|
|
2957
|
-
yield onShipmentUpdated(updatedShipment);
|
|
2958
|
-
}
|
|
2959
|
-
});
|
|
2960
|
-
|
|
2961
2951
|
const errors = [...(updateShipment.errors || []), ...(createShipment.errors || [])];
|
|
2962
2952
|
return jsxRuntime.jsx(elementsUi.Templates.ShipmentForm, {
|
|
2963
2953
|
addressPreference: addressPreference,
|
|
@@ -2972,7 +2962,6 @@ const ShipmentForm = ({
|
|
|
2972
2962
|
onSubmit: handleSubmit,
|
|
2973
2963
|
onUpdateCustoms: handleUpdateCustoms,
|
|
2974
2964
|
onSubmitParseShipTo: handleSubmitParseShipTo,
|
|
2975
|
-
onUpdateShipDate: handleUpdateShipDate,
|
|
2976
2965
|
salesOrder: salesOrder,
|
|
2977
2966
|
shipment: shipment,
|
|
2978
2967
|
shippingPresets: shippingPresets,
|
package/index.js
CHANGED
|
@@ -2944,16 +2944,6 @@ const ShipmentForm = ({
|
|
|
2944
2944
|
}
|
|
2945
2945
|
});
|
|
2946
2946
|
|
|
2947
|
-
const handleUpdateShipDate = shipDate => __awaiter(void 0, void 0, void 0, function* () {
|
|
2948
|
-
const updatedShipment = yield createOrUpdateShipment(Object.assign(Object.assign({}, shipment), {
|
|
2949
|
-
shipDate
|
|
2950
|
-
}));
|
|
2951
|
-
|
|
2952
|
-
if (updatedShipment) {
|
|
2953
|
-
yield onShipmentUpdated(updatedShipment);
|
|
2954
|
-
}
|
|
2955
|
-
});
|
|
2956
|
-
|
|
2957
2947
|
const errors = [...(updateShipment.errors || []), ...(createShipment.errors || [])];
|
|
2958
2948
|
return jsx(Templates.ShipmentForm, {
|
|
2959
2949
|
addressPreference: addressPreference,
|
|
@@ -2968,7 +2958,6 @@ const ShipmentForm = ({
|
|
|
2968
2958
|
onSubmit: handleSubmit,
|
|
2969
2959
|
onUpdateCustoms: handleUpdateCustoms,
|
|
2970
2960
|
onSubmitParseShipTo: handleSubmitParseShipTo,
|
|
2971
|
-
onUpdateShipDate: handleUpdateShipDate,
|
|
2972
2961
|
salesOrder: salesOrder,
|
|
2973
2962
|
shipment: shipment,
|
|
2974
2963
|
shippingPresets: shippingPresets,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipengine/elements",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.40",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@packlink/giger": "*",
|
|
6
6
|
"react-i18next": "*",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"types": "./index.d.ts",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"react": "^18.2.0",
|
|
15
|
-
"@shipengine/elements-core": "0.6.
|
|
15
|
+
"@shipengine/elements-core": "0.6.40",
|
|
16
16
|
"i18next-http-backend": "^1.4.1",
|
|
17
17
|
"i18next-browser-languagedetector": "^6.1.4",
|
|
18
|
-
"@shipengine/types": "0.6.
|
|
19
|
-
"@shipengine/elements-ui": "0.6.
|
|
18
|
+
"@shipengine/types": "0.6.40",
|
|
19
|
+
"@shipengine/elements-ui": "0.6.40"
|
|
20
20
|
}
|
|
21
21
|
}
|