@paraspell/sdk-pjs 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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -9
  2. package/package.json +4 -5
package/dist/index.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  import { getNativeAssetSymbol, getOtherAssets, hasJunction, getJunctionValue, getEvmPrivateKeyHex, UnsupportedOperationError, createClientCache, MAX_CLIENTS, EXTENSION_MS, createClientPoolHelpers, BatchMode, isConfig, findNativeAssetInfoOrThrowImpl, isCustomChain, getChainProvidersImpl, isSenderSigner, PolkadotApi, findAssetInfoOrThrowImpl, hasXcmPaymentApiSupportImpl, resolveModuleError, hasDryRunSupportImpl, RuntimeApiUnavailableError, wrapTxBypass, normalizeLocation, localizeLocation, createAssetId, addXcmVersionHeader, isAssetXcEqual, RELAY_LOCATION, getRelayChainOfImpl, SubmitTransactionError, createChainClient as createChainClient$1, getBalance as getBalance$1, Foreign, ForeignAbstract, Native, Override, findAssetInfo, getAllAssetsSymbols, getAssetDecimals, getAssetId, getAssets, getAssetsObject, getExistentialDeposit, getNativeAssets, getRelayChainSymbol, getSupportedAssets, getTChain, hasSupportForAsset, isChainEvm, convertSs58 as convertSs58$1, findAssetInfoOrThrow, assertHasId, getParaId, RoutingResolutionError, abstractDecimals, MissingParameterError, isOverrideLocationSpecifier, transferMoonbeamEvm, transferMoonbeamToEth, validateAddress as validateAddress$1, Builder as Builder$1, getBridgeStatus as getBridgeStatus$1, getParaEthTransferFees as getParaEthTransferFees$1, DRY_RUN_CLIENT_TIMEOUT_MS, dryRun as dryRun$1, dryRunOrigin as dryRunOrigin$1 } from '@paraspell/sdk-core';
2
2
  export * from '@paraspell/sdk-core';
3
3
  import { Keyring, WsProvider, ApiPromise } from '@polkadot/api';
4
+ import { snakeToCamel, lowercaseFirstLetter } from '@paraspell/sdk-common';
4
5
  import { u8aConcat, compactToU8a, u8aEq, isHex, u8aToHex, hexToU8a, stringToU8a } from '@polkadot/util';
5
6
  import { decodeAddress, blake2AsHex, validateAddress } from '@polkadot/util-crypto';
6
7
  import { WETH9__factory } from '@snowbridge/contract-types';
@@ -393,15 +394,6 @@ var createKeyringPair = function createKeyringPair(path) {
393
394
  return evmPrivateKey ? keyring.createFromUri(evmPrivateKey, undefined, 'ethereum') : keyring.addFromUri(path);
394
395
  };
395
396
 
396
- var lowercaseFirstLetter = function lowercaseFirstLetter(value) {
397
- return value.charAt(0).toLowerCase() + value.slice(1);
398
- };
399
- var snakeToCamel = function snakeToCamel(str) {
400
- return str.toLowerCase().replace(/([-_][a-z])/g, function (group) {
401
- return group.toUpperCase().replace('-', '').replace('_', '');
402
- });
403
- };
404
-
405
397
  var txFromHex = function txFromHex(api, hex) {
406
398
  var _api$tx$section;
407
399
  // Try as full extrinsic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-pjs",
3
- "version": "13.7.2",
3
+ "version": "13.8.0",
4
4
  "description": "Polkadot.js based SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,7 +29,8 @@
29
29
  "@snowbridge/registry": "^1.1.6",
30
30
  "ethers": "^6.16.0",
31
31
  "viem": "^2.51.3",
32
- "@paraspell/sdk-core": "13.7.2"
32
+ "@paraspell/sdk-common": "13.8.0",
33
+ "@paraspell/sdk-core": "13.8.0"
33
34
  },
34
35
  "peerDependencies": {
35
36
  "@polkadot/api": ">= 16.0 < 17",
@@ -46,11 +47,9 @@
46
47
  "@rollup/plugin-json": "^6.1.0",
47
48
  "@rollup/plugin-typescript": "^12.3.0",
48
49
  "@vitest/coverage-v8": "^4.1.7",
49
- "axios": "^1.16.1",
50
50
  "dotenv": "^17.4.2",
51
51
  "rollup": "^4.60.4",
52
- "rollup-plugin-dts": "^6.4.1",
53
- "tslib": "^2.8.1"
52
+ "rollup-plugin-dts": "^6.4.1"
54
53
  },
55
54
  "scripts": {
56
55
  "compile": "tsc --noEmit",