@trustwallet/wallet-core 4.4.4 → 4.5.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.
- package/dist/generated/core_proto.d.ts +569 -79
- package/dist/generated/core_proto.js +1715 -302
- package/dist/lib/wallet-core.js +1 -1
- package/dist/lib/wallet-core.wasm +0 -0
- package/dist/src/wallet-core.d.ts +5 -0
- package/package.json +1 -1
|
@@ -10551,11 +10551,486 @@ export namespace TW {
|
|
|
10551
10551
|
/** Namespace Proto. */
|
|
10552
10552
|
namespace Proto {
|
|
10553
10553
|
|
|
10554
|
+
/** Properties of an EncodingHashParams. */
|
|
10555
|
+
interface IEncodingHashParams {
|
|
10556
|
+
|
|
10557
|
+
/** EncodingHashParams chainId */
|
|
10558
|
+
chainId?: (Uint8Array|null);
|
|
10559
|
+
|
|
10560
|
+
/** EncodingHashParams codeAddress */
|
|
10561
|
+
codeAddress?: (string|null);
|
|
10562
|
+
|
|
10563
|
+
/** EncodingHashParams codeName */
|
|
10564
|
+
codeName?: (string|null);
|
|
10565
|
+
|
|
10566
|
+
/** EncodingHashParams codeVersion */
|
|
10567
|
+
codeVersion?: (string|null);
|
|
10568
|
+
|
|
10569
|
+
/** EncodingHashParams typeHash */
|
|
10570
|
+
typeHash?: (string|null);
|
|
10571
|
+
|
|
10572
|
+
/** EncodingHashParams domainSeparatorHash */
|
|
10573
|
+
domainSeparatorHash?: (string|null);
|
|
10574
|
+
}
|
|
10575
|
+
|
|
10576
|
+
/** Represents an EncodingHashParams. */
|
|
10577
|
+
class EncodingHashParams implements IEncodingHashParams {
|
|
10578
|
+
|
|
10579
|
+
/**
|
|
10580
|
+
* Constructs a new EncodingHashParams.
|
|
10581
|
+
* @param [properties] Properties to set
|
|
10582
|
+
*/
|
|
10583
|
+
constructor(properties?: TW.Biz.Proto.IEncodingHashParams);
|
|
10584
|
+
|
|
10585
|
+
/** EncodingHashParams chainId. */
|
|
10586
|
+
public chainId: Uint8Array;
|
|
10587
|
+
|
|
10588
|
+
/** EncodingHashParams codeAddress. */
|
|
10589
|
+
public codeAddress: string;
|
|
10590
|
+
|
|
10591
|
+
/** EncodingHashParams codeName. */
|
|
10592
|
+
public codeName: string;
|
|
10593
|
+
|
|
10594
|
+
/** EncodingHashParams codeVersion. */
|
|
10595
|
+
public codeVersion: string;
|
|
10596
|
+
|
|
10597
|
+
/** EncodingHashParams typeHash. */
|
|
10598
|
+
public typeHash: string;
|
|
10599
|
+
|
|
10600
|
+
/** EncodingHashParams domainSeparatorHash. */
|
|
10601
|
+
public domainSeparatorHash: string;
|
|
10602
|
+
|
|
10603
|
+
/**
|
|
10604
|
+
* Creates a new EncodingHashParams instance using the specified properties.
|
|
10605
|
+
* @param [properties] Properties to set
|
|
10606
|
+
* @returns EncodingHashParams instance
|
|
10607
|
+
*/
|
|
10608
|
+
public static create(properties?: TW.Biz.Proto.IEncodingHashParams): TW.Biz.Proto.EncodingHashParams;
|
|
10609
|
+
|
|
10610
|
+
/**
|
|
10611
|
+
* Encodes the specified EncodingHashParams message. Does not implicitly {@link TW.Biz.Proto.EncodingHashParams.verify|verify} messages.
|
|
10612
|
+
* @param message EncodingHashParams message or plain object to encode
|
|
10613
|
+
* @param [writer] Writer to encode to
|
|
10614
|
+
* @returns Writer
|
|
10615
|
+
*/
|
|
10616
|
+
public static encode(message: TW.Biz.Proto.IEncodingHashParams, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10617
|
+
|
|
10618
|
+
/**
|
|
10619
|
+
* Decodes an EncodingHashParams message from the specified reader or buffer.
|
|
10620
|
+
* @param reader Reader or buffer to decode from
|
|
10621
|
+
* @param [length] Message length if known beforehand
|
|
10622
|
+
* @returns EncodingHashParams
|
|
10623
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10624
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10625
|
+
*/
|
|
10626
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Biz.Proto.EncodingHashParams;
|
|
10627
|
+
|
|
10628
|
+
/**
|
|
10629
|
+
* Verifies an EncodingHashParams message.
|
|
10630
|
+
* @param message Plain object to verify
|
|
10631
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10632
|
+
*/
|
|
10633
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10634
|
+
|
|
10635
|
+
/**
|
|
10636
|
+
* Creates an EncodingHashParams message from a plain object. Also converts values to their respective internal types.
|
|
10637
|
+
* @param object Plain object
|
|
10638
|
+
* @returns EncodingHashParams
|
|
10639
|
+
*/
|
|
10640
|
+
public static fromObject(object: { [k: string]: any }): TW.Biz.Proto.EncodingHashParams;
|
|
10641
|
+
|
|
10642
|
+
/**
|
|
10643
|
+
* Creates a plain object from an EncodingHashParams message. Also converts values to other types if specified.
|
|
10644
|
+
* @param message EncodingHashParams
|
|
10645
|
+
* @param [options] Conversion options
|
|
10646
|
+
* @returns Plain object
|
|
10647
|
+
*/
|
|
10648
|
+
public static toObject(message: TW.Biz.Proto.EncodingHashParams, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10649
|
+
|
|
10650
|
+
/**
|
|
10651
|
+
* Converts this EncodingHashParams to JSON.
|
|
10652
|
+
* @returns JSON object
|
|
10653
|
+
*/
|
|
10654
|
+
public toJSON(): { [k: string]: any };
|
|
10655
|
+
}
|
|
10656
|
+
|
|
10657
|
+
/** Properties of an Execution. */
|
|
10658
|
+
interface IExecution {
|
|
10659
|
+
|
|
10660
|
+
/** Execution address */
|
|
10661
|
+
address?: (string|null);
|
|
10662
|
+
|
|
10663
|
+
/** Execution amount */
|
|
10664
|
+
amount?: (Uint8Array|null);
|
|
10665
|
+
|
|
10666
|
+
/** Execution payload */
|
|
10667
|
+
payload?: (Uint8Array|null);
|
|
10668
|
+
}
|
|
10669
|
+
|
|
10670
|
+
/** Represents an Execution. */
|
|
10671
|
+
class Execution implements IExecution {
|
|
10672
|
+
|
|
10673
|
+
/**
|
|
10674
|
+
* Constructs a new Execution.
|
|
10675
|
+
* @param [properties] Properties to set
|
|
10676
|
+
*/
|
|
10677
|
+
constructor(properties?: TW.Biz.Proto.IExecution);
|
|
10678
|
+
|
|
10679
|
+
/** Execution address. */
|
|
10680
|
+
public address: string;
|
|
10681
|
+
|
|
10682
|
+
/** Execution amount. */
|
|
10683
|
+
public amount: Uint8Array;
|
|
10684
|
+
|
|
10685
|
+
/** Execution payload. */
|
|
10686
|
+
public payload: Uint8Array;
|
|
10687
|
+
|
|
10688
|
+
/**
|
|
10689
|
+
* Creates a new Execution instance using the specified properties.
|
|
10690
|
+
* @param [properties] Properties to set
|
|
10691
|
+
* @returns Execution instance
|
|
10692
|
+
*/
|
|
10693
|
+
public static create(properties?: TW.Biz.Proto.IExecution): TW.Biz.Proto.Execution;
|
|
10694
|
+
|
|
10695
|
+
/**
|
|
10696
|
+
* Encodes the specified Execution message. Does not implicitly {@link TW.Biz.Proto.Execution.verify|verify} messages.
|
|
10697
|
+
* @param message Execution message or plain object to encode
|
|
10698
|
+
* @param [writer] Writer to encode to
|
|
10699
|
+
* @returns Writer
|
|
10700
|
+
*/
|
|
10701
|
+
public static encode(message: TW.Biz.Proto.IExecution, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10702
|
+
|
|
10703
|
+
/**
|
|
10704
|
+
* Decodes an Execution message from the specified reader or buffer.
|
|
10705
|
+
* @param reader Reader or buffer to decode from
|
|
10706
|
+
* @param [length] Message length if known beforehand
|
|
10707
|
+
* @returns Execution
|
|
10708
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10709
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10710
|
+
*/
|
|
10711
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Biz.Proto.Execution;
|
|
10712
|
+
|
|
10713
|
+
/**
|
|
10714
|
+
* Verifies an Execution message.
|
|
10715
|
+
* @param message Plain object to verify
|
|
10716
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10717
|
+
*/
|
|
10718
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10719
|
+
|
|
10720
|
+
/**
|
|
10721
|
+
* Creates an Execution message from a plain object. Also converts values to their respective internal types.
|
|
10722
|
+
* @param object Plain object
|
|
10723
|
+
* @returns Execution
|
|
10724
|
+
*/
|
|
10725
|
+
public static fromObject(object: { [k: string]: any }): TW.Biz.Proto.Execution;
|
|
10726
|
+
|
|
10727
|
+
/**
|
|
10728
|
+
* Creates a plain object from an Execution message. Also converts values to other types if specified.
|
|
10729
|
+
* @param message Execution
|
|
10730
|
+
* @param [options] Conversion options
|
|
10731
|
+
* @returns Plain object
|
|
10732
|
+
*/
|
|
10733
|
+
public static toObject(message: TW.Biz.Proto.Execution, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10734
|
+
|
|
10735
|
+
/**
|
|
10736
|
+
* Converts this Execution to JSON.
|
|
10737
|
+
* @returns JSON object
|
|
10738
|
+
*/
|
|
10739
|
+
public toJSON(): { [k: string]: any };
|
|
10740
|
+
}
|
|
10741
|
+
|
|
10742
|
+
/** Properties of an ExecuteWithSignatureInput. */
|
|
10743
|
+
interface IExecuteWithSignatureInput {
|
|
10744
|
+
|
|
10745
|
+
/** ExecuteWithSignatureInput executions */
|
|
10746
|
+
executions?: (TW.Biz.Proto.IExecution[]|null);
|
|
10747
|
+
|
|
10748
|
+
/** ExecuteWithSignatureInput privateKey */
|
|
10749
|
+
privateKey?: (Uint8Array|null);
|
|
10750
|
+
|
|
10751
|
+
/** ExecuteWithSignatureInput nonce */
|
|
10752
|
+
nonce?: (Uint8Array|null);
|
|
10753
|
+
|
|
10754
|
+
/** ExecuteWithSignatureInput encodingHashParams */
|
|
10755
|
+
encodingHashParams?: (TW.Biz.Proto.IEncodingHashParams|null);
|
|
10756
|
+
}
|
|
10757
|
+
|
|
10758
|
+
/** Represents an ExecuteWithSignatureInput. */
|
|
10759
|
+
class ExecuteWithSignatureInput implements IExecuteWithSignatureInput {
|
|
10760
|
+
|
|
10761
|
+
/**
|
|
10762
|
+
* Constructs a new ExecuteWithSignatureInput.
|
|
10763
|
+
* @param [properties] Properties to set
|
|
10764
|
+
*/
|
|
10765
|
+
constructor(properties?: TW.Biz.Proto.IExecuteWithSignatureInput);
|
|
10766
|
+
|
|
10767
|
+
/** ExecuteWithSignatureInput executions. */
|
|
10768
|
+
public executions: TW.Biz.Proto.IExecution[];
|
|
10769
|
+
|
|
10770
|
+
/** ExecuteWithSignatureInput privateKey. */
|
|
10771
|
+
public privateKey: Uint8Array;
|
|
10772
|
+
|
|
10773
|
+
/** ExecuteWithSignatureInput nonce. */
|
|
10774
|
+
public nonce: Uint8Array;
|
|
10775
|
+
|
|
10776
|
+
/** ExecuteWithSignatureInput encodingHashParams. */
|
|
10777
|
+
public encodingHashParams?: (TW.Biz.Proto.IEncodingHashParams|null);
|
|
10778
|
+
|
|
10779
|
+
/**
|
|
10780
|
+
* Creates a new ExecuteWithSignatureInput instance using the specified properties.
|
|
10781
|
+
* @param [properties] Properties to set
|
|
10782
|
+
* @returns ExecuteWithSignatureInput instance
|
|
10783
|
+
*/
|
|
10784
|
+
public static create(properties?: TW.Biz.Proto.IExecuteWithSignatureInput): TW.Biz.Proto.ExecuteWithSignatureInput;
|
|
10785
|
+
|
|
10786
|
+
/**
|
|
10787
|
+
* Encodes the specified ExecuteWithSignatureInput message. Does not implicitly {@link TW.Biz.Proto.ExecuteWithSignatureInput.verify|verify} messages.
|
|
10788
|
+
* @param message ExecuteWithSignatureInput message or plain object to encode
|
|
10789
|
+
* @param [writer] Writer to encode to
|
|
10790
|
+
* @returns Writer
|
|
10791
|
+
*/
|
|
10792
|
+
public static encode(message: TW.Biz.Proto.IExecuteWithSignatureInput, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10793
|
+
|
|
10794
|
+
/**
|
|
10795
|
+
* Decodes an ExecuteWithSignatureInput message from the specified reader or buffer.
|
|
10796
|
+
* @param reader Reader or buffer to decode from
|
|
10797
|
+
* @param [length] Message length if known beforehand
|
|
10798
|
+
* @returns ExecuteWithSignatureInput
|
|
10799
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10800
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10801
|
+
*/
|
|
10802
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Biz.Proto.ExecuteWithSignatureInput;
|
|
10803
|
+
|
|
10804
|
+
/**
|
|
10805
|
+
* Verifies an ExecuteWithSignatureInput message.
|
|
10806
|
+
* @param message Plain object to verify
|
|
10807
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10808
|
+
*/
|
|
10809
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10810
|
+
|
|
10811
|
+
/**
|
|
10812
|
+
* Creates an ExecuteWithSignatureInput message from a plain object. Also converts values to their respective internal types.
|
|
10813
|
+
* @param object Plain object
|
|
10814
|
+
* @returns ExecuteWithSignatureInput
|
|
10815
|
+
*/
|
|
10816
|
+
public static fromObject(object: { [k: string]: any }): TW.Biz.Proto.ExecuteWithSignatureInput;
|
|
10817
|
+
|
|
10818
|
+
/**
|
|
10819
|
+
* Creates a plain object from an ExecuteWithSignatureInput message. Also converts values to other types if specified.
|
|
10820
|
+
* @param message ExecuteWithSignatureInput
|
|
10821
|
+
* @param [options] Conversion options
|
|
10822
|
+
* @returns Plain object
|
|
10823
|
+
*/
|
|
10824
|
+
public static toObject(message: TW.Biz.Proto.ExecuteWithSignatureInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10825
|
+
|
|
10826
|
+
/**
|
|
10827
|
+
* Converts this ExecuteWithSignatureInput to JSON.
|
|
10828
|
+
* @returns JSON object
|
|
10829
|
+
*/
|
|
10830
|
+
public toJSON(): { [k: string]: any };
|
|
10831
|
+
}
|
|
10832
|
+
}
|
|
10833
|
+
}
|
|
10834
|
+
|
|
10835
|
+
/** Namespace BizPasskeySession. */
|
|
10836
|
+
namespace BizPasskeySession {
|
|
10837
|
+
|
|
10838
|
+
/** Namespace Proto. */
|
|
10839
|
+
namespace Proto {
|
|
10840
|
+
|
|
10841
|
+
/** Properties of an EncodingHashParams. */
|
|
10842
|
+
interface IEncodingHashParams {
|
|
10843
|
+
|
|
10844
|
+
/** EncodingHashParams chainId */
|
|
10845
|
+
chainId?: (Uint8Array|null);
|
|
10846
|
+
|
|
10847
|
+
/** EncodingHashParams codeAddress */
|
|
10848
|
+
codeAddress?: (string|null);
|
|
10849
|
+
|
|
10850
|
+
/** EncodingHashParams codeName */
|
|
10851
|
+
codeName?: (string|null);
|
|
10852
|
+
|
|
10853
|
+
/** EncodingHashParams codeVersion */
|
|
10854
|
+
codeVersion?: (string|null);
|
|
10855
|
+
|
|
10856
|
+
/** EncodingHashParams typeHash */
|
|
10857
|
+
typeHash?: (string|null);
|
|
10858
|
+
|
|
10859
|
+
/** EncodingHashParams domainSeparatorHash */
|
|
10860
|
+
domainSeparatorHash?: (string|null);
|
|
10861
|
+
}
|
|
10862
|
+
|
|
10863
|
+
/** Represents an EncodingHashParams. */
|
|
10864
|
+
class EncodingHashParams implements IEncodingHashParams {
|
|
10865
|
+
|
|
10866
|
+
/**
|
|
10867
|
+
* Constructs a new EncodingHashParams.
|
|
10868
|
+
* @param [properties] Properties to set
|
|
10869
|
+
*/
|
|
10870
|
+
constructor(properties?: TW.BizPasskeySession.Proto.IEncodingHashParams);
|
|
10871
|
+
|
|
10872
|
+
/** EncodingHashParams chainId. */
|
|
10873
|
+
public chainId: Uint8Array;
|
|
10874
|
+
|
|
10875
|
+
/** EncodingHashParams codeAddress. */
|
|
10876
|
+
public codeAddress: string;
|
|
10877
|
+
|
|
10878
|
+
/** EncodingHashParams codeName. */
|
|
10879
|
+
public codeName: string;
|
|
10880
|
+
|
|
10881
|
+
/** EncodingHashParams codeVersion. */
|
|
10882
|
+
public codeVersion: string;
|
|
10883
|
+
|
|
10884
|
+
/** EncodingHashParams typeHash. */
|
|
10885
|
+
public typeHash: string;
|
|
10886
|
+
|
|
10887
|
+
/** EncodingHashParams domainSeparatorHash. */
|
|
10888
|
+
public domainSeparatorHash: string;
|
|
10889
|
+
|
|
10890
|
+
/**
|
|
10891
|
+
* Creates a new EncodingHashParams instance using the specified properties.
|
|
10892
|
+
* @param [properties] Properties to set
|
|
10893
|
+
* @returns EncodingHashParams instance
|
|
10894
|
+
*/
|
|
10895
|
+
public static create(properties?: TW.BizPasskeySession.Proto.IEncodingHashParams): TW.BizPasskeySession.Proto.EncodingHashParams;
|
|
10896
|
+
|
|
10897
|
+
/**
|
|
10898
|
+
* Encodes the specified EncodingHashParams message. Does not implicitly {@link TW.BizPasskeySession.Proto.EncodingHashParams.verify|verify} messages.
|
|
10899
|
+
* @param message EncodingHashParams message or plain object to encode
|
|
10900
|
+
* @param [writer] Writer to encode to
|
|
10901
|
+
* @returns Writer
|
|
10902
|
+
*/
|
|
10903
|
+
public static encode(message: TW.BizPasskeySession.Proto.IEncodingHashParams, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10904
|
+
|
|
10905
|
+
/**
|
|
10906
|
+
* Decodes an EncodingHashParams message from the specified reader or buffer.
|
|
10907
|
+
* @param reader Reader or buffer to decode from
|
|
10908
|
+
* @param [length] Message length if known beforehand
|
|
10909
|
+
* @returns EncodingHashParams
|
|
10910
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10911
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10912
|
+
*/
|
|
10913
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BizPasskeySession.Proto.EncodingHashParams;
|
|
10914
|
+
|
|
10915
|
+
/**
|
|
10916
|
+
* Verifies an EncodingHashParams message.
|
|
10917
|
+
* @param message Plain object to verify
|
|
10918
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10919
|
+
*/
|
|
10920
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10921
|
+
|
|
10922
|
+
/**
|
|
10923
|
+
* Creates an EncodingHashParams message from a plain object. Also converts values to their respective internal types.
|
|
10924
|
+
* @param object Plain object
|
|
10925
|
+
* @returns EncodingHashParams
|
|
10926
|
+
*/
|
|
10927
|
+
public static fromObject(object: { [k: string]: any }): TW.BizPasskeySession.Proto.EncodingHashParams;
|
|
10928
|
+
|
|
10929
|
+
/**
|
|
10930
|
+
* Creates a plain object from an EncodingHashParams message. Also converts values to other types if specified.
|
|
10931
|
+
* @param message EncodingHashParams
|
|
10932
|
+
* @param [options] Conversion options
|
|
10933
|
+
* @returns Plain object
|
|
10934
|
+
*/
|
|
10935
|
+
public static toObject(message: TW.BizPasskeySession.Proto.EncodingHashParams, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10936
|
+
|
|
10937
|
+
/**
|
|
10938
|
+
* Converts this EncodingHashParams to JSON.
|
|
10939
|
+
* @returns JSON object
|
|
10940
|
+
*/
|
|
10941
|
+
public toJSON(): { [k: string]: any };
|
|
10942
|
+
}
|
|
10943
|
+
|
|
10944
|
+
/** Properties of an Execution. */
|
|
10945
|
+
interface IExecution {
|
|
10946
|
+
|
|
10947
|
+
/** Execution address */
|
|
10948
|
+
address?: (string|null);
|
|
10949
|
+
|
|
10950
|
+
/** Execution amount */
|
|
10951
|
+
amount?: (Uint8Array|null);
|
|
10952
|
+
|
|
10953
|
+
/** Execution payload */
|
|
10954
|
+
payload?: (Uint8Array|null);
|
|
10955
|
+
}
|
|
10956
|
+
|
|
10957
|
+
/** Represents an Execution. */
|
|
10958
|
+
class Execution implements IExecution {
|
|
10959
|
+
|
|
10960
|
+
/**
|
|
10961
|
+
* Constructs a new Execution.
|
|
10962
|
+
* @param [properties] Properties to set
|
|
10963
|
+
*/
|
|
10964
|
+
constructor(properties?: TW.BizPasskeySession.Proto.IExecution);
|
|
10965
|
+
|
|
10966
|
+
/** Execution address. */
|
|
10967
|
+
public address: string;
|
|
10968
|
+
|
|
10969
|
+
/** Execution amount. */
|
|
10970
|
+
public amount: Uint8Array;
|
|
10971
|
+
|
|
10972
|
+
/** Execution payload. */
|
|
10973
|
+
public payload: Uint8Array;
|
|
10974
|
+
|
|
10975
|
+
/**
|
|
10976
|
+
* Creates a new Execution instance using the specified properties.
|
|
10977
|
+
* @param [properties] Properties to set
|
|
10978
|
+
* @returns Execution instance
|
|
10979
|
+
*/
|
|
10980
|
+
public static create(properties?: TW.BizPasskeySession.Proto.IExecution): TW.BizPasskeySession.Proto.Execution;
|
|
10981
|
+
|
|
10982
|
+
/**
|
|
10983
|
+
* Encodes the specified Execution message. Does not implicitly {@link TW.BizPasskeySession.Proto.Execution.verify|verify} messages.
|
|
10984
|
+
* @param message Execution message or plain object to encode
|
|
10985
|
+
* @param [writer] Writer to encode to
|
|
10986
|
+
* @returns Writer
|
|
10987
|
+
*/
|
|
10988
|
+
public static encode(message: TW.BizPasskeySession.Proto.IExecution, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10989
|
+
|
|
10990
|
+
/**
|
|
10991
|
+
* Decodes an Execution message from the specified reader or buffer.
|
|
10992
|
+
* @param reader Reader or buffer to decode from
|
|
10993
|
+
* @param [length] Message length if known beforehand
|
|
10994
|
+
* @returns Execution
|
|
10995
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10996
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10997
|
+
*/
|
|
10998
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BizPasskeySession.Proto.Execution;
|
|
10999
|
+
|
|
11000
|
+
/**
|
|
11001
|
+
* Verifies an Execution message.
|
|
11002
|
+
* @param message Plain object to verify
|
|
11003
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11004
|
+
*/
|
|
11005
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11006
|
+
|
|
11007
|
+
/**
|
|
11008
|
+
* Creates an Execution message from a plain object. Also converts values to their respective internal types.
|
|
11009
|
+
* @param object Plain object
|
|
11010
|
+
* @returns Execution
|
|
11011
|
+
*/
|
|
11012
|
+
public static fromObject(object: { [k: string]: any }): TW.BizPasskeySession.Proto.Execution;
|
|
11013
|
+
|
|
11014
|
+
/**
|
|
11015
|
+
* Creates a plain object from an Execution message. Also converts values to other types if specified.
|
|
11016
|
+
* @param message Execution
|
|
11017
|
+
* @param [options] Conversion options
|
|
11018
|
+
* @returns Plain object
|
|
11019
|
+
*/
|
|
11020
|
+
public static toObject(message: TW.BizPasskeySession.Proto.Execution, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11021
|
+
|
|
11022
|
+
/**
|
|
11023
|
+
* Converts this Execution to JSON.
|
|
11024
|
+
* @returns JSON object
|
|
11025
|
+
*/
|
|
11026
|
+
public toJSON(): { [k: string]: any };
|
|
11027
|
+
}
|
|
11028
|
+
|
|
10554
11029
|
/** Properties of an ExecuteWithPasskeySessionInput. */
|
|
10555
11030
|
interface IExecuteWithPasskeySessionInput {
|
|
10556
11031
|
|
|
10557
11032
|
/** ExecuteWithPasskeySessionInput executions */
|
|
10558
|
-
executions?: (TW.
|
|
11033
|
+
executions?: (TW.BizPasskeySession.Proto.IExecution[]|null);
|
|
10559
11034
|
|
|
10560
11035
|
/** ExecuteWithPasskeySessionInput validAfter */
|
|
10561
11036
|
validAfter?: (Long|null);
|
|
@@ -10574,10 +11049,10 @@ export namespace TW {
|
|
|
10574
11049
|
* Constructs a new ExecuteWithPasskeySessionInput.
|
|
10575
11050
|
* @param [properties] Properties to set
|
|
10576
11051
|
*/
|
|
10577
|
-
constructor(properties?: TW.
|
|
11052
|
+
constructor(properties?: TW.BizPasskeySession.Proto.IExecuteWithPasskeySessionInput);
|
|
10578
11053
|
|
|
10579
11054
|
/** ExecuteWithPasskeySessionInput executions. */
|
|
10580
|
-
public executions: TW.
|
|
11055
|
+
public executions: TW.BizPasskeySession.Proto.IExecution[];
|
|
10581
11056
|
|
|
10582
11057
|
/** ExecuteWithPasskeySessionInput validAfter. */
|
|
10583
11058
|
public validAfter: Long;
|
|
@@ -10593,15 +11068,15 @@ export namespace TW {
|
|
|
10593
11068
|
* @param [properties] Properties to set
|
|
10594
11069
|
* @returns ExecuteWithPasskeySessionInput instance
|
|
10595
11070
|
*/
|
|
10596
|
-
public static create(properties?: TW.
|
|
11071
|
+
public static create(properties?: TW.BizPasskeySession.Proto.IExecuteWithPasskeySessionInput): TW.BizPasskeySession.Proto.ExecuteWithPasskeySessionInput;
|
|
10597
11072
|
|
|
10598
11073
|
/**
|
|
10599
|
-
* Encodes the specified ExecuteWithPasskeySessionInput message. Does not implicitly {@link TW.
|
|
11074
|
+
* Encodes the specified ExecuteWithPasskeySessionInput message. Does not implicitly {@link TW.BizPasskeySession.Proto.ExecuteWithPasskeySessionInput.verify|verify} messages.
|
|
10600
11075
|
* @param message ExecuteWithPasskeySessionInput message or plain object to encode
|
|
10601
11076
|
* @param [writer] Writer to encode to
|
|
10602
11077
|
* @returns Writer
|
|
10603
11078
|
*/
|
|
10604
|
-
public static encode(message: TW.
|
|
11079
|
+
public static encode(message: TW.BizPasskeySession.Proto.IExecuteWithPasskeySessionInput, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10605
11080
|
|
|
10606
11081
|
/**
|
|
10607
11082
|
* Decodes an ExecuteWithPasskeySessionInput message from the specified reader or buffer.
|
|
@@ -10611,7 +11086,7 @@ export namespace TW {
|
|
|
10611
11086
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10612
11087
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10613
11088
|
*/
|
|
10614
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
|
11089
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BizPasskeySession.Proto.ExecuteWithPasskeySessionInput;
|
|
10615
11090
|
|
|
10616
11091
|
/**
|
|
10617
11092
|
* Verifies an ExecuteWithPasskeySessionInput message.
|
|
@@ -10625,7 +11100,7 @@ export namespace TW {
|
|
|
10625
11100
|
* @param object Plain object
|
|
10626
11101
|
* @returns ExecuteWithPasskeySessionInput
|
|
10627
11102
|
*/
|
|
10628
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
|
11103
|
+
public static fromObject(object: { [k: string]: any }): TW.BizPasskeySession.Proto.ExecuteWithPasskeySessionInput;
|
|
10629
11104
|
|
|
10630
11105
|
/**
|
|
10631
11106
|
* Creates a plain object from an ExecuteWithPasskeySessionInput message. Also converts values to other types if specified.
|
|
@@ -10633,7 +11108,7 @@ export namespace TW {
|
|
|
10633
11108
|
* @param [options] Conversion options
|
|
10634
11109
|
* @returns Plain object
|
|
10635
11110
|
*/
|
|
10636
|
-
public static toObject(message: TW.
|
|
11111
|
+
public static toObject(message: TW.BizPasskeySession.Proto.ExecuteWithPasskeySessionInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10637
11112
|
|
|
10638
11113
|
/**
|
|
10639
11114
|
* Converts this ExecuteWithPasskeySessionInput to JSON.
|
|
@@ -10642,92 +11117,107 @@ export namespace TW {
|
|
|
10642
11117
|
public toJSON(): { [k: string]: any };
|
|
10643
11118
|
}
|
|
10644
11119
|
|
|
10645
|
-
|
|
11120
|
+
/** Properties of an ExecuteWithSignatureInput. */
|
|
11121
|
+
interface IExecuteWithSignatureInput {
|
|
10646
11122
|
|
|
10647
|
-
/**
|
|
10648
|
-
|
|
11123
|
+
/** ExecuteWithSignatureInput executions */
|
|
11124
|
+
executions?: (TW.BizPasskeySession.Proto.IExecution[]|null);
|
|
10649
11125
|
|
|
10650
|
-
|
|
10651
|
-
|
|
11126
|
+
/** ExecuteWithSignatureInput privateKey */
|
|
11127
|
+
privateKey?: (Uint8Array|null);
|
|
10652
11128
|
|
|
10653
|
-
|
|
10654
|
-
|
|
11129
|
+
/** ExecuteWithSignatureInput nonce */
|
|
11130
|
+
nonce?: (Uint8Array|null);
|
|
10655
11131
|
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
}
|
|
11132
|
+
/** ExecuteWithSignatureInput validAfter */
|
|
11133
|
+
validAfter?: (Long|null);
|
|
10659
11134
|
|
|
10660
|
-
/**
|
|
10661
|
-
|
|
11135
|
+
/** ExecuteWithSignatureInput validUntil */
|
|
11136
|
+
validUntil?: (Long|null);
|
|
10662
11137
|
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
*/
|
|
10667
|
-
constructor(properties?: TW.Biz.Proto.ExecuteWithPasskeySessionInput.IExecution);
|
|
11138
|
+
/** ExecuteWithSignatureInput encodingHashParams */
|
|
11139
|
+
encodingHashParams?: (TW.BizPasskeySession.Proto.IEncodingHashParams|null);
|
|
11140
|
+
}
|
|
10668
11141
|
|
|
10669
|
-
|
|
10670
|
-
|
|
11142
|
+
/** Represents an ExecuteWithSignatureInput. */
|
|
11143
|
+
class ExecuteWithSignatureInput implements IExecuteWithSignatureInput {
|
|
10671
11144
|
|
|
10672
|
-
|
|
10673
|
-
|
|
11145
|
+
/**
|
|
11146
|
+
* Constructs a new ExecuteWithSignatureInput.
|
|
11147
|
+
* @param [properties] Properties to set
|
|
11148
|
+
*/
|
|
11149
|
+
constructor(properties?: TW.BizPasskeySession.Proto.IExecuteWithSignatureInput);
|
|
10674
11150
|
|
|
10675
|
-
|
|
10676
|
-
|
|
11151
|
+
/** ExecuteWithSignatureInput executions. */
|
|
11152
|
+
public executions: TW.BizPasskeySession.Proto.IExecution[];
|
|
10677
11153
|
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
* @param [properties] Properties to set
|
|
10681
|
-
* @returns Execution instance
|
|
10682
|
-
*/
|
|
10683
|
-
public static create(properties?: TW.Biz.Proto.ExecuteWithPasskeySessionInput.IExecution): TW.Biz.Proto.ExecuteWithPasskeySessionInput.Execution;
|
|
11154
|
+
/** ExecuteWithSignatureInput privateKey. */
|
|
11155
|
+
public privateKey: Uint8Array;
|
|
10684
11156
|
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
* @param message Execution message or plain object to encode
|
|
10688
|
-
* @param [writer] Writer to encode to
|
|
10689
|
-
* @returns Writer
|
|
10690
|
-
*/
|
|
10691
|
-
public static encode(message: TW.Biz.Proto.ExecuteWithPasskeySessionInput.IExecution, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11157
|
+
/** ExecuteWithSignatureInput nonce. */
|
|
11158
|
+
public nonce: Uint8Array;
|
|
10692
11159
|
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
* @param reader Reader or buffer to decode from
|
|
10696
|
-
* @param [length] Message length if known beforehand
|
|
10697
|
-
* @returns Execution
|
|
10698
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10699
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10700
|
-
*/
|
|
10701
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Biz.Proto.ExecuteWithPasskeySessionInput.Execution;
|
|
11160
|
+
/** ExecuteWithSignatureInput validAfter. */
|
|
11161
|
+
public validAfter: Long;
|
|
10702
11162
|
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
* @param message Plain object to verify
|
|
10706
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
10707
|
-
*/
|
|
10708
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
11163
|
+
/** ExecuteWithSignatureInput validUntil. */
|
|
11164
|
+
public validUntil: Long;
|
|
10709
11165
|
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
* @param object Plain object
|
|
10713
|
-
* @returns Execution
|
|
10714
|
-
*/
|
|
10715
|
-
public static fromObject(object: { [k: string]: any }): TW.Biz.Proto.ExecuteWithPasskeySessionInput.Execution;
|
|
11166
|
+
/** ExecuteWithSignatureInput encodingHashParams. */
|
|
11167
|
+
public encodingHashParams?: (TW.BizPasskeySession.Proto.IEncodingHashParams|null);
|
|
10716
11168
|
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
public static toObject(message: TW.Biz.Proto.ExecuteWithPasskeySessionInput.Execution, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11169
|
+
/**
|
|
11170
|
+
* Creates a new ExecuteWithSignatureInput instance using the specified properties.
|
|
11171
|
+
* @param [properties] Properties to set
|
|
11172
|
+
* @returns ExecuteWithSignatureInput instance
|
|
11173
|
+
*/
|
|
11174
|
+
public static create(properties?: TW.BizPasskeySession.Proto.IExecuteWithSignatureInput): TW.BizPasskeySession.Proto.ExecuteWithSignatureInput;
|
|
10724
11175
|
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
|
|
11176
|
+
/**
|
|
11177
|
+
* Encodes the specified ExecuteWithSignatureInput message. Does not implicitly {@link TW.BizPasskeySession.Proto.ExecuteWithSignatureInput.verify|verify} messages.
|
|
11178
|
+
* @param message ExecuteWithSignatureInput message or plain object to encode
|
|
11179
|
+
* @param [writer] Writer to encode to
|
|
11180
|
+
* @returns Writer
|
|
11181
|
+
*/
|
|
11182
|
+
public static encode(message: TW.BizPasskeySession.Proto.IExecuteWithSignatureInput, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11183
|
+
|
|
11184
|
+
/**
|
|
11185
|
+
* Decodes an ExecuteWithSignatureInput message from the specified reader or buffer.
|
|
11186
|
+
* @param reader Reader or buffer to decode from
|
|
11187
|
+
* @param [length] Message length if known beforehand
|
|
11188
|
+
* @returns ExecuteWithSignatureInput
|
|
11189
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11190
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11191
|
+
*/
|
|
11192
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BizPasskeySession.Proto.ExecuteWithSignatureInput;
|
|
11193
|
+
|
|
11194
|
+
/**
|
|
11195
|
+
* Verifies an ExecuteWithSignatureInput message.
|
|
11196
|
+
* @param message Plain object to verify
|
|
11197
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11198
|
+
*/
|
|
11199
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11200
|
+
|
|
11201
|
+
/**
|
|
11202
|
+
* Creates an ExecuteWithSignatureInput message from a plain object. Also converts values to their respective internal types.
|
|
11203
|
+
* @param object Plain object
|
|
11204
|
+
* @returns ExecuteWithSignatureInput
|
|
11205
|
+
*/
|
|
11206
|
+
public static fromObject(object: { [k: string]: any }): TW.BizPasskeySession.Proto.ExecuteWithSignatureInput;
|
|
11207
|
+
|
|
11208
|
+
/**
|
|
11209
|
+
* Creates a plain object from an ExecuteWithSignatureInput message. Also converts values to other types if specified.
|
|
11210
|
+
* @param message ExecuteWithSignatureInput
|
|
11211
|
+
* @param [options] Conversion options
|
|
11212
|
+
* @returns Plain object
|
|
11213
|
+
*/
|
|
11214
|
+
public static toObject(message: TW.BizPasskeySession.Proto.ExecuteWithSignatureInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11215
|
+
|
|
11216
|
+
/**
|
|
11217
|
+
* Converts this ExecuteWithSignatureInput to JSON.
|
|
11218
|
+
* @returns JSON object
|
|
11219
|
+
*/
|
|
11220
|
+
public toJSON(): { [k: string]: any };
|
|
10731
11221
|
}
|
|
10732
11222
|
}
|
|
10733
11223
|
}
|