@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.
@@ -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;
@@ -0,0 +1,3 @@
1
+ import type { RecipientProof } from './recipient-proof.js';
2
+ /** Return the UTF-8 message a TRON wallet signs with signMessageV2. */
3
+ export declare function tronRecipientProofMessage(input: RecipientProof): string;
package/package.json CHANGED
@@ -1,6 +1,39 @@
1
1
  {
2
2
  "name": "@0to1pay/fulfillment-sdk",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
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
+ }