@taquito/taquito 22.0.0 → 23.0.0-RC.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.
Files changed (45) hide show
  1. package/README.md +1 -1
  2. package/dist/400.taquito.min.js +1 -0
  3. package/dist/993.taquito.min.js +1 -0
  4. package/dist/lib/batch/rpc-batch-provider.js +47 -5
  5. package/dist/lib/constants.js +18 -16
  6. package/dist/lib/contract/contract.js +1 -1
  7. package/dist/lib/contract/prepare.js +17 -3
  8. package/dist/lib/contract/rpc-contract-provider.js +69 -22
  9. package/dist/lib/estimate/rpc-estimate-provider.js +133 -31
  10. package/dist/lib/operations/index.js +3 -1
  11. package/dist/lib/operations/reveal-operation.js +9 -0
  12. package/dist/lib/operations/types.js +5 -1
  13. package/dist/lib/operations/update-companion-key-operation.js +58 -0
  14. package/dist/lib/operations/update-consensus-key-operation.js +9 -0
  15. package/dist/lib/prepare/prepare-provider.js +78 -3
  16. package/dist/lib/provider.js +4 -0
  17. package/dist/lib/subscribe/polling-subcribe-provider.js +7 -3
  18. package/dist/lib/tz/rpc-tz-provider.js +4 -4
  19. package/dist/lib/version.js +2 -2
  20. package/dist/lib/wallet/operation-factory.js +1 -1
  21. package/dist/lib/wallet/operation.js +2 -2
  22. package/dist/lib/wallet/wallet.js +9 -12
  23. package/dist/taquito.es6.js +466 -109
  24. package/dist/taquito.es6.js.map +1 -1
  25. package/dist/taquito.min.js +1 -1
  26. package/dist/taquito.min.js.LICENSE.txt +2 -0
  27. package/dist/taquito.umd.js +464 -105
  28. package/dist/taquito.umd.js.map +1 -1
  29. package/dist/types/batch/rpc-batch-provider.d.ts +16 -2
  30. package/dist/types/constants.d.ts +4 -1
  31. package/dist/types/contract/interface.d.ts +10 -3
  32. package/dist/types/contract/prepare.d.ts +4 -3
  33. package/dist/types/contract/rpc-contract-provider.d.ts +12 -5
  34. package/dist/types/estimate/estimate-provider-interface.d.ts +9 -3
  35. package/dist/types/estimate/rpc-estimate-provider.d.ts +10 -5
  36. package/dist/types/operations/index.d.ts +1 -0
  37. package/dist/types/operations/reveal-operation.d.ts +1 -0
  38. package/dist/types/operations/types.d.ts +26 -5
  39. package/dist/types/operations/update-companion-key-operation.d.ts +23 -0
  40. package/dist/types/operations/update-consensus-key-operation.d.ts +1 -0
  41. package/dist/types/prepare/interface.d.ts +8 -1
  42. package/dist/types/prepare/prepare-provider.d.ts +11 -3
  43. package/dist/types/provider.d.ts +1 -1
  44. package/dist/types/signer/interface.d.ts +18 -8
  45. package/package.json +9 -9
