sayren 0.6.0 → 0.6.1
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.mjs +4 -4
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -9177,7 +9177,7 @@ async function selectStore(auth, client, io, candidates, folderStore = null) {
|
|
|
9177
9177
|
|
|
9178
9178
|
//#endregion
|
|
9179
9179
|
//#region package.json
|
|
9180
|
-
var version = "0.6.
|
|
9180
|
+
var version = "0.6.1";
|
|
9181
9181
|
|
|
9182
9182
|
//#endregion
|
|
9183
9183
|
//#region src/client.ts
|
|
@@ -9536,9 +9536,9 @@ function initFiles(handle, name) {
|
|
|
9536
9536
|
export default defineApp({
|
|
9537
9537
|
events: {
|
|
9538
9538
|
"ORDER.PAID": async (event, ctx) => {
|
|
9539
|
-
|
|
9540
|
-
const order = await ctx.api.orders.get(orderId);
|
|
9541
|
-
ctx.log.info("결제된 주문", order.orderNo, order.totalAmount);
|
|
9539
|
+
// event.data는 ORDER.PAID의 모양으로 좁혀진다 — 캐스팅하지 않는다
|
|
9540
|
+
const order = await ctx.api.orders.get(event.data.orderId);
|
|
9541
|
+
ctx.log.info("결제된 주문", order.orderNo, order.payment.totalAmount);
|
|
9542
9542
|
},
|
|
9543
9543
|
},
|
|
9544
9544
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sayren",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "sayren CLI — 호스팅 스토어프론트(init·pull·deploy)와 서드파티 앱(app init·dev·deploy·release)",
|
|
6
6
|
"bin": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"esbuild": "^0.28.2",
|
|
17
|
-
"@sayren/store-sdk": "^0.30.
|
|
17
|
+
"@sayren/store-sdk": "^0.30.11"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@biomejs/biome": "^2.5.14",
|