@ait-co/polyfill 0.1.6 → 0.1.7

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/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @ait-co/polyfill
2
2
 
3
+ ![@ait-co/polyfill — 표준 Web API로 미니앱을 작성](./assets/og/image.png)
4
+
3
5
  > Part of the unofficial `apps-in-toss-community` project. Not affiliated with Toss.
4
6
  > 비공식 커뮤니티 프로젝트입니다. 토스와 제휴하지 않았습니다.
5
7
 
package/dist/index.cjs CHANGED
@@ -920,7 +920,7 @@ function vibrateSemantic(intent) {
920
920
  }
921
921
  //#endregion
922
922
  //#region src/index.ts
923
- const VERSION = "0.1.6";
923
+ const VERSION = "0.1.7";
924
924
  const NOOP = () => {};
925
925
  /**
926
926
  * Install every shim this library ships, but only if we detect an Apps in
package/dist/index.js CHANGED
@@ -919,7 +919,7 @@ function vibrateSemantic(intent) {
919
919
  }
920
920
  //#endregion
921
921
  //#region src/index.ts
922
- const VERSION = "0.1.6";
922
+ const VERSION = "0.1.7";
923
923
  const NOOP = () => {};
924
924
  /**
925
925
  * Install every shim this library ships, but only if we detect an Apps in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ait-co/polyfill",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Polyfill so you can build Apps in Toss mini-apps with standard Web APIs (navigator.clipboard, navigator.geolocation, ...) instead of the proprietary SDK",
5
5
  "type": "module",
6
6
  "engines": {
@@ -115,8 +115,13 @@
115
115
  "@biomejs/biome": "2.4.12",
116
116
  "@changesets/cli": "^2.31.0",
117
117
  "@types/node": "^24.0.0",
118
+ "@types/react": "^19.2.14",
118
119
  "jsdom": "^29.0.2",
120
+ "react": "^19.2.5",
121
+ "satori": "^0.26.0",
122
+ "sharp": "^0.34.5",
119
123
  "tsdown": "^0.21.7",
124
+ "tsx": "^4.21.0",
120
125
  "typescript": "^6.0.2",
121
126
  "vitest": "^4.1.4"
122
127
  },
@@ -140,7 +145,9 @@
140
145
  "url": "https://github.com/apps-in-toss-community/polyfill/issues"
141
146
  },
142
147
  "scripts": {
148
+ "prebuild": "pnpm build:og",
143
149
  "build": "tsdown",
150
+ "build:og": "TSX_TSCONFIG_PATH=scripts/tsconfig.json tsx scripts/build-og-image.tsx",
144
151
  "dev": "tsdown --watch",
145
152
  "typecheck": "tsc --noEmit",
146
153
  "test": "vitest run",