verify-phone-sms 0.9.4 → 0.9.52

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.
Files changed (56) hide show
  1. package/.env.example +0 -0
  2. package/CHANGELOG.md +52 -52
  3. package/DEPLOYMENT.md +0 -0
  4. package/README.md +20 -1
  5. package/docs/app/(home)/layout.tsx +0 -0
  6. package/docs/app/(home)/page.tsx +0 -0
  7. package/docs/app/docs/[[...slug]]/page.tsx +0 -0
  8. package/docs/app/docs/layout.tsx +0 -0
  9. package/docs/app/docs-og/[...slug]/route.ts +0 -0
  10. package/docs/app/globals.css +0 -0
  11. package/docs/app/layout.config.tsx +0 -0
  12. package/docs/app/layout.tsx +0 -0
  13. package/docs/app/logo.tsx +0 -0
  14. package/docs/content/docs/API_AUTHENTICATION.md +0 -0
  15. package/docs/content/docs/DEPLOYMENT.md +0 -0
  16. package/docs/content/docs/api/post.mdx +0 -0
  17. package/docs/content/docs/api/verify.mdx +0 -0
  18. package/docs/content/docs/meta.json +0 -0
  19. package/docs/content/docs/verify-legal-name.md +0 -0
  20. package/docs/lib/source.ts +0 -0
  21. package/docs/mdx-components.tsx +0 -0
  22. package/docs/next.config.mjs +0 -0
  23. package/docs/openapi.json +0 -0
  24. package/docs/package.json +0 -0
  25. package/docs/postcss.config.mjs +0 -0
  26. package/docs/scripts/generate-docs.mjs +0 -0
  27. package/docs/source.config.ts +0 -0
  28. package/docs/tsconfig.json +0 -0
  29. package/docs/worker.js +0 -0
  30. package/docs/wrangler.toml +0 -0
  31. package/examples/client.ts +0 -0
  32. package/examples/demo.html +0 -0
  33. package/examples/libphonenumber-example.ts +0 -0
  34. package/{test/metadata-test.ts → examples/phone-metadata.ts} +0 -0
  35. package/{test/verify.test.ts → examples/send-verification.ts} +0 -0
  36. package/openapi.json +0 -0
  37. package/package.json +11 -9
  38. package/scripts/deploy.sh +0 -0
  39. package/src/identity-verification-server.ts +0 -0
  40. package/src/index.ts +0 -0
  41. package/src/sns.ts +0 -0
  42. package/src/verify-phone-server.ts +0 -0
  43. package/src/verify-phone.ts +0 -0
  44. package/test/api.test.ts +0 -0
  45. package/test/integration.test.ts +0 -0
  46. package/test/server.test.ts +0 -0
  47. package/test/setup.ts +0 -0
  48. package/test/utils.test.ts +0 -0
  49. package/test/voip.test.ts +0 -0
  50. package/tsconfig.json +0 -0
  51. package/vitest.config.ts +31 -4
  52. package/wrangler.toml +0 -0
  53. package/bun.lock +0 -1110
  54. package/docs/.source/index.ts +0 -11
  55. package/docs/.source/source.config.mjs +0 -9
  56. package/docs/bun.lock +0 -923
package/.env.example CHANGED
File without changes
package/CHANGELOG.md CHANGED
@@ -2,70 +2,70 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ### [0.9.5](https://github.com/OpenSourceAGI/appdemo-dev-tools/compare/v0.9.3...v0.9.5) (2026-05-23)
5
+ ### [0.9.5](https://github.com/OpenSourceAGI/starter-app-dev-tools/compare/v0.9.3...v0.9.5) (2026-05-23)
6
6
 
7
- ### [0.9.3](https://github.com/OpenSourceAGI/appdemo-dev-tools/compare/v1.1.5...v0.9.3) (2026-05-23)
7
+ ### [0.9.3](https://github.com/OpenSourceAGI/starter-app-dev-tools/compare/v1.1.5...v0.9.3) (2026-05-23)
8
8
 
