@paraspell/sdk 3.0.9 → 3.0.10

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/README.md CHANGED
@@ -28,7 +28,7 @@ Our SDK introduced all Polkadot libraries as peer dependencies. The reason for t
28
28
  //npm
29
29
  npm install @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-config @polkadot/util
30
30
  //yarn
31
- yarn install @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-config @polkadot/util
31
+ yarn add @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-config @polkadot/util
32
32
  //pnpm
33
33
  pnpm install @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-config @polkadot/util
34
34
  ```
@@ -39,7 +39,7 @@ pnpm install @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-con
39
39
  //npm
40
40
  npm install @paraspell/sdk
41
41
  //yarn
42
- yarn install @paraspell/sdk
42
+ yarn add @paraspell/sdk
43
43
  //pnpm
44
44
  pnpm install @paraspell/sdk
45
45
  ```
package/dist/index.cjs CHANGED
@@ -6675,7 +6675,7 @@ var createApiInstanceForNode = function createApiInstanceForNode(node) {
6675
6675
  break;
6676
6676
  }
6677
6677
  endpointOption = node === 'Polkadot' ? endpoints.prodRelayPolkadot : endpoints.prodRelayKusama;
6678
- wsUrl = Object.values(endpointOption.providers)[0];
6678
+ wsUrl = Object.values(endpointOption.providers)[1];
6679
6679
  _context2.next = 5;
6680
6680
  return createApiInstance(wsUrl);
6681
6681
  case 5:
package/dist/index.mjs CHANGED
@@ -6673,7 +6673,7 @@ var createApiInstanceForNode = function createApiInstanceForNode(node) {
6673
6673
  break;
6674
6674
  }
6675
6675
  endpointOption = node === 'Polkadot' ? prodRelayPolkadot : prodRelayKusama;
6676
- wsUrl = Object.values(endpointOption.providers)[0];
6676
+ wsUrl = Object.values(endpointOption.providers)[1];
6677
6677
  _context2.next = 5;
6678
6678
  return createApiInstance(wsUrl);
6679
6679
  case 5:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
4
4
  "description": "SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": "@paraspell/sdk",
6
6
  "license": "MIT",