@onekeyfe/hd-transport 1.2.8-alpha.11 → 1.2.8-alpha.111

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/protocols/index.ts"],"names":[],"mappings":";AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AAGpC,OAAO,EAAE,qBAAqB,EAA+C,MAAM,cAAc,CAAC;AAElG,OAAO,EAAE,aAAa,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AAShE,OAAO,EAGL,kBAAkB,EAClB,UAAU,EACX,MAAM,MAAM,CAAC;AAEd,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,eAAO,MAAM,iCAAiC,QAAQ,CAAC;AAEvD,KAAK,iBAAiB,GAAG;IACvB,UAAU,EAAE,IAAI,CAAC;IACjB,UAAU,EAAE,IAAI,CAAC;CAClB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAkGF,eAAO,MAAM,UAAU;;;;;;;;;;CAOtB,CAAC;AAEF,eAAO,MAAM,UAAU;;;0BAIC,iBAAiB,SAAS,UAAU;;;;;;;;;;yBAgB/C,iBAAiB,QACpB,MAAM,QACN,OAAO,MAAM,EAAE,OAAO,CAAC,YACpB,sBAAsB;yBAkBZ,iBAAiB,SAAS,UAAU;;;;;;;;;;;;;;;;;;;;;;CAqC1D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/protocols/index.ts"],"names":[],"mappings":";AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AAGpC,OAAO,EAAE,qBAAqB,EAA+C,MAAM,cAAc,CAAC;AAElG,OAAO,EAAE,aAAa,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AAIhE,OAAO,EAGL,kBAAkB,EAClB,UAAU,EACX,MAAM,MAAM,CAAC;AAEd,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,eAAO,MAAM,iCAAiC,QAAQ,CAAC;AAEvD,KAAK,iBAAiB,GAAG;IACvB,UAAU,EAAE,IAAI,CAAC;IACjB,UAAU,EAAE,IAAI,CAAC;CAClB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAqHF,eAAO,MAAM,UAAU;;;;;;;;;;CAOtB,CAAC;AAEF,eAAO,MAAM,UAAU;;;0BAIC,iBAAiB,SAAS,UAAU;;;;;;;;;;yBAgB/C,iBAAiB,QACpB,MAAM,QACN,OAAO,MAAM,EAAE,OAAO,CAAC,YACpB,sBAAsB;yBAkBZ,iBAAiB,SAAS,UAAU;;;;;;;;;;;;;;;;;;;;;;CAqC1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/serialization/protobuf/messages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAI7C,wBAAgB,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,iBAmCvD;AAED,eAAO,MAAM,qBAAqB,aAAc,SAAS,IAAI,QAAQ,MAAM;;;CAiB1E,CAAC;AAEF,eAAO,MAAM,qBAAqB,aAAc,SAAS,IAAI,UAAU,MAAM;;;CAgB5E,CAAC"}
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/serialization/protobuf/messages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,wBAAgB,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,iBAMvD;AAED,eAAO,MAAM,qBAAqB,aAAc,SAAS,IAAI,QAAQ,MAAM;;;CAiB1E,CAAC;AAEF,eAAO,MAAM,qBAAqB,aAAc,SAAS,IAAI,UAAU,MAAM;;;CAgB5E,CAAC"}
@@ -3508,6 +3508,23 @@ export type UiAnimationRequest = {
3508
3508
  command: UiAnimationCommand;
3509
3509
  type?: UiAnimationType;
3510
3510
  };
3511
+ export type ZcashSignPczt = {
3512
+ pczt_length: number;
3513
+ pczt_initial_chunk: string;
3514
+ };
3515
+ export type ZcashPcztChunkRequest = {
3516
+ chunk_length: number;
3517
+ };
3518
+ export type ZcashPcztChunkAck = {
3519
+ data_chunk: string;
3520
+ };
3521
+ export type ZcashSignedPczt = {
3522
+ pczt_length: number;
3523
+ pczt_initial_chunk: string;
3524
+ };
3525
+ export type ZcashSignedPcztChunkRequest = {
3526
+ chunk_length: number;
3527
+ };
3511
3528
  export type experimental_message = {};
3512
3529
  export type experimental_field = {};
3513
3530
  export type ProtocolInfoRequest = {
@@ -4027,6 +4044,29 @@ export type ViewVerifyPage = {
4027
4044
  chain_id?: number;
4028
4045
  content?: ViewContentPreview;
4029
4046
  };
4047
+ export declare enum ZcashAddressType {
4048
+ UNIFIED_ORCHARD_P2PKH = 0,
4049
+ TRANSPARENT_P2PKH = 1,
4050
+ UNIFIED_ORCHARD = 2
4051
+ }
4052
+ export declare enum ZcashAddressScope {
4053
+ EXTERNAL = 0,
4054
+ INTERNAL = 1
4055
+ }
4056
+ export type ZcashGetAddress = {
4057
+ address_n: number[];
4058
+ show_display?: boolean;
4059
+ include_seed_fingerprint?: boolean;
4060
+ include_ufvk?: boolean;
4061
+ diversifier_index?: number;
4062
+ address_type?: ZcashAddressType;
4063
+ scope?: ZcashAddressScope;
4064
+ };
4065
+ export type ZcashAddress = {
4066
+ address: string;
4067
+ ufvk?: string;
4068
+ seed_fingerprint?: string;
4069
+ };
4030
4070
  export declare enum ProtocolV2FailureType {
4031
4071
  Failure_InvalidMessage = 1,
4032
4072
  Failure_UndefinedError = 2,
@@ -4638,6 +4678,11 @@ export type MessageType = {
4638
4678
  UnlockPath: UnlockPath;
4639
4679
  UnlockedPathRequest: UnlockedPathRequest;
4640
4680
  UiAnimationRequest: UiAnimationRequest;
4681
+ ZcashSignPczt: ZcashSignPczt;
4682
+ ZcashPcztChunkRequest: ZcashPcztChunkRequest;
4683
+ ZcashPcztChunkAck: ZcashPcztChunkAck;
4684
+ ZcashSignedPczt: ZcashSignedPczt;
4685
+ ZcashSignedPcztChunkRequest: ZcashSignedPcztChunkRequest;
4641
4686
  experimental_message: experimental_message;
4642
4687
  experimental_field: experimental_field;
4643
4688
  ProtocolInfoRequest: ProtocolInfoRequest;
@@ -4714,6 +4759,8 @@ export type MessageType = {
4714
4759
  ViewSignPage: ViewSignPage;
4715
4760
  ViewWarningPage: ViewWarningPage;
4716
4761
  ViewVerifyPage: ViewVerifyPage;
4762
+ ZcashGetAddress: ZcashGetAddress;
4763
+ ZcashAddress: ZcashAddress;
4717
4764
  };
4718
4765
  export type MessageKey = keyof MessageType;
4719
4766
  export type MessageResponse<T extends MessageKey> = {