@midnight-ntwrk/wallet-sdk-unshielded-wallet 1.0.0-beta.15 → 1.0.0-beta.17
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/dist/KeyStore.d.ts +1 -1
- package/dist/KeyStore.js +1 -1
- package/dist/UnshieldedWallet.d.ts +1 -1
- package/dist/v1/CoinsAndBalances.d.ts +1 -1
- package/dist/v1/CoreWallet.d.ts +1 -1
- package/dist/v1/Keys.d.ts +1 -1
- package/dist/v1/RunningV1Variant.d.ts +1 -1
- package/dist/v1/Simulator.d.ts +1 -1
- package/dist/v1/Simulator.js +1 -1
- package/dist/v1/Transacting.d.ts +1 -1
- package/dist/v1/Transacting.js +1 -1
- package/dist/v1/Transaction.d.ts +1 -1
- package/dist/v1/Transaction.js +1 -1
- package/dist/v1/UnshieldedState.d.ts +1 -1
- package/dist/v1/V1Builder.d.ts +1 -1
- package/dist/v1/WalletError.d.ts +1 -1
- package/package.json +11 -11
package/dist/KeyStore.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MidnightBech32m } from '@midnight-ntwrk/wallet-sdk-address-format';
|
|
2
|
-
import { Signature, SignatureVerifyingKey, UserAddress } from '@midnight-ntwrk/ledger-
|
|
2
|
+
import { Signature, SignatureVerifyingKey, UserAddress } from '@midnight-ntwrk/ledger-v7';
|
|
3
3
|
import { NetworkId } from '@midnight-ntwrk/wallet-sdk-abstractions';
|
|
4
4
|
export type PublicKey = {
|
|
5
5
|
publicKey: SignatureVerifyingKey;
|
package/dist/KeyStore.js
CHANGED
|
@@ -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 { UnshieldedAddress } from '@midnight-ntwrk/wallet-sdk-address-format';
|
|
14
|
-
import { addressFromKey, signData, signatureVerifyingKey, } from '@midnight-ntwrk/ledger-
|
|
14
|
+
import { addressFromKey, signData, signatureVerifyingKey, } from '@midnight-ntwrk/ledger-v7';
|
|
15
15
|
export const PublicKey = {
|
|
16
16
|
fromKeyStore: (keystore) => {
|
|
17
17
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProtocolState, ProtocolVersion } from '@midnight-ntwrk/wallet-sdk-abstractions';
|
|
2
2
|
import { BaseV1Configuration, DefaultV1Configuration, V1Variant, CoreWallet } from './v1/index.js';
|
|
3
|
-
import * as ledger from '@midnight-ntwrk/ledger-
|
|
3
|
+
import * as ledger from '@midnight-ntwrk/ledger-v7';
|
|
4
4
|
import * as rx from 'rxjs';
|
|
5
5
|
import { SerializationCapability } from './v1/Serialization.js';
|
|
6
6
|
import { TransactionHistoryService } from './v1/TransactionHistory.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CoreWallet } from './CoreWallet.js';
|
|
2
|
-
import * as ledger from '@midnight-ntwrk/ledger-
|
|
2
|
+
import * as ledger from '@midnight-ntwrk/ledger-v7';
|
|
3
3
|
import { UtxoWithMeta } from './UnshieldedState.js';
|
|
4
4
|
export type Balances = Record<ledger.RawTokenType, bigint>;
|
|
5
5
|
export type CoinsAndBalancesCapability<TState> = {
|
package/dist/v1/CoreWallet.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ProtocolVersion } from '@midnight-ntwrk/wallet-sdk-abstractions';
|
|
|
2
2
|
import { SyncProgress, SyncProgressData } from './SyncProgress.js';
|
|
3
3
|
import { PublicKey } from '../KeyStore.js';
|
|
4
4
|
import { UnshieldedState, UnshieldedUpdate } from './UnshieldedState.js';
|
|
5
|
-
import * as ledger from '@midnight-ntwrk/ledger-
|
|
5
|
+
import * as ledger from '@midnight-ntwrk/ledger-v7';
|
|
6
6
|
import { Either } from 'effect';
|
|
7
7
|
import { WalletError } from './WalletError.js';
|
|
8
8
|
export type CoreWallet = Readonly<{
|
package/dist/v1/Keys.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UnshieldedAddress } from '@midnight-ntwrk/wallet-sdk-address-format';
|
|
2
2
|
import type { CoreWallet } from './CoreWallet.js';
|
|
3
|
-
import { SignatureVerifyingKey } from '@midnight-ntwrk/ledger-
|
|
3
|
+
import { SignatureVerifyingKey } from '@midnight-ntwrk/ledger-v7';
|
|
4
4
|
export type KeysCapability<TState> = {
|
|
5
5
|
getPublicKey(state: TState): SignatureVerifyingKey;
|
|
6
6
|
getAddress(state: TState): UnshieldedAddress;
|
|
@@ -10,7 +10,7 @@ import { KeysCapability } from './Keys.js';
|
|
|
10
10
|
import { CoinSelection } from '@midnight-ntwrk/wallet-sdk-capabilities';
|
|
11
11
|
import { CoreWallet } from './CoreWallet.js';
|
|
12
12
|
import { TransactionHistoryService } from './TransactionHistory.js';
|
|
13
|
-
import * as ledger from '@midnight-ntwrk/ledger-
|
|
13
|
+
import * as ledger from '@midnight-ntwrk/ledger-v7';
|
|
14
14
|
export declare namespace RunningV1Variant {
|
|
15
15
|
type Context<TSerialized, TSyncUpdate, TTransaction> = {
|
|
16
16
|
serializationCapability: SerializationCapability<CoreWallet, TSerialized>;
|
package/dist/v1/Simulator.d.ts
CHANGED
package/dist/v1/Simulator.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
11
|
// See the License for the specific language governing permissions and
|
|
12
12
|
// limitations under the License.
|
|
13
|
-
import * as ledger from '@midnight-ntwrk/ledger-
|
|
13
|
+
import * as ledger from '@midnight-ntwrk/ledger-v7';
|
|
14
14
|
import { Array as Arr, Effect, Encoding, pipe, Stream, SubscriptionRef, Clock } from 'effect';
|
|
15
15
|
import { ArrayOps, EitherOps } from '@midnight-ntwrk/wallet-sdk-utilities';
|
|
16
16
|
import * as crypto from 'crypto';
|
package/dist/v1/Transacting.d.ts
CHANGED
package/dist/v1/Transacting.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
11
|
// See the License for the specific language governing permissions and
|
|
12
12
|
// limitations under the License.
|
|
13
|
-
import * as ledger from '@midnight-ntwrk/ledger-
|
|
13
|
+
import * as ledger from '@midnight-ntwrk/ledger-v7';
|
|
14
14
|
import { Either, Option, pipe } from 'effect';
|
|
15
15
|
import { CoreWallet } from './CoreWallet.js';
|
|
16
16
|
import { SignError, TransactingError } from './WalletError.js';
|
package/dist/v1/Transaction.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Either } from 'effect';
|
|
2
2
|
import { Imbalances } from '@midnight-ntwrk/wallet-sdk-capabilities';
|
|
3
3
|
import { TransactionImbalances } from './TransactionImbalances.js';
|
|
4
|
-
import * as ledger from '@midnight-ntwrk/ledger-
|
|
4
|
+
import * as ledger from '@midnight-ntwrk/ledger-v7';
|
|
5
5
|
import { TransactingError, WalletError } from './WalletError.js';
|
|
6
6
|
export declare const isIntentBound: (intent: ledger.Intent<ledger.Signaturish, ledger.Proofish, ledger.Bindingish>) => boolean;
|
|
7
7
|
export type TransactionTrait<Tx> = {
|
package/dist/v1/Transaction.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// limitations under the License.
|
|
13
13
|
import { Either, pipe } from 'effect';
|
|
14
14
|
import { Imbalances } from '@midnight-ntwrk/wallet-sdk-capabilities';
|
|
15
|
-
import * as ledger from '@midnight-ntwrk/ledger-
|
|
15
|
+
import * as ledger from '@midnight-ntwrk/ledger-v7';
|
|
16
16
|
import { TransactingError } from './WalletError.js';
|
|
17
17
|
export const isIntentBound = (intent) => {
|
|
18
18
|
return intent.binding instanceof ledger.Binding;
|
package/dist/v1/V1Builder.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as ledger from '@midnight-ntwrk/ledger-
|
|
1
|
+
import * as ledger from '@midnight-ntwrk/ledger-v7';
|
|
2
2
|
import { Either, Types } from 'effect';
|
|
3
3
|
import { NetworkId } from '@midnight-ntwrk/wallet-sdk-abstractions';
|
|
4
4
|
import { Variant, VariantBuilder } from '@midnight-ntwrk/wallet-sdk-runtime/abstractions';
|
package/dist/v1/WalletError.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midnight-ntwrk/wallet-sdk-unshielded-wallet",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -23,14 +23,13 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@midnight-ntwrk/ledger-
|
|
27
|
-
"@midnight-ntwrk/wallet-sdk-abstractions": "1.0.0-beta.
|
|
28
|
-
"@midnight-ntwrk/wallet-sdk-address-format": "3.0.0-beta.
|
|
29
|
-
"@midnight-ntwrk/wallet-sdk-capabilities": "3.0.0-beta.
|
|
30
|
-
"@midnight-ntwrk/wallet-sdk-hd": "3.0.0-beta.
|
|
31
|
-
"@midnight-ntwrk/wallet-sdk-indexer-client": "1.0.0-beta.
|
|
32
|
-
"@midnight-ntwrk/wallet-sdk-
|
|
33
|
-
"@midnight-ntwrk/wallet-sdk-utilities": "1.0.0-beta.8",
|
|
26
|
+
"@midnight-ntwrk/ledger-v7": "7.0.0-rc.1",
|
|
27
|
+
"@midnight-ntwrk/wallet-sdk-abstractions": "1.0.0-beta.10",
|
|
28
|
+
"@midnight-ntwrk/wallet-sdk-address-format": "3.0.0-beta.11",
|
|
29
|
+
"@midnight-ntwrk/wallet-sdk-capabilities": "3.0.0-beta.11",
|
|
30
|
+
"@midnight-ntwrk/wallet-sdk-hd": "3.0.0-beta.8",
|
|
31
|
+
"@midnight-ntwrk/wallet-sdk-indexer-client": "1.0.0-beta.16",
|
|
32
|
+
"@midnight-ntwrk/wallet-sdk-utilities": "1.0.0-beta.10",
|
|
34
33
|
"effect": "^3.17.3",
|
|
35
34
|
"rxjs": "^7.5"
|
|
36
35
|
},
|
|
@@ -47,10 +46,11 @@
|
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
49
48
|
"eslint": "^9.37.0",
|
|
49
|
+
"prettier": "^3.7.0",
|
|
50
50
|
"publint": "~0.3.14",
|
|
51
51
|
"rimraf": "^6.0.1",
|
|
52
|
-
"testcontainers": "^11.
|
|
52
|
+
"testcontainers": "^11.10.0",
|
|
53
53
|
"typescript": "^5.9.3",
|
|
54
|
-
"vitest": "^
|
|
54
|
+
"vitest": "^4.0.16"
|
|
55
55
|
}
|
|
56
56
|
}
|