@echoxyz/sonar-core 0.14.1 → 0.14.2
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/CHANGELOG.md +7 -0
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -319,7 +319,7 @@ var SonarClient = class {
|
|
|
319
319
|
// Public API
|
|
320
320
|
async readCommitmentData(args) {
|
|
321
321
|
return this.postJSON(
|
|
322
|
-
"/
|
|
322
|
+
"/sonar/v1/public/read-commitment-data",
|
|
323
323
|
{
|
|
324
324
|
SaleUUID: args.saleUUID
|
|
325
325
|
},
|
|
@@ -427,6 +427,7 @@ var PrePurchaseFailureReason = /* @__PURE__ */ ((PrePurchaseFailureReason2) => {
|
|
|
427
427
|
PrePurchaseFailureReason2["REQUIRES_LIVENESS"] = "requires-liveness";
|
|
428
428
|
PrePurchaseFailureReason2["SALE_NOT_ACTIVE"] = "sale-not-active";
|
|
429
429
|
PrePurchaseFailureReason2["WALLET_NOT_LINKED"] = "wallet-not-linked";
|
|
430
|
+
PrePurchaseFailureReason2["OUTSIDE_TIME_WINDOW"] = "outside-time-window";
|
|
430
431
|
return PrePurchaseFailureReason2;
|
|
431
432
|
})(PrePurchaseFailureReason || {});
|
|
432
433
|
var InvestingRegion = /* @__PURE__ */ ((InvestingRegion2) => {
|
package/dist/index.d.cts
CHANGED
|
@@ -98,7 +98,8 @@ declare enum PrePurchaseFailureReason {
|
|
|
98
98
|
MAX_WALLETS_USED = "max-wallets-used",
|
|
99
99
|
REQUIRES_LIVENESS = "requires-liveness",
|
|
100
100
|
SALE_NOT_ACTIVE = "sale-not-active",
|
|
101
|
-
WALLET_NOT_LINKED = "wallet-not-linked"
|
|
101
|
+
WALLET_NOT_LINKED = "wallet-not-linked",
|
|
102
|
+
OUTSIDE_TIME_WINDOW = "outside-time-window"
|
|
102
103
|
}
|
|
103
104
|
declare enum InvestingRegion {
|
|
104
105
|
UNKNOWN = "unknown",
|
package/dist/index.d.ts
CHANGED
|
@@ -98,7 +98,8 @@ declare enum PrePurchaseFailureReason {
|
|
|
98
98
|
MAX_WALLETS_USED = "max-wallets-used",
|
|
99
99
|
REQUIRES_LIVENESS = "requires-liveness",
|
|
100
100
|
SALE_NOT_ACTIVE = "sale-not-active",
|
|
101
|
-
WALLET_NOT_LINKED = "wallet-not-linked"
|
|
101
|
+
WALLET_NOT_LINKED = "wallet-not-linked",
|
|
102
|
+
OUTSIDE_TIME_WINDOW = "outside-time-window"
|
|
102
103
|
}
|
|
103
104
|
declare enum InvestingRegion {
|
|
104
105
|
UNKNOWN = "unknown",
|
package/dist/index.js
CHANGED
|
@@ -282,7 +282,7 @@ var SonarClient = class {
|
|
|
282
282
|
// Public API
|
|
283
283
|
async readCommitmentData(args) {
|
|
284
284
|
return this.postJSON(
|
|
285
|
-
"/
|
|
285
|
+
"/sonar/v1/public/read-commitment-data",
|
|
286
286
|
{
|
|
287
287
|
SaleUUID: args.saleUUID
|
|
288
288
|
},
|
|
@@ -390,6 +390,7 @@ var PrePurchaseFailureReason = /* @__PURE__ */ ((PrePurchaseFailureReason2) => {
|
|
|
390
390
|
PrePurchaseFailureReason2["REQUIRES_LIVENESS"] = "requires-liveness";
|
|
391
391
|
PrePurchaseFailureReason2["SALE_NOT_ACTIVE"] = "sale-not-active";
|
|
392
392
|
PrePurchaseFailureReason2["WALLET_NOT_LINKED"] = "wallet-not-linked";
|
|
393
|
+
PrePurchaseFailureReason2["OUTSIDE_TIME_WINDOW"] = "outside-time-window";
|
|
393
394
|
return PrePurchaseFailureReason2;
|
|
394
395
|
})(PrePurchaseFailureReason || {});
|
|
395
396
|
var InvestingRegion = /* @__PURE__ */ ((InvestingRegion2) => {
|