@mysten-incubation/suipay-buyer 0.3.0-dev.9 → 0.4.0-dev.0
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/README.md +29 -0
- package/dist/{chunk-XQA5ISYE.js → chunk-BCI3TKYX.js} +14 -1
- package/dist/index.d.ts +55 -4
- package/dist/index.js +729 -88
- package/dist/{native-transfer-BSiUmi3i.d.ts → native-transfer-DspFvMQc.d.ts} +12 -1
- package/dist/native-transfer.d.ts +1 -1
- package/dist/native-transfer.js +1 -1
- package/package.json +3 -3
|
@@ -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";
|
|
@@ -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-
|
|
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';
|
package/dist/native-transfer.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mysten-incubation/suipay-buyer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0-dev.0",
|
|
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-
|
|
44
|
-
"@cmdoss/suipay-
|
|
43
|
+
"@cmdoss/suipay-core": "0.1.0",
|
|
44
|
+
"@cmdoss/suipay-sdk": "0.1.0"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "tsup",
|