@stacks/codec 1.5.0 → 1.6.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/index.d.ts +7 -3
- package/index.js +4 -0
- package/native/darwin-arm64.node +0 -0
- package/native/linux-arm64-glibc.node +0 -0
- package/native/linux-arm64-musl.node +0 -0
- package/native/linux-x64-glibc.node +0 -0
- package/native/linux-x64-musl.node +0 -0
- package/native/win32-x64.node +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -55,11 +55,13 @@ export interface PostConditionAssetInfo {
|
|
|
55
55
|
}
|
|
56
56
|
export declare enum PostConditionNonfungibleConditionCodeID {
|
|
57
57
|
Sent = 16,
|
|
58
|
-
NotSent = 17
|
|
58
|
+
NotSent = 17,
|
|
59
|
+
MaybeSent = 18
|
|
59
60
|
}
|
|
60
61
|
export declare enum PostConditionNonFungibleConditionName {
|
|
61
62
|
Sent = "sent",
|
|
62
|
-
NotSent = "not_sent"
|
|
63
|
+
NotSent = "not_sent",
|
|
64
|
+
MaybeSent = "maybe_sent"
|
|
63
65
|
}
|
|
64
66
|
export declare enum PostConditionFungibleConditionCodeID {
|
|
65
67
|
SentEq = 1,
|
|
@@ -334,7 +336,9 @@ export declare enum PostConditionModeID {
|
|
|
334
336
|
/** This transaction may affect other assets not listed in the post-conditions. */
|
|
335
337
|
Allow = 1,
|
|
336
338
|
/** This transaction may NOT affect other assets besides those listed in the post-conditions. */
|
|
337
|
-
Deny = 2
|
|
339
|
+
Deny = 2,
|
|
340
|
+
/** Deny for the transaction origin; allow for everyone else (SIP-040). */
|
|
341
|
+
Originator = 3
|
|
338
342
|
}
|
|
339
343
|
export interface ClarityValueCommon {
|
|
340
344
|
/** Clarity repr value */
|
package/index.js
CHANGED
|
@@ -29,11 +29,13 @@ var PostConditionNonfungibleConditionCodeID;
|
|
|
29
29
|
(function (PostConditionNonfungibleConditionCodeID) {
|
|
30
30
|
PostConditionNonfungibleConditionCodeID[PostConditionNonfungibleConditionCodeID["Sent"] = 16] = "Sent";
|
|
31
31
|
PostConditionNonfungibleConditionCodeID[PostConditionNonfungibleConditionCodeID["NotSent"] = 17] = "NotSent";
|
|
32
|
+
PostConditionNonfungibleConditionCodeID[PostConditionNonfungibleConditionCodeID["MaybeSent"] = 18] = "MaybeSent";
|
|
32
33
|
})(PostConditionNonfungibleConditionCodeID = exports.PostConditionNonfungibleConditionCodeID || (exports.PostConditionNonfungibleConditionCodeID = {}));
|
|
33
34
|
var PostConditionNonFungibleConditionName;
|
|
34
35
|
(function (PostConditionNonFungibleConditionName) {
|
|
35
36
|
PostConditionNonFungibleConditionName["Sent"] = "sent";
|
|
36
37
|
PostConditionNonFungibleConditionName["NotSent"] = "not_sent";
|
|
38
|
+
PostConditionNonFungibleConditionName["MaybeSent"] = "maybe_sent";
|
|
37
39
|
})(PostConditionNonFungibleConditionName = exports.PostConditionNonFungibleConditionName || (exports.PostConditionNonFungibleConditionName = {}));
|
|
38
40
|
var PostConditionFungibleConditionCodeID;
|
|
39
41
|
(function (PostConditionFungibleConditionCodeID) {
|
|
@@ -161,6 +163,8 @@ var PostConditionModeID;
|
|
|
161
163
|
PostConditionModeID[PostConditionModeID["Allow"] = 1] = "Allow";
|
|
162
164
|
/** This transaction may NOT affect other assets besides those listed in the post-conditions. */
|
|
163
165
|
PostConditionModeID[PostConditionModeID["Deny"] = 2] = "Deny";
|
|
166
|
+
/** Deny for the transaction origin; allow for everyone else (SIP-040). */
|
|
167
|
+
PostConditionModeID[PostConditionModeID["Originator"] = 3] = "Originator";
|
|
164
168
|
})(PostConditionModeID = exports.PostConditionModeID || (exports.PostConditionModeID = {}));
|
|
165
169
|
var ClarityTypeID;
|
|
166
170
|
(function (ClarityTypeID) {
|
package/native/darwin-arm64.node
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/native/win32-x64.node
CHANGED
|
Binary file
|