@paraspell/sdk-pjs 14.5.4 → 14.6.0

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +7 -7
package/dist/index.mjs CHANGED
@@ -329,7 +329,7 @@ function _toPrimitive(t, r) {
329
329
  if ("object" != typeof i) return i;
330
330
  throw new TypeError("@@toPrimitive must return a primitive value.");
331
331
  }
332
- return (String )(t);
332
+ return ("string" === r ? String : Number)(t);
333
333
  }
334
334
  function _toPropertyKey(t) {
335
335
  var i = _toPrimitive(t, "string");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-pjs",
3
- "version": "14.5.4",
3
+ "version": "14.6.0",
4
4
  "description": "Polkadot.js based SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,8 +22,8 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@paraspell/sdk-common": "14.5.4",
26
- "@paraspell/sdk-core": "14.5.4"
25
+ "@paraspell/sdk-common": "14.6.0",
26
+ "@paraspell/sdk-core": "14.6.0"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@polkadot/api": ">= 17 < 18",
@@ -33,14 +33,14 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@babel/plugin-syntax-import-attributes": "^7.29.7",
36
- "@babel/preset-env": "^7.29.7",
36
+ "@babel/preset-env": "^7.29.14",
37
37
  "@codecov/rollup-plugin": "^2.0.1",
38
38
  "@rollup/plugin-babel": "^7.1.0",
39
39
  "@rollup/plugin-json": "^6.1.0",
40
40
  "@rollup/plugin-typescript": "^12.3.1",
41
- "@vitest/coverage-v8": "^5.0.5",
42
- "dotenv": "^18.0.9",
43
- "rollup": "^4.66.0",
41
+ "@vitest/coverage-v8": "^5.1.2",
42
+ "dotenv": "^18.0.10",
43
+ "rollup": "^4.68.8",
44
44
  "rollup-plugin-dts": "^6.5.1"
45
45
  },
46
46
  "scripts": {