@yoonion/mimi-seed-mcp 0.3.8 → 0.3.9
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.js +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1007,6 +1007,9 @@ server.tool('appstore_update_product', 'App Store IAP 상품의 reference name
|
|
|
1007
1007
|
productType: z.enum(['subscription', 'consumable', 'non_consumable']).describe('상품 유형'),
|
|
1008
1008
|
name: z.string().describe('새 reference name'),
|
|
1009
1009
|
}, async ({ appId, bundleId, productId, productType, name }) => {
|
|
1010
|
+
if (!appId && !bundleId) {
|
|
1011
|
+
throw new Error('appId 또는 bundleId 중 하나는 반드시 제공해야 합니다.');
|
|
1012
|
+
}
|
|
1010
1013
|
const creds = requireAppStoreCreds();
|
|
1011
1014
|
const result = await updateAppleProduct({
|
|
1012
1015
|
appId, bundleId, productId, productType, name,
|
|
@@ -1023,6 +1026,9 @@ server.tool('appstore_delete_product', '⚠️ 비가역. App Store IAP 상품
|
|
|
1023
1026
|
productId: z.string().describe('상품 ID'),
|
|
1024
1027
|
productType: z.enum(['subscription', 'consumable', 'non_consumable']).describe('상품 유형'),
|
|
1025
1028
|
}, async ({ appId, bundleId, productId, productType }) => {
|
|
1029
|
+
if (!appId && !bundleId) {
|
|
1030
|
+
throw new Error('appId 또는 bundleId 중 하나는 반드시 제공해야 합니다.');
|
|
1031
|
+
}
|
|
1026
1032
|
const creds = requireAppStoreCreds();
|
|
1027
1033
|
const result = await deleteAppleProduct({
|
|
1028
1034
|
appId, bundleId, productId, productType,
|
package/package.json
CHANGED