glyphpay 0.5.0 → 1.0.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.
Files changed (3) hide show
  1. package/README.md +6 -0
  2. package/dist/cli.js +1 -1
  3. package/package.json +60 -60
package/README.md CHANGED
@@ -19,6 +19,12 @@ The CLI covers setup, diagnostics, and credential lifecycle:
19
19
  | `glyphpay deliveries` | Page/filter webhook deliveries and retry one with `--retry <id>`. |
20
20
  | `glyphpay init` | Scaffold routes for Next.js, Remix, Astro, SvelteKit, Hono, or Express. |
21
21
 
22
+ ## 1.0 compatibility
23
+
24
+ `glyphpay` 1.x follows Semantic Versioning. The documented package exports and the `/api/client/v1` and `/api/cli/v1` HTTP contracts accept additive changes only; ignore unknown response fields and event types. Breaking changes ship under a new API version with an overlap period. The full rules are in `docs/versioning-policy.md`.
25
+
26
+ The CLI supports **Node 18+**. The server connector (`glyphpay/server`) uses `fetch` and Web Crypto and targets **Node 20+**, Next.js, edge runtimes, and Cloudflare Workers. A 1.0 release is a code and contract milestone: live payments remain gated by sandbox acceptance, deployment verification, and written approval.
27
+
22
28
  ## Connect a site from the CLI
23
29
 
24
30
  ```sh
package/dist/cli.js CHANGED
@@ -20,7 +20,7 @@ import { access, chmod, mkdir, readFile, stat, writeFile } from "node:fs/promise
20
20
  import { dirname, join, relative, resolve } from "node:path";
21
21
  import { createInterface } from "node:readline/promises";
22
22
  import { pathToFileURL } from "node:url";
23
- const VERSION = "0.5.0";
23
+ const VERSION = "1.0.0";
24
24
  const DEFAULT_BASE_URL = "https://designglyph.web.app";
25
25
  const DEFAULT_ENV_FILE = ".env.local";
26
26
  const DEFAULT_TIMEOUT_SECONDS = 600;
package/package.json CHANGED
@@ -1,60 +1,60 @@
1
- {
2
- "name": "glyphpay",
3
- "version": "0.5.0",
4
- "description": "Drop-in GlyphPay checkout for websites, with a CLI for setup, diagnostics, and credential lifecycle.",
5
- "homepage": "https://glyphpay.net",
6
- "keywords": [
7
- "glyphpay",
8
- "payments",
9
- "checkout",
10
- "stripe",
11
- "react",
12
- "nextjs"
13
- ],
14
- "license": "UNLICENSED",
15
- "type": "module",
16
- "bin": {
17
- "glyphpay": "dist/cli.js"
18
- },
19
- "files": [
20
- "dist"
21
- ],
22
- "engines": {
23
- "node": ">=18"
24
- },
25
- "exports": {
26
- "./server": {
27
- "types": "./dist/server.d.ts",
28
- "default": "./dist/server.js"
29
- },
30
- "./browser": {
31
- "types": "./dist/browser.d.ts",
32
- "default": "./dist/browser.js"
33
- },
34
- "./react": {
35
- "types": "./dist/react.d.ts",
36
- "default": "./dist/react.js"
37
- }
38
- },
39
- "scripts": {
40
- "build": "tsc",
41
- "prepare": "tsc",
42
- "test": "tsc && node --test test/*.test.mjs"
43
- },
44
- "dependencies": {
45
- "@stripe/stripe-js": "^10.2.1"
46
- },
47
- "peerDependencies": {
48
- "react": ">=18"
49
- },
50
- "peerDependenciesMeta": {
51
- "react": {
52
- "optional": true
53
- }
54
- },
55
- "devDependencies": {
56
- "@types/node": "^22.20.5",
57
- "@types/react": "^19",
58
- "typescript": "^5"
59
- }
60
- }
1
+ {
2
+ "name": "glyphpay",
3
+ "version": "1.0.0",
4
+ "description": "Drop-in GlyphPay checkout for websites, with a CLI for setup, diagnostics, and credential lifecycle.",
5
+ "homepage": "https://glyphpay.net",
6
+ "keywords": [
7
+ "glyphpay",
8
+ "payments",
9
+ "checkout",
10
+ "stripe",
11
+ "react",
12
+ "nextjs"
13
+ ],
14
+ "license": "UNLICENSED",
15
+ "type": "module",
16
+ "bin": {
17
+ "glyphpay": "dist/cli.js"
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "engines": {
23
+ "node": ">=18"
24
+ },
25
+ "exports": {
26
+ "./server": {
27
+ "types": "./dist/server.d.ts",
28
+ "default": "./dist/server.js"
29
+ },
30
+ "./browser": {
31
+ "types": "./dist/browser.d.ts",
32
+ "default": "./dist/browser.js"
33
+ },
34
+ "./react": {
35
+ "types": "./dist/react.d.ts",
36
+ "default": "./dist/react.js"
37
+ }
38
+ },
39
+ "scripts": {
40
+ "build": "tsc",
41
+ "prepare": "tsc",
42
+ "test": "tsc && node --test test/*.test.mjs"
43
+ },
44
+ "dependencies": {
45
+ "@stripe/stripe-js": "^10.2.1"
46
+ },
47
+ "peerDependencies": {
48
+ "react": ">=18"
49
+ },
50
+ "peerDependenciesMeta": {
51
+ "react": {
52
+ "optional": true
53
+ }
54
+ },
55
+ "devDependencies": {
56
+ "@types/node": "^22.20.5",
57
+ "@types/react": "^19",
58
+ "typescript": "^5"
59
+ }
60
+ }