@0to1pay/fulfillment-sdk 2.3.0 → 2.3.1

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # 0to1Pay Fulfillment SDK
2
2
 
3
- Node.js 22.20.0 or newer and a merchant PostgreSQL database. Install the SDKs from npm after publication or use the verified tarballs in your merchant backend.
3
+ Node.js 22.20.0 or newer and a merchant PostgreSQL database. Install the SDKs from npm or use the verified tarballs in your merchant backend.
4
4
 
5
5
  ```sh
6
- npm install @0to1pay/server-sdk@2.3.0 @0to1pay/fulfillment-sdk@2.3.0
6
+ npm install @0to1pay/server-sdk@2.3.1 @0to1pay/fulfillment-sdk@2.3.1
7
7
  ```
8
8
 
9
9
  ```sh
10
- npm install ./0to1pay-server-sdk-2.3.0.tgz ./0to1pay-fulfillment-sdk-2.3.0.tgz
10
+ npm install ./0to1pay-server-sdk-2.3.1.tgz ./0to1pay-fulfillment-sdk-2.3.1.tgz
11
11
  ```
12
12
 
13
13
  1. Register an HTTPS webhook endpoint for `fulfillment.requested`. Save the returned signing key ID and base64url secret in your backend's secret store. Configure `FulfillmentInbox` with the merchant ID, project ID and environment of the same project, and decode the signing secret with `Buffer.from(secret, 'base64url')`.
@@ -16,6 +16,6 @@ npm install ./0to1pay-server-sdk-2.3.0.tgz ./0to1pay-fulfillment-sdk-2.3.0.tgz
16
16
 
17
17
  Apply each command at most once and keep entitlements for distinct orders independent. Return `unknown` when an external product update has an uncertain outcome, then reconcile that update before repeating it.
18
18
 
19
- For direct USDC and USDT orders, the platform emits fulfillment commands after it verifies the buyer-approved transfer or records an authorized review. Integrate the [server SDK checkout steps](../server-sdk/README.md#buyer-approval-for-on-chain-checkout) before offering checkout. The signed event format, command semantics, and merchant inbox migration stay compatible with earlier fulfillment SDKs.
19
+ For direct USDC and USDT orders, the platform emits fulfillment commands after it verifies the buyer-approved transfer or records an authorized review. Integrate the [buyer approval steps in the public server SDK guide](https://www.npmjs.com/package/@0to1pay/server-sdk#buyer-approval-for-on-chain-checkout) before offering checkout. The signed event format, command semantics, and merchant inbox migration stay compatible with earlier fulfillment SDKs.
20
20
 
21
21
  The SDK is available under the MIT license. See the `LICENSE` file included in the package.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0to1pay/fulfillment-sdk",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "0to1Pay signed webhook receiver and PostgreSQL fulfillment worker",