Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/version-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
Expand Down Expand Up @@ -199,12 +199,16 @@ jobs:
exit 1
fi
echo "✓ NPMJS_TOKEN secret is present"
echo "Node: $(node -v) | npm: $(npm -v)"
echo "Registry: $(npm config get registry)"
cat ~/.npmrc 2>/dev/null | sed 's/_authToken=.*/_authToken=***/' || true
NPM_USER=$(npm whoami 2>&1) || {
echo "::error::npm authentication failed. The NPMJS_TOKEN may be expired or invalid."
echo "npm whoami output: $NPM_USER"
exit 1
}
echo "✓ Authenticated as: $NPM_USER"
npm org ls aossie-org "$NPM_USER" 2>&1 || echo "⚠ Could not verify org membership"

- name: Publish to npm
run: npm publish --provenance --access public
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
1.0.2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aossie-org/thrubox-client",
"version": "1.0.1",
"version": "1.0.2",
"description": "TypeScript SDK for ThruBox Server — a simple, self-hostable encrypted message relay",
"type": "module",
"main": "./dist/index.cjs",
Expand Down