@mysten-incubation/suipay 0.2.0-dev.1 → 0.2.0-dev.3

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/dist/index.d.ts CHANGED
@@ -457,6 +457,16 @@ declare const ERRORS: {
457
457
  readonly user: null;
458
458
  readonly logOnly: true;
459
459
  };
460
+ readonly 'service.readiness': {
461
+ readonly surfaces: readonly ["gateway"];
462
+ readonly status: null;
463
+ readonly title: "Readiness gauge updated";
464
+ readonly paymentState: "not_charged";
465
+ readonly retry: "never";
466
+ readonly nextAction: "none";
467
+ readonly user: null;
468
+ readonly logOnly: true;
469
+ };
460
470
  readonly 'service.bookkeeping_failed': {
461
471
  readonly surfaces: readonly ["gateway"];
462
472
  readonly status: null;
package/dist/index.js CHANGED
@@ -2082,6 +2082,19 @@ var SERVICE_CODES = {
2082
2082
  user: null,
2083
2083
  logOnly: true
2084
2084
  },
2085
+ // A readiness gauge moved while the process is still serving. Not a degraded
2086
+ // boot: `service.config_degraded` is reserved for that, and for the sample
2087
+ // that actually fails closed.
2088
+ "service.readiness": {
2089
+ surfaces: ["gateway"],
2090
+ status: null,
2091
+ title: "Readiness gauge updated",
2092
+ paymentState: "not_charged",
2093
+ retry: "never",
2094
+ nextAction: "none",
2095
+ user: null,
2096
+ logOnly: true
2097
+ },
2085
2098
  // A best-effort write (a trace event, a receipt, a delivery record) failed.
2086
2099
  // The request it belongs to keeps its answer.
2087
2100
  "service.bookkeeping_failed": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mysten-incubation/suipay",
3
- "version": "0.2.0-dev.1",
3
+ "version": "0.2.0-dev.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "SuiPay embeddable client — quote and pay a 402 from a spend-account grant.",
@@ -37,8 +37,8 @@
37
37
  "tsup": "^8.0.0",
38
38
  "typescript": "^6.0.3",
39
39
  "vitest": "^4.1.10",
40
- "@cmdoss/suipay-sdk": "0.1.0",
41
- "@cmdoss/suipay-core": "0.1.0"
40
+ "@cmdoss/suipay-core": "0.1.0",
41
+ "@cmdoss/suipay-sdk": "0.1.0"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsup",