Skip to content

Commit

Permalink
Prepare v4 alpha-1 release (#184)
Browse files Browse the repository at this point in the history
* 4.0.0-alpha.1
* Add test for matching versions
* Make version and baseUrl readonly
* Update deps
* Update volta pinned node version
  • Loading branch information
sirreal authored Aug 25, 2023
1 parent 304121b commit 7845924
Show file tree
Hide file tree
Showing 5 changed files with 618 additions and 729 deletions.
4 changes: 3 additions & 1 deletion lib/tumblr.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { URL } = require('node:url');
const oauth = require('oauth');
const { ReadStream } = require('node:fs');

const CLIENT_VERSION = '4.0.0-alpha.0';
const CLIENT_VERSION = '4.0.0-alpha.1';
const API_BASE_URL = 'https://api.tumblr.com'; // deliberately no trailing slash

class TumblrClient {
Expand Down Expand Up @@ -44,6 +44,7 @@ class TumblrClient {
/**
* Package version
* @type {typeof CLIENT_VERSION}
* @readonly
*/
this.version = CLIENT_VERSION;

Expand Down Expand Up @@ -74,6 +75,7 @@ class TumblrClient {
/**
* Base URL to API requests
* @type {string}
* @readonly
*/
this.baseUrl = url.toString();
} catch (err) {
Expand Down
Loading

0 comments on commit 7845924

Please sign in to comment.