shipbob-node-sdk 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,32 +1,33 @@
1
1
  # ShipBob Node SDK
2
- First of all there are no official SDKs for ShipBob. I'm just dropping this here, in case it will speed up somebody else getting started using their API.
3
2
 
4
- This library uses the built-in node.js fetch, so you'll want a newer node version with undici support.
5
-
6
- Not really sure anybody will ever need this as many common platforms probably have integrations. There are a couple of other community SDKs. They do not have `/2.0/*` or `/experimental/*` endpoints:
7
- - [shipbob-sdk-python](https://github.com/community-phone-company/shipbob-sdk-python)
8
- - [shipbob-go](https://github.com/stryd/shipbob-go) - generated from Open API
3
+ First of all there are no official SDKs for ShipBob. I'm just dropping this here, in case it will speed up somebody else getting started using their API.
9
4
 
10
- NOTE: I did not notice until all this code was written that ShipBob had published an Open API spec :facepunch:. You may have better luck generating your own client. Maybe those generated typings at least belong here.
11
- ```bash
12
- $ yarn generate:client
13
- ```
14
- The included script using OpenAPI can generate clients in various languages.
5
+ This library uses the built-in node.js fetch, so you'll want a newer node version with undici support.
15
6
 
16
7
  This SDK exposes some endpoints not available in the OpenAPI including:
8
+
17
9
  - `/2.0/receiving-extended`
18
10
  - `/2.0/product`
19
11
  - `/experimental/product` :skull:
20
12
  - `/experimental/receiving` :skull:
21
13
 
22
- Have a look in the `/test` folder. You might like more something like PostMan, but you can run and debug these "tests" in VS Code. You need a `.env` file with a Personal Access Token:
23
- ```
14
+ Have a look in the `/test` folder. You might like more something like PostMan, but you can run and debug these "tests" in VS Code. You need a `.env` file like this:
15
+
16
+ ```bash
17
+ # for the PAT (Personal Access Token) login (recommended)
24
18
  SHIPBOB_API_TOKEN=<redacted>
19
+ # for the oAuth login
20
+ SHIPBOB_CLIENT_ID=<redacted>
21
+ SHIPBOB_CLIENT_SECRET=<redacted>
22
+ # for the Web UI scraper (web.shipbob.com) login
23
+ SHIPBOB_WEB_UI_EMAIL=email@company.com
24
+ SHIPBOB_WEB_UI_PASSWORD=<redacted>
25
25
  ```
26
26
 
27
27
  # API implementation progress
28
28
 
29
29
  ## Legend
30
+
30
31
  :x: = I haven't needed this
31
32
 
32
33
  :heavy_check_mark: = implemented
@@ -36,6 +37,7 @@ SHIPBOB_API_TOKEN=<redacted>
36
37
  :question: = might add support soon - under investigation
37
38
 
38
39
  ## Orders
40
+
39
41
  - :x: Estimate Fulfillment Cost For Order
40
42
  - :question: Get Order - don't see the point of this endpoint, unless you store their Ids
41
43
  - :heavy_check_mark: Get Orders: api.getOrders(...)
@@ -57,7 +59,9 @@ SHIPBOB_API_TOKEN=<redacted>
57
59
  - :heavy_check_mark: Get shipping methods: api.getShippingMethods()
58
60
 
59
61
  ## Shipments
62
+
60
63
  Turns out the webhooks aren't reliable, so polling is needed to get shipment information.
64
+
61
65
  1. `order_shipped` webhook can fire without tracking details
62
66
  2. `shipment_delivered` webhook may not be sent. Additionally, exceptions (return to sender) have no webhook.
63
67
 
@@ -70,34 +74,44 @@ Turns out the webhooks aren't reliable, so polling is needed to get shipment inf
70
74
  - :heavy_check_mark: Get shipping methods: `api.getShippingMethods()`
71
75
 
72
76
  ## Products 1.0
77
+
73
78
  - :heavy_check_mark: Get multiple products: `api.getProducts1_0(...)`
74
79
  - :heavy_check_mark: Add a single product to the store: `api.createProduct1_0(...)`
75
80
  - :x: Modify a single product (using 2.0 for additional properties)
76
81
  - :x: Add multiple products to the store
77
82
 
78
83
  ## Products 2.0
84
+
79
85
  These are not documented on the site yet:
86
+
80
87
  - :heavy_check_mark: Get multiple products: `api.getProducts2_0(...)`
81
88
  - :heavy_check_mark: Add a single product to the store: `api.createProduct2_0(...)`
82
89
  - :heavy_check_mark: Modify a single product: `api.updateProducts2_0(...)`
83
90
  - :x: Add multiple products to the store
84
91
 
85
92
  ## Products Experimental
93
+
86
94
  Kindly note as it's experimental subject to change/removal :skull:
95
+
87
96
  - :heavy_check_mark: Get multiple products: `api.getProductsExperimental(...)`
88
97
  - :heavy_check_mark: Add a single product to the store: `api.createProductExperimental(...)`
89
98
  - :heavy_check_mark: Modify a single product: `api.updateProductsExperimental(...)`
90
99
  - :x: Add multiple products to the store
91
100
 
92
101
  ## Inventory
102
+
93
103
  - [ ] Get an inventory item
94
104
  - :heavy_check_mark: List inventory items: `api.listInventory(...)`
95
105
  - :x: Get a list of inventory items by product id (we don't know product_id)
96
106
 
97
107
  ## Channels
98
- - :heavy_check_mark: Get user-authorized channel info: not in api, but used on init
108
+
109
+ - :heavy_check_mark: Get user-authorized channels `api.getChannels()`
110
+
111
+ **NOTE:** This fails with a web UI scraper account (you need `channels_read` scope)
99
112
 
100
113
  ## Returns
114
+
101
115
  - :question: Get Return Order
102
116
  - :question: Modify Return Order
103
117
  - :question: Get Return Orders
@@ -106,6 +120,7 @@ Kindly note as it's experimental subject to change/removal :skull:
106
120
  - :question: Get One Return's status history
107
121
 
108
122
  ## Receiving
123
+
109
124
  - :heavy_check_mark: Get Fulfillment Centers: `api.getFulfillmentCenters()`
110
125
  - :heavy_check_mark: Get Warehouse Receiving Order: `api.getWarehouseReceivingOrder(...)`
111
126
  - :heavy_check_mark: Get Warehouse Receiving Order Boxes: `api.getWarehouseReceivingOrderBoxes(...)`
@@ -117,35 +132,72 @@ Kindly note as it's experimental subject to change/removal :skull:
117
132
  - Get Warehouse Receiving Order
118
133
  - Get a Warehouse Receiving Order by Purchase Order Number
119
134
  - Create Warehouse Receiving Order
120
- - Get Warehouse Receiving Order Box Labels
135
+ - Get Warehouse Receiving Order Box Labels
121
136
  - Cancel Warehouse Receiving Order
122
137
 
123
138
  ## Receiving-Extended (not in API docs)
139
+
124
140
  - :heavy_check_mark: Get Receiving Extended: `api.getReceivingExtended(...)` (will include this in a recipe that uses SetExternalSync)
125
141
 
126
142
  ## Receiving Experimental
143
+
127
144
  Kindly note as it's experimental subject to change/removal :skull:
128
145
 
129
- I'll try to share a recipe for using this for marking completed WROs.
130
146
  - :heavy_check_mark: Receiving Set External Sync: `api.experimentalReceivingSetExternalSync(...)`
131
147
 
148
+ **NOTE:** See the section below `How to sync WROs` for some guidance.
149
+
132
150
  ## Webhooks
133
- - :heavy_check_mark: Get Webhooks: api.getWebhooks()
151
+
152
+ - :heavy_check_mark: Get Webhooks: `api.getWebhooks()`
134
153
  - :heavy_check_mark: Create a new webhook subscription: `api.registerWebhookSubscription(...)`
135
154
  - :heavy_check_mark: Delete an existing webhook subscription: `api.unregisterWebhookSubscription(...)`
136
155
 
156
+ As a personal note. I regret implementing webhooks at all, since I needed to implement polling anyway. There are various gaps in the webhooks. Using their table is perhaps the best way to explain:
157
+
158
+ | Shipment Status | Status Detail Name | Comment |
159
+ | --------------- | ------------------ | ----------------------------------------------------------------------------------------------- |
160
+ | Processing | Labeled | I think this maps to "order_shipped" webhook, doesn't always have tracking (or invoice amounts) |
161
+ | Completed | Delivered | Does not always fire when delivered (seems to be carrier dependent) |
162
+ | Completed | Delivery Exception | No Webhook (need to poll for RTS, etc.) |
163
+ | Exception | \* | These do fire, but are not useful for delivery |
164
+
165
+ ie: No webhooks for delivery exceptions ie: `Completed` -> `DeliveryException` when carrier needs more details. The `shipment_exception` webhook only applies to before the shipment leaves their FC (ie: inventory related issue).
166
+
167
+ Partial rows of table from here: _(https://developer.shipbob.com/#shipment-statuses)_
168
+
137
169
  ## Locations
170
+
138
171
  - :x: Get locations
139
172
 
140
- ## follow URIs
141
- This is not part of the API, but instead allows you to follow URI's returned in the API (see tests for examples)
173
+ ## Follow URIs
174
+
175
+ This is not part of the API, but instead allows you to follow URI's returned in the API (see tests for examples). They use some kind of HATEOAS, but it's inconsistent across API versions.
176
+
142
177
  - :heavy_check_mark: Retrive a path from a provided resource ie: header `next-page`: `api.getPath<T>(response.headers['next-page'])`
143
178
 
144
179
  # Building locally
145
- For making changes to this library locally - use `yarn link` to test out the changes easily. This is useful if you would like to contribute.
180
+
181
+ For making changes to this library locally - use `yarn link` to test out the changes easily. This is useful if you would like to contribute.
182
+
183
+ # Other options
184
+
185
+ Not really sure anybody will ever need this as many common platforms probably have integrations. There are a couple of other community SDKs. They do not have `/2.0/*` or `/experimental/*` endpoints:
186
+
187
+ - [shipbob-sdk-python](https://github.com/community-phone-company/shipbob-sdk-python)
188
+ - [shipbob-go](https://github.com/stryd/shipbob-go) - generated from Open API
189
+
190
+ NOTE: I did not notice until all this code was written that ShipBob had published an Open API spec :facepunch:. You may have better luck generating your own client. Maybe those generated typings at least belong here.
191
+
192
+ ```bash
193
+ $ yarn generate:client
194
+ ```
195
+
196
+ The included script using OpenAPI can generate clients in various languages.
146
197
 
147
198
  # Testing
148
- You can fake out this library itself, or otherwise mocking the ShipBob API http calls are quite easy to simulate with `nock`. Here's a way to test creating an order verifying idempotent operation.
199
+
200
+ You can fake out this library itself, or otherwise mocking the ShipBob API http calls are quite easy to simulate with `nock`. Here's a way to test creating an order verifying idempotent operation.
149
201
 
150
202
  ```javascript
151
203
  // NOTE: nock > 14 with undici is needed to mock underlying "fetch" calls
@@ -178,13 +230,16 @@ const nockScope = nock('https://sandbox-api.shipbob.com')
178
230
  ...
179
231
  assert.ok(nockScope.isDone(), 'should have completed nock requests');
180
232
  ```
233
+
181
234
  # Adding more events
235
+
182
236
  To replace what could be considered "missing" webhooks, such as WRO completed (Receiving has no webhooks!).
183
237
 
184
- You can create a monitor using polling with api.experimentalReceivingSetExternalSync(...).
238
+ You can follow the section `How to sync WROs` for a more robust solution. Read on if you are interested in how this works, but also why it won't work!
185
239
 
186
240
  If you want something more event driven, you can use the emails they send out with an inbound email processor:
187
241
  ie:
242
+
188
243
  ```javascript
189
244
  // this is done using Mandrill/Mailchimp Inbound mail processor:
190
245
  for (const event of events) {
@@ -193,14 +248,8 @@ for (const event of events) {
193
248
  case 'Your WRO is now complete':
194
249
  // ie: Your WRO 756713 is now complete and all associated inventory is ready to ship! ...
195
250
  // https://web.shipbob.com/app/Merchant/#/inventory/receiving/756713/summary ...
196
- const match = /Your WRO (?<wro>\d+) is now complete/i.exec(
197
- event.msg.text
198
- );
199
- if (
200
- match === null ||
201
- match.groups === undefined ||
202
- !('wro' in match.groups)
203
- ) {
251
+ const match = /Your WRO (?<wro>\d+) is now complete/i.exec(event.msg.text);
252
+ if (match === null || match.groups === undefined || !('wro' in match.groups)) {
204
253
  throw new Error(`cannot find wro in email '${taskStorageId}'`);
205
254
  }
206
255
  const wro = match.groups.wro;
@@ -218,28 +267,35 @@ for (const event of events) {
218
267
 
219
268
  You can publish that as an event or push to a queue and it will act as a "webhook".
220
269
 
270
+ **NOTE:** I discovered after writing the above inbound mail handler that a WRO you create may be split. ie: we created 1 WRO and it was split into 6 more WROs by the ShipBob team, so it's not really possible to link back to your system when that occurs. There's no hierarchical relationship with the split WROs they are creating. I believe UROs (Unidentified Receiving Orders) may have same behaviour. In other words, you will need to implement polling anyway, so adding this is probably not worthwhile.
271
+
221
272
  # OAuth
222
- There is no S2S (server-to-server) oAuth. User intervention is required. There are only helper methods to help with that. You could bypass that with a webscraper (see next section).
223
- - `oAuthGetConnectUrl()` direct an end user to follow the generated URL. Use 'offline_access' as part of scope to get a refresh token.
273
+
274
+ There is no S2S (server-to-server) oAuth. User intervention is required. There are only helper methods to help with that. You could bypass that with a webscraper (see next section).
275
+
276
+ - `oAuthGetConnectUrl()` direct an end user to follow the generated URL. Use `offline_access` as part of scope to get a refresh token.
224
277
  - `oAuthGetAccessToken()` call this with the `code` query string fragment `https://yourname.ngrok.io/#code=...&id_token=...` the redirect_uri (and your client Id and secret from ShipBob App)
225
278
  - `oAuthRefreshAccessToken()` call this with the last `refresh_token` you received, otherwise the same as `oAuthGetAccessToken()` without `code`.
226
279
 
227
280
  The method to get/refresh access token both return `access_token`, so you provide that to `createShipBobApi(...)` with your application name.
228
- Then you can use the same as a PAT (Personal Access Token).
281
+
282
+ If you create products with your API, you will not be able to see them with an oAuth app. I went down a big rabbit hole here - something to do with different channels. Try not to waste as much time as I did here and avoid using oAuth unless you are building actually an app IMO.
229
283
 
230
284
  # Access APIs available to web.shipbob.com
285
+
231
286
  The Web UI has a much broader set of unsupported APIs (ordersapi.shipbob.com, shippingservice.shipbob.com, merchantpricingapi.shipbob.com, etc.). For example, you cannot "patch" a WRO on the public receiving API, but you can somehow with a web login, so it unlocks extra functionality and has a separate rate limit from the API.
232
- You would need to create a ShipBob account and then use those credentials to login with a scraper (see /src/WebScraper.ts). The account can only be logged with one session at a time. Look through AuthScopesWeb.ts you can probably work backwards the scopes needed for each API.
287
+ You would need to create a ShipBob account and then use those credentials to login with a scraper (see /src/WebScraper.ts). The account can only be logged with one session at a time. Look at `AuthScopesWeb` type and you can probably work backwards the scopes needed for each API. If you go this route then the peer dependency on puppeteer is not optional.
288
+
289
+ There is no documentation for these extra APIs - you can look through network tracing in the browser. See unit tests for full example:
233
290
 
234
- There is no documentation for these extra APIs - you can look through network tracing in the browser. See unit tests for full example:
235
291
  ```typescript
236
292
  // scrape web.shipbob.com website:
237
293
  const authResponse = await getAccessTokenUI({
238
294
  email,
239
- password
295
+ password,
240
296
  });
241
297
 
242
- const missingChannelScope = authResponse.scopes.indexOf("channel_read") === -1;
298
+ const missingChannelScope = authResponse.scopes.indexOf('channel_read') === -1;
243
299
 
244
300
  const webUIAPI = await createShipBobApi(authResponse.accessToken, url, '<unused>', {
245
301
  skipChannelLoad: missingChannelScope,
@@ -249,49 +305,57 @@ const inventoryListResponse = await webUIAPI.listInventory({ Ids: [20104984] });
249
305
  ```
250
306
 
251
307
  # Polling Orders for tracking
252
- This is a suggested way to track orders from ShipBob. This may be better than using the webhook, sometimes the `order_shipped` webhook fires with no tracking information.
308
+
309
+ This is a suggested way to track orders from ShipBob. This may be better than using the webhook, sometimes the `order_shipped` webhook fires with no tracking information.
310
+
253
311
  1. Poll GET `/1.0/order?HasTracking=true&IsTrackingUploaded=false&startDate=03-25-2025`
312
+
254
313
  ```typescript
255
314
  const results = await api.getOrders({
256
315
  HasTracking: true,
257
316
  IsTrackingUploaded: false,
258
- StartDate: '03-25-2025'
317
+ StartDate: '03-25-2025',
259
318
  });
260
319
  ```
320
+
261
321
  2. Iterate through each order (and each shipment)
262
322
  3. Sync the tracking back to your platform
263
323
  4. Mark the order as shipped using this endpoint (https://developer.shipbob.com/api-docs/#tag/Orders/paths/~11.0~1shipment~1%7BshipmentId%7D/put). Or, you can mark it as shipped using the bulk mark as shipped endpoint (https://developer.shipbob.com/api-docs/#tag/Orders/paths/~11.0~1shipment~1:bulkUpdateTrackingUpload/post).
264
324
 
265
325
  **NOTE:** `PUT`/`POST` to `/1.0/shipment` not implemented in this library yet.
266
326
 
267
- # How to sync WROs (Warehouse Receiving Orders) back to your system
268
- There are 2 options to do this:
327
+ # How to sync WROs
328
+
329
+ Syncing WROs (Warehouse Receiving Orders) back to your system has 2 options.
269
330
 
270
331
  ## Option #1 - Simple (wait until the WRO status is Completed)
271
332
 
272
333
  - Poll our GET WRO endpoint for WROs in Completed status:
273
- GET https://sandbox-api.shipbob.com/2.0/receiving-extended?Statuses=Completed&ExternalSync=false
334
+ GET https://sandbox-api.shipbob.com/2.0/receiving-extended?Statuses=Completed&ExternalSync=false
335
+
274
336
  ```typescript
275
337
  // with this library
276
338
  const results = await api.getReceivingExtended({
277
- Statuses: 'Completed',
278
- ExternalSync: false,
279
- });
339
+ Statuses: 'Completed',
340
+ ExternalSync: false,
341
+ });
280
342
  ```
343
+
281
344
  - Iterate through each inventory id in the inventory_quantities array and sync the stowed_quantity back to your system
282
345
  - Mark the WRO as synced (see below for the endpoint to use and sample request)
283
346
  - Poll the GET WRO endpoint again and 442946 will no longer show up as you already synced this and ExternalSync is now set to true
284
347
 
285
-
286
348
  Mark the WRO as synced (this is optional and a alternative option to continuously polling completed WROs that you may or may not know you have already synced)
287
349
 
288
350
  POST https://sandbox-api.shipbob.com/experimental/receiving/:set-external-sync
351
+
289
352
  ```json
290
353
  {
291
- "ids": [442946],
292
- "is_external_sync": true
354
+ "ids": [442946],
355
+ "is_external_sync": true
293
356
  }
294
357
  ```
358
+
295
359
  ```typescript
296
360
  // with this library
297
361
  // use Ids from "getReceivingExtended" with ExternalSync: false.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { AddProductResponse, CancelOrderResponse, Channel, CreateOptions, ExperimentalPagedResult, FulfillmentCenter, GetInventory1_0Result, GetOrdersQueryStrings, GetProduct1_0Result, GetProduct2_0Response, GetProductExperimentalResponse, GetProductQueryStrings, GetProducts1_0QueryString, ListInventoryQueryStrings, Order, OrderShipment, PlaceOrderRequest, SetExternalSyncResponse, ShippingMethod, SimulateShipmentRequest, SimulateShipmentResponse, SimulationResponse, VariantRequestProduct2_0, VariantRequestProductExperimental, WarehouseReceivingOrderBoxesResponse, WarehouseReceivingOrderRequest, WarehouseReceivingOrderResponse, Webhook } from './types';
2
2
  export * from './types';
3
3
  export * from './oAuth';
4
- export * from './WebScraper';
5
4
  export type Nullable<T> = T | null;
6
5
  export type Credentials = {
7
6
  token: string;
package/dist/index.js CHANGED
@@ -19,7 +19,6 @@ exports.createShipBobApi = void 0;
19
19
  const node_url_1 = require("node:url"); // WHATWG
20
20
  __exportStar(require("./types"), exports);
21
21
  __exportStar(require("./oAuth"), exports);
22
- __exportStar(require("./WebScraper"), exports);
23
22
  // Products
24
23
  const PATH_1_0_CHANNEL = '/1.0/channel';
25
24
  const PATH_1_0_PRODUCT = '/1.0/product';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mEAAmE;AACnE,uCAA+B,CAAC,SAAS;AAgCzC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AA8C7B,WAAW;AACX,MAAM,gBAAgB,GAAG,cAAc,CAAC;AACxC,MAAM,gBAAgB,GAAG,cAAc,CAAC;AACxC,MAAM,gBAAgB,GAAG,cAAc,CAAC;AACxC,MAAM,yBAAyB,GAAG,uBAAuB,CAAC;AAE1D,SAAS;AACT,MAAM,cAAc,GAAG,YAAY,CAAC;AACpC,MAAM,uBAAuB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gBACE,GAAG;gBACH,gBAAgB,EAAE,cAAc;aACjC,EACD,GAAG,2BAA2B,qBAAqB,CACpD,CAAC;QACJ,CAAC;QACD;;WAEG;QACH,aAAa,EAAE,KAAK,EAAE,KAA0C,EAAE,EAAE;YAClE,OAAO,MAAM,OAAO,CAA0B,WAAW,EAAE,kBAAkB,EAAE,KAAK,CAAC,CAAC;QACxF,CAAC;QACD;;WAEG;QACH,gBAAgB,EAAE,KAAK,EAAE,OAAgC,EAAE,EAAE;YAC3D,OAAO,MAAM,QAAQ,CAA2B,WAAW,EAAE,OAAO,EAAE,GAAG,iBAAiB,WAAW,CAAC,CAAC;QACzG,CAAC;QACD;;;;;WAKG;QACH,mBAAmB,EAAE,KAAK,EAAE,YAAoB,EAAE,EAAE;YAClD,OAAO,MAAM,OAAO,CAAqB,WAAW,EAAE,GAAG,iBAAiB,WAAW,YAAY,EAAE,CAAC,CAAC;QACvG,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AA3dW,QAAA,gBAAgB,oBA2d3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shipbob-node-sdk",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "ShipBob API node SDK",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
@@ -9,7 +9,7 @@
9
9
  "prebuild": "rimraf dist && eslint . --ignore-pattern generated/ && prettier \"**/*.ts\" --check",
10
10
  "build": "tsc",
11
11
  "lint": "eslint . --ignore-pattern generated/",
12
- "prettier:write": "prettier \"**/*.ts\" --write",
12
+ "prettier:write": "prettier \"**/*.ts\" \"*.md\" --write",
13
13
  "generate:client": "openapi-generator-cli generate -i openapi.json -g typescript -o generated/openapi --additional-properties=npmName=restClient,supportsES6=true,withInterfaces=true",
14
14
  "test": "mocha"
15
15
  },
@@ -29,5 +29,13 @@
29
29
  "tsx": "^4.19.3",
30
30
  "typescript": "^5.7.3",
31
31
  "typescript-eslint": "^8.24.1"
32
+ },
33
+ "peerDependencies": {
34
+ "puppeteer": ">=22"
35
+ },
36
+ "peerDependenciesMeta": {
37
+ "puppeteer": {
38
+ "optional": true
39
+ }
32
40
  }
33
41
  }