@0to1pay/fulfillment-sdk 0.0.0-stage → 1.0.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.
- package/LICENSE +21 -0
- package/README.md +20 -2
- package/dist/contracts/openapi.yaml +3862 -0
- package/dist/packages/domain/contract.d.ts +27 -0
- package/dist/packages/domain/contract.js +19 -0
- package/dist/packages/domain/shared.js +45 -0
- package/dist/packages/fulfillment-sdk/inbox.sql +59 -0
- package/dist/packages/fulfillment-sdk/index.d.ts +4 -0
- package/dist/packages/fulfillment-sdk/index.js +2 -0
- package/dist/packages/fulfillment-sdk/postgres.d.ts +69 -0
- package/dist/packages/fulfillment-sdk/postgres.js +247 -0
- package/dist/packages/fulfillment-sdk/signature.d.ts +37 -0
- package/dist/packages/fulfillment-sdk/signature.js +150 -0
- package/dist/packages/server-sdk/index.d.ts +184 -0
- package/dist/packages/server-sdk/recipient-proof.d.ts +10 -0
- package/dist/packages/server-sdk/schema.d.ts +2712 -0
- package/dist/packages/server-sdk/solana-recipient-proof.d.ts +3 -0
- package/dist/packages/server-sdk/tron-recipient-proof.d.ts +3 -0
- package/package.json +37 -4
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { RecipientProof } from './recipient-proof.js';
|
|
2
|
+
/** Return the exact UTF-8 message a recipient's Solana wallet signs via signMessage. */
|
|
3
|
+
export declare function solanaRecipientProofMessage(input: RecipientProof, denomination?: 'stable:USDC' | 'stable:USDT'): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0to1pay/fulfillment-sdk",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "0to1Pay signed webhook receiver and PostgreSQL fulfillment worker",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/0to1pay/sdk.git",
|
|
10
|
+
"directory": "packages/fulfillment-sdk"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public",
|
|
14
|
+
"registry": "https://registry.npmjs.org/"
|
|
15
|
+
},
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=22.20.0"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"types": "./dist/packages/fulfillment-sdk/index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./dist/packages/fulfillment-sdk/index.d.ts",
|
|
26
|
+
"import": "./dist/packages/fulfillment-sdk/index.js"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@types/node": "22.20.5",
|
|
31
|
+
"@types/pg": "8.23.1",
|
|
32
|
+
"ajv": "8.20.0",
|
|
33
|
+
"ajv-formats": "3.0.1",
|
|
34
|
+
"canonicalize": "2.1.0",
|
|
35
|
+
"jsonc-parser": "3.3.1",
|
|
36
|
+
"pg": "8.23.1",
|
|
37
|
+
"yaml": "2.9.1"
|
|
38
|
+
}
|
|
39
|
+
}
|