@polkadot/types-codec 12.2.2 → 12.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
@@ -1,7 +1,7 @@
1
1
  import { compactFromU8aLim, identity, isHex, isU8a, logger, stringify, u8aToU8a } from '@polkadot/util';
2
2
  import { AbstractArray } from '../abstract/Array.js';
3
3
  import { decodeU8aVec, typeToConstructor } from '../utils/index.js';
4
- const MAX_LENGTH = 64 * 1024;
4
+ const MAX_LENGTH = 512 * 1024;
5
5
  const l = logger('Vec');
6
6
  function decodeVecLength(value) {
7
7
  if (Array.isArray(value)) {
package/cjs/base/Vec.js CHANGED
@@ -4,7 +4,7 @@ exports.Vec = exports.decodeVec = void 0;
4
4
  const util_1 = require("@polkadot/util");
5
5
  const Array_js_1 = require("../abstract/Array.js");
6
6
  const index_js_1 = require("../utils/index.js");
7
- const MAX_LENGTH = 64 * 1024;
7
+ const MAX_LENGTH = 512 * 1024;
8
8
  const l = (0, util_1.logger)('Vec');
9
9
  function decodeVecLength(value) {
10
10
  if (Array.isArray(value)) {
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageInfo = void 0;
4
- exports.packageInfo = { name: '@polkadot/types-codec', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.2.2' };
4
+ exports.packageInfo = { name: '@polkadot/types-codec', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.3.1' };
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "./cjs/packageDetect.js"
19
19
  ],
20
20
  "type": "module",
21
- "version": "12.2.2",
21
+ "version": "12.3.1",
22
22
  "main": "./cjs/index.js",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts",
package/packageInfo.js CHANGED
@@ -1 +1 @@
1
- export const packageInfo = { name: '@polkadot/types-codec', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '12.2.2' };
1
+ export const packageInfo = { name: '@polkadot/types-codec', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '12.3.1' };