9
9
 
10
10
  ### Features
11
11
 
12
- * add initial setup for Svelte template with Cloudflare Workers ([791308a](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/791308aee06fc0a01fecde061a7f8a0372329464))
13
- * add theme toggle component and integrate WebGL shader background ([56551a3](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/56551a35ee3246d9d7530f88bbf91546e3c4e1fa))
14
- * implement risk-based tool classification, runtime security policies, and granular configuration for OpenAPI MCP generators ([91ad054](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/91ad054b893f3807a5100eba4bf1953ef467815d))
15
- * implement Sparkles decorative component and enhance home page UI aesthetics while updating git ignore rules. ([4f91b06](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/4f91b06ad0be897edf24a0dd160d02a385a1f4d7))
16
- * scaffold shadcn demo environment and expand theme collection in theme-dropdown ([b366c1d](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/b366c1d39ca46556c6f4e597265b3af6236657c7))
17
- * update system info installation and enhance theme styles ([46ead08](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/46ead086bfceeb49862c8054f4641134285d1ace))
18
- * **vscode-cloud:** add Cloudflare Workers observability config ([#30](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/30)) ([c3b17c8](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/c3b17c8265e63895d77ec8124c321e65cbaff75f))
19
- * **vscode-cloud:** add Cloudflare Workers observability config ([#31](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/31)) ([aebc1f3](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/aebc1f35fc56c0b99c9ccacb39e707bd73e5e20d))
20
- * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#27](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/27)) ([a43daf8](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/a43daf8b0081139c6854355b3a6e6b5e1ec4202a))
21
- * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#28](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/28)) ([2792bc6](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/2792bc6a6e0719be3fd9d60867e5726fdc2f23ef))
22
- * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#29](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/29)) ([7b91874](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/7b91874b86b2026bcc61a25ed4ee78f5f52118da))
23
- * **vscode-cloud:** fix internet access, type safety, and improve UX ([a5827d6](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/a5827d66023c8fa382a400416e04b7e634f0c1bb))
24
- * **vscode-cloud:** passwordless login, landing page, and pre-installed AI/dev extensions ([5765f80](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/5765f806961e32fd11e9fcab9e58e78e57835c61))
25
- * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([ad463e9](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/ad463e905c3c3c80665d4ad158fb147cb44f3358))
26
- * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([#24](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/24)) ([3cc9246](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/3cc924655c708f881ad352df83ff9eeaf289796d))
27
- * **vscode-cloud:** teams dashboard, WakaTime tracking, and updated landing page ([815ff09](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/815ff0930778ba2e4c42e7a5cac62eb3df6d0454))
12
+ * add initial setup for Svelte template with Cloudflare Workers ([791308a](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/791308aee06fc0a01fecde061a7f8a0372329464))
13
+ * add theme toggle component and integrate WebGL shader background ([56551a3](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/56551a35ee3246d9d7530f88bbf91546e3c4e1fa))
14
+ * implement risk-based tool classification, runtime security policies, and granular configuration for OpenAPI MCP generators ([91ad054](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/91ad054b893f3807a5100eba4bf1953ef467815d))
15
+ * implement Sparkles decorative component and enhance home page UI aesthetics while updating git ignore rules. ([4f91b06](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/4f91b06ad0be897edf24a0dd160d02a385a1f4d7))
16
+ * scaffold shadcn demo environment and expand theme collection in theme-dropdown ([b366c1d](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/b366c1d39ca46556c6f4e597265b3af6236657c7))
17
+ * update system info installation and enhance theme styles ([46ead08](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/46ead086bfceeb49862c8054f4641134285d1ace))
18
+ * **vscode-cloud:** add Cloudflare Workers observability config ([#30](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/30)) ([c3b17c8](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/c3b17c8265e63895d77ec8124c321e65cbaff75f))
19
+ * **vscode-cloud:** add Cloudflare Workers observability config ([#31](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/31)) ([aebc1f3](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/aebc1f35fc56c0b99c9ccacb39e707bd73e5e20d))
20
+ * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#27](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/27)) ([a43daf8](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/a43daf8b0081139c6854355b3a6e6b5e1ec4202a))
21
+ * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#28](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/28)) ([2792bc6](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/2792bc6a6e0719be3fd9d60867e5726fdc2f23ef))
22
+ * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#29](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/29)) ([7b91874](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/7b91874b86b2026bcc61a25ed4ee78f5f52118da))
23
+ * **vscode-cloud:** fix internet access, type safety, and improve UX ([a5827d6](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/a5827d66023c8fa382a400416e04b7e634f0c1bb))
24
+ * **vscode-cloud:** passwordless login, landing page, and pre-installed AI/dev extensions ([5765f80](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/5765f806961e32fd11e9fcab9e58e78e57835c61))
25
+ * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([ad463e9](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/ad463e905c3c3c80665d4ad158fb147cb44f3358))
26
+ * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([#24](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/24)) ([3cc9246](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/3cc924655c708f881ad352df83ff9eeaf289796d))
27
+ * **vscode-cloud:** teams dashboard, WakaTime tracking, and updated landing page ([815ff09](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/815ff0930778ba2e4c42e7a5cac62eb3df6d0454))
28
28
 
29
- ### [0.9.2](https://github.com/OpenSourceAGI/appdemo-dev-tools/compare/v1.1.5...v0.9.2) (2026-05-23)
29
+ ### [0.9.2](https://github.com/OpenSourceAGI/starter-app-dev-tools/compare/v1.1.5...v0.9.2) (2026-05-23)
30
30
 
31
31
 
32
32
  ### Features
33
33
 
34
- * add initial setup for Svelte template with Cloudflare Workers ([791308a](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/791308aee06fc0a01fecde061a7f8a0372329464))
35
- * add theme toggle component and integrate WebGL shader background ([56551a3](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/56551a35ee3246d9d7530f88bbf91546e3c4e1fa))
36
- * implement risk-based tool classification, runtime security policies, and granular configuration for OpenAPI MCP generators ([91ad054](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/91ad054b893f3807a5100eba4bf1953ef467815d))
37
- * implement Sparkles decorative component and enhance home page UI aesthetics while updating git ignore rules. ([4f91b06](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/4f91b06ad0be897edf24a0dd160d02a385a1f4d7))
38
- * scaffold shadcn demo environment and expand theme collection in theme-dropdown ([b366c1d](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/b366c1d39ca46556c6f4e597265b3af6236657c7))
39
- * update system info installation and enhance theme styles ([46ead08](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/46ead086bfceeb49862c8054f4641134285d1ace))
40
- * **vscode-cloud:** add Cloudflare Workers observability config ([#30](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/30)) ([c3b17c8](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/c3b17c8265e63895d77ec8124c321e65cbaff75f))
41
- * **vscode-cloud:** add Cloudflare Workers observability config ([#31](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/31)) ([aebc1f3](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/aebc1f35fc56c0b99c9ccacb39e707bd73e5e20d))
42
- * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#27](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/27)) ([a43daf8](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/a43daf8b0081139c6854355b3a6e6b5e1ec4202a))
43
- * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#28](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/28)) ([2792bc6](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/2792bc6a6e0719be3fd9d60867e5726fdc2f23ef))
44
- * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#29](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/29)) ([7b91874](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/7b91874b86b2026bcc61a25ed4ee78f5f52118da))
45
- * **vscode-cloud:** fix internet access, type safety, and improve UX ([a5827d6](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/a5827d66023c8fa382a400416e04b7e634f0c1bb))
46
- * **vscode-cloud:** passwordless login, landing page, and pre-installed AI/dev extensions ([5765f80](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/5765f806961e32fd11e9fcab9e58e78e57835c61))
47
- * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([ad463e9](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/ad463e905c3c3c80665d4ad158fb147cb44f3358))
48
- * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([#24](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/24)) ([3cc9246](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/3cc924655c708f881ad352df83ff9eeaf289796d))
49
- * **vscode-cloud:** teams dashboard, WakaTime tracking, and updated landing page ([815ff09](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/815ff0930778ba2e4c42e7a5cac62eb3df6d0454))
34
+ * add initial setup for Svelte template with Cloudflare Workers ([791308a](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/791308aee06fc0a01fecde061a7f8a0372329464))
35
+ * add theme toggle component and integrate WebGL shader background ([56551a3](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/56551a35ee3246d9d7530f88bbf91546e3c4e1fa))
36
+ * implement risk-based tool classification, runtime security policies, and granular configuration for OpenAPI MCP generators ([91ad054](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/91ad054b893f3807a5100eba4bf1953ef467815d))
37
+ * implement Sparkles decorative component and enhance home page UI aesthetics while updating git ignore rules. ([4f91b06](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/4f91b06ad0be897edf24a0dd160d02a385a1f4d7))
38
+ * scaffold shadcn demo environment and expand theme collection in theme-dropdown ([b366c1d](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/b366c1d39ca46556c6f4e597265b3af6236657c7))
39
+ * update system info installation and enhance theme styles ([46ead08](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/46ead086bfceeb49862c8054f4641134285d1ace))
40
+ * **vscode-cloud:** add Cloudflare Workers observability config ([#30](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/30)) ([c3b17c8](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/c3b17c8265e63895d77ec8124c321e65cbaff75f))
41
+ * **vscode-cloud:** add Cloudflare Workers observability config ([#31](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/31)) ([aebc1f3](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/aebc1f35fc56c0b99c9ccacb39e707bd73e5e20d))
42
+ * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#27](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/27)) ([a43daf8](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/a43daf8b0081139c6854355b3a6e6b5e1ec4202a))
43
+ * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#28](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/28)) ([2792bc6](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/2792bc6a6e0719be3fd9d60867e5726fdc2f23ef))
44
+ * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#29](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/29)) ([7b91874](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/7b91874b86b2026bcc61a25ed4ee78f5f52118da))
45
+ * **vscode-cloud:** fix internet access, type safety, and improve UX ([a5827d6](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/a5827d66023c8fa382a400416e04b7e634f0c1bb))
46
+ * **vscode-cloud:** passwordless login, landing page, and pre-installed AI/dev extensions ([5765f80](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/5765f806961e32fd11e9fcab9e58e78e57835c61))
47
+ * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([ad463e9](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/ad463e905c3c3c80665d4ad158fb147cb44f3358))
48
+ * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([#24](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/24)) ([3cc9246](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/3cc924655c708f881ad352df83ff9eeaf289796d))
49
+ * **vscode-cloud:** teams dashboard, WakaTime tracking, and updated landing page ([815ff09](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/815ff0930778ba2e4c42e7a5cac62eb3df6d0454))
50
50
 
51
- ### [0.9.1](https://github.com/OpenSourceAGI/appdemo-dev-tools/compare/v1.1.5...v0.9.1) (2026-05-23)
51
+ ### [0.9.1](https://github.com/OpenSourceAGI/starter-app-dev-tools/compare/v1.1.5...v0.9.1) (2026-05-23)
52
52
 
53
53
 
54
54
  ### Features
55
55
 
56
- * add initial setup for Svelte template with Cloudflare Workers ([791308a](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/791308aee06fc0a01fecde061a7f8a0372329464))
57
- * add theme toggle component and integrate WebGL shader background ([56551a3](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/56551a35ee3246d9d7530f88bbf91546e3c4e1fa))
58
- * implement risk-based tool classification, runtime security policies, and granular configuration for OpenAPI MCP generators ([91ad054](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/91ad054b893f3807a5100eba4bf1953ef467815d))
59
- * implement Sparkles decorative component and enhance home page UI aesthetics while updating git ignore rules. ([4f91b06](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/4f91b06ad0be897edf24a0dd160d02a385a1f4d7))
60
- * scaffold shadcn demo environment and expand theme collection in theme-dropdown ([b366c1d](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/b366c1d39ca46556c6f4e597265b3af6236657c7))
61
- * update system info installation and enhance theme styles ([46ead08](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/46ead086bfceeb49862c8054f4641134285d1ace))
62
- * **vscode-cloud:** add Cloudflare Workers observability config ([#30](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/30)) ([c3b17c8](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/c3b17c8265e63895d77ec8124c321e65cbaff75f))
63
- * **vscode-cloud:** add Cloudflare Workers observability config ([#31](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/31)) ([aebc1f3](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/aebc1f35fc56c0b99c9ccacb39e707bd73e5e20d))
64
- * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#27](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/27)) ([a43daf8](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/a43daf8b0081139c6854355b3a6e6b5e1ec4202a))
65
- * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#28](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/28)) ([2792bc6](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/2792bc6a6e0719be3fd9d60867e5726fdc2f23ef))
66
- * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#29](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/29)) ([7b91874](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/7b91874b86b2026bcc61a25ed4ee78f5f52118da))
67
- * **vscode-cloud:** fix internet access, type safety, and improve UX ([a5827d6](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/a5827d66023c8fa382a400416e04b7e634f0c1bb))
68
- * **vscode-cloud:** passwordless login, landing page, and pre-installed AI/dev extensions ([5765f80](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/5765f806961e32fd11e9fcab9e58e78e57835c61))
69
- * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([ad463e9](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/ad463e905c3c3c80665d4ad158fb147cb44f3358))
70
- * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([#24](https://github.com/OpenSourceAGI/appdemo-dev-tools/issues/24)) ([3cc9246](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/3cc924655c708f881ad352df83ff9eeaf289796d))
71
- * **vscode-cloud:** teams dashboard, WakaTime tracking, and updated landing page ([815ff09](https://github.com/OpenSourceAGI/appdemo-dev-tools/commit/815ff0930778ba2e4c42e7a5cac62eb3df6d0454))
56
+ * add initial setup for Svelte template with Cloudflare Workers ([791308a](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/791308aee06fc0a01fecde061a7f8a0372329464))
57
+ * add theme toggle component and integrate WebGL shader background ([56551a3](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/56551a35ee3246d9d7530f88bbf91546e3c4e1fa))
58
+ * implement risk-based tool classification, runtime security policies, and granular configuration for OpenAPI MCP generators ([91ad054](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/91ad054b893f3807a5100eba4bf1953ef467815d))
59
+ * implement Sparkles decorative component and enhance home page UI aesthetics while updating git ignore rules. ([4f91b06](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/4f91b06ad0be897edf24a0dd160d02a385a1f4d7))
60
+ * scaffold shadcn demo environment and expand theme collection in theme-dropdown ([b366c1d](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/b366c1d39ca46556c6f4e597265b3af6236657c7))
61
+ * update system info installation and enhance theme styles ([46ead08](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/46ead086bfceeb49862c8054f4641134285d1ace))
62
+ * **vscode-cloud:** add Cloudflare Workers observability config ([#30](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/30)) ([c3b17c8](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/c3b17c8265e63895d77ec8124c321e65cbaff75f))
63
+ * **vscode-cloud:** add Cloudflare Workers observability config ([#31](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/31)) ([aebc1f3](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/aebc1f35fc56c0b99c9ccacb39e707bd73e5e20d))
64
+ * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#27](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/27)) ([a43daf8](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/a43daf8b0081139c6854355b3a6e6b5e1ec4202a))
65
+ * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#28](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/28)) ([2792bc6](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/2792bc6a6e0719be3fd9d60867e5726fdc2f23ef))
66
+ * **vscode-cloud:** enhance Dockerfile with multi-language runtimes and language servers ([#29](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/29)) ([7b91874](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/7b91874b86b2026bcc61a25ed4ee78f5f52118da))
67
+ * **vscode-cloud:** fix internet access, type safety, and improve UX ([a5827d6](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/a5827d66023c8fa382a400416e04b7e634f0c1bb))
68
+ * **vscode-cloud:** passwordless login, landing page, and pre-installed AI/dev extensions ([5765f80](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/5765f806961e32fd11e9fcab9e58e78e57835c61))
69
+ * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([ad463e9](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/ad463e905c3c3c80665d4ad158fb147cb44f3358))
70
+ * **vscode-cloud:** provision KV namespace and D1 database IDs for deploy ([#24](https://github.com/OpenSourceAGI/starter-app-dev-tools/issues/24)) ([3cc9246](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/3cc924655c708f881ad352df83ff9eeaf289796d))
71
+ * **vscode-cloud:** teams dashboard, WakaTime tracking, and updated landing page ([815ff09](https://github.com/OpenSourceAGI/starter-app-dev-tools/commit/815ff0930778ba2e4c42e7a5cac62eb3df6d0454))
package/DEPLOYMENT.md CHANGED
File without changes
package/README.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # SMS Verification API Server
2
2
 
3
+ <p align="center">
4
+ <a href="https://www.npmjs.com/package/verify-phone-sms"><img src="https://img.shields.io/npm/dm/verify-phone-sms.svg" alt="NPM Monthly Downloads" /></a>
5
+ <a href="https://www.npmjs.com/package/verify-phone-sms"><img src="https://img.shields.io/npm/dt/verify-phone-sms.svg" alt="NPM Total Downloads" /></a>
6
+ <a href="https://www.npmjs.com/package/verify-phone-sms"><img src="https://img.shields.io/npm/v/verify-phone-sms.svg" alt="npm version" /></a>
7
+ <a href="https://github.com/OpenSourceAGI/dev-tools-starter-agent/blob/master/LICENSE.md"><img src="https://img.shields.io/npm/l/verify-phone-sms.svg" alt="license" /></a>
8
+ </p>
9
+
3
10
  A complete Hono-based server for SMS verification using AWS SNS. Built for Cloudflare Workers with comprehensive API documentation and security features.
4
11
 
5
12
  ## Features
@@ -34,7 +41,13 @@ A complete Hono-based server for SMS verification using AWS SNS. Built for Cloud
34
41
 
35
42
  ## Quick Start
36
43
 
37
- ### 1. Install Dependencies
44
+ ### 1. Install
45
+
46
+ ```bash
47
+ npm install verify-phone-sms # use verifyPhone() from your own backend
48
+ ```
49
+
50
+ Or clone the repo and install its dependencies to run the server itself:
38
51
 
39
52
  ```bash
40
53
  npm install
@@ -473,3 +486,9 @@ Common HTTP status codes:
473
486
  ## License
474
487
 
475
488
  MIT License - see LICENSE file for details.
489
+
490
+ ---
491
+
492
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)
493
+
494
+ Please star this repo for updates! 🌟
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/docs/app/logo.tsx CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/docs/openapi.json CHANGED
File without changes
package/docs/package.json CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/docs/worker.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/openapi.json CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verify-phone-sms",
3
- "version": "0.9.4",
3
+ "version": "0.9.52",
4
4
  "description": "SMS Phone Verification API using AWS SNS HTTP API with Hono server on Cloudflare Workers",
5
5
  "main": "src/verify-phone.ts",
6
6
  "type": "module",
@@ -28,11 +28,10 @@
28
28
  "deploy:all:production": "bun run deploy:production && bun run deploy:docs:production",
29
29
  "build": "echo 'No build step needed for Workers'",
30
30
  "build:docs": "cd docs && bun run build",
31
- "test": "vitest",
31
+ "test": "vitest run",
32
32
  "test:run": "vitest run",
33
33
  "test:ui": "vitest --ui",
34
- "lint": "eslint .",
35
- "format": "prettier --write ."
34
+ "test:ci": "vitest run --reporter=default --reporter=junit --outputFile=junit.xml"
36
35
  },
37
36
  "keywords": [
38
37
  "sms",
@@ -54,22 +53,25 @@
54
53
  "grab-api.js": "^0.9.131",
55
54
  "hono": "^4.0.0",
56
55
  "hono-rate-limiter": "^0.2.2",
57
- "libphonenumber-js": "^1.12.13"
56
+ "libphonenumber-js": "^1.12.13",
57
+ "zod": "^4.5.4"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@cloudflare/workers-types": "^4.20260507.1",
61
61
  "@types/node": "^25.6.0",
62
- "@vitest/ui": "^1.0.0",
62
+ "@vitest/coverage-v8": "^4.1.0",
63
+ "@vitest/ui": "^4.1.0",
63
64
  "eslint": "^8.55.0",
64
65
  "prettier": "^3.1.0",
65
66
  "supertest": "^6.3.3",
66
67
  "typescript": "^6.0.3",
67
- "vitest": "^1.0.0",
68
+ "vitest": "^4.1.0",
68
69
  "wrangler": "^4.24.0"
69
70
  },
70
71
  "repository": {
71
72
  "type": "git",
72
- "url": "https://github.com/OpenSourceAGI/appdemo-dev-tools/tree/master/packages/verify-phone-sms"
73
+ "url": "git+https://github.com/OpenSourceAGI/dev-tools-starter-agent.git",
74
+ "directory": "packages/verify-phone-sms"
73
75
  },
74
- "homepage": "https://github.com/OpenSourceAGI/appdemo-dev-tools/tree/master/packages/verify-phone-sms"
76
+ "homepage": "https://github.com/OpenSourceAGI/dev-tools-starter-agent/tree/master/packages/verify-phone-sms"
75
77
  }
package/scripts/deploy.sh CHANGED
File without changes
File without changes
package/src/index.ts CHANGED
File without changes
package/src/sns.ts CHANGED
File without changes
File without changes
File without changes
package/test/api.test.ts CHANGED
File without changes
File without changes
File without changes
package/test/setup.ts CHANGED
File without changes
File without changes
package/test/voip.test.ts CHANGED
File without changes
package/tsconfig.json CHANGED
File without changes
package/vitest.config.ts CHANGED
@@ -1,10 +1,37 @@
1
- import { defineConfig } from 'vitest/config';
1
+ /// <reference types="vitest/config" />
2
+ import { defineConfig } from "vitest/config";
2
3
 
4
+ // Per-package Vitest setup. Coverage is written to this package's own
5
+ // ./coverage/lcov.info so Codecov can flag it under "verify-phone-sms".
3
6
  export default defineConfig({
4
7
  test: {
5
8
  globals: true,
6
- environment: 'node',
7
- setupFiles: ['./test/setup.ts'],
9
+ environment: "node",
10
+ include: ["{test,tests,src}/**/*.{test,spec}.{js,mjs,ts,tsx}"],
11
+ exclude: ["**/node_modules/**", "**/dist/**"],
12
+ setupFiles: ["./test/setup.ts"],
8
13
  mockReset: true,
14
+ // Infrastructure is in place before every package has a suite.
15
+ passWithNoTests: true,
16
+ coverage: {
17
+ provider: "v8",
18
+ reporter: ["text", "json", "lcov"],
19
+ reportsDirectory: "./coverage",
20
+ reportOnFailure: true,
21
+ include: [
22
+ "src/**/*.ts",
23
+ ],
24
+ exclude: [
25
+ "**/node_modules/**",
26
+ "**/dist/**",
27
+ "**/build/**",
28
+ "**/coverage/**",
29
+ "**/demo/**",
30
+ "**/*.d.ts",
31
+ "**/*.config.*",
32
+ "**/*.{test,spec}.*",
33
+ "**/*.template.*",
34
+ ],
35
+ },
9
36
  },
10
- });
37
+ });
package/wrangler.toml CHANGED
File without changes