@taquito/local-forging 21.0.4-beta.2 → 22.0.0-beta.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.
@@ -1 +1 @@
1
- {"version":3,"file":"taquito-local-forging.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,77 @@
1
+ import { Prefix } from '@taquito/utils';
2
+ import { MichelsonValue } from './michelson/codec';
3
+ import { Uint8ArrayConsumer } from './uint8array-consumer';
4
+ export declare const prefixEncoder: (prefix: Prefix) => (str: string) => string;
5
+ export declare const prefixDecoder: (pre: Prefix) => (str: Uint8ArrayConsumer) => string;
6
+ export declare const tz1Decoder: (str: Uint8ArrayConsumer) => string;
7
+ export declare const branchDecoder: (str: Uint8ArrayConsumer) => string;
8
+ export declare const publicKeyHashDecoder: (val: Uint8ArrayConsumer) => string | undefined;
9
+ export declare const publicKeyHashesDecoder: (val: Uint8ArrayConsumer) => (string | undefined)[] | undefined;
10
+ export declare const branchEncoder: (str: string) => string;
11
+ export declare const tz1Encoder: (str: string) => string;
12
+ export declare const boolEncoder: (bool: unknown) => string;
13
+ export declare const proposalEncoder: (proposal: string) => string;
14
+ export declare const proposalDecoder: (proposal: Uint8ArrayConsumer) => string;
15
+ export declare const proposalsDecoder: (proposal: Uint8ArrayConsumer) => string[];
16
+ export declare const proposalsEncoder: (proposals: string[]) => string;
17
+ export declare const ballotEncoder: (ballot: string) => string;
18
+ export declare const ballotDecoder: (ballot: Uint8ArrayConsumer) => string;
19
+ export declare const pvmKindEncoder: (pvm: string) => string;
20
+ export declare const pvmKindDecoder: (pvm: Uint8ArrayConsumer) => string;
21
+ export declare const delegateEncoder: (val: string) => string;
22
+ export declare const int32Encoder: (val: number | string) => string;
23
+ export declare const int32Decoder: (val: Uint8ArrayConsumer) => number;
24
+ export declare const int16Encoder: (val: number | string) => string;
25
+ export declare const int16Decoder: (val: Uint8ArrayConsumer) => number;
26
+ export declare const boolDecoder: (val: Uint8ArrayConsumer) => boolean;
27
+ export declare const delegateDecoder: (val: Uint8ArrayConsumer) => string | undefined;
28
+ export declare const publicKeyHashEncoder: (val: string) => string;
29
+ export declare const publicKeyHashesEncoder: (val?: string[]) => string;
30
+ export declare const publicKeyEncoder: (val: string) => string;
31
+ export declare const addressEncoder: (val: string) => string;
32
+ export declare const smartRollupAddressEncoder: (val: string) => string;
33
+ export declare const smartContractAddressEncoder: (val: string) => string;
34
+ export declare const publicKeyDecoder: (val: Uint8ArrayConsumer) => string;
35
+ export declare const smartRollupCommitmentHashEncoder: (val: string) => string;
36
+ export declare const addressDecoder: (val: Uint8ArrayConsumer) => string | undefined;
37
+ export declare const smartRollupAddressDecoder: (val: Uint8ArrayConsumer) => string;
38
+ export declare const smartContractAddressDecoder: (val: Uint8ArrayConsumer) => string;
39
+ export declare const smartRollupCommitmentHashDecoder: (val: Uint8ArrayConsumer) => string;
40
+ export declare const zarithEncoder: (n: string) => string;
41
+ export declare const zarithDecoder: (n: Uint8ArrayConsumer) => string;
42
+ export declare const entrypointDecoder: (value: Uint8ArrayConsumer) => string;
43
+ export declare const parametersDecoder: (val: Uint8ArrayConsumer) => {
44
+ entrypoint: string;
45
+ value: string | number | object | undefined;
46
+ } | undefined;
47
+ export declare const entrypointEncoder: (entrypoint: string) => string;
48
+ export declare const parametersEncoder: (val: {
49
+ entrypoint: string;
50
+ value: MichelsonValue;
51
+ }) => string;
52
+ export declare const valueParameterEncoder: (value: MichelsonValue) => string;
53
+ export declare const valueParameterDecoder: (val: Uint8ArrayConsumer) => string | number | object | undefined;
54
+ export declare const blockPayloadHashEncoder: (str: string) => string;
55
+ export declare const blockPayloadHashDecoder: (str: Uint8ArrayConsumer) => string;
56
+ export declare const entrypointNameEncoder: (entrypoint: string) => string;
57
+ export declare const entrypointNameDecoder: (val: Uint8ArrayConsumer) => string;
58
+ export declare const burnLimitEncoder: (val: string) => string;
59
+ export declare const burnLimitDecoder: (value: Uint8ArrayConsumer) => string | undefined;
60
+ export declare const depositsLimitEncoder: (val: string) => string;
61
+ export declare const depositsLimitDecoder: (value: Uint8ArrayConsumer) => string | undefined;
62
+ export declare const paddedBytesEncoder: (val: string, paddingLength?: number) => string;
63
+ export declare const paddedBytesDecoder: (val: Uint8ArrayConsumer) => string;
64
+ export declare const smartRollupMessageEncoder: (val: string[]) => string;
65
+ export declare const smartRollupMessageDecoder: (val: Uint8ArrayConsumer) => string[];
66
+ export declare const dalCommitmentEncoder: (val: string) => string;
67
+ export declare const dalCommitmentDecoder: (val: Uint8ArrayConsumer) => string;
68
+ export declare const slotHeaderEncoder: (val: {
69
+ slot_index: number;
70
+ commitment: string;
71
+ commitment_proof: string;
72
+ }) => string;
73
+ export declare const slotHeaderDecoder: (val: Uint8ArrayConsumer) => {
74
+ slot_index: number;
75
+ commitment: string;
76
+ commitment_proof: string;
77
+ };
@@ -59,6 +59,8 @@ export declare const burnLimitEncoder: (val: string) => string;
59
59
  export declare const burnLimitDecoder: (value: Uint8ArrayConsumer) => string | undefined;
60
60
  export declare const depositsLimitEncoder: (val: string) => string;
61
61
  export declare const depositsLimitDecoder: (value: Uint8ArrayConsumer) => string | undefined;
62
+ export declare const signatureProofEncoder: (val: string) => string;
63
+ export declare const signatureProofDecoder: (value: Uint8ArrayConsumer) => string | undefined;
62
64
  export declare const paddedBytesEncoder: (val: string, paddingLength?: number) => string;
63
65
  export declare const paddedBytesDecoder: (val: Uint8ArrayConsumer) => string;
64
66
  export declare const smartRollupMessageEncoder: (val: string[]) => string;
@@ -0,0 +1,73 @@
1
+ export declare const ENTRYPOINT_MAX_LENGTH = 31;
2
+ export declare enum CODEC {
3
+ SECRET = "secret",
4
+ RAW = "raw",
5
+ TZ1 = "tz1",
6
+ BRANCH = "branch",
7
+ ZARITH = "zarith",
8
+ PUBLIC_KEY = "public_key",
9
+ PKH = "pkh",
10
+ PKH_ARR = "pkhArr",
11
+ DELEGATE = "delegate",
12
+ SCRIPT = "script",
13
+ BALLOT_STATEMENT = "ballotStmt",
14
+ PROPOSAL = "proposal",
15
+ PROPOSAL_ARR = "proposalArr",
16
+ INT32 = "int32",
17
+ INT16 = "int16",
18
+ PARAMETERS = "parameters",
19
+ ADDRESS = "address",
20
+ SMART_CONTRACT_ADDRESS = "smart_contract_address",
21
+ SMART_ROLLUP_ADDRESS = "smart_rollup_address",
22
+ SMART_ROLLUP_COMMITMENT_HASH = "smart_rollup_commitment_hash",
23
+ VALUE = "value",
24
+ PADDED_BYTES = "padded_bytes",
25
+ SMART_ROLLUP_MESSAGE = "smart_rollup_message",
26
+ MANAGER = "manager",
27
+ BLOCK_PAYLOAD_HASH = "blockPayloadHash",
28
+ ENTRYPOINT = "entrypoint",
29
+ OPERATION = "operation",
30
+ OP_ACTIVATE_ACCOUNT = "activate_account",
31
+ OP_DELEGATION = "delegation",
32
+ OP_TRANSACTION = "transaction",
33
+ OP_ORIGINATION = "origination",
34
+ OP_BALLOT = "ballot",
35
+ OP_FAILING_NOOP = "failing_noop",
36
+ OP_ATTESTATION = "attestation",
37
+ OP_ATTESTATION_WITH_DAL = "attestation_with_dal",
38
+ OP_SEED_NONCE_REVELATION = "seed_nonce_revelation",
39
+ OP_REVEAL = "reveal",
40
+ OP_PROPOSALS = "proposals",
41
+ OP_REGISTER_GLOBAL_CONSTANT = "register_global_constant",
42
+ OP_TRANSFER_TICKET = "transfer_ticket",
43
+ BURN_LIMIT = "burn_limit",
44
+ OP_INCREASE_PAID_STORAGE = "increase_paid_storage",
45
+ OP_UPDATE_CONSENSUS_KEY = "update_consensus_key",
46
+ OP_DRAIN_DELEGATE = "drain_delegate",
47
+ DEPOSITS_LIMIT = "deposits_limit",
48
+ OP_SET_DEPOSITS_LIMIT = "set_deposits_limit",
49
+ OP_SMART_ROLLUP_ORIGINATE = "smart_rollup_originate",
50
+ PVM_KIND = "pvm_kind",
51
+ OP_SMART_ROLLUP_ADD_MESSAGES = "smart_rollup_add_messages",
52
+ OP_SMART_ROLLUP_EXECUTE_OUTBOX_MESSAGE = "smart_rollup_execute_outbox_message",
53
+ OP_DAL_PUBLISH_COMMITMENT = "dal_publish_commitment",
54
+ SLOT_HEADER = "slot_header"
55
+ }
56
+ export declare const opMapping: {
57
+ [key: string]: string;
58
+ };
59
+ export declare const opMappingReverse: {
60
+ [key: string]: string;
61
+ };
62
+ export declare const kindMapping: {
63
+ [key: number]: string;
64
+ };
65
+ export declare const kindMappingReverse: {
66
+ [key: string]: string;
67
+ };
68
+ export declare const entrypointMapping: {
69
+ [key: string]: string;
70
+ };
71
+ export declare const entrypointMappingReverse: {
72
+ [key: string]: string;
73
+ };
@@ -43,6 +43,7 @@ export declare enum CODEC {
43
43
  BURN_LIMIT = "burn_limit",
44
44
  OP_INCREASE_PAID_STORAGE = "increase_paid_storage",
45
45
  OP_UPDATE_CONSENSUS_KEY = "update_consensus_key",
46
+ SIGNATURE_PROOF = "signature_proof",
46
47
  OP_DRAIN_DELEGATE = "drain_delegate",
47
48
  DEPOSITS_LIMIT = "deposits_limit",
48
49
  OP_SET_DEPOSITS_LIMIT = "set_deposits_limit",
@@ -0,0 +1,5 @@
1
+ import { Uint8ArrayConsumer } from './uint8array-consumer';
2
+ export type Decoder = (val: Uint8ArrayConsumer) => string | number | object | undefined;
3
+ export declare const decodersProto021: {
4
+ [key: string]: Decoder;
5
+ };
@@ -0,0 +1,4 @@
1
+ export type Encoder<T> = (val: T) => string;
2
+ export declare const encodersProto021: {
3
+ [key: string]: Encoder<any>;
4
+ };
@@ -19,6 +19,7 @@ export declare enum ProtocolsHash {
19
19
  PtParisBx = "PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ",
20
20
  PsParisCZ = "PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi",
21
21
  PsQuebecn = "PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg",
22
+ PsRiotuma = "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7",
22
23
  ProtoALpha = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"
23
24
  }
24
25
  export declare function ProtoInferiorTo(a: ProtocolsHash, b: ProtocolsHash): boolean;
@@ -0,0 +1,187 @@
1
+ import { Decoder } from '../decoder-proto021';
2
+ import { Uint8ArrayConsumer } from '../uint8array-consumer';
3
+ import { CODEC } from '../constants-proto021';
4
+ export declare const ManagerOperationSchema: {
5
+ branch: CODEC;
6
+ contents: CODEC[];
7
+ };
8
+ export declare const ActivationSchema: {
9
+ pkh: CODEC;
10
+ secret: CODEC;
11
+ };
12
+ export declare const RevealSchema: {
13
+ source: CODEC;
14
+ fee: CODEC;
15
+ counter: CODEC;
16
+ gas_limit: CODEC;
17
+ storage_limit: CODEC;
18
+ public_key: CODEC;
19
+ };
20
+ export declare const DelegationSchema: {
21
+ source: CODEC;
22
+ fee: CODEC;
23
+ counter: CODEC;
24
+ gas_limit: CODEC;
25
+ storage_limit: CODEC;
26
+ delegate: CODEC;
27
+ };
28
+ export declare const TransactionSchema: {
29
+ source: CODEC;
30
+ fee: CODEC;
31
+ counter: CODEC;
32
+ gas_limit: CODEC;
33
+ storage_limit: CODEC;
34
+ amount: CODEC;
35
+ destination: CODEC;
36
+ parameters: CODEC;
37
+ };
38
+ export declare const OriginationSchema: {
39
+ source: CODEC;
40
+ fee: CODEC;
41
+ counter: CODEC;
42
+ gas_limit: CODEC;
43
+ storage_limit: CODEC;
44
+ balance: CODEC;
45
+ delegate: CODEC;
46
+ script: CODEC;
47
+ };
48
+ export declare const BallotSchema: {
49
+ source: CODEC;
50
+ period: CODEC;
51
+ proposal: CODEC;
52
+ ballot: CODEC;
53
+ };
54
+ export declare const AttestationSchema: {
55
+ slot: CODEC;
56
+ level: CODEC;
57
+ round: CODEC;
58
+ block_payload_hash: CODEC;
59
+ };
60
+ export declare const AttestationWithDalSchema: {
61
+ slot: CODEC;
62
+ level: CODEC;
63
+ round: CODEC;
64
+ block_payload_hash: CODEC;
65
+ dal_attestation: CODEC;
66
+ };
67
+ export declare const SeedNonceRevelationSchema: {
68
+ level: CODEC;
69
+ nonce: CODEC;
70
+ };
71
+ export declare const ProposalsSchema: {
72
+ source: CODEC;
73
+ period: CODEC;
74
+ proposals: CODEC;
75
+ };
76
+ export declare const RegisterGlobalConstantSchema: {
77
+ source: CODEC;
78
+ fee: CODEC;
79
+ counter: CODEC;
80
+ gas_limit: CODEC;
81
+ storage_limit: CODEC;
82
+ value: CODEC;
83
+ };
84
+ export declare const TransferTicketSchema: {
85
+ source: CODEC;
86
+ fee: CODEC;
87
+ counter: CODEC;
88
+ gas_limit: CODEC;
89
+ storage_limit: CODEC;
90
+ ticket_contents: CODEC;
91
+ ticket_ty: CODEC;
92
+ ticket_ticketer: CODEC;
93
+ ticket_amount: CODEC;
94
+ destination: CODEC;
95
+ entrypoint: CODEC;
96
+ };
97
+ export declare const IncreasePaidStorageSchema: {
98
+ source: CODEC;
99
+ fee: CODEC;
100
+ counter: CODEC;
101
+ gas_limit: CODEC;
102
+ storage_limit: CODEC;
103
+ amount: CODEC;
104
+ destination: CODEC;
105
+ };
106
+ export declare const UpdateConsensusKeySchema: {
107
+ source: CODEC;
108
+ fee: CODEC;
109
+ counter: CODEC;
110
+ gas_limit: CODEC;
111
+ storage_limit: CODEC;
112
+ pk: CODEC;
113
+ };
114
+ export declare const DrainDelegateSchema: {
115
+ consensus_key: CODEC;
116
+ delegate: CODEC;
117
+ destination: CODEC;
118
+ };
119
+ export declare const SetDepositsLimitSchema: {
120
+ source: CODEC;
121
+ fee: CODEC;
122
+ counter: CODEC;
123
+ gas_limit: CODEC;
124
+ storage_limit: CODEC;
125
+ limit: CODEC;
126
+ };
127
+ export declare const SmartRollupOriginateSchema: {
128
+ source: CODEC;
129
+ fee: CODEC;
130
+ counter: CODEC;
131
+ gas_limit: CODEC;
132
+ storage_limit: CODEC;
133
+ pvm_kind: CODEC;
134
+ kernel: CODEC;
135
+ parameters_ty: CODEC;
136
+ whitelist: CODEC;
137
+ };
138
+ export declare const SmartRollupAddMessagesSchema: {
139
+ source: CODEC;
140
+ fee: CODEC;
141
+ counter: CODEC;
142
+ gas_limit: CODEC;
143
+ storage_limit: CODEC;
144
+ message: CODEC;
145
+ };
146
+ export declare const SmartRollupExecuteOutboxMessageSchema: {
147
+ source: CODEC;
148
+ fee: CODEC;
149
+ counter: CODEC;
150
+ gas_limit: CODEC;
151
+ storage_limit: CODEC;
152
+ rollup: CODEC;
153
+ cemented_commitment: CODEC;
154
+ output_proof: CODEC;
155
+ };
156
+ export declare const DalPublishCommitmentSchema: {
157
+ source: CODEC;
158
+ fee: CODEC;
159
+ counter: CODEC;
160
+ gas_limit: CODEC;
161
+ storage_limit: CODEC;
162
+ slot_header: CODEC;
163
+ };
164
+ export declare const FailingNoopSchema: {
165
+ arbitrary: CODEC;
166
+ };
167
+ export declare const operationEncoder: (encoders: {
168
+ [key: string]: (val: object) => string;
169
+ }) => (operation: {
170
+ kind: string;
171
+ }) => string;
172
+ export declare const operationDecoder: (decoders: {
173
+ [key: string]: Decoder;
174
+ }) => (value: Uint8ArrayConsumer) => {
175
+ kind: string;
176
+ };
177
+ type Schema = Record<string, CODEC | CODEC[]>;
178
+ export type Value = Record<keyof Schema, unknown[]>;
179
+ export declare const schemaEncoder: (encoders: {
180
+ [key: string]: (val: object) => string;
181
+ }) => (schema: Schema) => (value: Value) => string;
182
+ export declare const schemaDecoder: (decoders: {
183
+ [key: string]: Decoder;
184
+ }) => (schema: {
185
+ [key: string]: string | string[];
186
+ }) => (value: Uint8ArrayConsumer) => {};
187
+ export {};
@@ -110,6 +110,7 @@ export declare const UpdateConsensusKeySchema: {
110
110
  gas_limit: CODEC;
111
111
  storage_limit: CODEC;
112
112
  pk: CODEC;
113
+ proof: CODEC;
113
114
  };
114
115
  export declare const DrainDelegateSchema: {
115
116
  consensus_key: CODEC;
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import { ForgeParams, Forger } from './interface';
6
6
  import { CODEC } from './constants';
7
+ import { CODEC as CODECPROTO021 } from './constants-proto021';
7
8
  import { ProtocolsHash } from './protocols';
8
9
  export { CODEC, opMapping, opMappingReverse } from './constants';
9
10
  export * from './decoder';
@@ -12,8 +13,8 @@ export * from './uint8array-consumer';
12
13
  export * from './interface';
13
14
  export { VERSION } from './version';
14
15
  export { ProtocolsHash } from './protocols';
15
- export declare function getCodec(codec: CODEC, _proto: ProtocolsHash): {
16
- encoder: import("./encoder").Encoder<any>;
16
+ export declare function getCodec(codec: CODEC | CODECPROTO021, _proto: ProtocolsHash): {
17
+ encoder: import("./encoder-proto021").Encoder<any>;
17
18
  decoder: (hex: string) => any;
18
19
  };
19
20
  export declare class LocalForger implements Forger {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/local-forging",
3
- "version": "21.0.4-beta.2",
3
+ "version": "22.0.0-beta.0",
4
4
  "description": "Provide local forging functionality to be with taquito",
5
5
  "keywords": [
6
6
  "tezos",
@@ -67,12 +67,12 @@
67
67
  ]
68
68
  },
69
69
  "dependencies": {
70
- "@taquito/core": "^21.0.4-beta.2",
71
- "@taquito/utils": "^21.0.4-beta.2",
70
+ "@taquito/core": "^22.0.0-beta.0",
71
+ "@taquito/utils": "^22.0.0-beta.0",
72
72
  "bignumber.js": "^9.1.2"
73
73
  },
74
74
  "devDependencies": {
75
- "@taquito/rpc": "^21.0.4-beta.2",
75
+ "@taquito/rpc": "^22.0.0-beta.0",
76
76
  "@types/bluebird": "^3.5.42",
77
77
  "@types/estree": "^1.0.5",
78
78
  "@types/jest": "^29.5.12",
@@ -104,5 +104,5 @@
104
104
  "webpack": "^5.94.0",
105
105
  "webpack-cli": "^5.1.4"
106
106
  },
107
- "gitHead": "38d2c3ee738ba7cb16afbe8392df9d698ba3f5af"
107
+ "gitHead": "239ae96ca142f3f63ecfc7e51731c115c3fe322f"
108
108
  }