@atumlabs/mppx-atum-escrow 0.1.0 → 0.1.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 +166 -0
- package/README.md +4 -0
- package/THIRD-PARTY-NOTICES.txt +708 -0
- package/dist/chunk-2MWWLU75.js +22958 -0
- package/dist/{chunk-V2SJ747H.js → chunk-L62WG2VU.js} +1 -1
- package/dist/{chunk-XDYCJ36Z.js → chunk-W6D2D767.js} +1 -1
- package/dist/client.js +8 -2
- package/dist/index.js +9 -3
- package/dist/server.js +8 -2
- package/package.json +11 -4
- package/dist/chunk-WWSNMK7N.js +0 -50018
package/dist/client.js
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026 Atum Labs, Inc. All rights reserved.
|
|
3
|
+
* Proprietary and confidential.
|
|
4
|
+
* Access and use are governed by the LICENSE file distributed with this package.
|
|
5
|
+
* Do not remove, alter, or obscure this notice.
|
|
6
|
+
*/
|
|
1
7
|
import { createRequire as __atumCreateRequire } from 'module'; const require = __atumCreateRequire(import.meta.url);
|
|
2
8
|
import {
|
|
3
9
|
ensureSourceApproval,
|
|
4
10
|
registerClient
|
|
5
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-L62WG2VU.js";
|
|
6
12
|
import {
|
|
7
13
|
ChargeRequestSchema,
|
|
8
14
|
CredentialPayloadSchema,
|
|
9
15
|
INTENT,
|
|
10
16
|
METHOD_NAME,
|
|
11
17
|
atumEscrowChargeMethod
|
|
12
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2MWWLU75.js";
|
|
13
19
|
export {
|
|
14
20
|
ChargeRequestSchema,
|
|
15
21
|
CredentialPayloadSchema,
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026 Atum Labs, Inc. All rights reserved.
|
|
3
|
+
* Proprietary and confidential.
|
|
4
|
+
* Access and use are governed by the LICENSE file distributed with this package.
|
|
5
|
+
* Do not remove, alter, or obscure this notice.
|
|
6
|
+
*/
|
|
1
7
|
import { createRequire as __atumCreateRequire } from 'module'; const require = __atumCreateRequire(import.meta.url);
|
|
2
8
|
import {
|
|
3
9
|
ensureSourceApproval,
|
|
4
10
|
registerClient
|
|
5
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-L62WG2VU.js";
|
|
6
12
|
import {
|
|
7
13
|
buildChargeRequest,
|
|
8
14
|
corridorFromDefaults,
|
|
9
15
|
registerServer,
|
|
10
16
|
validateCorridor
|
|
11
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-W6D2D767.js";
|
|
12
18
|
import {
|
|
13
19
|
ChargeRequestSchema,
|
|
14
20
|
CredentialPayloadSchema,
|
|
15
21
|
INTENT,
|
|
16
22
|
METHOD_NAME,
|
|
17
23
|
atumEscrowChargeMethod
|
|
18
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2MWWLU75.js";
|
|
19
25
|
export {
|
|
20
26
|
ChargeRequestSchema,
|
|
21
27
|
CredentialPayloadSchema,
|
package/dist/server.js
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026 Atum Labs, Inc. All rights reserved.
|
|
3
|
+
* Proprietary and confidential.
|
|
4
|
+
* Access and use are governed by the LICENSE file distributed with this package.
|
|
5
|
+
* Do not remove, alter, or obscure this notice.
|
|
6
|
+
*/
|
|
1
7
|
import { createRequire as __atumCreateRequire } from 'module'; const require = __atumCreateRequire(import.meta.url);
|
|
2
8
|
import {
|
|
3
9
|
buildChargeRequest,
|
|
4
10
|
corridorFromDefaults,
|
|
5
11
|
registerServer,
|
|
6
12
|
validateCorridor
|
|
7
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-W6D2D767.js";
|
|
8
14
|
import {
|
|
9
15
|
ChargeRequestSchema,
|
|
10
16
|
CredentialPayloadSchema,
|
|
11
17
|
INTENT,
|
|
12
18
|
METHOD_NAME,
|
|
13
19
|
atumEscrowChargeMethod
|
|
14
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2MWWLU75.js";
|
|
15
21
|
export {
|
|
16
22
|
ChargeRequestSchema,
|
|
17
23
|
CredentialPayloadSchema,
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atumlabs/mppx-atum-escrow",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Atum cross-chain escrow payment method for the Machine Payments Protocol (MPP).",
|
|
5
5
|
"author": "Atum Labs, Inc.",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "restricted"
|
|
9
|
+
},
|
|
7
10
|
"homepage": "https://github.com/Atum-Labs/protocol/tree/main/mppx-atum-escrow#readme",
|
|
8
11
|
"repository": {
|
|
9
12
|
"type": "git",
|
|
@@ -45,21 +48,25 @@
|
|
|
45
48
|
},
|
|
46
49
|
"files": [
|
|
47
50
|
"dist/**/*",
|
|
48
|
-
"README.md"
|
|
51
|
+
"README.md",
|
|
52
|
+
"LICENSE",
|
|
53
|
+
"THIRD-PARTY-NOTICES.txt"
|
|
49
54
|
],
|
|
50
55
|
"scripts": {
|
|
51
56
|
"prebuild:deps": "node -e \"const {existsSync}=require('fs');for(const p of ['../contracts/evm/escrow-encoding/typescript/tsconfig.json','../contracts/tvm/escrow-encoding/typescript/tsconfig.json','../contracts/svm/escrow-encoding/typescript/tsconfig.json','../schemas/apis/atum-escrow/v1/bindings/typescript/tsconfig.json','../schemas/apis/fulfillment-confirmation/v1/bindings/typescript/tsconfig.json']){if(!existsSync(p)){console.error('bundled sibling not found at '+p+'. Is this checked out inside the protocol monorepo?');process.exit(1)}}if(!existsSync('../payment-gateway-client/dist/index.js')){console.error('@atum-labs/payment-gateway-client is not built. Run its build first (pnpm --filter @atum-labs/payment-gateway-client build).');process.exit(1)}\"",
|
|
52
57
|
"build:deps": "tsc -p ../contracts/evm/escrow-encoding/typescript/tsconfig.json && tsc -p ../contracts/tvm/escrow-encoding/typescript/tsconfig.json && tsc -p ../contracts/svm/escrow-encoding/typescript/tsconfig.json && tsc -p ../schemas/apis/atum-escrow/v1/bindings/typescript/tsconfig.json && tsc -p ../schemas/apis/fulfillment-confirmation/v1/bindings/typescript/tsconfig.json",
|
|
53
|
-
"build": "pnpm run build:deps && tsup",
|
|
58
|
+
"build": "pnpm run build:deps && tsup && node scripts/stamp-entry-headers.mjs",
|
|
54
59
|
"typecheck": "pnpm run build:deps && tsc --noEmit",
|
|
55
60
|
"pretest": "pnpm run build:deps",
|
|
56
61
|
"test": "vitest run",
|
|
57
62
|
"clean": "rm -rf dist ../contracts/evm/escrow-encoding/typescript/dist ../contracts/tvm/escrow-encoding/typescript/dist ../contracts/svm/escrow-encoding/typescript/dist ../schemas/apis/atum-escrow/v1/bindings/typescript/dist ../schemas/apis/fulfillment-confirmation/v1/bindings/typescript/dist",
|
|
58
63
|
"check:publishable": "node scripts/check-publishable.mjs",
|
|
64
|
+
"gen:notices": "node scripts/gen-third-party-notices.mjs",
|
|
59
65
|
"prepare": "pnpm run build",
|
|
60
66
|
"prepublishOnly": "pnpm run build && pnpm run check:publishable"
|
|
61
67
|
},
|
|
62
68
|
"dependencies": {
|
|
69
|
+
"@solana/web3.js": "^1.91.0",
|
|
63
70
|
"bs58": "^6.0.0",
|
|
64
71
|
"ethers": "^6.13.0",
|
|
65
72
|
"tweetnacl": "^1.0.3"
|