@paystack/inline-js 2.24.0-dev.3 → 2.25.0-dev.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.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -31,6 +31,19 @@ This project has packages that need to compile native code: `core-js, fsevents,
31
31
 
32
32
  These are explicitly rebuilt after install to ensure compatibility while maintaining security controls.
33
33
 
34
+ ## Deployment
35
+
36
+ Three deployed channels: staging (`js-studio.paystack.co/v2`), release candidate
37
+ (`js-studio.paystack.co/v2-rc`), and production (`js.paystack.co/v2`, plus the npm package).
38
+ Staging publishes on every push to `dev` and production on every push to `master`; the release
39
+ candidate is dispatched by hand.
40
+
41
+ The release-candidate channel serves a **production-configured** build so a change can be tested on
42
+ a real device before `master` reaches every script-tag merchant at once. It is internal-only, holds
43
+ one build at a time, and has to be retired after use. Read
44
+ [Release channels](./DEV_DOCS.md#release-channels) in `DEV_DOCS.md` before dispatching it — the
45
+ caching and teardown caveats there will otherwise cost you a bad test result.
46
+
34
47
  ## References
35
48
  - [OWASP Top 10 CI/CD Security Risks](https://owasp.org/www-project-top-10-ci-cd-security-risks/)
36
49
  - [pnpm Security Documentation](https://pnpm.io/npmrc#minimum-release-age)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/inline-js",
3
- "version": "2.24.0-dev.3",
3
+ "version": "2.25.0-dev.1",
4
4
  "description": "Client-side library to load the Paystack checkout form",
5
5
  "packageManager": "pnpm@10.33.4+sha512.1c67b3b359b2d408119ba1ed289f34b8fc3c6873412bec6fd264fbdc82489e510fcbecb9ce9d22dae7f3b76269d8441046014bdca53b9979cd7a561ad631b800",
6
6
  "main": "lib/inline.js",
@@ -65,6 +65,7 @@
65
65
  "build:staging": "cross-env NODE_ENV=staging rollup --config rollup.config.js",
66
66
  "build:prod": "cross-env NODE_ENV=production rollup --config rollup.config.js",
67
67
  "build": "pnpm run build:prod",
68
+ "build:rc-retire": "node .github/scripts/retire-rc.js",
68
69
  "test": "jest",
69
70
  "prepare": "husky install",
70
71
  "lint": "npx eslint src"