@cardano-sdk/e2e 0.44.2 → 0.44.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.44.3](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/e2e@0.44.2...@cardano-sdk/e2e@0.44.3) (2024-10-09)
7
+
8
+ **Note:** Version bump only for package @cardano-sdk/e2e
9
+
6
10
  ## [0.44.2](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/e2e@0.44.1...@cardano-sdk/e2e@0.44.2) (2024-10-07)
7
11
 
8
12
  **Note:** Version bump only for package @cardano-sdk/e2e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cardano-sdk/e2e",
3
- "version": "0.44.2",
3
+ "version": "0.44.3",
4
4
  "description": "End to end tests for the cardano-js-sdk packages.",
5
5
  "repository": "https://github.com/input-output-hk/cardano-js-sdk",
6
6
  "license": "Apache-2.0",
@@ -76,20 +76,20 @@
76
76
  "dependencies": {
77
77
  "@cardano-foundation/ledgerjs-hw-app-cardano": "^7.1.2",
78
78
  "@cardano-ogmios/client": "6.5.0",
79
- "@cardano-sdk/cardano-services": "~0.31.1",
80
- "@cardano-sdk/cardano-services-client": "~0.21.1",
79
+ "@cardano-sdk/cardano-services": "~0.31.2",
80
+ "@cardano-sdk/cardano-services-client": "~0.21.2",
81
81
  "@cardano-sdk/core": "~0.41.0",
82
82
  "@cardano-sdk/crypto": "~0.1.30",
83
83
  "@cardano-sdk/hardware-ledger": "~0.12.8",
84
84
  "@cardano-sdk/hardware-trezor": "~0.6.7",
85
85
  "@cardano-sdk/input-selection": "~0.13.23",
86
86
  "@cardano-sdk/key-management": "~0.24.6",
87
- "@cardano-sdk/ogmios": "~0.18.3",
87
+ "@cardano-sdk/ogmios": "~0.18.4",
88
88
  "@cardano-sdk/tx-construction": "~0.21.8",
89
89
  "@cardano-sdk/util": "~0.15.5",
90
- "@cardano-sdk/util-dev": "~0.23.3",
90
+ "@cardano-sdk/util-dev": "~0.23.4",
91
91
  "@cardano-sdk/util-rxjs": "~0.7.36",
92
- "@cardano-sdk/wallet": "~0.44.8",
92
+ "@cardano-sdk/wallet": "~0.44.9",
93
93
  "@dcspark/cardano-multiplatform-lib-nodejs": "^3.1.1",
94
94
  "@shiroyasha9/axios-fetch-adapter": "1.0.3",
95
95
  "axios": "^1.7.4",
@@ -120,9 +120,9 @@
120
120
  "@babel/preset-env": "^7.18.2",
121
121
  "@babel/preset-typescript": "^7.17.12",
122
122
  "@cardano-sdk/dapp-connector": "~0.12.40",
123
- "@cardano-sdk/projection": "~0.12.3",
124
- "@cardano-sdk/projection-typeorm": "~0.9.3",
125
- "@cardano-sdk/web-extension": "~0.34.7",
123
+ "@cardano-sdk/projection": "~0.12.4",
124
+ "@cardano-sdk/projection-typeorm": "~0.9.4",
125
+ "@cardano-sdk/web-extension": "~0.34.8",
126
126
  "@dcspark/cardano-multiplatform-lib-browser": "^3.1.1",
127
127
  "@emurgo/cardano-message-signing-asmjs": "^1.0.1",
128
128
  "@types/bunyan": "^1.8.8",
@@ -182,5 +182,5 @@
182
182
  "publishConfig": {
183
183
  "access": "public"
184
184
  },
185
- "gitHead": "31dd8a464d9212571fecff0233c152b84530ec31"
185
+ "gitHead": "0c3595bcdd71247e875c5691711f62ddd22c6de0"
186
186
  }
@@ -1,15 +1,31 @@
1
1
  #!/bin/bash
2
2
 
3
3
  set -e
4
- set -x
5
- set -o
6
4
 
7
- case $2 in
5
+ target="${ENVIRONMENT}-${NETWORK}"
6
+
7
+ case $CLUSTER in
8
8
  any)
