Skip to content

Commit 3abea26

Browse files
authored
Merge pull request #5 from TeamWarp/release-please--branches--main--changes--next--components--warp-hr
release: 0.4.0
2 parents 6e464ca + ad1320e commit 3abea26

File tree

9 files changed

+26
-13
lines changed

9 files changed

+26
-13
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.3.0"
2+
".": "0.4.0"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 7
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-rankincodes%2Fwarp-hr-6296f9b186eaefb8024bb8ed36bf6fcee617d961d6573edf459b16f8d2aa817d.yml
33
openapi_spec_hash: cf0ee8d21b63aa9f1f58dfbc2e47d5fc
4-
config_hash: 44ef6a781020403d8a5806cab899873a
4+
config_hash: 367d32641c74325e24480a4c423e97a1

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.4.0 (2025-12-26)
4+
5+
Full Changelog: [v0.3.0...v0.4.0](https://github.com/TeamWarp/warp-sdk-typescript/compare/v0.3.0...v0.4.0)
6+
7+
### Features
8+
9+
* **api:** api update ([ea9020e](https://github.com/TeamWarp/warp-sdk-typescript/commit/ea9020ede4440daf459c8e7f3073b483201dce96))
10+
* **api:** manual updates ([775b5f0](https://github.com/TeamWarp/warp-sdk-typescript/commit/775b5f0cc7545ce3770e201bd9c1f45e53123ff4))
11+
312
## 0.3.0 (2025-12-26)
413

514
Full Changelog: [v0.2.0...v0.3.0](https://github.com/TeamWarp/warp-sdk-typescript/compare/v0.2.0...v0.3.0)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The full API of this library can be found in [api.md](api.md).
2323
import WarpHr from 'warp-hr';
2424

2525
const client = new WarpHr({
26-
apiKey: process.env['WARP_HR_API_KEY'], // This is the default and can be omitted
26+
apiKey: process.env['WARP_API_KEY'], // This is the default and can be omitted
2727
});
2828

2929
const page = await client.timeOff.policies.list();
@@ -41,7 +41,7 @@ This library includes TypeScript definitions for all request params and response
4141
import WarpHr from 'warp-hr';
4242

4343
const client = new WarpHr({
44-
apiKey: process.env['WARP_HR_API_KEY'], // This is the default and can be omitted
44+
apiKey: process.env['WARP_API_KEY'], // This is the default and can be omitted
4545
});
4646

4747
const [policyListResponse]: [WarpHr.TimeOff.PolicyListResponse] = await client.timeOff.policies.list();

SECURITY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ before making any information public.
1818
If you encounter security issues that are not directly related to SDKs but pertain to the services
1919
or products provided by Warp Hr, please follow the respective company's security reporting guidelines.
2020

21+
### Warp Hr Terms and Policies
22+
23+
Please contact adam@joinwarp.com for any questions or concerns regarding the security of our services.
24+
2125
---
2226

2327
Thank you for helping us keep the SDKs and systems they interact with secure.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "warp-hr",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "The official TypeScript library for the Warp Hr API",
5-
"author": "Warp Hr <>",
5+
"author": "Warp Hr <adam@joinwarp.com>",
66
"types": "dist/index.d.ts",
77
"main": "dist/index.js",
88
"type": "commonjs",

src/client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import { isEmptyObj } from './internal/utils/values';
5353

5454
export interface ClientOptions {
5555
/**
56-
* Defaults to process.env['WARP_HR_API_KEY'].
56+
* Defaults to process.env['WARP_API_KEY'].
5757
*/
5858
apiKey?: string | undefined;
5959

@@ -147,7 +147,7 @@ export class WarpHr {
147147
/**
148148
* API Client for interfacing with the Warp Hr API.
149149
*
150-
* @param {string | undefined} [opts.apiKey=process.env['WARP_HR_API_KEY'] ?? undefined]
150+
* @param {string | undefined} [opts.apiKey=process.env['WARP_API_KEY'] ?? undefined]
151151
* @param {string} [opts.baseURL=process.env['WARP_HR_BASE_URL'] ?? https://api.joinwarp.com] - Override the default base URL for the API.
152152
* @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
153153
* @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
@@ -158,12 +158,12 @@ export class WarpHr {
158158
*/
159159
constructor({
160160
baseURL = readEnv('WARP_HR_BASE_URL'),
161-
apiKey = readEnv('WARP_HR_API_KEY'),
161+
apiKey = readEnv('WARP_API_KEY'),
162162
...opts
163163
}: ClientOptions = {}) {
164164
if (apiKey === undefined) {
165165
throw new Errors.WarpHrError(
166-
"The WARP_HR_API_KEY environment variable is missing or empty; either provide it, or instantiate the WarpHr client with an apiKey option, like new WarpHr({ apiKey: 'My API Key' }).",
166+
"The WARP_API_KEY environment variable is missing or empty; either provide it, or instantiate the WarpHr client with an apiKey option, like new WarpHr({ apiKey: 'My API Key' }).",
167167
);
168168
}
169169

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.3.0'; // x-release-please-version
1+
export const VERSION = '0.4.0'; // x-release-please-version

tests/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,14 +413,14 @@ describe('instantiate client', () => {
413413

414414
test('with environment variable arguments', () => {
415415
// set options via env var
416-
process.env['WARP_HR_API_KEY'] = 'My API Key';
416+
process.env['WARP_API_KEY'] = 'My API Key';
417417
const client = new WarpHr();
418418
expect(client.apiKey).toBe('My API Key');
419419
});
420420

421421
test('with overridden environment variable arguments', () => {
422422
// set options via env var
423-
process.env['WARP_HR_API_KEY'] = 'another My API Key';
423+
process.env['WARP_API_KEY'] = 'another My API Key';
424424
const client = new WarpHr({ apiKey: 'My API Key' });
425425
expect(client.apiKey).toBe('My API Key');
426426
});

0 commit comments

Comments
 (0)