@atumlabs/mppx-atum-escrow 0.4.0 → 0.4.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.
@@ -11,11 +11,20 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
11
11
  if (typeof require !== "undefined") return require.apply(this, arguments);
12
12
  throw Error('Dynamic require of "' + x + '" is not supported');
13
13
  });
14
- var __esm = (fn, res) => function __init() {
15
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
14
+ var __esm = (fn, res, err) => function __init() {
15
+ if (err) throw err[0];
16
+ try {
17
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
18
+ } catch (e) {
19
+ throw err = [e], e;
20
+ }
16
21
  };
17
22
  var __commonJS = (cb, mod) => function __require2() {
18
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
23
+ try {
24
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
25
+ } catch (e) {
26
+ throw mod = 0, e;
27
+ }
19
28
  };
20
29
  var __export = (target, all) => {
21
30
  for (var name in all)
@@ -1929,7 +1938,7 @@ var require_errors2 = __commonJS({
1929
1938
  "../contracts/svm/escrow-encoding/typescript/dist/errors.js"(exports) {
1930
1939
  "use strict";
1931
1940
  Object.defineProperty(exports, "__esModule", { value: true });
1932
- exports.DestinationTooLongError = exports.EmptyDestinationError = exports.ZeroSourceAmountError = exports.ZeroQuoteHashError = exports.InvalidHexError = exports.InvalidBase58Error = exports.InvalidPubkeyLengthError = exports.ZeroDepositHashError = exports.ZeroRecipientError = exports.ZeroReleaserError = exports.ZeroReserverError = exports.ZeroAmountError = exports.ZeroMintError = exports.ZeroDepositorError = exports.ZeroDepositRequestHashError = exports.EncodingError = void 0;
1941
+ exports.InvalidEscrowDomainError = exports.DestinationTooLongError = exports.EmptyDestinationError = exports.ZeroSourceAmountError = exports.ZeroQuoteHashError = exports.InvalidHexError = exports.InvalidBase58Error = exports.InvalidPubkeyLengthError = exports.ZeroDepositHashError = exports.ZeroRecipientError = exports.ZeroReleaserError = exports.ZeroReserverError = exports.ZeroAmountError = exports.ZeroMintError = exports.ZeroDepositorError = exports.ZeroDepositRequestHashError = exports.EncodingError = void 0;
1933
1942
  var EncodingError = class extends Error {
1934
1943
  constructor(message) {
1935
1944
  super(message);
@@ -2042,6 +2051,13 @@ var require_errors2 = __commonJS({
2042
2051
  }
2043
2052
  };
2044
2053
  exports.DestinationTooLongError = DestinationTooLongError;
2054
+ var InvalidEscrowDomainError = class extends EncodingError {
2055
+ constructor(message) {
2056
+ super(message);
2057
+ this.name = "InvalidEscrowDomainError";
2058
+ }
2059
+ };
2060
+ exports.InvalidEscrowDomainError = InvalidEscrowDomainError;
2045
2061
  }
2046
2062
  });
2047
2063
 
@@ -2750,12 +2766,17 @@ var require_escrow_domain = __commonJS({
2750
2766
  "use strict";
2751
2767
  Object.defineProperty(exports, "__esModule", { value: true });
2752
2768
  exports.escrowDomainPrefixBytes = escrowDomainPrefixBytes;
2769
+ exports.newEscrowDomain = newEscrowDomain;
2770
+ var errors_1 = require_errors2();
2753
2771
  function escrowDomainPrefixBytes(domain) {
2754
2772
  if (domain.clusterId.length !== 32) {
2755
- throw new Error(`EscrowDomain.clusterId must be 32 bytes, got ${domain.clusterId.length}`);
2773
+ throw new errors_1.InvalidEscrowDomainError(`EscrowDomain.clusterId must be 32 bytes, got ${domain.clusterId.length}`);
2774
+ }
2775
+ if (domain.programId.isZero()) {
2776
+ throw new errors_1.InvalidEscrowDomainError("EscrowDomain.programId cannot be zero");
2756
2777
  }
2757
2778
  if (!Number.isInteger(domain.signatureDomainVersion) || domain.signatureDomainVersion < 1 || domain.signatureDomainVersion > 255) {
2758
- throw new Error(`EscrowDomain.signatureDomainVersion must be an integer in 1..=255, got ${domain.signatureDomainVersion}`);
2779
+ throw new errors_1.InvalidEscrowDomainError(`EscrowDomain.signatureDomainVersion must be an integer in 1..=255, got ${domain.signatureDomainVersion}`);
2759
2780
  }
2760
2781
  return [
2761
2782
  new TextEncoder().encode("escrow"),
@@ -2764,6 +2785,25 @@ var require_escrow_domain = __commonJS({
2764
2785
  domain.programId.toBytes()
2765
2786
  ];
2766
2787
  }
2788
+ function newEscrowDomain(clusterName, signatureDomainVersion, programId) {
2789
+ const trimmed = clusterName.trim();
2790
+ if (trimmed.length === 0) {
2791
+ throw new errors_1.InvalidEscrowDomainError("EscrowDomain cluster name cannot be empty");
2792
+ }
2793
+ const encoded = new TextEncoder().encode(trimmed);
2794
+ if (encoded.length > 32) {
2795
+ throw new errors_1.InvalidEscrowDomainError(`EscrowDomain cluster name "${trimmed}" exceeds 32 bytes`);
2796
+ }
2797
+ if (!Number.isInteger(signatureDomainVersion) || signatureDomainVersion < 1 || signatureDomainVersion > 255) {
2798
+ throw new errors_1.InvalidEscrowDomainError(`EscrowDomain.signatureDomainVersion must be an integer in 1..=255, got ${signatureDomainVersion}`);
2799
+ }
2800
+ if (programId.isZero()) {
2801
+ throw new errors_1.InvalidEscrowDomainError("EscrowDomain.programId cannot be zero");
2802
+ }
2803
+ const clusterId = new Uint8Array(32);
2804
+ clusterId.set(encoded);
2805
+ return { clusterId, signatureDomainVersion, programId };
2806
+ }
2767
2807
  }
2768
2808
  });
2769
2809
 
@@ -2962,7 +3002,7 @@ var require_dist3 = __commonJS({
2962
3002
  "../contracts/svm/escrow-encoding/typescript/dist/index.js"(exports) {
2963
3003
  "use strict";
2964
3004
  Object.defineProperty(exports, "__esModule", { value: true });
2965
- exports.DEPOSIT_COMPUTE_UNIT_LIMIT = exports.REPLAY_BUCKETS = exports.MAX_VALID_SLOT = exports.REPLAY_SLOTS = exports.generateNonce = exports.computeRefundHashV2 = exports.computeRefundHash = exports.computeReleaseHashV2 = exports.computeReleaseHash = exports.computeReserveHashV3 = exports.computeReserveHashV2 = exports.computeReserveHash = exports.MAX_DESTINATION_LEN = exports.computeDestinationHash = exports.computeDepositHashV2 = exports.computeDepositHash = exports.InvalidHexError = exports.InvalidBase58Error = exports.InvalidPubkeyLengthError = exports.ZeroDepositHashError = exports.ZeroRecipientError = exports.ZeroReleaserError = exports.ZeroReserverError = exports.ZeroAmountError = exports.ZeroMintError = exports.ZeroDepositorError = exports.DestinationTooLongError = exports.EmptyDestinationError = exports.ZeroQuoteHashError = exports.ZeroDepositRequestHashError = exports.EncodingError = exports.escrowDomainPrefixBytes = exports.isZeroBytes32 = exports.stringToBytes = exports.keccak256 = exports.encodeU64LE = exports.Pubkey = void 0;
3005
+ exports.DEPOSIT_COMPUTE_UNIT_LIMIT = exports.REPLAY_BUCKETS = exports.MAX_VALID_SLOT = exports.REPLAY_SLOTS = exports.generateNonce = exports.computeRefundHashV2 = exports.computeRefundHash = exports.computeReleaseHashV2 = exports.computeReleaseHash = exports.computeReserveHashV3 = exports.computeReserveHashV2 = exports.computeReserveHash = exports.MAX_DESTINATION_LEN = exports.computeDestinationHash = exports.computeDepositHashV2 = exports.computeDepositHash = exports.InvalidHexError = exports.InvalidBase58Error = exports.InvalidPubkeyLengthError = exports.InvalidEscrowDomainError = exports.ZeroSourceAmountError = exports.ZeroDepositHashError = exports.ZeroRecipientError = exports.ZeroReleaserError = exports.ZeroReserverError = exports.ZeroAmountError = exports.ZeroMintError = exports.ZeroDepositorError = exports.DestinationTooLongError = exports.EmptyDestinationError = exports.ZeroQuoteHashError = exports.ZeroDepositRequestHashError = exports.EncodingError = exports.newEscrowDomain = exports.escrowDomainPrefixBytes = exports.isZeroBytes32 = exports.stringToBytes = exports.keccak256 = exports.encodeU64LE = exports.Pubkey = void 0;
2966
3006
  var pubkey_1 = require_pubkey();
2967
3007
  Object.defineProperty(exports, "Pubkey", { enumerable: true, get: function() {
2968
3008
  return pubkey_1.Pubkey;
@@ -2984,6 +3024,9 @@ var require_dist3 = __commonJS({
2984
3024
  Object.defineProperty(exports, "escrowDomainPrefixBytes", { enumerable: true, get: function() {
2985
3025
  return escrow_domain_1.escrowDomainPrefixBytes;
2986
3026
  } });
3027
+ Object.defineProperty(exports, "newEscrowDomain", { enumerable: true, get: function() {
3028
+ return escrow_domain_1.newEscrowDomain;
3029
+ } });
2987
3030
  var errors_1 = require_errors2();
2988
3031
  Object.defineProperty(exports, "EncodingError", { enumerable: true, get: function() {
2989
3032
  return errors_1.EncodingError;
@@ -3021,6 +3064,12 @@ var require_dist3 = __commonJS({
3021
3064
  Object.defineProperty(exports, "ZeroDepositHashError", { enumerable: true, get: function() {
3022
3065
  return errors_1.ZeroDepositHashError;
3023
3066
  } });
3067
+ Object.defineProperty(exports, "ZeroSourceAmountError", { enumerable: true, get: function() {
3068
+ return errors_1.ZeroSourceAmountError;
3069
+ } });
3070
+ Object.defineProperty(exports, "InvalidEscrowDomainError", { enumerable: true, get: function() {
3071
+ return errors_1.InvalidEscrowDomainError;
3072
+ } });
3024
3073
  Object.defineProperty(exports, "InvalidPubkeyLengthError", { enumerable: true, get: function() {
3025
3074
  return errors_1.InvalidPubkeyLengthError;
3026
3075
  } });
package/dist/client.d.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  import * as zod_v4_core from 'zod/v4/core';
2
2
  import * as z from 'zod/mini';
3
- import { S as SenderSigner, h as SenderSignerOptions, k as SolanaClusterUnixTimeReader } from './internal-CJEu9yUF.js';
4
- export { A as AtumEscrowChallenge, a as AtumEscrowCredential, C as ChargeCredentialPayload, d as ChargeRequest, e as ChargeRequestSchema, f as CredentialPayloadSchema, I as INTENT, g as INTENT_ID_META_KEY, M as METHOD_NAME, i as atumEscrowChargeMethod } from './internal-CJEu9yUF.js';
3
+ import { S as SenderSigner, h as SenderSignerOptions, k as SolanaClusterUnixTimeReader } from './internal-BZBJJfaL.js';
4
+ export { A as AtumEscrowChallenge, a as AtumEscrowCredential, C as ChargeCredentialPayload, d as ChargeRequest, e as ChargeRequestSchema, f as CredentialPayloadSchema, I as INTENT, g as INTENT_ID_META_KEY, M as METHOD_NAME, i as atumEscrowChargeMethod } from './internal-BZBJJfaL.js';
5
5
  import { Method } from 'mppx';
6
6
  import { Signer } from 'ethers';
7
7
  export { PaymentRequest } from './generated/index.js';
8
+ import './sender-auth-verify-C-Q-zvAO.js';
8
9
 
9
10
  /**
10
11
  * Result of an {@link ensureSourceApproval} call.
package/dist/client.js CHANGED
@@ -1,14 +1,12 @@
1
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.
2
+ * Copyright 2026 Atum Labs, Inc.
3
+ * SPDX-License-Identifier: Apache-2.0
6
4
  */
7
5
  import { createRequire as __atumCreateRequire } from 'module'; const require = __atumCreateRequire(import.meta.url);
8
6
  import {
9
7
  import_payment_request_token_approval,
10
8
  registerClient
11
- } from "./chunk-KRSFEITH.js";
9
+ } from "./chunk-IGTT7XSG.js";
12
10
  import {
13
11
  ChargeRequestSchema,
14
12
  CredentialPayloadSchema,
@@ -16,7 +14,7 @@ import {
16
14
  INTENT_ID_META_KEY,
17
15
  METHOD_NAME,
18
16
  atumEscrowChargeMethod
19
- } from "./chunk-OEEC5P3E.js";
17
+ } from "./chunk-LAWFMGYD.js";
20
18
  var export_ensureSourceApproval = import_payment_request_token_approval.ensureSourceApproval;
21
19
  var export_isUnconfirmed = import_payment_request_token_approval.isUnconfirmed;
22
20
  var export_needsSourceApproval = import_payment_request_token_approval.needsSourceApproval;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- export { A as AtumEscrowChallenge, a as AtumEscrowCredential, b as AtumEscrowExtra, c as AtumEscrowRequest, C as ChargeCredentialPayload, d as ChargeRequest, e as ChargeRequestSchema, f as CredentialPayloadSchema, I as INTENT, g as INTENT_ID_META_KEY, M as METHOD_NAME, S as SenderSigner, h as SenderSignerOptions, i as atumEscrowChargeMethod } from './internal-CJEu9yUF.js';
1
+ export { A as AtumEscrowChallenge, a as AtumEscrowCredential, b as AtumEscrowExtra, c as AtumEscrowRequest, C as ChargeCredentialPayload, d as ChargeRequest, e as ChargeRequestSchema, f as CredentialPayloadSchema, I as INTENT, g as INTENT_ID_META_KEY, M as METHOD_NAME, S as SenderSigner, h as SenderSignerOptions, i as atumEscrowChargeMethod } from './internal-BZBJJfaL.js';
2
2
  export { ApprovalParams, AtumEscrowClientConfig, ConfirmationOptions, EnsureApprovalResult, TronWebLike, ensureSourceApproval, isUnconfirmed, needsSourceApproval, registerClient } from './client.js';
3
3
  export { AtumEscrowCorridor, AtumEscrowReceipt, AtumEscrowServer, AtumEscrowServerConfig, AtumEscrowSource, ChainDefaultsSource, ChargeChallenge, FulfillmentConfirmation, PaymentRejectedError, PaymentSettlementStatus, PaymentSubmitResult, PaymentSubmitter, SettlementErrorDetails, SettlementFailedError, SettlementPendingError, buildChargeChallenge, buildChargeRequest, corridorFromDefaults, isPaymentRejected, isSettlementFailed, isSettlementPending, registerServer, validateCorridor } from './server.js';
4
4
  export { PaymentRequest } from './generated/index.js';
5
+ import './sender-auth-verify-C-Q-zvAO.js';
5
6
  import 'zod/mini';
6
7
  import 'mppx';
7
8
  import 'zod/v4/core';
package/dist/index.js CHANGED
@@ -1,14 +1,12 @@
1
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.
2
+ * Copyright 2026 Atum Labs, Inc.
3
+ * SPDX-License-Identifier: Apache-2.0
6
4
  */
7
5
  import { createRequire as __atumCreateRequire } from 'module'; const require = __atumCreateRequire(import.meta.url);
8
6
  import {
9
7
  import_payment_request_token_approval,
10
8
  registerClient
11
- } from "./chunk-KRSFEITH.js";
9
+ } from "./chunk-IGTT7XSG.js";
12
10
  import {
13
11
  PaymentRejectedError,
14
12
  SettlementFailedError,
@@ -21,7 +19,7 @@ import {
21
19
  isSettlementPending,
22
20
  registerServer,
23
21
  validateCorridor
24
- } from "./chunk-TPLD2L6B.js";
22
+ } from "./chunk-EWIOTGMO.js";
25
23
  import {
26
24
  ChargeRequestSchema,
27
25
  CredentialPayloadSchema,
@@ -29,7 +27,7 @@ import {
29
27
  INTENT_ID_META_KEY,
30
28
  METHOD_NAME,
31
29
  atumEscrowChargeMethod
32
- } from "./chunk-OEEC5P3E.js";
30
+ } from "./chunk-LAWFMGYD.js";
33
31
  var export_ensureSourceApproval = import_payment_request_token_approval.ensureSourceApproval;
34
32
  var export_isUnconfirmed = import_payment_request_token_approval.isUnconfirmed;
35
33
  var export_needsSourceApproval = import_payment_request_token_approval.needsSourceApproval;
@@ -1,34 +1,8 @@
1
+ import { t } from './sender-auth-verify-C-Q-zvAO.js';
1
2
  import * as z from 'zod/mini';
2
3
  import { PaymentRequest } from './generated/index.js';
3
4
  import { Challenge, Credential } from 'mppx';
4
5
 
5
- /**
6
- * A message that has been cryptographically signed to prove authorization. The signature proves you control the wallet that's sending funds.
7
- */
8
- type SignedMessage = {
9
- /**
10
- * The data that was signed. Format depends on the blockchain:
11
- * - EVM: Hex-encoded message hash (with 0x prefix)
12
- * - Solana: Hex-encoded message hash (with 0x prefix)
13
- * - Tron: Hex-encoded message hash (possibly without 0x prefix)
14
- */
15
- message: string;
16
- /**
17
- * Optional: If 'message' contains a hash, this field contains the original data before it was hashed. Useful for verification and debugging.
18
- */
19
- message_prehash?: string;
20
- /**
21
- * The cryptographic signature proving you authorized this message. Hex-encoded with a 0x prefix on every supported chain. The signer's own public key is base58 on Solana, but the signature itself is not.
22
- */
23
- signature: string;
24
- /**
25
- * Optional chain-specific payload containing additional signing context (e.g., delegate_signer for Solana). Preserved through the pipeline for downstream consumers.
26
- */
27
- payload?: {
28
- [key: string]: unknown;
29
- };
30
- };
31
-
32
6
  /**
33
7
  * Chain defaults returned by the payment gateway /v1/defaults endpoint.
34
8
  */
@@ -41,10 +15,10 @@ interface ChainDefaults {
41
15
  permit2Contract?: string;
42
16
  /**
43
17
  * Which deposit witness the escrow deployed on this chain pins, surfaced by payment-gw
44
- * `/v1/defaults` as `deposit_witness_version` (CORE-2033). EVM/Tron only — Solana carries the
18
+ * `/v1/defaults` as `deposit_witness_version`. EVM/Tron only — Solana carries the
45
19
  * same fact in `svmSignatureDomainVersion` below.
46
20
  *
47
- * `4` and above select the CORE-2120 four-member witness
21
+ * `4` and above select the four-member witness
48
22
  * (`depositRequestHash`, `destination`, `reserver`, `releaser`); `3` selects the two-member
49
23
  * witness a not-yet-redeployed escrow pins. ABSENT means four — see the sender-auth package's
50
24
  * `ChainDefaults.depositWitnessVersion` for why absence is the permissive default.
@@ -116,7 +90,7 @@ interface SenderSignature {
116
90
  }
117
91
  /** Signs a single sender_auth signed message for a payment request. */
118
92
  interface SenderSigner {
119
- sign(signedMessage: SignedMessage): Promise<SenderSignature>;
93
+ sign(signedMessage: t): Promise<SenderSignature>;
120
94
  }
121
95
  /** Turnkey provider configuration (shared by the SDK and the CLI env loader). */
122
96
  interface TurnkeyConfig {
package/dist/server.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- import { i as atumEscrowChargeMethod, j as ChainDefaults, d as ChargeRequest } from './internal-CJEu9yUF.js';
2
- export { A as AtumEscrowChallenge, a as AtumEscrowCredential, C as ChargeCredentialPayload, e as ChargeRequestSchema, f as CredentialPayloadSchema, I as INTENT, g as INTENT_ID_META_KEY, M as METHOD_NAME } from './internal-CJEu9yUF.js';
1
+ import { i as atumEscrowChargeMethod, j as ChainDefaults, d as ChargeRequest } from './internal-BZBJJfaL.js';
2
+ export { A as AtumEscrowChallenge, a as AtumEscrowCredential, C as ChargeCredentialPayload, e as ChargeRequestSchema, f as CredentialPayloadSchema, I as INTENT, g as INTENT_ID_META_KEY, M as METHOD_NAME } from './internal-BZBJJfaL.js';
3
3
  import { Errors, Receipt, Method } from 'mppx';
4
4
  import { PaymentRequest } from './generated/index.js';
5
5
  export { PaymentRequest } from './generated/index.js';
6
+ import './sender-auth-verify-C-Q-zvAO.js';
6
7
  import 'zod/mini';
7
8
 
8
9
  /**
@@ -239,8 +240,15 @@ interface AtumEscrowCorridor {
239
240
  /** Accepted source options; selected per charge by `(network, asset)`. */
240
241
  sources: AtumEscrowSource[];
241
242
  }
242
- /** Lifecycle state the gateway reports for a payment. */
243
- type PaymentSettlementStatus = 'pending' | 'completed' | 'failed' | 'cancelled';
243
+ /**
244
+ * Lifecycle state the gateway reports for a payment.
245
+ *
246
+ * `finalizing` means the payment is on chain but has not yet reached the confirmation depth its
247
+ * chain requires. It is NOT terminal: a payer must keep waiting on the same idempotency key, never
248
+ * start a second payment for it.
249
+ *
250
+ */
251
+ type PaymentSettlementStatus = 'pending' | 'finalizing' | 'completed' | 'failed';
244
252
  /** What a {@link PaymentSubmitter} resolves with. */
245
253
  interface PaymentSubmitResult {
246
254
  /** The gateway's payment id. Present whenever the payment was accepted. */
package/dist/server.js CHANGED
@@ -1,8 +1,6 @@
1
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.
2
+ * Copyright 2026 Atum Labs, Inc.
3
+ * SPDX-License-Identifier: Apache-2.0
6
4
  */
7
5
  import { createRequire as __atumCreateRequire } from 'module'; const require = __atumCreateRequire(import.meta.url);
8
6
  import {
@@ -17,7 +15,7 @@ import {
17
15
  isSettlementPending,
18
16
  registerServer,
19
17
  validateCorridor
20
- } from "./chunk-TPLD2L6B.js";
18
+ } from "./chunk-EWIOTGMO.js";
21
19
  import {
22
20
  ChargeRequestSchema,
23
21
  CredentialPayloadSchema,
@@ -25,7 +23,7 @@ import {
25
23
  INTENT_ID_META_KEY,
26
24
  METHOD_NAME,
27
25
  atumEscrowChargeMethod
28
- } from "./chunk-OEEC5P3E.js";
26
+ } from "./chunk-LAWFMGYD.js";
29
27
  export {
30
28
  ChargeRequestSchema,
31
29
  CredentialPayloadSchema,
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@atumlabs/mppx-atum-escrow",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Atum cross-chain escrow payment method for the Machine Payments Protocol (MPP).",
5
5
  "author": "Atum Labs, Inc.",
6
- "license": "SEE LICENSE IN LICENSE",
6
+ "license": "Apache-2.0",
7
7
  "publishConfig": {
8
- "access": "restricted"
8
+ "access": "public"
9
9
  },
10
10
  "homepage": "https://github.com/Atum-Labs/protocol/tree/main/mppx-atum-escrow#readme",
11
11
  "repository": {
@@ -51,6 +51,7 @@
51
51
  "README.md",
52
52
  "CHANGELOG.md",
53
53
  "LICENSE",
54
+ "NOTICE",
54
55
  "THIRD-PARTY-NOTICES.txt"
55
56
  ],
56
57
  "scripts": {
@@ -92,7 +93,7 @@
92
93
  "mppx": "^0.8.12",
93
94
  "tsup": "^8.5.1",
94
95
  "typescript": "^5.6.3",
95
- "vitest": "^2.1.9",
96
+ "vitest": "^4.1.11",
96
97
  "zod": "^4.4.3"
97
98
  }
98
99
  }