commerce-kit 0.21.0 → 0.22.0
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/api-types.d.ts +5 -2
- package/package.json +3 -3
package/dist/api-types.d.ts
CHANGED
|
@@ -1142,11 +1142,13 @@ type APIProductsBrowseResult = {
|
|
|
1142
1142
|
countPublished: number;
|
|
1143
1143
|
countDraft: number;
|
|
1144
1144
|
countHidden: number;
|
|
1145
|
+
nextCursor: string | undefined;
|
|
1145
1146
|
};
|
|
1146
1147
|
};
|
|
1147
1148
|
type APIProductsBrowseQueryParams = {
|
|
1148
1149
|
offset?: number | undefined;
|
|
1149
1150
|
limit?: number | undefined;
|
|
1151
|
+
cursor?: string | undefined;
|
|
1150
1152
|
category?: string | undefined;
|
|
1151
1153
|
query?: string | undefined;
|
|
1152
1154
|
active?: boolean | undefined;
|
|
@@ -6548,8 +6550,8 @@ type APIMeGetResult = {
|
|
|
6548
6550
|
type: "revenue-summary" | "orders-summary" | "aov-summary" | "customers-summary" | "revenue-chart" | "order-status" | "customer-retention" | "top-products";
|
|
6549
6551
|
position: number;
|
|
6550
6552
|
size: {
|
|
6551
|
-
width:
|
|
6552
|
-
height:
|
|
6553
|
+
width: 2 | 1 | 3 | 4;
|
|
6554
|
+
height: 2 | 1 | 3 | 4;
|
|
6553
6555
|
};
|
|
6554
6556
|
visible: boolean;
|
|
6555
6557
|
settings?: Record<string, unknown> | undefined;
|
|
@@ -6644,6 +6646,7 @@ type APIMeGetResult = {
|
|
|
6644
6646
|
} | undefined;
|
|
6645
6647
|
} | undefined;
|
|
6646
6648
|
published?: boolean | undefined;
|
|
6649
|
+
maxMode?: boolean | undefined;
|
|
6647
6650
|
} | null;
|
|
6648
6651
|
appSumoLicenseKey: string | null;
|
|
6649
6652
|
appSumoLicense: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "commerce-kit",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.22.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
7
7
|
"keywords": [
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"test": "bun test",
|
|
39
39
|
"prepare": "bun husky",
|
|
40
40
|
"build": "biome check && rimraf dist/* && tsup --config tsup.config.ts",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
41
|
+
"publishPackage": "echo 'This will bump minor version, publish to npm, and push to git. Continue? (y/N)' && read -r ans && [ \"$ans\" = \"y\" ] && npm version minor && npm publish && git push && git push --tags",
|
|
42
|
+
"prepublishOnly": "bun run build"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@biomejs/biome": "2.3.14",
|