Skip to content

Commit 06e67c2

Browse files
Release 0.2.2
1 parent 8b07a91 commit 06e67c2

File tree

51 files changed

+1038
-1715
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1038
-1715
lines changed

.fern/metadata.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"cliVersion": "2.14.0",
2+
"cliVersion": "3.47.8",
33
"generatorName": "fernapi/fern-typescript-node-sdk",
4-
"generatorVersion": "3.34.2",
4+
"generatorVersion": "3.43.13",
55
"generatorConfig": {
66
"namespaceExport": "AgentMail",
77
"noSerdeLayer": false,
@@ -12,5 +12,6 @@
1212
"build": "npm run build:cjs && npm run build:esm && node -e \"const https=require('https'),fs=require('fs');const download=(f)=>new Promise((res,rej)=>https.get('https://docs.agentmail.to/'+f,r=>r.pipe(fs.createWriteStream('dist/'+f)).on('finish',res).on('error',rej)));Promise.all(['llms.txt','llms-full.txt'].map(download)).catch(e=>{console.error(e);process.exit(1)});\""
1313
}
1414
}
15-
}
15+
},
16+
"sdkVersion": "0.2.2"
1617
}

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ jobs:
88

99
steps:
1010
- name: Checkout repo
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v6
1212

1313
- name: Set up node
14-
uses: actions/setup-node@v4
14+
uses: actions/setup-node@v6
1515

1616
- name: Install pnpm
1717
uses: pnpm/action-setup@v4
1818

1919
- name: Install dependencies
20-
run: pnpm install
20+
run: pnpm install --frozen-lockfile
2121

2222
- name: Compile
2323
run: pnpm build
@@ -27,16 +27,16 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repo
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131

3232
- name: Set up node
33-
uses: actions/setup-node@v4
33+
uses: actions/setup-node@v6
3434

3535
- name: Install pnpm
3636
uses: pnpm/action-setup@v4
3737

3838
- name: Install dependencies
39-
run: pnpm install
39+
run: pnpm install --frozen-lockfile
4040

4141
- name: Test
4242
run: pnpm test
@@ -50,16 +50,16 @@ jobs:
5050
id-token: write # Required for OIDC
5151
steps:
5252
- name: Checkout repo
53-
uses: actions/checkout@v4
53+
uses: actions/checkout@v6
5454

5555
- name: Set up node
56-
uses: actions/setup-node@v4
56+
uses: actions/setup-node@v6
5757

5858
- name: Install pnpm
5959
uses: pnpm/action-setup@v4
6060

6161
- name: Install dependencies
62-
run: pnpm install
62+
run: pnpm install --frozen-lockfile
6363

6464
- name: Build
6565
run: pnpm build

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const client = new AgentMailClient({ apiKey: "YOUR_API_KEY" });
4646
await client.inboxes.create(undefined);
4747
```
4848

49-
## Request And Response Types
49+
## Request and Response Types
5050

5151
The SDK exports all request and response types as TypeScript interfaces. Simply import them with the
5252
following namespace:
@@ -109,6 +109,15 @@ const response = page.response;
109109
If you would like to send additional headers as part of the request, use the `headers` request option.
110110

111111
```typescript
112+
import { AgentMailClient } from "agentmail";
113+
114+
const client = new AgentMailClient({
115+
...
116+
headers: {
117+
'X-Custom-Header': 'custom value'
118+
}
119+
});
120+
112121
const response = await client.inboxes.create(..., {
113122
headers: {
114123
'X-Custom-Header': 'custom value'

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.1/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
33
"root": true,
44
"vcs": {
55
"enabled": false

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
22
"name": "agentmail",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"private": false,
5-
"repository": "github:agentmail-to/agentmail-node",
5+
"repository": {
6+
"type": "git",
7+
"url": "git+https://github.com/agentmail-to/agentmail-node.git"
8+
},
69
"type": "commonjs",
710
"main": "./dist/cjs/index.js",
811
"module": "./dist/esm/index.mjs",
@@ -65,7 +68,7 @@
6568
"msw": "2.11.2",
6669
"@types/node": "^18.19.70",
6770
"typescript": "~5.7.2",
68-
"@biomejs/biome": "2.3.1"
71+
"@biomejs/biome": "2.3.11"
6972
},
7073
"browser": {
7174
"fs": false,

0 commit comments

Comments
 (0)