ryuu-client
Advanced tools
Comparing version 4.4.1 to 4.4.2
@@ -61,2 +61,3 @@ "use strict"; | ||
var HttpsProxyAgent = require("https-proxy-agent"); | ||
var mime = require("mime"); | ||
var models_1 = require("./models"); | ||
@@ -268,3 +269,5 @@ var qs_1 = __importDefault(require("qs")); | ||
headers: extension in models_1.CONTENT_TYPE_MAP | ||
? { 'Content-Type': models_1.CONTENT_TYPE_MAP[extension] } | ||
? { | ||
'Content-Type': mime.getType(extension) || 'application/octet-stream', | ||
} | ||
: {}, | ||
@@ -271,0 +274,0 @@ maxBodyLength: Infinity, |
@@ -24,3 +24,3 @@ import { DomoCard } from './card'; | ||
deletedDate?: Date; | ||
oauthEnabled: Boolean; | ||
oauthEnabled?: Boolean; | ||
trusted: Boolean; | ||
@@ -27,0 +27,0 @@ hasThumbnail?: Boolean; |
{ | ||
"name": "ryuu-client", | ||
"version": "4.4.1", | ||
"version": "4.4.2", | ||
"description": "Node client for ryuu services", | ||
@@ -18,3 +18,3 @@ "author": "Domo", | ||
"build": "tsc", | ||
"releaseAlpha": "npm run bumpalpha && npm publish --tag alpha", | ||
"releaseAlpha": "npm run bumpAlpha && npm publish --tag alpha", | ||
"releaseBeta": "npm run bumpBeta && npm publish --tag beta", | ||
@@ -24,3 +24,3 @@ "release": "npm run bump && npm publish", | ||
"bumpBeta": "npm run build && npm run bump -- --prerelease beta", | ||
"bump": "standard-version" | ||
"bump": "npm run build && standard-version" | ||
}, | ||
@@ -33,2 +33,3 @@ "dependencies": { | ||
"https-proxy-agent": "^5.0.1", | ||
"mime": "^3.0.0", | ||
"open": "^8.4.0", | ||
@@ -40,4 +41,6 @@ "qs": "^6.11.0" | ||
"@types/glob": "^7.1.4", | ||
"@types/mime": "^3.0.4", | ||
"@types/node": "^14.14.35", | ||
"@types/qs": "^6.9.7", | ||
"commit-and-tag-version": "^12.4.1", | ||
"prettier": "^2.8.1", | ||
@@ -44,0 +47,0 @@ "standard-version": "^9.5.0", |
@@ -24,3 +24,3 @@ # Ryuu Client | ||
Recommended Workflow: | ||
### Recommended Workflow: | ||
@@ -30,13 +30,10 @@ 1. Create new branch (named "DOMO-XXXXXX") | ||
3. Commit Changes | ||
4. Test changes (if necessary, version a alpha/beta/tagged version, then release it) | ||
4. Test changes (if necessary, release an alpha/beta/tagged version) | ||
5. Make pull request | ||
6. After pull request is merged to master, bump version, then release it to npm | ||
6. After pull request is merged to master, release a full version via `npm run release` | ||
## Versioning | ||
This project utilizes [standard-version](https://github.com/conventional-changelog/standard-version). | ||
This project utilizes [standard-version](https://github.com/conventional-changelog/standard-version). Versions should be bumped via the `npm run release` commands. | ||
- `npm run bump` - Version bumps determined automatically via commits | ||
- `npm run bumpBeta` or `npm run bump -- --prerelease beta` - 4.0.x-beta.0 (if no current beta) or 4.0.0-beta.x (if current beta exists) | ||
### Releasing | ||
@@ -43,0 +40,0 @@ |
Sorry, the diff of this file is not supported yet
89204
1590
8
9
44
+ Addedmime@^3.0.0
+ Addedmime@3.0.0(transitive)