Skip to content

Commit

Permalink
release: 6.0.0-beta.0 (#419)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
stainless-app[bot] authored Jul 19, 2024
1 parent 2856441 commit be8d462
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Release Doctor
on:
pull_request:
branches:
- v3
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0"
".": "6.0.0-beta.0"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 6.0.0-beta.0 (2024-07-19)

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)

### Chores

* **internal:** version bump ([#418](https://github.com/intercom/intercom-node/issues/418)) ([2af6a94](https://github.com/intercom/intercom-node/commit/2af6a94721dd1d1ef36609608c36666ea9a56407))

## 0.1.0 (2024-07-17)

Full Changelog: [v0.0.1...v0.1.0](https://github.com/intercom/intercom-node/compare/v0.0.1...v0.1.0)
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The full API of this library can be found in [api.md](api.md).
```js
import Intercom from 'intercom-client';

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

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

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

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

<!-- prettier-ignore -->
```ts
const intercom = new Intercom();
const client = new Intercom();

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

// Configure the default for all requests:
const intercom = new Intercom({
const client = new Intercom({
httpAgent: new HttpsProxyAgent(process.env.PROXY_URL),
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intercom-client",
"version": "0.1.0",
"version": "6.0.0-beta.0",
"description": "The official TypeScript library for the Intercom API",
"author": "Intercom <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.1.0'; // x-release-please-version
export const VERSION = '6.0.0-beta.0'; // x-release-please-version

0 comments on commit be8d462

Please sign in to comment.