@@ -1 +1 @@
1
- {"version":3,"file":"taquito.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -4,7 +4,7 @@ import { ContractMethod } from '../contract/contract-methods/contract-method-fla
4
4
  import { SendParams } from '../contract/contract-methods/contract-method-interface';
5
5
  import { ContractProvider } from '../contract/interface';
6
6
  import { BatchOperation } from '../operations/batch-operation';
7
- import { ActivationParams, DelegateParams, OriginateParams, TransferParams, ParamsWithKind, RegisterGlobalConstantParams, TransferTicketParams, IncreasePaidStorageParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams } from '../operations/types';
7
+ import { ActivationParams, DelegateParams, OriginateParams, TransferParams, ParamsWithKind, RegisterGlobalConstantParams, TransferTicketParams, IncreasePaidStorageParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, UpdateConsensusKeyParams, UpdateCompanionKeyParams } from '../operations/types';
8
8
  import { OpKind } from '@taquito/rpc';
9
9
  import { ContractMethodObject } from '../contract/contract-methods/contract-method-object-param';
10
10
  import { EstimationProvider } from '../estimate/estimate-provider-interface';
@@ -74,6 +74,20 @@ export declare class OperationBatch extends Provider {
74
74
  * @param params IncreasePaidStorage operation parameter
75
75
  */
76
76
  withIncreasePaidStorage(params: IncreasePaidStorageParams): this;
77
+ /**
78
+ *
79
+ * @description Add a update consensus key operation to the batch
80
+ *
81
+ * @param params UpdateConsensusKey operation parameter
82
+ */
83
+ withUpdateConsensusKey(params: UpdateConsensusKeyParams): this;
84
+ /**
85
+ *
86
+ * @description Add a update companion key operation to the batch
87
+ *
88
+ * @param params UpdateCompanionKey operation parameter
89
+ */
90
+ withUpdateCompanionKey(params: UpdateCompanionKeyParams): this;
77
91
  /**
78
92
  *
79
93
  * @description Add a smart rollup add messages operation to the batch
@@ -95,7 +109,7 @@ export declare class OperationBatch extends Provider {
95
109
  * @param params Smart Rollup Execute Outbox Message operation parameter
96
110
  */
97
111
  withSmartRollupExecuteOutboxMessage(params: SmartRollupExecuteOutboxMessageParams): this;
98
- getRPCOp(param: ParamsWithKind): Promise<import("../operations/types").RPCTransferOperation | import("../operations/types").RPCOriginationOperation | import("../operations/types").RPCDelegateOperation | import("../operations/types").RPCRegisterGlobalConstantOperation | import("../operations/types").RPCIncreasePaidStorageOperation | import("../operations/types").RPCTransferTicketOperation | import("../operations/types").RPCSmartRollupAddMessagesOperation | import("../operations/types").RPCSmartRollupOriginateOperation | import("../operations/types").RPCSmartRollupOutboxMessageOperation>;
112
+ getRPCOp(param: ParamsWithKind): Promise<import("../operations/types").RPCTransferOperation | import("../operations/types").RPCOriginationOperation | import("../operations/types").RPCDelegateOperation | import("../operations/types").RPCRegisterGlobalConstantOperation | import("../operations/types").RPCIncreasePaidStorageOperation | import("../operations/types").RPCUpdateConsensusKeyOperation | import("../operations/types").RPCUpdateCompanionKeyOperation | import("../operations/types").RPCTransferTicketOperation | import("../operations/types").RPCSmartRollupAddMessagesOperation | import("../operations/types").RPCSmartRollupOriginateOperation | import("../operations/types").RPCSmartRollupOutboxMessageOperation>;
99
113
  /**
100
114
  *
101
115
  * @description Add a group operation to the batch. Operation will be applied in the order they are in the params array
@@ -54,6 +54,7 @@ export declare enum Protocols {
54
54
  PsParisCZ = "PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi",
55
55
  PsQuebecn = "PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg",
56
56
  PsRiotuma = "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7",
57
+ PtSeouLou = "PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh",
57
58
  ProtoALpha = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"
58
59
  }
59
60
  export declare const protocols: {
@@ -76,6 +77,7 @@ export declare const protocols: {
76
77
  '021': Protocols[];
77
78
  '022': Protocols[];
78
79
  '023': Protocols[];
80
+ '024': Protocols[];
79
81
  };
80
82
  export declare enum ChainIds {
81
83
  MAINNET = "NetXdQprcVkpaWU",
@@ -97,7 +99,8 @@ export declare enum ChainIds {
97
99
  PARISBNET = "NetXo8SqH1c38SS",
98
100
  PARISCNET = "NetXXWAHLEvre9b",
99
101
  QUEBECNET = "NetXuTeGinLEqxp",
100
- RIONET = "NetXPdgaoabtBth"
102
+ RIONET = "NetXPdgaoabtBth",
103
+ SEOULNET = "NetXd56aBs1aeW3"
101
104
  }
102
105
  export declare const getRevealGasLimit: (address: string) => number;
103
106
  export declare const getRevealFee: (address: string) => number;
@@ -7,7 +7,7 @@ import { OriginationOperation } from '../operations/origination-operation';
7
7
  import { RegisterGlobalConstantOperation } from '../operations/register-global-constant-operation';
8
8
  import { RevealOperation } from '../operations/reveal-operation';
9
9
  import { TransactionOperation } from '../operations/transaction-operation';
10
- import { DelegateParams, OriginateParams, TransferParams, RegisterDelegateParams, ParamsWithKind, RevealParams, RegisterGlobalConstantParams, IncreasePaidStorageParams, TransferTicketParams, DrainDelegateParams, BallotParams, ProposalsParams, UpdateConsensusKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, FailingNoopParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
10
+ import { DelegateParams, OriginateParams, TransferParams, RegisterDelegateParams, ParamsWithKind, RevealParams, RegisterGlobalConstantParams, IncreasePaidStorageParams, TransferTicketParams, DrainDelegateParams, BallotParams, ProposalsParams, UpdateConsensusKeyParams, UpdateCompanionKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, FailingNoopParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
11
11
  import { ContractAbstraction, ContractStorageType, DefaultContractType } from './contract';
12
12
  import { IncreasePaidStorageOperation } from '../operations/increase-paid-storage-operation';
13
13
  import { TransferTicketOperation } from '../operations/transfer-ticket-operation';
@@ -15,6 +15,7 @@ import { DrainDelegateOperation } from '../operations';
15
15
  import { BallotOperation } from '../operations';
16
16
  import { ProposalsOperation } from '../operations/proposals-operation';
17
17
  import { UpdateConsensusKeyOperation } from '../operations/update-consensus-key-operation';
18
+ import { UpdateCompanionKeyOperation } from '../operations/update-companion-key-operation';
18
19
  import { SmartRollupAddMessagesOperation } from '../operations/smart-rollup-add-messages-operation';
19
20
  import { SmartRollupOriginateOperation } from '../operations/smart-rollup-originate-operation';
20
21
  import { SmartRollupExecuteOutboxMessageOperation } from '../operations/smart-rollup-execute-outbox-message-operation';
@@ -155,7 +156,6 @@ export interface ContractProvider extends StorageProvider {
155
156
  /**
156
157
  *
157
158
  * @description Reveal the current address. Will throw an error if the address is already revealed.
158
- *
159
159
  * @returns An operation handle with the result from the rpc node
160
160
  *
161
161
  * @param Reveal operation parameter
@@ -217,12 +217,19 @@ export interface ContractProvider extends StorageProvider {
217
217
  /**
218
218
  *
219
219
  * @description Update consensus key
220
- *
221
220
  * @returns An operation handle with the result from the RPC node
222
221
  *
223
222
  * @param UpdateConsensusKeyParams UpdateConsensusKey operation parameter
224
223
  */
225
224
  updateConsensusKey(params: UpdateConsensusKeyParams): Promise<UpdateConsensusKeyOperation>;
225
+ /**
226
+ *
227
+ * @description Update companion key
228
+ * @returns An operation handle with the result from the RPC node
229
+ *
230
+ * @param UpdateCompanionKeyParams UpdateCompanionKey operation parameter
231
+ */
232
+ updateCompanionKey(params: UpdateCompanionKeyParams): Promise<UpdateCompanionKeyOperation>;
226
233
  /**
227
234
  *
228
235
  * @description Smart Rollup Add Messages
@@ -1,17 +1,18 @@
1
- import { OriginateParams, RPCOriginationOperation, TransferParams, RPCTransferOperation, DelegateParams, RPCDelegateOperation, RegisterDelegateParams, RPCRevealOperation, RevealParams, RegisterGlobalConstantParams, RPCRegisterGlobalConstantOperation, TransferTicketParams, RPCTransferTicketOperation, IncreasePaidStorageParams, RPCIncreasePaidStorageOperation, DrainDelegateParams, RPCDrainDelegateOperation, BallotParams, RPCBallotOperation, ProposalsParams, RPCProposalsOperation, UpdateConsensusKeyParams, RPCUpdateConsensusKeyOperation, SmartRollupAddMessagesParams, RPCSmartRollupAddMessagesOperation, SmartRollupOriginateParams, RPCSmartRollupOriginateOperation, SmartRollupExecuteOutboxMessageParams, RPCSmartRollupOutboxMessageOperation, ActivationParams, RPCActivateOperation } from '../operations/types';
1
+ import { OriginateParams, RPCOriginationOperation, TransferParams, RPCTransferOperation, DelegateParams, RPCDelegateOperation, RegisterDelegateParams, RPCRevealOperation, RevealParams, RegisterGlobalConstantParams, RPCRegisterGlobalConstantOperation, TransferTicketParams, RPCTransferTicketOperation, IncreasePaidStorageParams, RPCIncreasePaidStorageOperation, DrainDelegateParams, RPCDrainDelegateOperation, BallotParams, RPCBallotOperation, ProposalsParams, RPCProposalsOperation, UpdateConsensusKeyParams, RPCUpdateConsensusKeyOperation, UpdateCompanionKeyParams, RPCUpdateCompanionKeyOperation, SmartRollupAddMessagesParams, RPCSmartRollupAddMessagesOperation, SmartRollupOriginateParams, RPCSmartRollupOriginateOperation, SmartRollupExecuteOutboxMessageParams, RPCSmartRollupOutboxMessageOperation, ActivationParams, RPCActivateOperation } from '../operations/types';
2
2
  export declare const createActivationOperation: ({ pkh, secret }: ActivationParams) => Promise<RPCActivateOperation>;
3
3
  export declare const createOriginationOperation: ({ code, init, balance, delegate, storage, fee, gasLimit, storageLimit, mutez, }: OriginateParams) => Promise<RPCOriginationOperation>;
4
4
  export declare const createTransferOperation: ({ to, amount, parameter, fee, gasLimit, storageLimit, mutez, }: TransferParams) => Promise<RPCTransferOperation>;
5
5
  export declare const createSetDelegateOperation: ({ delegate, source, fee, gasLimit, storageLimit, }: DelegateParams) => Promise<RPCDelegateOperation>;
6
6
  export declare const createRegisterDelegateOperation: ({ fee, gasLimit, storageLimit }: RegisterDelegateParams, source: string) => Promise<RPCDelegateOperation>;
7
- export declare const createRevealOperation: ({ fee, gasLimit, storageLimit }: RevealParams, source: string, publicKey: string) => Promise<RPCRevealOperation>;
7
+ export declare const createRevealOperation: ({ fee, gasLimit, storageLimit, proof }: RevealParams, source: string, publicKey: string) => Promise<RPCRevealOperation>;
8
8
  export declare const createRegisterGlobalConstantOperation: ({ value, source, fee, gasLimit, storageLimit, }: RegisterGlobalConstantParams) => Promise<RPCRegisterGlobalConstantOperation>;
9
9
  export declare const createTransferTicketOperation: ({ ticketContents, ticketTy, ticketTicketer, ticketAmount, destination, entrypoint, source, fee, gasLimit, storageLimit, }: TransferTicketParams) => Promise<RPCTransferTicketOperation>;
10
10
  export declare const createIncreasePaidStorageOperation: ({ source, fee, gasLimit, storageLimit, amount, destination, }: IncreasePaidStorageParams) => Promise<RPCIncreasePaidStorageOperation>;
11
11
  export declare const createDrainDelegateOperation: ({ consensus_key, delegate, destination, }: DrainDelegateParams) => Promise<RPCDrainDelegateOperation>;
12
12
  export declare const createBallotOperation: ({ source, proposal, ballot }: BallotParams) => Promise<RPCBallotOperation>;
13
13
  export declare const createProposalsOperation: ({ source, proposals }: ProposalsParams) => Promise<RPCProposalsOperation>;
14
- export declare const createUpdateConsensusKeyOperation: ({ source, fee, gasLimit, storageLimit, pk, }: UpdateConsensusKeyParams) => Promise<RPCUpdateConsensusKeyOperation>;
14
+ export declare const createUpdateConsensusKeyOperation: ({ source, fee, gasLimit, storageLimit, pk, proof, }: UpdateConsensusKeyParams) => Promise<RPCUpdateConsensusKeyOperation>;
15
+ export declare const createUpdateCompanionKeyOperation: ({ source, fee, gasLimit, storageLimit, pk, proof, }: UpdateCompanionKeyParams) => Promise<RPCUpdateCompanionKeyOperation>;
15
16
  export declare const createSmartRollupAddMessagesOperation: ({ source, fee, gasLimit, storageLimit, message, }: SmartRollupAddMessagesParams) => Promise<RPCSmartRollupAddMessagesOperation>;
16
17
  export declare const createSmartRollupOriginateOperation: ({ source, fee, gasLimit, storageLimit, pvmKind, kernel, parametersType, }: SmartRollupOriginateParams) => Promise<RPCSmartRollupOriginateOperation>;
17
18
  export declare const createSmartRollupExecuteOutboxMessageOperation: ({ source, fee, gasLimit, storageLimit, rollup, cementedCommitment, outputProof, }: SmartRollupExecuteOutboxMessageParams) => Promise<RPCSmartRollupOutboxMessageOperation>;
@@ -6,7 +6,7 @@ import { OriginationOperation } from '../operations/origination-operation';
6
6
  import { RegisterGlobalConstantOperation } from '../operations/register-global-constant-operation';
7
7
  import { RevealOperation } from '../operations/reveal-operation';
8
8
  import { TransactionOperation } from '../operations/transaction-operation';
9
- import { DelegateParams, OriginateParams, ParamsWithKind, RegisterDelegateParams, RegisterGlobalConstantParams, RevealParams, TransferParams, TransferTicketParams, IncreasePaidStorageParams, DrainDelegateParams, BallotParams, ProposalsParams, UpdateConsensusKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, FailingNoopParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
9
+ import { DelegateParams, OriginateParams, ParamsWithKind, RegisterDelegateParams, RegisterGlobalConstantParams, RevealParams, TransferParams, TransferTicketParams, IncreasePaidStorageParams, DrainDelegateParams, BallotParams, ProposalsParams, UpdateConsensusKeyParams, UpdateCompanionKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, FailingNoopParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
10
10
  import { DefaultContractType, ContractStorageType, ContractAbstraction } from './contract';
11
11
  import { ContractProvider, ContractSchema, StorageProvider } from './interface';
12
12
  import { EstimationProvider } from '../estimate/estimate-provider-interface';
@@ -16,6 +16,7 @@ import { BallotOperation } from '../operations/ballot-operation';
16
16
  import { DrainDelegateOperation } from '../operations/drain-delegate-operation';
17
17
  import { ProposalsOperation } from '../operations/proposals-operation';
18
18
  import { UpdateConsensusKeyOperation } from '../operations/update-consensus-key-operation';
19
+ import { UpdateCompanionKeyOperation } from '../operations/update-companion-key-operation';
19
20
  import { SmartRollupAddMessagesOperation } from '../operations/smart-rollup-add-messages-operation';
20
21
  import { SmartRollupOriginateOperation } from '../operations/smart-rollup-originate-operation';
21
22
  import { SmartRollupExecuteOutboxMessageOperation } from '../operations/smart-rollup-execute-outbox-message-operation';
@@ -165,8 +166,7 @@ export declare class RpcContractProvider extends Provider implements ContractPro
165
166
  transferTicket(params: TransferTicketParams): Promise<TransferTicketOperation>;
166
167
  /**
167
168
  *
168
- * @description Reveal the current address. Will throw an error if the address is already revealed.
169
- *
169
+ * @description Reveal the public key of the current address. Will throw an error if the address is already revealed.
170
170
  * @returns An operation handle with the result from the rpc node
171
171
  *
172
172
  * @param RevealParams operation parameter
@@ -219,13 +219,20 @@ export declare class RpcContractProvider extends Provider implements ContractPro
219
219
  proposals(params: ProposalsParams): Promise<ProposalsOperation>;
220
220
  /**
221
221
  *
222
- * @description Updates the consensus key of the baker to public_key starting from the current cycle plus PRESERVED_CYCLES + 1
223
- *
222
+ * @description Update the consensus key of a delegate starting from the current cycle plus CONSENSUS_RIGHTS_DELAY + 1
224
223
  * @returns An operation handle with the result from the rpc node
225
224
  *
226
225
  * @param UpdateConsensusKeyParams
227
226
  */
228
227
  updateConsensusKey(params: UpdateConsensusKeyParams): Promise<UpdateConsensusKeyOperation>;
228
+ /**
229
+ *
230
+ * @description Updates the companion key of the delegate starting from the current cycle plus CONSENSUS_KEY_ACTIVATION_DELAY + 1
231
+ * @returns An operation handle with the result from the rpc node
232
+ *
233
+ * @param UpdateCompanionKeyParams
234
+ */
235
+ updateCompanionKey(params: UpdateCompanionKeyParams): Promise<UpdateCompanionKeyOperation>;
229
236
  /**
230
237
  * @description Adds messages to the rollup inbox that can be executed/claimed after it gets cemented
231
238
  * @param SmartRollupAddMessagesParams
@@ -1,5 +1,5 @@
1
1
  import { OriginateParams, TransferParams, DelegateParams, RegisterDelegateParams, ParamsWithKind } from '../operations';
2
- import { RevealParams, RegisterGlobalConstantParams, TransferTicketParams, IncreasePaidStorageParams, UpdateConsensusKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
2
+ import { RevealParams, RegisterGlobalConstantParams, TransferTicketParams, IncreasePaidStorageParams, UpdateConsensusKeyParams, UpdateCompanionKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
3
3
  import { Estimate } from './estimate';
4
4
  import { ContractMethod, ContractMethodObject, ContractProvider } from '../contract';
5
5
  export interface EstimationProvider {
@@ -78,7 +78,6 @@ export interface EstimationProvider {
78
78
  /**
79
79
  *
80
80
  * @description Estimate gasLimit, storageLimit and fees for a reveal operation
81
- *
82
81
  * @returns An estimation of gasLimit, storageLimit and fees for the operation or undefined if the account is already revealed
83
82
  *
84
83
  * @param Estimate
@@ -106,12 +105,19 @@ export interface EstimationProvider {
106
105
  /**
107
106
  *
108
107
  * @description Estimate gasLimit, storageLimit and fees for an Update Consensus Key operation
109
- *
110
108
  * @returns An estimation of gasLimit, storageLimit and fees for the operation
111
109
  *
112
110
  * @param Estimate
113
111
  */
114
112
  updateConsensusKey(params: UpdateConsensusKeyParams): Promise<Estimate>;
113
+ /**
114
+ *
115
+ * @description Estimate gasLimit, storageLimit and fees for an Update Companion Key operation
116
+ * @returns An estimation of gasLimit, storageLimit and fees for the operation
117
+ *
118
+ * @param Estimate
119
+ */
120
+ updateCompanionKey(params: UpdateCompanionKeyParams): Promise<Estimate>;
115
121
  /**
116
122
  *
117
123
  * @description Estimate gasLimit, storageLimit and fees for an Smart Rollup Add Messages operation
@@ -1,10 +1,11 @@
1
- import { DelegateParams, OriginateParams, ParamsWithKind, RegisterDelegateParams, TransferParams, RevealParams, RegisterGlobalConstantParams, TransferTicketParams, IncreasePaidStorageParams, UpdateConsensusKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
1
+ import { DelegateParams, OriginateParams, ParamsWithKind, RegisterDelegateParams, TransferParams, RevealParams, RegisterGlobalConstantParams, TransferTicketParams, IncreasePaidStorageParams, UpdateConsensusKeyParams, UpdateCompanionKeyParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
2
2
  import { Estimate } from './estimate';
3
3
  import { EstimationProvider } from '../estimate/estimate-provider-interface';
4
4
  import { ContractMethod, ContractMethodObject, ContractProvider } from '../contract';
5
5
  import { Provider } from '../provider';
6
6
  export declare class RPCEstimateProvider extends Provider implements EstimationProvider {
7
- private readonly OP_SIZE_REVEAL;
7
+ private readonly REVEAL_LENGTH;
8
+ private readonly REVEAL_LENGTH_TZ4;
8
9
  private readonly MILLIGAS_BUFFER;
9
10
  private readonly STORAGE_BUFFER;
10
11
  private prepare;
@@ -93,7 +94,6 @@ export declare class RPCEstimateProvider extends Provider implements EstimationP
93
94
  /**
94
95
  *
95
96
  * @description Estimate gasLimit, storageLimit and fees to reveal the current account
96
- *
97
97
  * @returns An estimation of gasLimit, storageLimit and fees for the operation or undefined if the account is already revealed
98
98
  *
99
99
  * @param Estimate
@@ -120,12 +120,17 @@ export declare class RPCEstimateProvider extends Provider implements EstimationP
120
120
  /**
121
121
  *
122
122
  * @description Estimate gasLimit, storageLimit and fees for an Update Consensus Key operation
123
- *
124
123
  * @returns An estimation of gasLimit, storageLimit and fees for the operation
125
- *
126
124
  * @param Estimate
127
125
  */
128
126
  updateConsensusKey(params: UpdateConsensusKeyParams): Promise<Estimate>;
127
+ /**
128
+ *
129
+ * @description Estimate gasLimit, storageLimit and fees for an Update Companion Key operation
130
+ * @returns An estimation of gasLimit, storageLimit and fees for the operation
131
+ * @param Estimate
132
+ */
133
+ updateCompanionKey(params: UpdateCompanionKeyParams): Promise<Estimate>;
129
134
  /**
130
135
  *
131
136
  * @description Estimate gasLimit, storageLimit and fees for a smart_rollup_add_messages operation
@@ -8,6 +8,7 @@ export { RegisterGlobalConstantOperation } from './register-global-constant-oper
8
8
  export { IncreasePaidStorageOperation } from './increase-paid-storage-operation';
9
9
  export { TransferTicketOperation } from './transfer-ticket-operation';
10
10
  export { UpdateConsensusKeyOperation } from './update-consensus-key-operation';
11
+ export { UpdateCompanionKeyOperation } from './update-companion-key-operation';
11
12
  export { SmartRollupAddMessagesOperation } from './smart-rollup-add-messages-operation';
12
13
  export { SmartRollupOriginateOperation } from './smart-rollup-originate-operation';
13
14
  export { BallotOperation } from './ballot-operation';
@@ -15,6 +15,7 @@ export declare class RevealOperation extends Operation implements GasConsumingOp
15
15
  get gasLimit(): number;
16
16
  get storageLimit(): number;
17
17
  get publicKey(): string;
18
+ get proof(): string;
18
19
  private sumProp;
19
20
  get consumedGas(): string;
20
21
  get consumedMilliGas(): string;
@@ -4,7 +4,7 @@ export { OpKind } from '@taquito/rpc';
4
4
  export type withKind<T, K extends OpKind> = T & {
5
5
  kind: K;
6
6
  };
7
- export type ParamsWithKind = withKind<OriginateParams, OpKind.ORIGINATION> | withKind<DelegateParams, OpKind.DELEGATION> | withKind<TransferParams, OpKind.TRANSACTION> | withKind<ActivationParams, OpKind.ACTIVATION> | withKind<RegisterGlobalConstantParams, OpKind.REGISTER_GLOBAL_CONSTANT> | withKind<IncreasePaidStorageParams, OpKind.INCREASE_PAID_STORAGE> | withKind<TransferTicketParams, OpKind.TRANSFER_TICKET> | withKind<UpdateConsensusKeyParams, OpKind.UPDATE_CONSENSUS_KEY> | withKind<SmartRollupAddMessagesParams, OpKind.SMART_ROLLUP_ADD_MESSAGES> | withKind<FailingNoopParams, OpKind.FAILING_NOOP> | withKind<SmartRollupOriginateParams, OpKind.SMART_ROLLUP_ORIGINATE> | withKind<SmartRollupExecuteOutboxMessageParams, OpKind.SMART_ROLLUP_EXECUTE_OUTBOX_MESSAGE>;
7
+ export type ParamsWithKind = withKind<OriginateParams, OpKind.ORIGINATION> | withKind<DelegateParams, OpKind.DELEGATION> | withKind<TransferParams, OpKind.TRANSACTION> | withKind<ActivationParams, OpKind.ACTIVATION> | withKind<RegisterGlobalConstantParams, OpKind.REGISTER_GLOBAL_CONSTANT> | withKind<IncreasePaidStorageParams, OpKind.INCREASE_PAID_STORAGE> | withKind<TransferTicketParams, OpKind.TRANSFER_TICKET> | withKind<UpdateConsensusKeyParams, OpKind.UPDATE_CONSENSUS_KEY> | withKind<UpdateCompanionKeyParams, OpKind.UPDATE_COMPANION_KEY> | withKind<SmartRollupAddMessagesParams, OpKind.SMART_ROLLUP_ADD_MESSAGES> | withKind<FailingNoopParams, OpKind.FAILING_NOOP> | withKind<SmartRollupOriginateParams, OpKind.SMART_ROLLUP_ORIGINATE> | withKind<SmartRollupExecuteOutboxMessageParams, OpKind.SMART_ROLLUP_EXECUTE_OUTBOX_MESSAGE>;
8
8
  export type ParamsWithKindExtended = ParamsWithKind | withKind<RevealParams, OpKind.REVEAL>;
9
9
  export declare const attachKind: <T, K extends OpKind>(op: T, kind: K) => withKind<T, K>;
10
10
  export declare const findWithKind: <T extends {
@@ -15,11 +15,11 @@ export declare const findWithKind: <T extends {
15
15
  export declare const isKind: <T extends {
16
16
  kind: OpKind;
17
17
  }, K extends OpKind>(op: T, kind: K) => op is withKind<T, K>;
18
- export type RPCOpWithFee = RPCTransferOperation | RPCOriginationOperation | RPCDelegateOperation | RPCRevealOperation | RPCRegisterGlobalConstantOperation | RPCIncreasePaidStorageOperation | RPCTransferTicketOperation | RPCUpdateConsensusKeyOperation | RPCSmartRollupAddMessagesOperation | RPCSmartRollupOriginateOperation | RPCSmartRollupOutboxMessageOperation;
19
- export type RPCOpWithSource = RPCTransferOperation | RPCOriginationOperation | RPCDelegateOperation | RPCRevealOperation | RPCRegisterGlobalConstantOperation | RPCIncreasePaidStorageOperation | RPCTransferTicketOperation | RPCUpdateConsensusKeyOperation | RPCSmartRollupAddMessagesOperation | RPCSmartRollupOriginateOperation | RPCSmartRollupOutboxMessageOperation;
18
+ export type RPCOpWithFee = RPCTransferOperation | RPCOriginationOperation | RPCDelegateOperation | RPCRevealOperation | RPCRegisterGlobalConstantOperation | RPCIncreasePaidStorageOperation | RPCTransferTicketOperation | RPCUpdateConsensusKeyOperation | RPCUpdateCompanionKeyOperation | RPCSmartRollupAddMessagesOperation | RPCSmartRollupOriginateOperation | RPCSmartRollupOutboxMessageOperation;
19
+ export type RPCOpWithSource = RPCTransferOperation | RPCOriginationOperation | RPCDelegateOperation | RPCRevealOperation | RPCRegisterGlobalConstantOperation | RPCIncreasePaidStorageOperation | RPCTransferTicketOperation | RPCUpdateConsensusKeyOperation | RPCUpdateCompanionKeyOperation | RPCSmartRollupAddMessagesOperation | RPCSmartRollupOriginateOperation | RPCSmartRollupOutboxMessageOperation;
20
20
  export declare const isOpWithGasBuffer: <T extends {
21
21
  kind: OpKind;
22
- parameters?: TransactionOperationParameter;
22
+ destination?: string;
23
23
  }>(op: T) => boolean;
24
24
  export declare const isOpWithFee: <T extends {
25
25
  kind: OpKind;
@@ -113,11 +113,13 @@ export interface RPCRevealOperation {
113
113
  source?: string;
114
114
  gas_limit: number;
115
115
  storage_limit: number;
116
+ proof?: string;
116
117
  }
117
118
  export interface RevealParams {
118
119
  fee?: number;
119
120
  gasLimit?: number;
120
121
  storageLimit?: number;
122
+ proof?: string;
121
123
  }
122
124
  /**
123
125
  * @description Result of a forge operation contains the operation plus its encoded version
@@ -352,6 +354,7 @@ export interface UpdateConsensusKeyParams {
352
354
  gasLimit?: number;
353
355
  storageLimit?: number;
354
356
  pk: string;
357
+ proof?: string;
355
358
  }
356
359
  export interface RPCUpdateConsensusKeyOperation {
357
360
  kind: OpKind.UPDATE_CONSENSUS_KEY;
@@ -360,6 +363,24 @@ export interface RPCUpdateConsensusKeyOperation {
360
363
  gas_limit: number;
361
364
  storage_limit: number;
362
365
  pk: string;
366
+ proof?: string;
367
+ }
368
+ export interface UpdateCompanionKeyParams {
369
+ source?: string;
370
+ fee?: number;
371
+ gasLimit?: number;
372
+ storageLimit?: number;
373
+ pk: string;
374
+ proof?: string;
375
+ }
376
+ export interface RPCUpdateCompanionKeyOperation {
377
+ kind: OpKind.UPDATE_COMPANION_KEY;
378
+ source: string;
379
+ fee: number;
380
+ gas_limit: number;
381
+ storage_limit: number;
382
+ pk: string;
383
+ proof?: string;
363
384
  }
364
385
  export interface SmartRollupAddMessagesParams {
365
386
  source?: string;
@@ -428,7 +449,7 @@ export interface FailingNoopParams {
428
449
  arbitrary: string;
429
450
  basedOnBlock: BlockIdentifier;
430
451
  }
431
- export type RPCOperation = RPCOriginationOperation | RPCTransferOperation | RPCDelegateOperation | RPCRevealOperation | RPCActivateOperation | RPCRegisterGlobalConstantOperation | RPCTransferTicketOperation | RPCIncreasePaidStorageOperation | RPCDrainDelegateOperation | RPCBallotOperation | RPCProposalsOperation | RPCUpdateConsensusKeyOperation | RPCSmartRollupAddMessagesOperation | RPCSmartRollupOriginateOperation | RPCSmartRollupOutboxMessageOperation | RPCFailingNoopOperation;
452
+ export type RPCOperation = RPCOriginationOperation | RPCTransferOperation | RPCDelegateOperation | RPCRevealOperation | RPCActivateOperation | RPCRegisterGlobalConstantOperation | RPCTransferTicketOperation | RPCIncreasePaidStorageOperation | RPCDrainDelegateOperation | RPCBallotOperation | RPCProposalsOperation | RPCUpdateConsensusKeyOperation | RPCUpdateCompanionKeyOperation | RPCSmartRollupAddMessagesOperation | RPCSmartRollupOriginateOperation | RPCSmartRollupOutboxMessageOperation | RPCFailingNoopOperation;
432
453
  export type PrepareOperationParams = {
433
454
  operation: RPCOperation | RPCOperation[];
434
455
  source?: string;
@@ -0,0 +1,23 @@
1
+ import { OperationContentsAndResult, OperationContentsUpdateCompanionKey } from '@taquito/rpc';
2
+ import { Context } from '../context';
3
+ import { Operation } from './operations';
4
+ import { FeeConsumingOperation, ForgedBytes, GasConsumingOperation, StorageConsumingOperation } from './types';
5
+ /**
6
+ *
7
+ * @description UpdateCompanionKeyOperation provides utility to fetch properties for Operation of kind UpdateCompanionKey
8
+ *
9
+ */
10
+ export declare class UpdateCompanionKeyOperation extends Operation implements GasConsumingOperation, StorageConsumingOperation, FeeConsumingOperation {
11
+ private readonly params;
12
+ readonly source: string;
13
+ constructor(hash: string, params: OperationContentsUpdateCompanionKey, source: string, raw: ForgedBytes, results: OperationContentsAndResult[], context: Context);
14
+ get operationResults(): import("@taquito/rpc").OperationResultUpdateConsensusKey | undefined;
15
+ get status(): import("@taquito/rpc").OperationResultStatusEnum | "unknown";
16
+ get fee(): number;
17
+ get gasLimit(): number;
18
+ get storageLimit(): number;
19
+ get pk(): string;
20
+ get proof(): string;
21
+ get consumedMilliGas(): string | undefined;
22
+ get errors(): import("@taquito/rpc").TezosGenericOperationError[] | undefined;
23
+ }
@@ -17,6 +17,7 @@ export declare class UpdateConsensusKeyOperation extends Operation implements Ga
17
17
  get gasLimit(): number;
18
18
  get storageLimit(): number;
19
19
  get pk(): string;
20
+ get proof(): string;
20
21
  get consumedMilliGas(): string | undefined;
21
22
  get errors(): import("@taquito/rpc").TezosGenericOperationError[] | undefined;
22
23
  }
@@ -1,5 +1,5 @@
1
1
  import { OperationContents, PreapplyParams } from '@taquito/rpc';
2
- import { BallotParams, DelegateParams, DrainDelegateParams, IncreasePaidStorageParams, OriginateParams, ProposalsParams, RegisterGlobalConstantParams, RevealParams, TransferParams, TransferTicketParams, UpdateConsensusKeyParams, ActivationParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams } from '../operations/types';
2
+ import { BallotParams, DelegateParams, DrainDelegateParams, IncreasePaidStorageParams, OriginateParams, ProposalsParams, RegisterGlobalConstantParams, RevealParams, TransferParams, TransferTicketParams, UpdateConsensusKeyParams, UpdateCompanionKeyParams, ActivationParams, SmartRollupAddMessagesParams, SmartRollupOriginateParams } from '../operations/types';
3
3
  import { ContractMethod } from '../contract/contract-methods/contract-method-flat-param';
4
4
  import { ContractMethodObject } from '../contract/contract-methods/contract-method-object-param';
5
5
  import { ContractProvider } from '../contract/interface';
@@ -63,6 +63,13 @@ export interface PreparationProvider {
63
63
  * @returns a PreparedOperation object
64
64
  */
65
65
  updateConsensusKey(params: UpdateConsensusKeyParams): Promise<PreparedOperation>;
66
+ /**
67
+ * @description Method to prepare an update_companion_key operation
68
+ * @param params updateCompanionKey operation parameters
69
+ * @param source string or undefined source pkh
70
+ * @returns a PreparedOperation object
71
+ */
72
+ updateCompanionKey(params: UpdateCompanionKeyParams): Promise<PreparedOperation>;
66
73
  /**
67
74
  *
68
75
  * @description Method to prepare a transfer_ticket operation
@@ -1,5 +1,5 @@
1
1
  import { PreapplyParams } from '@taquito/rpc';
2
- import { DelegateParams, RevealParams, RegisterGlobalConstantParams, TransferParams, OriginateParams, UpdateConsensusKeyParams, TransferTicketParams, IncreasePaidStorageParams, BallotParams, ProposalsParams, DrainDelegateParams, ParamsWithKind, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, RegisterDelegateParams, ActivationParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
2
+ import { DelegateParams, RevealParams, RegisterGlobalConstantParams, TransferParams, OriginateParams, UpdateConsensusKeyParams, UpdateCompanionKeyParams, TransferTicketParams, IncreasePaidStorageParams, BallotParams, ProposalsParams, DrainDelegateParams, ParamsWithKind, SmartRollupAddMessagesParams, SmartRollupOriginateParams, SmartRollupExecuteOutboxMessageParams, RegisterDelegateParams, ActivationParams, StakeParams, UnstakeParams, FinalizeUnstakeParams } from '../operations/types';
3
3
  import { PreparationProvider, PreparedOperation } from './interface';
4
4
  import { Context } from '../context';
5
5
  import { ContractMethod } from '../contract/contract-methods/contract-method-flat-param';
@@ -42,7 +42,7 @@ export declare class PrepareProvider extends Provider implements PreparationProv
42
42
  * @param source string or undefined source pkh
43
43
  * @returns a PreparedOperation object
44
44
  */
45
- reveal({ fee, gasLimit, storageLimit }: RevealParams): Promise<PreparedOperation>;
45
+ reveal({ fee, gasLimit, storageLimit, proof }: RevealParams): Promise<PreparedOperation>;
46
46
  /**
47
47
  *
48
48
  * @description Method to prepare an origination operation
@@ -82,7 +82,7 @@ export declare class PrepareProvider extends Provider implements PreparationProv
82
82
  * @param source string or undefined source pkh
83
83
  * @returns a PreparedOperation object
84
84
  */
85
- finalizeUnstake({ fee, storageLimit, gasLimit, ...rest }: FinalizeUnstakeParams): Promise<PreparedOperation>;
85
+ finalizeUnstake({ fee, storageLimit, gasLimit, to, ...rest }: FinalizeUnstakeParams): Promise<PreparedOperation>;
86
86
  /**
87
87
  *
88
88
  * @description Method to prepare a delegation operation
@@ -115,6 +115,14 @@ export declare class PrepareProvider extends Provider implements PreparationProv
115
115
  * @returns a PreparedOperation object
116
116
  */
117
117
  updateConsensusKey({ fee, storageLimit, gasLimit, ...rest }: UpdateConsensusKeyParams, source?: string): Promise<PreparedOperation>;
118
+ /**
119
+ *
120
+ * @description Method to prepare an update_companion_key operation
121
+ * @param operation RPCOperation object or RPCOperation array
122
+ * @param source string or undefined source pkh
123
+ * @returns a PreparedOperation object
124
+ */
125
+ updateCompanionKey({ fee, storageLimit, gasLimit, ...rest }: UpdateCompanionKeyParams, source?: string): Promise<PreparedOperation>;
118
126
  /**
119
127
  *
120
128
  * @description Method to prepare an increase_paid_storage operation
@@ -26,7 +26,7 @@ export declare abstract class Provider {
26
26
  gasLimit: number | undefined;
27
27
  storageLimit: number | undefined;
28
28
  }>;
29
- getRPCOp(param: ParamsWithKind): Promise<import("./operations/types").RPCTransferOperation | import("./operations/types").RPCOriginationOperation | import("./operations/types").RPCDelegateOperation | import("./operations/types").RPCRegisterGlobalConstantOperation | import("./operations/types").RPCIncreasePaidStorageOperation | import("./operations/types").RPCTransferTicketOperation | import("./operations/types").RPCSmartRollupAddMessagesOperation | import("./operations/types").RPCSmartRollupOriginateOperation | import("./operations/types").RPCSmartRollupOutboxMessageOperation>;
29
+ getRPCOp(param: ParamsWithKind): Promise<import("./operations/types").RPCTransferOperation | import("./operations/types").RPCOriginationOperation | import("./operations/types").RPCDelegateOperation | import("./operations/types").RPCRegisterGlobalConstantOperation | import("./operations/types").RPCIncreasePaidStorageOperation | import("./operations/types").RPCUpdateConsensusKeyOperation | import("./operations/types").RPCUpdateCompanionKeyOperation | import("./operations/types").RPCTransferTicketOperation | import("./operations/types").RPCSmartRollupAddMessagesOperation | import("./operations/types").RPCSmartRollupOriginateOperation | import("./operations/types").RPCSmartRollupOutboxMessageOperation>;
30
30
  protected runOperation(op: RPCRunOperationParam): Promise<{
31
31
  opResponse: import("@taquito/rpc").PreapplyResponse;
32
32
  op: RPCRunOperationParam;
@@ -3,16 +3,11 @@
3
3
  */
4
4
  export interface Signer {
5
5
  /**
6
- *
7
- * @param op Operation to sign
6
+ * @param op Message to sign
8
7
  * @param magicByte Magic bytes 11 for block, 12 for preattestation, 13 for attestation, 3 for generic, 5 for the PACK format of michelson
8
+ * @description Sign the message and return an object with bytes, sig, prefixSig and sbytes
9
9
  */
10
- sign(op: string, magicByte?: Uint8Array): Promise<{
11
- bytes: string;
12
- sig: string;
13
- prefixSig: string;
14
- sbytes: string;
15
- }>;
10
+ sign(op: string, magicByte?: Uint8Array): Promise<SignResult>;
16
11
  /**
17
12
  * @description Return the public key of the account used by the signer
18
13
  */
@@ -25,4 +20,19 @@ export interface Signer {
25
20
  * @description Optionally return the secret key of the account used by the signer
26
21
  */
27
22
  secretKey(): Promise<string | undefined>;
23
+ /**
24
+ * @description Sign the public key to prove possession for bls key and return an object with bytes, sig, prefixSig and sbytes
25
+ */
26
+ provePossession?(): Promise<RawSignResult>;
27
+ }
28
+ export interface SignResult {
29
+ bytes: string;
30
+ sig: string;
31
+ prefixSig: string;
32
+ sbytes: string;
33
+ }
34
+ export interface RawSignResult {
35
+ sig: string;
36
+ prefixSig: string;
37
+ rawSignature: Uint8Array;
28
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/taquito",
3
- "version": "22.0.0",
3
+ "version": "23.0.0-RC.0",
4
4
  "description": "High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.",
5
5
  "keywords": [
6
6
  "tezos",
@@ -77,13 +77,13 @@
77
77
  ]
78
78
  },
79
79
  "dependencies": {
80
- "@taquito/core": "^22.0.0",
81
- "@taquito/http-utils": "^22.0.0",
82
- "@taquito/local-forging": "^22.0.0",
83
- "@taquito/michel-codec": "^22.0.0",
84
- "@taquito/michelson-encoder": "^22.0.0",
85
- "@taquito/rpc": "^22.0.0",
86
- "@taquito/utils": "^22.0.0",
80
+ "@taquito/core": "^23.0.0-RC.0",
81
+ "@taquito/http-utils": "^23.0.0-RC.0",
82
+ "@taquito/local-forging": "^23.0.0-RC.0",
83
+ "@taquito/michel-codec": "^23.0.0-RC.0",
84
+ "@taquito/michelson-encoder": "^23.0.0-RC.0",
85
+ "@taquito/rpc": "^23.0.0-RC.0",
86
+ "@taquito/utils": "^23.0.0-RC.0",
87
87
  "bignumber.js": "^9.1.2",
88
88
  "rxjs": "^7.8.2"
89
89
  },
@@ -125,5 +125,5 @@
125
125
  "webpack-cli": "^5.1.4",
126
126
  "webpack-subresource-integrity": "^5.1.0"
127
127
  },
128
- "gitHead": "134ec228acbee03b4f40b80c89d78c718557569b"
128
+ "gitHead": "3bdb33e97e705d1c7090dd83e1b243e6e2a4d768"
129
129
  }