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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ site can flip `USAGE_REPORTING_ENABLED=false` and nothing is sent.
## The wire format

`POST {baseUrl}/api/metrics` with `Content-Type: application/json`,
`Authorization: Bearer <key>`, `User-Agent: trace-client-js/0.4.0 (<application>)`
`Authorization: Bearer <key>`, `User-Agent: trace-client-js/0.4.1 (<application>)`
and a body of

```json
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trace-client-js",
"version": "0.4.0",
"version": "0.4.1",
"private": true,
"description": "One-file usage-reporting client for trace, for Node and edge runtimes (vendor it, bStats-style)",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion tests/trace-client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ describe("API shape", () => {
assert.equal(await client.flush(50), undefined);
assert.equal(await client.close(50), undefined);
assert.equal(TraceClient.disabled().enabled, false);
assert.equal(TRACE_CLIENT_VERSION, "0.4.0");
assert.equal(TRACE_CLIENT_VERSION, "0.4.1");
});
});

Expand Down
4 changes: 2 additions & 2 deletions trace-client.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* trace-client 0.4.0 -- https://github.com/Stephenson-Software/trace-client-js
* trace-client 0.4.1 -- https://github.com/Stephenson-Software/trace-client-js
*
* One call to report that a program was used. Copy this file into a project
* as is; there is nothing else to add. Zero dependencies and no Node-only
Expand All @@ -13,7 +13,7 @@
* MIT licensed. Keep this header when vendoring so the file can be found again.
*/

export const TRACE_CLIENT_VERSION = "0.4.0";
export const TRACE_CLIENT_VERSION = "0.4.1";

// Everything added since 0.1.0 hangs off TraceClient (static members) rather
// than being a new top-level export, so the file's exported values stay
Expand Down
Loading