@midnight-ntwrk/wallet-sdk-node-client 1.0.1 → 1.1.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.
@@ -178,7 +178,7 @@ export class PolkadotNodeClient {
178
178
  }
179
179
  else if (status.isInvalid) {
180
180
  await emit.fail(new NodeClientError.TransactionInvalidError({
181
- message: 'Transaction got dropped, the mempool likely is full and network congested',
181
+ message: 'Transaction is invalid and was rejected by the node',
182
182
  txData: serializedTransaction,
183
183
  }));
184
184
  await unsubscribe();
@@ -1,5 +1,5 @@
1
1
  import { type Error, FileSystem } from '@effect/platform';
2
- import * as ledger from '@midnight-ntwrk/ledger-v7';
2
+ import * as ledger from '@midnight-ntwrk/ledger-v8';
3
3
  import { SerializedTransaction } from '@midnight-ntwrk/wallet-sdk-abstractions';
4
4
  import { ProverClient } from '@midnight-ntwrk/wallet-sdk-prover-client/effect';
5
5
  import { type ClientError, type ServerError } from '@midnight-ntwrk/wallet-sdk-utilities/networking';
@@ -11,7 +11,7 @@
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
13
  import { FileSystem } from '@effect/platform';
14
- import * as ledger from '@midnight-ntwrk/ledger-v7';
14
+ import * as ledger from '@midnight-ntwrk/ledger-v8';
15
15
  import { SerializedTransaction } from '@midnight-ntwrk/wallet-sdk-abstractions';
16
16
  import { HttpProverClient, ProverClient } from '@midnight-ntwrk/wallet-sdk-prover-client/effect';
17
17
  import { TestContainers } from '@midnight-ntwrk/wallet-sdk-utilities/testing';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midnight-ntwrk/wallet-sdk-node-client",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@midnight-ntwrk/wallet-sdk-abstractions": "2.0.0",
35
- "@midnight-ntwrk/wallet-sdk-utilities": "1.0.1",
35
+ "@midnight-ntwrk/wallet-sdk-utilities": "1.1.0",
36
36
  "@polkadot/api": "^16.5.4",
37
37
  "@polkadot/types": "^16.5.4",
38
38
  "@polkadot/util": "^14.0.1",
@@ -48,8 +48,8 @@
48
48
  "@effect/rpc": "^0.73.2",
49
49
  "@effect/sql": "^0.49.0",
50
50
  "@effect/workflow": "^0.16.0",
51
- "@midnight-ntwrk/ledger-v7": "^7.0.2",
52
- "@midnight-ntwrk/wallet-sdk-prover-client": "1.1.0",
51
+ "@midnight-ntwrk/ledger-v8": "^8.0.2",
52
+ "@midnight-ntwrk/wallet-sdk-prover-client": "1.2.0",
53
53
  "@types/tar-stream": "^3.1.4",
54
54
  "tar-stream": "^3.1.7",
55
55
  "tsx": "^4.21.0"