File tree 7 files changed +14
-6
lines changed
sdk-typescript/packages/nautilus-wallet-client-core/src/schema
7 files changed +14
-6
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1
1
/** Core request / response message types. */
2
2
3
+ import {
4
+ Bytes ,
5
+ WalletId ,
6
+ WalletPin ,
7
+ } from 'nautilus-wallet-client-core/schema/types' ;
3
8
import { AlgorandTransactionSigned , WalletDisplay } from './entities' ;
4
- import { Bytes , WalletId , WalletPin } from './types' ;
5
9
6
10
export type CreateWallet = {
7
11
owner_name : string ;
Original file line number Diff line number Diff line change
1
+ import { Bytes } from 'nautilus-wallet-client-core/schema/types' ;
1
2
import { PublicKey } from './crypto' ;
2
- import { Bytes } from './types' ;
3
3
4
4
export type AttestationReport = {
5
5
report : SgxReport ;
Original file line number Diff line number Diff line change 2
2
* Interface patterned after `SodaBoxCrypto` on the server, but implemented using TweetNaCl.
3
3
*/
4
4
5
+ import {
6
+ Bytes ,
7
+ Bytes24 ,
8
+ Bytes32 ,
9
+ } from 'nautilus-wallet-client-core/schema/types' ;
5
10
import * as nacl from 'tweetnacl' ;
6
11
import { BoxKeyPair } from 'tweetnacl' ;
7
- import { Bytes , Bytes24 , Bytes32 } from './types' ;
8
12
9
13
export type PublicKey = Bytes32 ;
10
14
export type PrivateKey = Bytes32 ;
Original file line number Diff line number Diff line change 5
5
AlgorandAddressBase32 ,
6
6
Bytes ,
7
7
WalletId ,
8
- } from '. /types' ;
8
+ } from 'nautilus-wallet-client-core/schema /types' ;
9
9
10
10
/** A Nautilus wallet's basic displayable details. */
11
11
export type WalletDisplay = {
Original file line number Diff line number Diff line change 1
1
/** MessagePack helper functions. */
2
2
3
3
import { Decoder , Encoder } from '@msgpack/msgpack' ;
4
- import { Bytes } from '. /types' ;
4
+ import { Bytes } from 'nautilus-wallet-client-core/schema /types' ;
5
5
6
6
/// Enable for verbose from_msgpack / to_msgpack console debugging logs.
7
7
const LOG_DEBUG = false ;
Original file line number Diff line number Diff line change 1
1
/** [`SealedMessage`] sealing and unsealing. */
2
2
3
+ import { Bytes } from 'nautilus-wallet-client-core/schema/types' ;
3
4
import { Nonce , PublicKey , TweetNaClCrypto } from './crypto' ;
4
5
import { from_msgpack , from_msgpack_as , to_msgpack } from './msgpack' ;
5
- import { Bytes } from './types' ;
6
6
7
7
/** A sealed message */
8
8
export type SealedMessage = {
You can’t perform that action at this time.
0 commit comments