|
4 | 4 | [](https://www.npmjs.com/package/@patch-technology/patch)
|
5 | 5 | [](https://discord.gg/M23NnGR)
|
6 | 6 |
|
7 |
| -The official JavaScript package for the [Patch API](https://www.usepatch.com). |
| 7 | +The official JavaScript package for the [Patch API](https://www.patch.io). |
8 | 8 |
|
9 | 9 | ## Documentation
|
10 | 10 |
|
11 |
| -For a complete API reference, check out [Patch's API Reference.](https://docs.usepatch.com) |
| 11 | +For a complete API reference, check out [Patch's API Reference.](https://docs.patch.io) |
12 | 12 |
|
13 | 13 | ## Installation
|
14 | 14 |
|
@@ -59,7 +59,7 @@ If you do not know how much to purchase, use an estimate.
|
59 | 59 | You can also create an order with a maximum desired price, and we'll allocate enough mass to
|
60 | 60 | fulfill the order for you.
|
61 | 61 |
|
62 |
| -[API Reference](https://docs.usepatch.com/#/?id=orders) |
| 62 | +[API Reference](https://docs.patch.io/#/?id=orders) |
63 | 63 |
|
64 | 64 | #### Examples
|
65 | 65 |
|
@@ -96,7 +96,7 @@ patch.orders.retrieveOrders({ page });
|
96 | 96 |
|
97 | 97 | Estimates allow API users to get a quote for the cost of compensating a certain amount of CO2. When creating an estimate, an order in the `draft` state will also be created, reserving the allocation of a project for 5 minutes. If you don't place your draft order within those 5 minutes, the order will automatically be cancelled.
|
98 | 98 |
|
99 |
| -[API Reference](https://docs.usepatch.com/#/?id=estimates) |
| 99 | +[API Reference](https://docs.patch.io/#/?id=estimates) |
100 | 100 |
|
101 | 101 | #### Examples
|
102 | 102 |
|
@@ -147,7 +147,7 @@ When fetching Projects, you can add filters to the query to narrow the result. C
|
147 | 147 | - `type`
|
148 | 148 | - `minimumAvailableMass`
|
149 | 149 |
|
150 |
| -[API Reference](https://docs.usepatch.com/#/?id=projects) |
| 150 | +[API Reference](https://docs.patch.io/#/?id=projects) |
151 | 151 |
|
152 | 152 | #### Examples
|
153 | 153 |
|
@@ -175,9 +175,9 @@ patch.projects.retrieveProjects({ minimumAvailableMass });
|
175 | 175 |
|
176 | 176 | ### Preferences
|
177 | 177 |
|
178 |
| -Preferences are how you route your orders in Patch. If you don't have a preference, Patch will allocate your order to the least expensive option. If you do have a preference, all of your orders will be sent to that project. You can set your preferences via API, or through the [Patch Dashboard](https://dashboard.usepatch.com/projects). |
| 178 | +Preferences are how you route your orders in Patch. If you don't have a preference, Patch will allocate your order to the least expensive option. If you do have a preference, all of your orders will be sent to that project. You can set your preferences via API, or through the [Patch Dashboard](https://dashboard.patch.io/projects). |
179 | 179 |
|
180 |
| -[API Reference](https://docs.usepatch.com/#/?id=preferences) |
| 180 | +[API Reference](https://docs.patch.io/#/?id=preferences) |
181 | 181 |
|
182 | 182 | #### Examples
|
183 | 183 |
|
|
0 commit comments