@paraspell/sdk-dedot 13.7.2 → 13.8.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.
- package/dist/index.mjs +1 -9
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -2,6 +2,7 @@ import { getEvmPrivateKeyHex, getNativeAssetSymbol, getOtherAssets, NumberFormat
|
|
|
2
2
|
export * from '@paraspell/sdk-core';
|
|
3
3
|
import { stringPascalCase, isEvmAddress, decodeAddress, isHex, u8aToHex, hexToU8a, stringToU8a, blake2AsHex } from 'dedot/utils';
|
|
4
4
|
import { Keyring } from '@polkadot/keyring';
|
|
5
|
+
import { snakeToCamel, lowercaseFirstLetter } from '@paraspell/sdk-common';
|
|
5
6
|
import { DedotClient, WsProvider } from 'dedot';
|
|
6
7
|
|
|
7
8
|
function _arrayLikeToArray(r, a) {
|
|
@@ -427,15 +428,6 @@ var createKeyringPair = function createKeyringPair(path) {
|
|
|
427
428
|
return evmPrivateKey ? keyring.createFromUri(evmPrivateKey, undefined, "ethereum") : keyring.addFromUri(path);
|
|
428
429
|
};
|
|
429
430
|
|
|
430
|
-
var lowercaseFirstLetter = function lowercaseFirstLetter(value) {
|
|
431
|
-
return value.charAt(0).toLowerCase() + value.slice(1);
|
|
432
|
-
};
|
|
433
|
-
var snakeToCamel = function snakeToCamel(str) {
|
|
434
|
-
return str.replace(/([-_][a-z])/g, function (group) {
|
|
435
|
-
return group.toUpperCase().replace("-", "").replace("_", "");
|
|
436
|
-
});
|
|
437
|
-
};
|
|
438
|
-
|
|
439
431
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
440
432
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
441
433
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-dedot",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.8.0",
|
|
4
4
|
"description": "Dedot-based SDK for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@paraspell/sdk-core": "13.
|
|
25
|
+
"@paraspell/sdk-core": "13.8.0",
|
|
26
|
+
"@paraspell/sdk-common": "13.8.0"
|
|
26
27
|
},
|
|
27
28
|
"peerDependencies": {
|
|
28
29
|
"dedot": ">= 1.3.0",
|
|
@@ -38,8 +39,7 @@
|
|
|
38
39
|
"@vitest/coverage-v8": "^4.1.7",
|
|
39
40
|
"dotenv": "^17.4.2",
|
|
40
41
|
"rollup": "^4.60.4",
|
|
41
|
-
"rollup-plugin-dts": "^6.4.1"
|
|
42
|
-
"tslib": "^2.8.1"
|
|
42
|
+
"rollup-plugin-dts": "^6.4.1"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"compile": "tsc --noEmit",
|