@layerzerolabs/ton-sdk-tools 3.0.50 → 3.0.52
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/dist/index.mjs
CHANGED
|
@@ -1018,7 +1018,7 @@ function extractOpcodes(fileNames) {
|
|
|
1018
1018
|
return result;
|
|
1019
1019
|
}
|
|
1020
1020
|
function extractErrors(fileNames) {
|
|
1021
|
-
const firstFormat = /^const\s+int\s+((?:[A-Za-z_]+::)*[A-Za-z_]+)\s*=\s*
|
|
1021
|
+
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;$/;
|
|
1022
1022
|
const secondFormat = /^const\s+(?:int\s+)?(error::\w+)\s*=\s*((?:0x[\da-fA-F]+|\d+));$/;
|
|
1023
1023
|
const thirdFormat = /^const\s+int\s+([\w:]+::(?:ERROR|error)::\w+)\s*=\s*(\d+);$/i;
|
|
1024
1024
|
const result = /* @__PURE__ */ new Map();
|