@polkadot/types-codec 9.6.1 → 9.6.2
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/cjs/packageInfo.js +1 -1
- package/cjs/utils/decodeU8a.js +3 -1
- package/package.json +2 -2
- package/packageInfo.js +1 -1
- package/utils/decodeU8a.js +3 -1
package/cjs/packageInfo.js
CHANGED
package/cjs/utils/decodeU8a.js
CHANGED
|
@@ -22,9 +22,11 @@ function formatFailure(registry, result, _ref, u8a, i, count, Type, key) {
|
|
|
22
22
|
// ignore
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
// This is extra debugging info (we most-probably want this in in some way, shape or form,
|
|
26
|
+
// but at this point not quite sure how to include and format it (it can be quite massive)
|
|
25
27
|
// console.error(JSON.stringify(result, null, 2));
|
|
26
28
|
|
|
27
|
-
return `decodeU8a: failed at ${(0, _util.u8aToHex)(u8a.subarray(0, 16))}…${key ? ` on ${key}` : ''} (index ${i}/${count})${type}:: ${message}`;
|
|
29
|
+
return `decodeU8a: failed at ${(0, _util.u8aToHex)(u8a.subarray(0, 16))}…${key ? ` on ${key}` : ''} (index ${i + 1}/${count})${type}:: ${message}`;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
/**
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "9.6.
|
|
23
|
+
"version": "9.6.2",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
}
|
|
435
435
|
},
|
|
436
436
|
"dependencies": {
|
|
437
|
-
"@babel/runtime": "^7.
|
|
437
|
+
"@babel/runtime": "^7.20.0",
|
|
438
438
|
"@polkadot/util": "^10.1.11",
|
|
439
439
|
"@polkadot/x-bigint": "^10.1.11"
|
|
440
440
|
}
|
package/packageInfo.js
CHANGED
|
@@ -7,5 +7,5 @@ export const packageInfo = {
|
|
|
7
7
|
name: '@polkadot/types-codec',
|
|
8
8
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
9
9
|
type: 'esm',
|
|
10
|
-
version: '9.6.
|
|
10
|
+
version: '9.6.2'
|
|
11
11
|
};
|
package/utils/decodeU8a.js
CHANGED
|
@@ -14,9 +14,11 @@ function formatFailure(registry, result, {
|
|
|
14
14
|
// ignore
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
// This is extra debugging info (we most-probably want this in in some way, shape or form,
|
|
18
|
+
// but at this point not quite sure how to include and format it (it can be quite massive)
|
|
17
19
|
// console.error(JSON.stringify(result, null, 2));
|
|
18
20
|
|
|
19
|
-
return `decodeU8a: failed at ${u8aToHex(u8a.subarray(0, 16))}…${key ? ` on ${key}` : ''} (index ${i}/${count})${type}:: ${message}`;
|
|
21
|
+
return `decodeU8a: failed at ${u8aToHex(u8a.subarray(0, 16))}…${key ? ` on ${key}` : ''} (index ${i + 1}/${count})${type}:: ${message}`;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
/**
|