Skip to content

Commit

Permalink
Merge branch 'master' into switch_to_tldts
Browse files Browse the repository at this point in the history
* master:
  Bump the dev-dependencies group with 2 updates (#354)
  Bump the dev-dependencies group with 3 updates (#351)
  docs: use correct memstore file link (#349)
  Bump the dev-dependencies group with 3 updates (#347)

# Conflicts:
#	package-lock.json
  • Loading branch information
colincasey committed Jan 16, 2024
2 parents 0cdbc6e + 05e049c commit 10bcb6f
Show file tree
Hide file tree
Showing 2 changed files with 188 additions and 647 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ Base class for CookieJar stores. Available as `tough.Store`.

### Store API

The storage model for each `CookieJar` instance can be replaced with a custom implementation. The default is `MemoryCookieStore` which can be found in [`lib/memstore.js`](https://github.com/salesforce/tough-cookie/blob/master/lib/memstore.js). The API uses continuation-passing-style to allow for asynchronous stores.
The storage model for each `CookieJar` instance can be replaced with a custom implementation. The default is `MemoryCookieStore` which can be found in [`lib/memstore.ts`](https://github.com/salesforce/tough-cookie/blob/master/lib/memstore.ts). The API uses continuation-passing-style to allow for asynchronous stores.

Stores should inherit from the base `Store` class, which is available as a top-level export.

Expand Down
Loading

0 comments on commit 10bcb6f

Please sign in to comment.