@moonbase.sh/storefront-api 2.1.0 → 2.2.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/index.cjs +12 -0
- package/dist/index.d.cts +177 -1
- package/dist/index.d.ts +177 -1
- package/dist/index.js +11 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -143,6 +143,15 @@ var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
|
143
143
|
Platform2["Android"] = "Android";
|
|
144
144
|
return Platform2;
|
|
145
145
|
})(Platform || {});
|
|
146
|
+
var Architecture = /* @__PURE__ */ ((Architecture2) => {
|
|
147
|
+
Architecture2["Unknown"] = "Unknown";
|
|
148
|
+
Architecture2["Universal"] = "Universal";
|
|
149
|
+
Architecture2["X86"] = "X86";
|
|
150
|
+
Architecture2["X64"] = "X64";
|
|
151
|
+
Architecture2["Arm"] = "Arm";
|
|
152
|
+
Architecture2["Arm64"] = "Arm64";
|
|
153
|
+
return Architecture2;
|
|
154
|
+
})(Architecture || {});
|
|
146
155
|
|
|
147
156
|
// src/inventory/products/schemas.ts
|
|
148
157
|
var manifestSchema = z2.object({
|
|
@@ -156,6 +165,7 @@ var downloadSchema = z2.object({
|
|
|
156
165
|
name: z2.string(),
|
|
157
166
|
key: z2.string(),
|
|
158
167
|
platform: z2.nativeEnum(Platform),
|
|
168
|
+
arch: z2.nativeEnum(Architecture).nullish(),
|
|
159
169
|
size: z2.number(),
|
|
160
170
|
path: z2.string().nullable(),
|
|
161
171
|
manifest: manifestSchema.optional()
|
|
@@ -1682,6 +1692,7 @@ export {
|
|
|
1682
1692
|
ActivationRequestFulfillmentType,
|
|
1683
1693
|
ActivationRequestStatus,
|
|
1684
1694
|
ActivationStatus,
|
|
1695
|
+
Architecture,
|
|
1685
1696
|
ConnectableAccountProvider,
|
|
1686
1697
|
ConsoleLogger,
|
|
1687
1698
|
CycleLength,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/storefront-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "Package to let you build storefronts with Moonbase.sh as payment and delivery provider",
|
|
6
6
|
"author": "Tobias Lønnerød Madsen <m@dsen.tv>",
|
|
7
7
|
"license": "MIT",
|