@layerzerolabs/ton-sdk-tools 3.0.51 → 3.0.53
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1040,7 +1040,7 @@ function extractOpcodes(fileNames) {
|
|
|
1040
1040
|
return result;
|
|
1041
1041
|
}
|
|
1042
1042
|
function extractErrors(fileNames) {
|
|
1043
|
-
const firstFormat = /^const\s+int\s+((?:[A-Za-z_]+::)*[A-Za-z_]+)\s*=\s*
|
|
1043
|
+
const firstFormat = /^const\s+int\s+((?:[A-Za-z_]+::)*[A-Za-z_]+)\s*=\s*"((?:[A-Za-z_]+::)*[A-Za-z_]+)"\s*c\s*&\s*ERRORCODE_MASK;$/;
|
|
1044
1044
|
const secondFormat = /^const\s+(?:int\s+)?(error::\w+)\s*=\s*((?:0x[\da-fA-F]+|\d+));$/;
|
|
1045
1045
|
const thirdFormat = /^const\s+int\s+([\w:]+::(?:ERROR|error)::\w+)\s*=\s*(\d+);$/i;
|
|
1046
1046
|
const result = /* @__PURE__ */ new Map();
|