@novasamatech/statement-store 0.8.7-3 → 0.8.7-4

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.
@@ -97,9 +97,9 @@ export function createPapiStatementStoreAdapter(lazyClient) {
97
97
  case 'dataTooLarge':
98
98
  return errAsync(new DataTooLargeError(result.submitted_size, result.available_size));
99
99
  case 'channelPriorityTooLow':
100
- return errAsync(new ExpiryTooLowError(result.submitted_expiry, result.min_expiry));
100
+ return errAsync(new ExpiryTooLowError(BigInt(result.submitted_expiry), BigInt(result.min_expiry)));
101
101
  case 'accountFull':
102
- return errAsync(new AccountFullError(result.submitted_expiry, result.min_expiry));
102
+ return errAsync(new AccountFullError(BigInt(result.submitted_expiry), BigInt(result.min_expiry)));
103
103
  case 'storeFull':
104
104
  return errAsync(new StorageFullError());
105
105
  case 'noAllowance':
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@novasamatech/statement-store",
3
3
  "type": "module",
4
- "version": "0.8.7-3",
4
+ "version": "0.8.7-4",
5
5
  "description": "Statement store integration",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -25,9 +25,9 @@
25
25
  "README.md"
26
26
  ],
27
27
  "dependencies": {
28
- "@novasamatech/scale": "0.8.7-3",
28
+ "@novasamatech/scale": "0.8.7-4",
29
29
  "@novasamatech/sdk-statement": "^0.6.0",
30
- "@novasamatech/substrate-slot-sr25519-wasm": "0.8.7-3",
30
+ "@novasamatech/substrate-slot-sr25519-wasm": "0.8.7-4",
31
31
  "@polkadot-api/substrate-bindings": "^0.20.3",
32
32
  "@polkadot-api/substrate-client": "^0.7.0",
33
33
  "@polkadot-labs/hdkd-helpers": "^0.0.30",