9
- environment="$1"
9
+ environment="${target}"
10
+ ;;
11
+ *)
12
+ environment="${target}.${CLUSTER}"
13
+ ;;
14
+ esac
15
+
16
+ case $NETWORK in
17
+ preprod)
18
+ networkMagic=1
19
+ ;;
20
+ preview)
21
+ networkMagic=2
22
+ ;;
23
+ sanchonet)
24
+ networkMagic=4
10
25
  ;;
11
26
  *)
12
- environment="$1.$2"
27
+ echo "${NETWORK}: Unknown network"
28
+ exit 1
13
29
  ;;
14
30
  esac
15
31
 
@@ -17,32 +33,47 @@ domain="${environment}.lw.iog.io"
17
33
  url="https://${domain}/"
18
34
 
19
35
  # Construct the environment file content
20
- envFileContent="
21
- # Logger
36
+ envFileContent="\
22
37
  LOGGER_MIN_SEVERITY=info
23
38
 
24
- # Key management setup - required by getWallet
25
- KEY_MANAGEMENT_PROVIDER=inMemory
26
-
27
- # Providers setup - required by getWallet
28
39
  TEST_CLIENT_ASSET_PROVIDER=http
29
40
  TEST_CLIENT_ASSET_PROVIDER_PARAMS='{\"baseUrl\":\"${url}\"}'
30
- TEST_CLIENT_CHAIN_HISTORY_PROVIDER=http
41
+ TEST_CLIENT_CHAIN_HISTORY_PROVIDER=ws
31
42
  TEST_CLIENT_CHAIN_HISTORY_PROVIDER_PARAMS='{\"baseUrl\":\"${url}\"}'
32
43
  TEST_CLIENT_HANDLE_PROVIDER=http
33
44
  TEST_CLIENT_HANDLE_PROVIDER_PARAMS='{\"baseUrl\":\"${url}\"}'
34
- TEST_CLIENT_NETWORK_INFO_PROVIDER=http
45
+ TEST_CLIENT_NETWORK_INFO_PROVIDER=ws
35
46
  TEST_CLIENT_NETWORK_INFO_PROVIDER_PARAMS='{\"baseUrl\":\"${url}\"}'
36
47
  TEST_CLIENT_REWARDS_PROVIDER=http
37
48
  TEST_CLIENT_REWARDS_PROVIDER_PARAMS='{\"baseUrl\":\"${url}\"}'
38
49
  TEST_CLIENT_TX_SUBMIT_PROVIDER=http
39
50
  TEST_CLIENT_TX_SUBMIT_PROVIDER_PARAMS='{\"baseUrl\":\"${url}\"}'
40
- TEST_CLIENT_UTXO_PROVIDER=http
51
+ TEST_CLIENT_UTXO_PROVIDER=ws
41
52
  TEST_CLIENT_UTXO_PROVIDER_PARAMS='{\"baseUrl\":\"${url}\"}'
42
53
  TEST_CLIENT_STAKE_POOL_PROVIDER=http
43
54
  TEST_CLIENT_STAKE_POOL_PROVIDER_PARAMS='{\"baseUrl\":\"${url}\"}'
44
55
  WS_PROVIDER_URL='wss://${domain}/ws'
45
- "
56
+
57
+ KEY_MANAGEMENT_PROVIDER=inMemory
58
+ KEY_MANAGEMENT_PARAMS='{
59
+ \"bip32Ed25519\": \"Sodium\",
60
+ \"accountIndex\": 0,
61
+ \"chainId\": {
62
+ \"networkId\": 0,
63
+ \"networkMagic\": ${networkMagic}
64
+ },
65
+ \"passphrase\": \"some_passphrase\",
66
+ \"mnemonic\": \"${MNEMONIC}\"
67
+ }'"
46
68
 
47
69
  # Write the environment file content to the specified file
48
70
  echo "$envFileContent" > .env
71
+
72
+ # Dump inputs and outputs
73
+ echo "
74
+ Target environment: ${ENVIRONMENT}
75
+ Target network: ${NETWORK}
76
+ Target cluster: ${CLUSTER}
77
+
78
+ Result .env:"
79
+ cat .env