Skip to content

Commit be8d462

Browse files
release: 6.0.0-beta.0 (#419)
* chore(internal): version bump (#418) * release: 6.0.0-beta.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 2856441 commit be8d462

File tree

6 files changed

+19
-9
lines changed

6 files changed

+19
-9
lines changed

.github/workflows/release-doctor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Release Doctor
22
on:
33
pull_request:
4+
branches:
5+
- v3
46
workflow_dispatch:
57

68
jobs:

.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.1.0"
2+
".": "6.0.0-beta.0"
33
}

CHANGELOG.md

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

3+
## 6.0.0-beta.0 (2024-07-19)
4+
5+
Full Changelog: [v0.1.0...v6.0.0-beta.0](https://github.com/intercom/intercom-node/compare/v0.1.0...v6.0.0-beta.0)
6+
7+
### Chores
8+
9+
* **internal:** version bump ([#418](https://github.com/intercom/intercom-node/issues/418)) ([2af6a94](https://github.com/intercom/intercom-node/commit/2af6a94721dd1d1ef36609608c36666ea9a56407))
10+
311
## 0.1.0 (2024-07-17)
412

513
Full Changelog: [v0.0.1...v0.1.0](https://github.com/intercom/intercom-node/compare/v0.0.1...v0.1.0)

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The full API of this library can be found in [api.md](api.md).
2222
```js
2323
import Intercom from 'intercom-client';
2424

25-
const intercom = new Intercom({
25+
const client = new Intercom({
2626
accessToken: process.env['INTERCOM_ACCESS_TOKEN'], // This is the default and can be omitted
2727
environment: 'eu', // or 'us' | 'au'; defaults to 'us'
2828
});
@@ -44,7 +44,7 @@ This library includes TypeScript definitions for all request params and response
4444
```ts
4545
import Intercom from 'intercom-client';
4646

47-
const intercom = new Intercom({
47+
const client = new Intercom({
4848
accessToken: process.env['INTERCOM_ACCESS_TOKEN'], // This is the default and can be omitted
4949
environment: 'eu', // or 'us' | 'au'; defaults to 'us'
5050
});
@@ -105,7 +105,7 @@ You can use the `maxRetries` option to configure or disable this:
105105
<!-- prettier-ignore -->
106106
```js
107107
// Configure the default for all requests:
108-
const intercom = new Intercom({
108+
const client = new Intercom({
109109
maxRetries: 0, // default is 2
110110
});
111111

@@ -122,7 +122,7 @@ Requests time out after 1 minute by default. You can configure this with a `time
122122
<!-- prettier-ignore -->
123123
```ts
124124
// Configure the default for all requests:
125-
const intercom = new Intercom({
125+
const client = new Intercom({
126126
timeout: 20 * 1000, // 20 seconds (default is 1 minute)
127127
});
128128

@@ -146,7 +146,7 @@ You can also use the `.withResponse()` method to get the raw `Response` along wi
146146

147147
<!-- prettier-ignore -->
148148
```ts
149-
const intercom = new Intercom();
149+
const client = new Intercom();
150150

151151
const response = await intercom.me.retrieve().asResponse();
152152
console.log(response.headers.get('X-My-Header'));
@@ -253,7 +253,7 @@ import http from 'http';
253253
import { HttpsProxyAgent } from 'https-proxy-agent';
254254

255255
// Configure the default for all requests:
256-
const intercom = new Intercom({
256+
const client = new Intercom({
257257
httpAgent: new HttpsProxyAgent(process.env.PROXY_URL),
258258
});
259259

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "intercom-client",
3-
"version": "0.1.0",
3+
"version": "6.0.0-beta.0",
44
"description": "The official TypeScript library for the Intercom API",
55
"author": "Intercom <[email protected]>",
66
"types": "dist/index.d.ts",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.1.0'; // x-release-please-version
1+
export const VERSION = '6.0.0-beta.0'; // x-release-please-version

0 commit comments

Comments
 (0)