attestid_js_sdk 0.1.9 → 0.1.10

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 +1 -1
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -166,7 +166,7 @@ npm login
166
166
 
167
167
  1. Make your changes and commit them.
168
168
  2. Run `npm version patch` to bump the version.
169
- 3. Run `git push --follow-tags`, then `npm publish`.
169
+ 3. Run `git push --follow-tags`, then `npm run release`.
170
170
 
171
171
  ## License
172
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attestid_js_sdk",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Official JavaScript/TypeScript SDK for the AttestID KYC API",
5
5
  "author": "BrimSage",
6
6
  "license": "MIT",
@@ -36,7 +36,8 @@
36
36
  "lint": "tsc --noEmit",
37
37
  "prepublishOnly": "npm run lint && npm run test && npm run build",
38
38
  "prepack": "node scripts/publish-manifest.mjs strip",
39
- "postpack": "node scripts/publish-manifest.mjs restore"
39
+ "postpack": "node scripts/publish-manifest.mjs restore",
40
+ "release": "npm run lint && npm test && npm run build && npm pack && npm publish ./attestid_js_sdk-$npm_package_version.tgz; rm -f ./attestid_js_sdk-$npm_package_version.tgz"
40
41
  },
41
42
  "peerDependencies": {
42
43
  "react": ">=18.0.0",