@cashscript/utils 0.11.3 → 0.11.4
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/types.js +1 -1
- package/package.json +3 -3
package/dist/types.js
CHANGED
|
@@ -176,7 +176,7 @@ export function parseType(str) {
|
|
|
176
176
|
return PrimitiveType[str.toUpperCase()];
|
|
177
177
|
}
|
|
178
178
|
export function isPrimitive(type) {
|
|
179
|
-
return
|
|
179
|
+
return Boolean(PrimitiveType[type.toString().toUpperCase()]);
|
|
180
180
|
}
|
|
181
181
|
// Denotes whether an opcode belongs to the "start" or "end" of the statement it's in (defaults to "start")
|
|
182
182
|
// Examples:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cashscript/utils",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
4
4
|
"description": "CashScript utilities and types",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bitcoin cash",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@jest/globals": "^29.7.0",
|
|
51
51
|
"eslint": "^8.54.0",
|
|
52
52
|
"jest": "^29.7.0",
|
|
53
|
-
"typescript": "^5.
|
|
53
|
+
"typescript": "^5.9.2"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "d878d068b91ddc5a4ca1807376520ae451e4a0ed"
|
|
56
56
|
}
|