@echoxyz/sonar-core 0.10.0 → 0.12.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @echoxyz/sonar-core
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - cc7380c: Sync EntitySetupState and SaleEligibility with the API
8
+
9
+ ## 0.11.0
10
+
11
+ ### Minor Changes
12
+
13
+ - cf2914d: Updated entityID name on permit
14
+
3
15
  ## 0.10.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -387,13 +387,14 @@ var EntitySetupState = /* @__PURE__ */ ((EntitySetupState2) => {
387
387
  EntitySetupState2["IN_REVIEW"] = "in-review";
388
388
  EntitySetupState2["FAILURE"] = "failure";
389
389
  EntitySetupState2["FAILURE_FINAL"] = "failure-final";
390
+ EntitySetupState2["TECHNICAL_ISSUE"] = "technical-issue";
390
391
  EntitySetupState2["COMPLETE"] = "complete";
391
392
  return EntitySetupState2;
392
393
  })(EntitySetupState || {});
393
394
  var SaleEligibility = /* @__PURE__ */ ((SaleEligibility2) => {
394
395
  SaleEligibility2["ELIGIBLE"] = "eligible";
395
396
  SaleEligibility2["NOT_ELIGIBLE"] = "not-eligible";
396
- SaleEligibility2["UNKNOWN_INCOMPLETE_SETUP"] = "unknown-incomplete-setup";
397
+ SaleEligibility2["UNKNOWN_SETUP_INCOMPLETE"] = "unknown-setup-incomplete";
397
398
  return SaleEligibility2;
398
399
  })(SaleEligibility || {});
399
400
  var PurchasePermitType = /* @__PURE__ */ ((PurchasePermitType2) => {
package/dist/index.d.cts CHANGED
@@ -40,12 +40,13 @@ declare enum EntitySetupState {
40
40
  IN_REVIEW = "in-review",
41
41
  FAILURE = "failure",
42
42
  FAILURE_FINAL = "failure-final",
43
+ TECHNICAL_ISSUE = "technical-issue",
43
44
  COMPLETE = "complete"
44
45
  }
45
46
  declare enum SaleEligibility {
46
47
  ELIGIBLE = "eligible",
47
48
  NOT_ELIGIBLE = "not-eligible",
48
- UNKNOWN_INCOMPLETE_SETUP = "unknown-incomplete-setup"
49
+ UNKNOWN_SETUP_INCOMPLETE = "unknown-setup-incomplete"
49
50
  }
50
51
  type BasicPermit = {
51
52
  EntityID: Hex;
@@ -61,7 +62,7 @@ type AllocationPermit = {
61
62
  MinAmount: string;
62
63
  };
63
64
  type BasicPermitV2 = {
64
- EntityID: Hex;
65
+ SaleSpecificEntityID: Hex;
65
66
  SaleUUID: Hex;
66
67
  Wallet: Hex;
67
68
  ExpiresAt: number;
package/dist/index.d.ts CHANGED
@@ -40,12 +40,13 @@ declare enum EntitySetupState {
40
40
  IN_REVIEW = "in-review",
41
41
  FAILURE = "failure",
42
42
  FAILURE_FINAL = "failure-final",
43
+ TECHNICAL_ISSUE = "technical-issue",
43
44
  COMPLETE = "complete"
44
45
  }
45
46
  declare enum SaleEligibility {
46
47
  ELIGIBLE = "eligible",
47
48
  NOT_ELIGIBLE = "not-eligible",
48
- UNKNOWN_INCOMPLETE_SETUP = "unknown-incomplete-setup"
49
+ UNKNOWN_SETUP_INCOMPLETE = "unknown-setup-incomplete"
49
50
  }
50
51
  type BasicPermit = {
51
52
  EntityID: Hex;
@@ -61,7 +62,7 @@ type AllocationPermit = {
61
62
  MinAmount: string;
62
63
  };
63
64
  type BasicPermitV2 = {
64
- EntityID: Hex;
65
+ SaleSpecificEntityID: Hex;
65
66
  SaleUUID: Hex;
66
67
  Wallet: Hex;
67
68
  ExpiresAt: number;
package/dist/index.js CHANGED
@@ -350,13 +350,14 @@ var EntitySetupState = /* @__PURE__ */ ((EntitySetupState2) => {
350
350
  EntitySetupState2["IN_REVIEW"] = "in-review";
351
351
  EntitySetupState2["FAILURE"] = "failure";
352
352
  EntitySetupState2["FAILURE_FINAL"] = "failure-final";
353
+ EntitySetupState2["TECHNICAL_ISSUE"] = "technical-issue";
353
354
  EntitySetupState2["COMPLETE"] = "complete";
354
355
  return EntitySetupState2;
355
356
  })(EntitySetupState || {});
356
357
  var SaleEligibility = /* @__PURE__ */ ((SaleEligibility2) => {
357
358
  SaleEligibility2["ELIGIBLE"] = "eligible";
358
359
  SaleEligibility2["NOT_ELIGIBLE"] = "not-eligible";
359
- SaleEligibility2["UNKNOWN_INCOMPLETE_SETUP"] = "unknown-incomplete-setup";
360
+ SaleEligibility2["UNKNOWN_SETUP_INCOMPLETE"] = "unknown-setup-incomplete";
360
361
  return SaleEligibility2;
361
362
  })(SaleEligibility || {});
362
363
  var PurchasePermitType = /* @__PURE__ */ ((PurchasePermitType2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@echoxyz/sonar-core",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",