tether-name 1.0.0 → 1.0.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.
- package/README.md +28 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Requires Node.js 18+ (uses native `fetch` and `crypto` modules).
|
|
|
16
16
|
import { TetherClient } from 'tether-name';
|
|
17
17
|
|
|
18
18
|
const client = new TetherClient({
|
|
19
|
-
credentialId: '
|
|
19
|
+
credentialId: 'your-credential-id',
|
|
20
20
|
privateKeyPath: '/path/to/your/private-key.der'
|
|
21
21
|
});
|
|
22
22
|
|
|
@@ -35,7 +35,7 @@ For more control over the verification process:
|
|
|
35
35
|
import { TetherClient } from 'tether-name';
|
|
36
36
|
|
|
37
37
|
const client = new TetherClient({
|
|
38
|
-
credentialId: '
|
|
38
|
+
credentialId: 'your-credential-id',
|
|
39
39
|
privateKeyPem: `-----BEGIN RSA PRIVATE KEY-----
|
|
40
40
|
MIIEpAIBAAKCAQEA...
|
|
41
41
|
-----END RSA PRIVATE KEY-----`
|
|
@@ -198,6 +198,30 @@ openssl rsa -in private-key.pem -outform DER -out private-key.der
|
|
|
198
198
|
- The SDK uses SHA256withRSA signatures with URL-safe base64 encoding
|
|
199
199
|
- All verification happens server-side at tether.name
|
|
200
200
|
|
|
201
|
+
## Publishing
|
|
202
|
+
|
|
203
|
+
Published to npm automatically via GitHub Actions when a release is created.
|
|
204
|
+
|
|
205
|
+
### Version checklist
|
|
206
|
+
|
|
207
|
+
Update the version in:
|
|
208
|
+
|
|
209
|
+
1. `package.json` → `"version"`
|
|
210
|
+
|
|
211
|
+
### Steps
|
|
212
|
+
|
|
213
|
+
1. Update version numbers above
|
|
214
|
+
2. Commit and push to `main`
|
|
215
|
+
3. Create a GitHub release with a matching tag (e.g. `v1.0.0`)
|
|
216
|
+
4. CI builds and publishes to npm automatically
|
|
217
|
+
|
|
218
|
+
### Manual publish (if needed)
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
npm run build
|
|
222
|
+
npm publish --access public
|
|
223
|
+
```
|
|
224
|
+
|
|
201
225
|
## License
|
|
202
226
|
|
|
203
227
|
MIT License - see [LICENSE](LICENSE) file for details.
|
|
@@ -205,6 +229,6 @@ MIT License - see [LICENSE](LICENSE) file for details.
|
|
|
205
229
|
## Links
|
|
206
230
|
|
|
207
231
|
- 🌐 [Tether Website](https://tether.name)
|
|
208
|
-
- 📘 [Documentation](https://tether.name
|
|
209
|
-
- 🐛 [Issues](https://github.com/
|
|
232
|
+
- 📘 [Documentation](https://docs.tether.name)
|
|
233
|
+
- 🐛 [Issues](https://github.com/tether-name/tether-name-node/issues)
|
|
210
234
|
- 📦 [npm Package](https://www.npmjs.com/package/tether-name)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tether-name",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Official Node.js SDK for tether.name - AI agent identity verification",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"url": "https://github.com/tether-name/tether-name-node/issues"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
43
|
+
"node": ">=20.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "^20.0.0",
|
|
47
47
|
"tsup": "^8.0.0",
|
|
48
48
|
"typescript": "^5.0.0",
|
|
49
|
-
"vitest": "^
|
|
49
|
+
"vitest": "^4.0.18"
|
|
50
50
|
}
|
|
51
|
-
}
|
|
51
|
+
}
|