@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 +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
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
|
|
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
|
|
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)[
|
|
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)[
|
|
6676
|
+
wsUrl = Object.values(endpointOption.providers)[1];
|
|
6677
6677
|
_context2.next = 5;
|
|
6678
6678
|
return createApiInstance(wsUrl);
|
|
6679
6679
|
case 5:
|