@polkadot/types-codec 9.2.2 → 9.3.1

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/base/Vec.js CHANGED
@@ -30,6 +30,8 @@ export function decodeVec(registry, result, value, startAt, Type) {
30
30
  const count = result.length;
31
31
 
32
32
  for (let i = 0; i < count; i++) {
33
+ // 26/08/2022 this is actually a false positive - after recent eslint upgdates
34
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
33
35
  const entry = value[i];
34
36
 
35
37
  try {
package/cjs/base/Vec.js CHANGED
@@ -41,6 +41,8 @@ function decodeVec(registry, result, value, startAt, Type) {
41
41
  const count = result.length;
42
42
 
43
43
  for (let i = 0; i < count; i++) {
44
+ // 26/08/2022 this is actually a false positive - after recent eslint upgdates
45
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
44
46
  const entry = value[i];
45
47
 
46
48
  try {
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/types-codec',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '9.2.2'
14
+ version: '9.3.1'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "9.2.2",
23
+ "version": "9.3.1",
24
24
  "main": "./cjs/index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
@@ -435,7 +435,7 @@
435
435
  },
436
436
  "dependencies": {
437
437
  "@babel/runtime": "^7.18.9",
438
- "@polkadot/util": "^10.1.4",
439
- "@polkadot/x-bigint": "^10.1.4"
438
+ "@polkadot/util": "^10.1.7",
439
+ "@polkadot/x-bigint": "^10.1.7"
440
440
  }
441
441
  }
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@polkadot/types-codec',
6
6
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
7
7
  type: 'esm',
8
- version: '9.2.2'
8
+ version: '9.3.1'
9
9
  };