@turnkey/http
Advanced tools
Comparing version 2.6.1 to 2.6.2
@@ -10,2 +10,3 @@ 'use strict'; | ||
var async = require('./async.js'); | ||
var version = require('./version.js'); | ||
@@ -27,3 +28,4 @@ /** | ||
exports.withAsyncPolling = async.withAsyncPolling; | ||
exports.VERSION = version.VERSION; | ||
exports.PublicApiService = PublicApiService; | ||
//# sourceMappingURL=index.js.map |
# @turnkey/http | ||
## 2.6.2 | ||
### Patch Changes | ||
- b45a9ac: Include package version in request headers | ||
- f9d636c: Export VERSION from turnkey/http | ||
## 2.6.1 | ||
@@ -4,0 +11,0 @@ |
'use strict'; | ||
var base = require('../../../../../base.js'); | ||
var version = require('../../../../../version.js'); | ||
var universal = require('../../../../../universal.js'); | ||
@@ -1323,2 +1324,3 @@ | ||
[stamp.stampHeaderName]: stamp.stampHeaderValue, | ||
"X-Client-Version": version.VERSION, | ||
}, | ||
@@ -1325,0 +1327,0 @@ body: stringifiedBody, |
@@ -17,2 +17,3 @@ import { PublicApiService as TurnkeyApi } from "./__generated__/barrel"; | ||
export { sealAndStampRequestBody } from "./base"; | ||
export { VERSION } from "./version"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -10,2 +10,3 @@ 'use strict'; | ||
var async = require('./async.js'); | ||
var version = require('./version.js'); | ||
@@ -27,3 +28,4 @@ /** | ||
exports.withAsyncPolling = async.withAsyncPolling; | ||
exports.VERSION = version.VERSION; | ||
exports.PublicApiService = PublicApiService; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@turnkey/http", | ||
"version": "2.6.1", | ||
"version": "2.6.2", | ||
"main": "./dist/index.js", | ||
@@ -49,2 +49,3 @@ "module": "./dist/index.mjs", | ||
"scripts": { | ||
"version": "node -p \"'export const VERSION = ' + JSON.stringify(require('./package.json').name + '@' + require('./package.json').version) + ';'\" > src/version.ts", | ||
"build": "rollup -c", | ||
@@ -51,0 +52,0 @@ "clean": "rimraf ./dist ./.cache", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2035352
109
41595