@echoxyz/sonar-core 0.4.0 → 0.5.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 +12 -0
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @echoxyz/sonar-core
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bece3e6: Update types to match new GeneratePurchasePermit API.
|
|
8
|
+
|
|
9
|
+
## 0.4.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- d52cd7b: Add MinAmount to AllocationPermit
|
|
14
|
+
|
|
3
15
|
## 0.4.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -47,16 +47,17 @@ declare enum SaleEligibility {
|
|
|
47
47
|
UNKNOWN_INCOMPLETE_SETUP = "unknown-incomplete-setup"
|
|
48
48
|
}
|
|
49
49
|
type BasicPermit = {
|
|
50
|
-
EntityID:
|
|
51
|
-
SaleUUID:
|
|
52
|
-
Wallet:
|
|
53
|
-
ExpiresAt:
|
|
54
|
-
Payload:
|
|
50
|
+
EntityID: Hex;
|
|
51
|
+
SaleUUID: Hex;
|
|
52
|
+
Wallet: Hex;
|
|
53
|
+
ExpiresAt: number;
|
|
54
|
+
Payload: Hex;
|
|
55
55
|
};
|
|
56
56
|
type AllocationPermit = {
|
|
57
57
|
Permit: BasicPermit;
|
|
58
58
|
ReservedAmount: string;
|
|
59
59
|
MaxAmount: string;
|
|
60
|
+
MinAmount: string;
|
|
60
61
|
};
|
|
61
62
|
declare enum PurchasePermitType {
|
|
62
63
|
BASIC = "basic",
|
|
@@ -95,7 +96,7 @@ type PrePurchaseCheckResponse = {
|
|
|
95
96
|
};
|
|
96
97
|
type GeneratePurchasePermitResponse = {
|
|
97
98
|
PermitJSON: BasicPermit | AllocationPermit;
|
|
98
|
-
Signature:
|
|
99
|
+
Signature: Hex;
|
|
99
100
|
};
|
|
100
101
|
type AllocationResponse = {
|
|
101
102
|
HasReservedAllocation: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -47,16 +47,17 @@ declare enum SaleEligibility {
|
|
|
47
47
|
UNKNOWN_INCOMPLETE_SETUP = "unknown-incomplete-setup"
|
|
48
48
|
}
|
|
49
49
|
type BasicPermit = {
|
|
50
|
-
EntityID:
|
|
51
|
-
SaleUUID:
|
|
52
|
-
Wallet:
|
|
53
|
-
ExpiresAt:
|
|
54
|
-
Payload:
|
|
50
|
+
EntityID: Hex;
|
|
51
|
+
SaleUUID: Hex;
|
|
52
|
+
Wallet: Hex;
|
|
53
|
+
ExpiresAt: number;
|
|
54
|
+
Payload: Hex;
|
|
55
55
|
};
|
|
56
56
|
type AllocationPermit = {
|
|
57
57
|
Permit: BasicPermit;
|
|
58
58
|
ReservedAmount: string;
|
|
59
59
|
MaxAmount: string;
|
|
60
|
+
MinAmount: string;
|
|
60
61
|
};
|
|
61
62
|
declare enum PurchasePermitType {
|
|
62
63
|
BASIC = "basic",
|
|
@@ -95,7 +96,7 @@ type PrePurchaseCheckResponse = {
|
|
|
95
96
|
};
|
|
96
97
|
type GeneratePurchasePermitResponse = {
|
|
97
98
|
PermitJSON: BasicPermit | AllocationPermit;
|
|
98
|
-
Signature:
|
|
99
|
+
Signature: Hex;
|
|
99
100
|
};
|
|
100
101
|
type AllocationResponse = {
|
|
101
102
|
HasReservedAllocation: boolean;
|