Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 8e4097b

Browse files
committed
Release 0.1.2
1 parent 1add299 commit 8e4097b

File tree

30 files changed

+321
-211
lines changed

30 files changed

+321
-211
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,11 @@ jobs:
4545
run: yarn install
4646

4747
- name: Build
48-
run: yarn build
48+
run: yarn build
49+
50+
- name: Publish to npm
51+
run: |
52+
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
53+
npm publish --access public
54+
env:
55+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "",
3-
"version": "0.1.1",
2+
"name": "@hookdeck/sdk",
3+
"version": "0.1.2",
44
"private": false,
5-
"repository": "https://github.com/hookdeck/hookdeck-node-sdk",
5+
"repository": "https://github.com/hookdeck/hookdeck-typescript-sdk",
66
"main": "./index.js",
77
"types": "./index.d.ts",
88
"scripts": {

src/api/resources/attempt/client/Client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ export class Attempt {
7272
headers: {
7373
Authorization: await this._getAuthorizationHeader(),
7474
"X-Fern-Language": "JavaScript",
75-
"X-Fern-SDK-Name": "",
76-
"X-Fern-SDK-Version": "0.1.1",
75+
"X-Fern-SDK-Name": "@hookdeck/sdk",
76+
"X-Fern-SDK-Version": "0.1.2",
7777
"X-Fern-Runtime": core.RUNTIME.type,
7878
"X-Fern-Runtime-Version": core.RUNTIME.version,
7979
},
@@ -157,8 +157,8 @@ export class Attempt {
157157
headers: {
158158
Authorization: await this._getAuthorizationHeader(),
159159
"X-Fern-Language": "JavaScript",
160-
"X-Fern-SDK-Name": "",
161-
"X-Fern-SDK-Version": "0.1.1",
160+
"X-Fern-SDK-Name": "@hookdeck/sdk",
161+
"X-Fern-SDK-Version": "0.1.2",
162162
"X-Fern-Runtime": core.RUNTIME.type,
163163
"X-Fern-Runtime-Version": core.RUNTIME.version,
164164
},

src/api/resources/bookmark/client/Client.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ export class Bookmark {
9292
headers: {
9393
Authorization: await this._getAuthorizationHeader(),
9494
"X-Fern-Language": "JavaScript",
95-
"X-Fern-SDK-Name": "",
96-
"X-Fern-SDK-Version": "0.1.1",
95+
"X-Fern-SDK-Name": "@hookdeck/sdk",
96+
"X-Fern-SDK-Version": "0.1.2",
9797
"X-Fern-Runtime": core.RUNTIME.type,
9898
"X-Fern-Runtime-Version": core.RUNTIME.version,
9999
},
@@ -182,8 +182,8 @@ export class Bookmark {
182182
headers: {
183183
Authorization: await this._getAuthorizationHeader(),
184184
"X-Fern-Language": "JavaScript",
185-
"X-Fern-SDK-Name": "",
186-
"X-Fern-SDK-Version": "0.1.1",
185+
"X-Fern-SDK-Name": "@hookdeck/sdk",
186+
"X-Fern-SDK-Version": "0.1.2",
187187
"X-Fern-Runtime": core.RUNTIME.type,
188188
"X-Fern-Runtime-Version": core.RUNTIME.version,
189189
},
@@ -264,8 +264,8 @@ export class Bookmark {
264264
headers: {
265265
Authorization: await this._getAuthorizationHeader(),
266266
"X-Fern-Language": "JavaScript",
267-
"X-Fern-SDK-Name": "",
268-
"X-Fern-SDK-Version": "0.1.1",
267+
"X-Fern-SDK-Name": "@hookdeck/sdk",
268+
"X-Fern-SDK-Version": "0.1.2",
269269
"X-Fern-Runtime": core.RUNTIME.type,
270270
"X-Fern-Runtime-Version": core.RUNTIME.version,
271271
},
@@ -341,8 +341,8 @@ export class Bookmark {
341341
headers: {
342342
Authorization: await this._getAuthorizationHeader(),
343343
"X-Fern-Language": "JavaScript",
344-
"X-Fern-SDK-Name": "",
345-
"X-Fern-SDK-Version": "0.1.1",
344+
"X-Fern-SDK-Name": "@hookdeck/sdk",
345+
"X-Fern-SDK-Version": "0.1.2",
346346
"X-Fern-Runtime": core.RUNTIME.type,
347347
"X-Fern-Runtime-Version": core.RUNTIME.version,
348348
},
@@ -436,8 +436,8 @@ export class Bookmark {
436436
headers: {
437437
Authorization: await this._getAuthorizationHeader(),
438438
"X-Fern-Language": "JavaScript",
439-
"X-Fern-SDK-Name": "",
440-
"X-Fern-SDK-Version": "0.1.1",
439+
"X-Fern-SDK-Name": "@hookdeck/sdk",
440+
"X-Fern-SDK-Version": "0.1.2",
441441
"X-Fern-Runtime": core.RUNTIME.type,
442442
"X-Fern-Runtime-Version": core.RUNTIME.version,
443443
},
@@ -507,8 +507,8 @@ export class Bookmark {
507507
headers: {
508508
Authorization: await this._getAuthorizationHeader(),
509509
"X-Fern-Language": "JavaScript",
510-
"X-Fern-SDK-Name": "",
511-
"X-Fern-SDK-Version": "0.1.1",
510+
"X-Fern-SDK-Name": "@hookdeck/sdk",
511+
"X-Fern-SDK-Version": "0.1.2",
512512
"X-Fern-Runtime": core.RUNTIME.type,
513513
"X-Fern-Runtime-Version": core.RUNTIME.version,
514514
},
@@ -584,8 +584,8 @@ export class Bookmark {
584584
headers: {
585585
Authorization: await this._getAuthorizationHeader(),
586586
"X-Fern-Language": "JavaScript",
587-
"X-Fern-SDK-Name": "",
588-
"X-Fern-SDK-Version": "0.1.1",
587+
"X-Fern-SDK-Name": "@hookdeck/sdk",
588+
"X-Fern-SDK-Version": "0.1.2",
589589
"X-Fern-Runtime": core.RUNTIME.type,
590590
"X-Fern-Runtime-Version": core.RUNTIME.version,
591591
},

src/api/resources/connection/client/Client.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ export class Connection {
114114
headers: {
115115
Authorization: await this._getAuthorizationHeader(),
116116
"X-Fern-Language": "JavaScript",
117-
"X-Fern-SDK-Name": "",
118-
"X-Fern-SDK-Version": "0.1.1",
117+
"X-Fern-SDK-Name": "@hookdeck/sdk",
118+
"X-Fern-SDK-Version": "0.1.2",
119119
"X-Fern-Runtime": core.RUNTIME.type,
120120
"X-Fern-Runtime-Version": core.RUNTIME.version,
121121
},
@@ -200,8 +200,8 @@ export class Connection {
200200
headers: {
201201
Authorization: await this._getAuthorizationHeader(),
202202
"X-Fern-Language": "JavaScript",
203-
"X-Fern-SDK-Name": "",
204-
"X-Fern-SDK-Version": "0.1.1",
203+
"X-Fern-SDK-Name": "@hookdeck/sdk",
204+
"X-Fern-SDK-Version": "0.1.2",
205205
"X-Fern-Runtime": core.RUNTIME.type,
206206
"X-Fern-Runtime-Version": core.RUNTIME.version,
207207
},
@@ -286,8 +286,8 @@ export class Connection {
286286
headers: {
287287
Authorization: await this._getAuthorizationHeader(),
288288
"X-Fern-Language": "JavaScript",
289-
"X-Fern-SDK-Name": "",
290-
"X-Fern-SDK-Version": "0.1.1",
289+
"X-Fern-SDK-Name": "@hookdeck/sdk",
290+
"X-Fern-SDK-Version": "0.1.2",
291291
"X-Fern-Runtime": core.RUNTIME.type,
292292
"X-Fern-Runtime-Version": core.RUNTIME.version,
293293
},
@@ -394,8 +394,8 @@ export class Connection {
394394
headers: {
395395
Authorization: await this._getAuthorizationHeader(),
396396
"X-Fern-Language": "JavaScript",
397-
"X-Fern-SDK-Name": "",
398-
"X-Fern-SDK-Version": "0.1.1",
397+
"X-Fern-SDK-Name": "@hookdeck/sdk",
398+
"X-Fern-SDK-Version": "0.1.2",
399399
"X-Fern-Runtime": core.RUNTIME.type,
400400
"X-Fern-Runtime-Version": core.RUNTIME.version,
401401
},
@@ -476,8 +476,8 @@ export class Connection {
476476
headers: {
477477
Authorization: await this._getAuthorizationHeader(),
478478
"X-Fern-Language": "JavaScript",
479-
"X-Fern-SDK-Name": "",
480-
"X-Fern-SDK-Version": "0.1.1",
479+
"X-Fern-SDK-Name": "@hookdeck/sdk",
480+
"X-Fern-SDK-Version": "0.1.2",
481481
"X-Fern-Runtime": core.RUNTIME.type,
482482
"X-Fern-Runtime-Version": core.RUNTIME.version,
483483
},
@@ -553,8 +553,8 @@ export class Connection {
553553
headers: {
554554
Authorization: await this._getAuthorizationHeader(),
555555
"X-Fern-Language": "JavaScript",
556-
"X-Fern-SDK-Name": "",
557-
"X-Fern-SDK-Version": "0.1.1",
556+
"X-Fern-SDK-Name": "@hookdeck/sdk",
557+
"X-Fern-SDK-Version": "0.1.2",
558558
"X-Fern-Runtime": core.RUNTIME.type,
559559
"X-Fern-Runtime-Version": core.RUNTIME.version,
560560
},
@@ -648,8 +648,8 @@ export class Connection {
648648
headers: {
649649
Authorization: await this._getAuthorizationHeader(),
650650
"X-Fern-Language": "JavaScript",
651-
"X-Fern-SDK-Name": "",
652-
"X-Fern-SDK-Version": "0.1.1",
651+
"X-Fern-SDK-Name": "@hookdeck/sdk",
652+
"X-Fern-SDK-Version": "0.1.2",
653653
"X-Fern-Runtime": core.RUNTIME.type,
654654
"X-Fern-Runtime-Version": core.RUNTIME.version,
655655
},
@@ -719,8 +719,8 @@ export class Connection {
719719
headers: {
720720
Authorization: await this._getAuthorizationHeader(),
721721
"X-Fern-Language": "JavaScript",
722-
"X-Fern-SDK-Name": "",
723-
"X-Fern-SDK-Version": "0.1.1",
722+
"X-Fern-SDK-Name": "@hookdeck/sdk",
723+
"X-Fern-SDK-Version": "0.1.2",
724724
"X-Fern-Runtime": core.RUNTIME.type,
725725
"X-Fern-Runtime-Version": core.RUNTIME.version,
726726
},
@@ -790,8 +790,8 @@ export class Connection {
790790
headers: {
791791
Authorization: await this._getAuthorizationHeader(),
792792
"X-Fern-Language": "JavaScript",
793-
"X-Fern-SDK-Name": "",
794-
"X-Fern-SDK-Version": "0.1.1",
793+
"X-Fern-SDK-Name": "@hookdeck/sdk",
794+
"X-Fern-SDK-Version": "0.1.2",
795795
"X-Fern-Runtime": core.RUNTIME.type,
796796
"X-Fern-Runtime-Version": core.RUNTIME.version,
797797
},
@@ -861,8 +861,8 @@ export class Connection {
861861
headers: {
862862
Authorization: await this._getAuthorizationHeader(),
863863
"X-Fern-Language": "JavaScript",
864-
"X-Fern-SDK-Name": "",
865-
"X-Fern-SDK-Version": "0.1.1",
864+
"X-Fern-SDK-Name": "@hookdeck/sdk",
865+
"X-Fern-SDK-Version": "0.1.2",
866866
"X-Fern-Runtime": core.RUNTIME.type,
867867
"X-Fern-Runtime-Version": core.RUNTIME.version,
868868
},
@@ -932,8 +932,8 @@ export class Connection {
932932
headers: {
933933
Authorization: await this._getAuthorizationHeader(),
934934
"X-Fern-Language": "JavaScript",
935-
"X-Fern-SDK-Name": "",
936-
"X-Fern-SDK-Version": "0.1.1",
935+
"X-Fern-SDK-Name": "@hookdeck/sdk",
936+
"X-Fern-SDK-Version": "0.1.2",
937937
"X-Fern-Runtime": core.RUNTIME.type,
938938
"X-Fern-Runtime-Version": core.RUNTIME.version,
939939
},

src/api/resources/customDomain/client/Client.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ export class CustomDomain {
4141
headers: {
4242
Authorization: await this._getAuthorizationHeader(),
4343
"X-Fern-Language": "JavaScript",
44-
"X-Fern-SDK-Name": "",
45-
"X-Fern-SDK-Version": "0.1.1",
44+
"X-Fern-SDK-Name": "@hookdeck/sdk",
45+
"X-Fern-SDK-Version": "0.1.2",
4646
"X-Fern-Runtime": core.RUNTIME.type,
4747
"X-Fern-Runtime-Version": core.RUNTIME.version,
4848
},
@@ -103,8 +103,8 @@ export class CustomDomain {
103103
headers: {
104104
Authorization: await this._getAuthorizationHeader(),
105105
"X-Fern-Language": "JavaScript",
106-
"X-Fern-SDK-Name": "",
107-
"X-Fern-SDK-Version": "0.1.1",
106+
"X-Fern-SDK-Name": "@hookdeck/sdk",
107+
"X-Fern-SDK-Version": "0.1.2",
108108
"X-Fern-Runtime": core.RUNTIME.type,
109109
"X-Fern-Runtime-Version": core.RUNTIME.version,
110110
},
@@ -164,8 +164,8 @@ export class CustomDomain {
164164
headers: {
165165
Authorization: await this._getAuthorizationHeader(),
166166
"X-Fern-Language": "JavaScript",
167-
"X-Fern-SDK-Name": "",
168-
"X-Fern-SDK-Version": "0.1.1",
167+
"X-Fern-SDK-Name": "@hookdeck/sdk",
168+
"X-Fern-SDK-Version": "0.1.2",
169169
"X-Fern-Runtime": core.RUNTIME.type,
170170
"X-Fern-Runtime-Version": core.RUNTIME.version,
171171
},

src/api/resources/destination/client/Client.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ export class Destination {
9292
headers: {
9393
Authorization: await this._getAuthorizationHeader(),
9494
"X-Fern-Language": "JavaScript",
95-
"X-Fern-SDK-Name": "",
96-
"X-Fern-SDK-Version": "0.1.1",
95+
"X-Fern-SDK-Name": "@hookdeck/sdk",
96+
"X-Fern-SDK-Version": "0.1.2",
9797
"X-Fern-Runtime": core.RUNTIME.type,
9898
"X-Fern-Runtime-Version": core.RUNTIME.version,
9999
},
@@ -180,8 +180,8 @@ export class Destination {
180180
headers: {
181181
Authorization: await this._getAuthorizationHeader(),
182182
"X-Fern-Language": "JavaScript",
183-
"X-Fern-SDK-Name": "",
184-
"X-Fern-SDK-Version": "0.1.1",
183+
"X-Fern-SDK-Name": "@hookdeck/sdk",
184+
"X-Fern-SDK-Version": "0.1.2",
185185
"X-Fern-Runtime": core.RUNTIME.type,
186186
"X-Fern-Runtime-Version": core.RUNTIME.version,
187187
},
@@ -268,8 +268,8 @@ export class Destination {
268268
headers: {
269269
Authorization: await this._getAuthorizationHeader(),
270270
"X-Fern-Language": "JavaScript",
271-
"X-Fern-SDK-Name": "",
272-
"X-Fern-SDK-Version": "0.1.1",
271+
"X-Fern-SDK-Name": "@hookdeck/sdk",
272+
"X-Fern-SDK-Version": "0.1.2",
273273
"X-Fern-Runtime": core.RUNTIME.type,
274274
"X-Fern-Runtime-Version": core.RUNTIME.version,
275275
},
@@ -350,8 +350,8 @@ export class Destination {
350350
headers: {
351351
Authorization: await this._getAuthorizationHeader(),
352352
"X-Fern-Language": "JavaScript",
353-
"X-Fern-SDK-Name": "",
354-
"X-Fern-SDK-Version": "0.1.1",
353+
"X-Fern-SDK-Name": "@hookdeck/sdk",
354+
"X-Fern-SDK-Version": "0.1.2",
355355
"X-Fern-Runtime": core.RUNTIME.type,
356356
"X-Fern-Runtime-Version": core.RUNTIME.version,
357357
},
@@ -427,8 +427,8 @@ export class Destination {
427427
headers: {
428428
Authorization: await this._getAuthorizationHeader(),
429429
"X-Fern-Language": "JavaScript",
430-
"X-Fern-SDK-Name": "",
431-
"X-Fern-SDK-Version": "0.1.1",
430+
"X-Fern-SDK-Name": "@hookdeck/sdk",
431+
"X-Fern-SDK-Version": "0.1.2",
432432
"X-Fern-Runtime": core.RUNTIME.type,
433433
"X-Fern-Runtime-Version": core.RUNTIME.version,
434434
},
@@ -522,8 +522,8 @@ export class Destination {
522522
headers: {
523523
Authorization: await this._getAuthorizationHeader(),
524524
"X-Fern-Language": "JavaScript",
525-
"X-Fern-SDK-Name": "",
526-
"X-Fern-SDK-Version": "0.1.1",
525+
"X-Fern-SDK-Name": "@hookdeck/sdk",
526+
"X-Fern-SDK-Version": "0.1.2",
527527
"X-Fern-Runtime": core.RUNTIME.type,
528528
"X-Fern-Runtime-Version": core.RUNTIME.version,
529529
},
@@ -593,8 +593,8 @@ export class Destination {
593593
headers: {
594594
Authorization: await this._getAuthorizationHeader(),
595595
"X-Fern-Language": "JavaScript",
596-
"X-Fern-SDK-Name": "",
597-
"X-Fern-SDK-Version": "0.1.1",
596+
"X-Fern-SDK-Name": "@hookdeck/sdk",
597+
"X-Fern-SDK-Version": "0.1.2",
598598
"X-Fern-Runtime": core.RUNTIME.type,
599599
"X-Fern-Runtime-Version": core.RUNTIME.version,
600600
},
@@ -664,8 +664,8 @@ export class Destination {
664664
headers: {
665665
Authorization: await this._getAuthorizationHeader(),
666666
"X-Fern-Language": "JavaScript",
667-
"X-Fern-SDK-Name": "",
668-
"X-Fern-SDK-Version": "0.1.1",
667+
"X-Fern-SDK-Name": "@hookdeck/sdk",
668+
"X-Fern-SDK-Version": "0.1.2",
669669
"X-Fern-Runtime": core.RUNTIME.type,
670670
"X-Fern-Runtime-Version": core.RUNTIME.version,
671671
},

0 commit comments

Comments
 (0)