@myparcel-dev/pdk-checkout-common 1.7.2 → 1.7.4

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.
@@ -1,3 +1,3 @@
1
1
  import { type RecursivePartial } from '@myparcel-dev/ts-utils';
2
2
  import { type PdkCheckoutConfigInput } from '../types';
3
- export declare const getMockFormData: (formData?: RecursivePartial<PdkCheckoutConfigInput['formData']>) => PdkCheckoutConfigInput['formData'];
3
+ export declare const getMockFormData: (formData?: RecursivePartial<PdkCheckoutConfigInput["formData"]>) => PdkCheckoutConfigInput["formData"];
@@ -1,2 +1,2 @@
1
1
  import { type CheckoutStoreState } from '../types';
2
- export declare const createCheckoutStore: () => import("../types").Store<CheckoutStoreState>;
2
+ export declare const createCheckoutStore: () => import("..").Store<CheckoutStoreState>;
@@ -1,3 +1,3 @@
1
1
  import { type MyParcelPdk } from '../types';
2
2
  import { type PdkEvent } from '../data';
3
- export declare const useEvent: <E extends string>(event: E) => E extends PdkEvent ? MyParcelPdk['events'][E] : string;
3
+ export declare const useEvent: <E extends PdkEvent | string>(event: E) => E extends PdkEvent ? MyParcelPdk["events"][E] : string;
@@ -1,2 +1,2 @@
1
1
  import { type Plugin } from '@myparcel-dev/pdk-common';
2
- export declare const useSettings: () => Plugin.ModelContextCheckoutContext['settings'];
2
+ export declare const useSettings: () => Plugin.ModelContextCheckoutContext["settings"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myparcel-dev/pdk-checkout-common",
3
- "version": "1.7.2",
3
+ "version": "1.7.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/myparcelnl/js-pdk.git",
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@myparcel-dev/constants": "^2.7.0",
31
31
  "@myparcel-dev/delivery-options": "^6.25.0",
32
- "@myparcel-dev/pdk-common": "^1.11.1",
32
+ "@myparcel-dev/pdk-common": "^1.12.1",
33
33
  "typescript": "^5.2.2"
34
34
  },
35
35
  "devDependencies": {