@mysten-incubation/suipay-buyer 0.3.0-dev.2 → 0.3.0-dev.21

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.
@@ -57,6 +57,17 @@ declare const ERRORS: {
57
57
  readonly user: null;
58
58
  readonly logOnly: true;
59
59
  };
60
+ readonly 'indexer.native_settlement_deferred': {
61
+ readonly surfaces: readonly ["indexer"];
62
+ readonly status: null;
63
+ readonly title: "Native settlement is deferred; holding the checkpoint";
64
+ readonly paymentState: "not_charged";
65
+ readonly retry: "after_delay";
66
+ readonly retryAfterSeconds: 5;
67
+ readonly nextAction: "retry_later";
68
+ readonly user: null;
69
+ readonly logOnly: true;
70
+ };
60
71
  readonly 'indexer.config_invalid': {
61
72
  readonly surfaces: readonly ["indexer"];
62
73
  readonly status: null;
@@ -549,7 +560,7 @@ declare const ERRORS: {
549
560
  };
550
561
  };
551
562
  readonly 'limit.rate_limited': {
552
- readonly surfaces: readonly ["gateway", "console_server"];
563
+ readonly surfaces: readonly ["gateway", "console_server", "sdk"];
553
564
  readonly status: 429;
554
565
  readonly title: "Rate limit exceeded";
555
566
  readonly paymentState: "not_charged";
@@ -2706,6 +2717,55 @@ declare const ERRORS: {
2706
2717
  readonly message: "That web address doesn't exist. Check the spelling and try again.";
2707
2718
  };
2708
2719
  };
2720
+ readonly 'request.recipient_changed': {
2721
+ readonly surfaces: readonly ["gateway"];
2722
+ readonly status: 409;
2723
+ readonly title: "Pay-to address changed while its registry was being checked";
2724
+ readonly paymentState: "not_charged";
2725
+ readonly retry: "never";
2726
+ readonly nextAction: "fix_request";
2727
+ readonly user: {
2728
+ readonly title: "Retry this publish";
2729
+ readonly message: "The payout address changed while its payment registry was being checked. Retry so the current address is checked.";
2730
+ };
2731
+ };
2732
+ readonly 'request.recipient_registry_invalid': {
2733
+ readonly surfaces: readonly ["gateway"];
2734
+ readonly status: 409;
2735
+ readonly title: "Payment registry does not verify for this deployment";
2736
+ readonly paymentState: "not_charged";
2737
+ readonly retry: "never";
2738
+ readonly nextAction: "fix_request";
2739
+ readonly user: {
2740
+ readonly title: "Registry does not match";
2741
+ readonly message: "The payout address's payment registry does not match this deployment. Fix it, then publish again.";
2742
+ };
2743
+ };
2744
+ readonly 'request.recipient_registry_missing': {
2745
+ readonly surfaces: readonly ["gateway"];
2746
+ readonly status: 409;
2747
+ readonly title: "Pay-to address has no payment registry";
2748
+ readonly paymentState: "not_charged";
2749
+ readonly retry: "never";
2750
+ readonly nextAction: "fix_request";
2751
+ readonly user: {
2752
+ readonly title: "Create a payment registry";
2753
+ readonly message: "This payout address has no payment registry on this network yet. Create it in the seller console, then publish again.";
2754
+ };
2755
+ };
2756
+ readonly 'request.recipient_registry_unreadable': {
2757
+ readonly surfaces: readonly ["gateway"];
2758
+ readonly status: 503;
2759
+ readonly title: "Payment registry could not be read";
2760
+ readonly paymentState: "not_charged";
2761
+ readonly retry: "after_delay";
2762
+ readonly retryAfterSeconds: 5;
2763
+ readonly nextAction: "retry_later";
2764
+ readonly user: {
2765
+ readonly title: "Registry unread";
2766
+ readonly message: "The payment registry could not be read just now. Wait a moment and try again.";
2767
+ };
2768
+ };
2709
2769
  readonly 'request.redirect_refused': {
2710
2770
  readonly surfaces: readonly ["console_server", "sdk"];
2711
2771
  readonly status: 422;
@@ -1,2 +1,2 @@
1
1
  import '@mysten/sui/client';
2
- export { B as BuildNativeTransferInput, a as NativeTransferAccept, b as NativeTransferBuild, c as NativeTransferError, k as NativeTransferErrorCode, d as NativeTransferGas, e as NativeTransferSignerInput, h as buildNativeTransferBytes, i as createNativeTransferSigner, j as inspectNativeTransfer } from './native-transfer-BN4VEDV0.js';
2
+ export { B as BuildNativeTransferInput, a as NativeTransferAccept, b as NativeTransferBuild, c as NativeTransferError, k as NativeTransferErrorCode, d as NativeTransferGas, e as NativeTransferSignerInput, h as buildNativeTransferBytes, i as createNativeTransferSigner, j as inspectNativeTransfer } from './native-transfer-DspFvMQc.js';
@@ -3,7 +3,7 @@ import {
3
3
  buildNativeTransferBytes,
4
4
  createNativeTransferSigner,
5
5
  inspectNativeTransfer
6
- } from "./chunk-XHHXRSY3.js";
6
+ } from "./chunk-BCI3TKYX.js";
7
7
  export {
8
8
  NativeTransferError,
9
9
  buildNativeTransferBytes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mysten-incubation/suipay-buyer",
3
- "version": "0.3.0-dev.2",
3
+ "version": "0.3.0-dev.21",
4
4
  "type": "module",
5
5
  "description": "SuiPay buyer SDK — delegated spend-account pay plus a typed /v1 control-plane client.",
6
6
  "license": "MIT",
@@ -40,8 +40,8 @@
40
40
  "tsup": "^8.0.0",
41
41
  "typescript": "^6.0.3",
42
42
  "vitest": "^4.1.10",
43
- "@cmdoss/suipay-sdk": "0.1.0",
44
- "@cmdoss/suipay-core": "0.1.0"
43
+ "@cmdoss/suipay-core": "0.1.0",
44
+ "@cmdoss/suipay-sdk": "0.1.0"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "tsup",