@taquito/local-forging 17.3.2 → 17.4.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/lib/codec.js +77 -78
- package/dist/lib/constants.js +2 -3
- package/dist/lib/decoder.js +25 -26
- package/dist/lib/encoder.js +23 -24
- package/dist/lib/errors.js +0 -1
- package/dist/lib/interface.js +0 -1
- package/dist/lib/michelson/codec.js +43 -44
- package/dist/lib/protocols.js +1 -2
- package/dist/lib/schema/operation.js +1 -2
- package/dist/lib/taquito-local-forging.js +9 -6
- package/dist/lib/uint8array-consumer.js +4 -5
- package/dist/lib/utils.js +0 -1
- package/dist/lib/validator.js +0 -1
- package/dist/lib/version.js +2 -3
- package/dist/taquito-local-forging.es6.js +1586 -1586
- package/dist/taquito-local-forging.es6.js.map +1 -1
- package/dist/taquito-local-forging.umd.js +1586 -1592
- package/dist/taquito-local-forging.umd.js.map +1 -1
- package/dist/types/codec.d.ts +69 -69
- package/dist/types/constants.d.ts +74 -74
- package/dist/types/decoder.d.ts +5 -5
- package/dist/types/encoder.d.ts +4 -4
- package/dist/types/errors.d.ts +100 -100
- package/dist/types/interface.d.ts +9 -9
- package/dist/types/michelson/codec.d.ts +49 -49
- package/dist/types/protocols.d.ts +20 -20
- package/dist/types/schema/operation.d.ts +190 -190
- package/dist/types/taquito-local-forging.d.ts +26 -26
- package/dist/types/uint8array-consumer.d.ts +10 -10
- package/dist/types/utils.d.ts +3 -3
- package/dist/types/validator.d.ts +13 -13
- package/dist/types/version.d.ts +4 -4
- package/package.json +31 -33
- package/signature.json +3 -5
- package/dist/lib/codec.js.map +0 -1
- package/dist/lib/constants.js.map +0 -1
- package/dist/lib/decoder.js.map +0 -1
- package/dist/lib/encoder.js.map +0 -1
- package/dist/lib/errors.js.map +0 -1
- package/dist/lib/interface.js.map +0 -1
- package/dist/lib/michelson/codec.js.map +0 -1
- package/dist/lib/protocols.js.map +0 -1
- package/dist/lib/schema/operation.js.map +0 -1
- package/dist/lib/taquito-local-forging.js.map +0 -1
- package/dist/lib/uint8array-consumer.js.map +0 -1
- package/dist/lib/utils.js.map +0 -1
- package/dist/lib/validator.js.map +0 -1
- package/dist/lib/version.js.map +0 -1
|
@@ -1,190 +1,190 @@
|
|
|
1
|
-
import { Decoder } from '../decoder';
|
|
2
|
-
import { Uint8ArrayConsumer } from '../uint8array-consumer';
|
|
3
|
-
import { CODEC } from '../constants';
|
|
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 EndorsementSchema: {
|
|
55
|
-
slot: CODEC;
|
|
56
|
-
level: CODEC;
|
|
57
|
-
round: CODEC;
|
|
58
|
-
block_payload_hash: CODEC;
|
|
59
|
-
};
|
|
60
|
-
export declare const SeedNonceRevelationSchema: {
|
|
61
|
-
level: CODEC;
|
|
62
|
-
nonce: CODEC;
|
|
63
|
-
};
|
|
64
|
-
export declare const ProposalsSchema: {
|
|
65
|
-
source: CODEC;
|
|
66
|
-
period: CODEC;
|
|
67
|
-
proposals: CODEC;
|
|
68
|
-
};
|
|
69
|
-
export declare const RegisterGlobalConstantSchema: {
|
|
70
|
-
source: CODEC;
|
|
71
|
-
fee: CODEC;
|
|
72
|
-
counter: CODEC;
|
|
73
|
-
gas_limit: CODEC;
|
|
74
|
-
storage_limit: CODEC;
|
|
75
|
-
value: CODEC;
|
|
76
|
-
};
|
|
77
|
-
export declare const TransferTicketSchema: {
|
|
78
|
-
source: CODEC;
|
|
79
|
-
fee: CODEC;
|
|
80
|
-
counter: CODEC;
|
|
81
|
-
gas_limit: CODEC;
|
|
82
|
-
storage_limit: CODEC;
|
|
83
|
-
ticket_contents: CODEC;
|
|
84
|
-
ticket_ty: CODEC;
|
|
85
|
-
ticket_ticketer: CODEC;
|
|
86
|
-
ticket_amount: CODEC;
|
|
87
|
-
destination: CODEC;
|
|
88
|
-
entrypoint: CODEC;
|
|
89
|
-
};
|
|
90
|
-
export declare const TxRollupOriginationSchema: {
|
|
91
|
-
source: CODEC;
|
|
92
|
-
fee: CODEC;
|
|
93
|
-
counter: CODEC;
|
|
94
|
-
gas_limit: CODEC;
|
|
95
|
-
storage_limit: CODEC;
|
|
96
|
-
tx_rollup_origination: CODEC;
|
|
97
|
-
};
|
|
98
|
-
export declare const TxRollupSubmitBatchSchema: {
|
|
99
|
-
source: CODEC;
|
|
100
|
-
fee: CODEC;
|
|
101
|
-
counter: CODEC;
|
|
102
|
-
gas_limit: CODEC;
|
|
103
|
-
storage_limit: CODEC;
|
|
104
|
-
rollup: CODEC;
|
|
105
|
-
content: CODEC;
|
|
106
|
-
burn_limit: CODEC;
|
|
107
|
-
};
|
|
108
|
-
export declare const IncreasePaidStorageSchema: {
|
|
109
|
-
source: CODEC;
|
|
110
|
-
fee: CODEC;
|
|
111
|
-
counter: CODEC;
|
|
112
|
-
gas_limit: CODEC;
|
|
113
|
-
storage_limit: CODEC;
|
|
114
|
-
amount: CODEC;
|
|
115
|
-
destination: CODEC;
|
|
116
|
-
};
|
|
117
|
-
export declare const UpdateConsensusKeySchema: {
|
|
118
|
-
source: CODEC;
|
|
119
|
-
fee: CODEC;
|
|
120
|
-
counter: CODEC;
|
|
121
|
-
gas_limit: CODEC;
|
|
122
|
-
storage_limit: CODEC;
|
|
123
|
-
pk: CODEC;
|
|
124
|
-
};
|
|
125
|
-
export declare const DrainDelegateSchema: {
|
|
126
|
-
consensus_key: CODEC;
|
|
127
|
-
delegate: CODEC;
|
|
128
|
-
destination: CODEC;
|
|
129
|
-
};
|
|
130
|
-
export declare const SetDepositsLimitSchema: {
|
|
131
|
-
source: CODEC;
|
|
132
|
-
fee: CODEC;
|
|
133
|
-
counter: CODEC;
|
|
134
|
-
gas_limit: CODEC;
|
|
135
|
-
storage_limit: CODEC;
|
|
136
|
-
limit: CODEC;
|
|
137
|
-
};
|
|
138
|
-
export declare const SmartRollupOriginateSchema: {
|
|
139
|
-
source: CODEC;
|
|
140
|
-
fee: CODEC;
|
|
141
|
-
counter: CODEC;
|
|
142
|
-
gas_limit: CODEC;
|
|
143
|
-
storage_limit: CODEC;
|
|
144
|
-
pvm_kind: CODEC;
|
|
145
|
-
kernel: CODEC;
|
|
146
|
-
origination_proof: CODEC;
|
|
147
|
-
parameters_ty: CODEC;
|
|
148
|
-
};
|
|
149
|
-
export declare const SmartRollupAddMessagesSchema: {
|
|
150
|
-
source: CODEC;
|
|
151
|
-
fee: CODEC;
|
|
152
|
-
counter: CODEC;
|
|
153
|
-
gas_limit: CODEC;
|
|
154
|
-
storage_limit: CODEC;
|
|
155
|
-
message: CODEC;
|
|
156
|
-
};
|
|
157
|
-
export declare const SmartRollupExecuteOutboxMessageSchema: {
|
|
158
|
-
source: CODEC;
|
|
159
|
-
fee: CODEC;
|
|
160
|
-
counter: CODEC;
|
|
161
|
-
gas_limit: CODEC;
|
|
162
|
-
storage_limit: CODEC;
|
|
163
|
-
rollup: CODEC;
|
|
164
|
-
cemented_commitment: CODEC;
|
|
165
|
-
output_proof: CODEC;
|
|
166
|
-
};
|
|
167
|
-
export declare const FailingNoopSchema: {
|
|
168
|
-
arbitrary: CODEC;
|
|
169
|
-
};
|
|
170
|
-
export declare const operationEncoder: (encoders: {
|
|
171
|
-
[key: string]: (val: object) => string;
|
|
172
|
-
}) => (operation: {
|
|
173
|
-
kind: string;
|
|
174
|
-
}) => string;
|
|
175
|
-
export declare const operationDecoder: (decoders: {
|
|
176
|
-
[key: string]: Decoder;
|
|
177
|
-
}) => (value: Uint8ArrayConsumer) => {
|
|
178
|
-
kind: string;
|
|
179
|
-
};
|
|
180
|
-
|
|
181
|
-
export
|
|
182
|
-
export declare const schemaEncoder: (encoders: {
|
|
183
|
-
[key: string]: (val: object) => string;
|
|
184
|
-
}) => (schema: Schema) => (value: Value) => string;
|
|
185
|
-
export declare const schemaDecoder: (decoders: {
|
|
186
|
-
[key: string]: Decoder;
|
|
187
|
-
}) => (schema: {
|
|
188
|
-
[key: string]: string | string[];
|
|
189
|
-
}) => (value: Uint8ArrayConsumer) => {};
|
|
190
|
-
export {};
|
|
1
|
+
import { Decoder } from '../decoder';
|
|
2
|
+
import { Uint8ArrayConsumer } from '../uint8array-consumer';
|
|
3
|
+
import { CODEC } from '../constants';
|
|
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 EndorsementSchema: {
|
|
55
|
+
slot: CODEC;
|
|
56
|
+
level: CODEC;
|
|
57
|
+
round: CODEC;
|
|
58
|
+
block_payload_hash: CODEC;
|
|
59
|
+
};
|
|
60
|
+
export declare const SeedNonceRevelationSchema: {
|
|
61
|
+
level: CODEC;
|
|
62
|
+
nonce: CODEC;
|
|
63
|
+
};
|
|
64
|
+
export declare const ProposalsSchema: {
|
|
65
|
+
source: CODEC;
|
|
66
|
+
period: CODEC;
|
|
67
|
+
proposals: CODEC;
|
|
68
|
+
};
|
|
69
|
+
export declare const RegisterGlobalConstantSchema: {
|
|
70
|
+
source: CODEC;
|
|
71
|
+
fee: CODEC;
|
|
72
|
+
counter: CODEC;
|
|
73
|
+
gas_limit: CODEC;
|
|
74
|
+
storage_limit: CODEC;
|
|
75
|
+
value: CODEC;
|
|
76
|
+
};
|
|
77
|
+
export declare const TransferTicketSchema: {
|
|
78
|
+
source: CODEC;
|
|
79
|
+
fee: CODEC;
|
|
80
|
+
counter: CODEC;
|
|
81
|
+
gas_limit: CODEC;
|
|
82
|
+
storage_limit: CODEC;
|
|
83
|
+
ticket_contents: CODEC;
|
|
84
|
+
ticket_ty: CODEC;
|
|
85
|
+
ticket_ticketer: CODEC;
|
|
86
|
+
ticket_amount: CODEC;
|
|
87
|
+
destination: CODEC;
|
|
88
|
+
entrypoint: CODEC;
|
|
89
|
+
};
|
|
90
|
+
export declare const TxRollupOriginationSchema: {
|
|
91
|
+
source: CODEC;
|
|
92
|
+
fee: CODEC;
|
|
93
|
+
counter: CODEC;
|
|
94
|
+
gas_limit: CODEC;
|
|
95
|
+
storage_limit: CODEC;
|
|
96
|
+
tx_rollup_origination: CODEC;
|
|
97
|
+
};
|
|
98
|
+
export declare const TxRollupSubmitBatchSchema: {
|
|
99
|
+
source: CODEC;
|
|
100
|
+
fee: CODEC;
|
|
101
|
+
counter: CODEC;
|
|
102
|
+
gas_limit: CODEC;
|
|
103
|
+
storage_limit: CODEC;
|
|
104
|
+
rollup: CODEC;
|
|
105
|
+
content: CODEC;
|
|
106
|
+
burn_limit: CODEC;
|
|
107
|
+
};
|
|
108
|
+
export declare const IncreasePaidStorageSchema: {
|
|
109
|
+
source: CODEC;
|
|
110
|
+
fee: CODEC;
|
|
111
|
+
counter: CODEC;
|
|
112
|
+
gas_limit: CODEC;
|
|
113
|
+
storage_limit: CODEC;
|
|
114
|
+
amount: CODEC;
|
|
115
|
+
destination: CODEC;
|
|
116
|
+
};
|
|
117
|
+
export declare const UpdateConsensusKeySchema: {
|
|
118
|
+
source: CODEC;
|
|
119
|
+
fee: CODEC;
|
|
120
|
+
counter: CODEC;
|
|
121
|
+
gas_limit: CODEC;
|
|
122
|
+
storage_limit: CODEC;
|
|
123
|
+
pk: CODEC;
|
|
124
|
+
};
|
|
125
|
+
export declare const DrainDelegateSchema: {
|
|
126
|
+
consensus_key: CODEC;
|
|
127
|
+
delegate: CODEC;
|
|
128
|
+
destination: CODEC;
|
|
129
|
+
};
|
|
130
|
+
export declare const SetDepositsLimitSchema: {
|
|
131
|
+
source: CODEC;
|
|
132
|
+
fee: CODEC;
|
|
133
|
+
counter: CODEC;
|
|
134
|
+
gas_limit: CODEC;
|
|
135
|
+
storage_limit: CODEC;
|
|
136
|
+
limit: CODEC;
|
|
137
|
+
};
|
|
138
|
+
export declare const SmartRollupOriginateSchema: {
|
|
139
|
+
source: CODEC;
|
|
140
|
+
fee: CODEC;
|
|
141
|
+
counter: CODEC;
|
|
142
|
+
gas_limit: CODEC;
|
|
143
|
+
storage_limit: CODEC;
|
|
144
|
+
pvm_kind: CODEC;
|
|
145
|
+
kernel: CODEC;
|
|
146
|
+
origination_proof: CODEC;
|
|
147
|
+
parameters_ty: CODEC;
|
|
148
|
+
};
|
|
149
|
+
export declare const SmartRollupAddMessagesSchema: {
|
|
150
|
+
source: CODEC;
|
|
151
|
+
fee: CODEC;
|
|
152
|
+
counter: CODEC;
|
|
153
|
+
gas_limit: CODEC;
|
|
154
|
+
storage_limit: CODEC;
|
|
155
|
+
message: CODEC;
|
|
156
|
+
};
|
|
157
|
+
export declare const SmartRollupExecuteOutboxMessageSchema: {
|
|
158
|
+
source: CODEC;
|
|
159
|
+
fee: CODEC;
|
|
160
|
+
counter: CODEC;
|
|
161
|
+
gas_limit: CODEC;
|
|
162
|
+
storage_limit: CODEC;
|
|
163
|
+
rollup: CODEC;
|
|
164
|
+
cemented_commitment: CODEC;
|
|
165
|
+
output_proof: CODEC;
|
|
166
|
+
};
|
|
167
|
+
export declare const FailingNoopSchema: {
|
|
168
|
+
arbitrary: CODEC;
|
|
169
|
+
};
|
|
170
|
+
export declare const operationEncoder: (encoders: {
|
|
171
|
+
[key: string]: (val: object) => string;
|
|
172
|
+
}) => (operation: {
|
|
173
|
+
kind: string;
|
|
174
|
+
}) => string;
|
|
175
|
+
export declare const operationDecoder: (decoders: {
|
|
176
|
+
[key: string]: Decoder;
|
|
177
|
+
}) => (value: Uint8ArrayConsumer) => {
|
|
178
|
+
kind: string;
|
|
179
|
+
};
|
|
180
|
+
type Schema = Record<string, CODEC | CODEC[]>;
|
|
181
|
+
export type Value = Record<keyof Schema, unknown[]>;
|
|
182
|
+
export declare const schemaEncoder: (encoders: {
|
|
183
|
+
[key: string]: (val: object) => string;
|
|
184
|
+
}) => (schema: Schema) => (value: Value) => string;
|
|
185
|
+
export declare const schemaDecoder: (decoders: {
|
|
186
|
+
[key: string]: Decoder;
|
|
187
|
+
}) => (schema: {
|
|
188
|
+
[key: string]: string | string[];
|
|
189
|
+
}) => (value: Uint8ArrayConsumer) => {};
|
|
190
|
+
export {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @packageDocumentation
|
|
3
|
-
* @module @taquito/local-forging
|
|
4
|
-
*/
|
|
5
|
-
import { ForgeParams, Forger } from './interface';
|
|
6
|
-
import { CODEC } from './constants';
|
|
7
|
-
import { ProtocolsHash } from './protocols';
|
|
8
|
-
export { CODEC, opMapping, opMappingReverse } from './constants';
|
|
9
|
-
export * from './decoder';
|
|
10
|
-
export * from './encoder';
|
|
11
|
-
export * from './uint8array-consumer';
|
|
12
|
-
export * from './interface';
|
|
13
|
-
export { VERSION } from './version';
|
|
14
|
-
export { ProtocolsHash } from './protocols';
|
|
15
|
-
export declare function getCodec(codec: CODEC, _proto: ProtocolsHash): {
|
|
16
|
-
encoder: import("./encoder").Encoder<any>;
|
|
17
|
-
decoder: (hex: string) => any;
|
|
18
|
-
};
|
|
19
|
-
export declare class LocalForger implements Forger {
|
|
20
|
-
readonly protocolHash: ProtocolsHash;
|
|
21
|
-
constructor(protocolHash?: ProtocolsHash);
|
|
22
|
-
private codec;
|
|
23
|
-
forge(params: ForgeParams): Promise<string>;
|
|
24
|
-
parse(hex: string): Promise<ForgeParams>;
|
|
25
|
-
}
|
|
26
|
-
export declare const localForger: LocalForger;
|
|
1
|
+
/**
|
|
2
|
+
* @packageDocumentation
|
|
3
|
+
* @module @taquito/local-forging
|
|
4
|
+
*/
|
|
5
|
+
import { ForgeParams, Forger } from './interface';
|
|
6
|
+
import { CODEC } from './constants';
|
|
7
|
+
import { ProtocolsHash } from './protocols';
|
|
8
|
+
export { CODEC, opMapping, opMappingReverse } from './constants';
|
|
9
|
+
export * from './decoder';
|
|
10
|
+
export * from './encoder';
|
|
11
|
+
export * from './uint8array-consumer';
|
|
12
|
+
export * from './interface';
|
|
13
|
+
export { VERSION } from './version';
|
|
14
|
+
export { ProtocolsHash } from './protocols';
|
|
15
|
+
export declare function getCodec(codec: CODEC, _proto: ProtocolsHash): {
|
|
16
|
+
encoder: import("./encoder").Encoder<any>;
|
|
17
|
+
decoder: (hex: string) => any;
|
|
18
|
+
};
|
|
19
|
+
export declare class LocalForger implements Forger {
|
|
20
|
+
readonly protocolHash: ProtocolsHash;
|
|
21
|
+
constructor(protocolHash?: ProtocolsHash);
|
|
22
|
+
private codec;
|
|
23
|
+
forge(params: ForgeParams): Promise<string>;
|
|
24
|
+
parse(hex: string): Promise<ForgeParams>;
|
|
25
|
+
}
|
|
26
|
+
export declare const localForger: LocalForger;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare class Uint8ArrayConsumer {
|
|
2
|
-
private readonly arr;
|
|
3
|
-
private offset;
|
|
4
|
-
static fromHexString(hex: string): Uint8ArrayConsumer;
|
|
5
|
-
constructor(arr: Uint8Array, offset?: number);
|
|
6
|
-
consume(count: number): Uint8Array;
|
|
7
|
-
get(idx: number): number;
|
|
8
|
-
length(): number;
|
|
9
|
-
slice(start: number, end?: number): Uint8ArrayConsumer;
|
|
10
|
-
}
|
|
1
|
+
export declare class Uint8ArrayConsumer {
|
|
2
|
+
private readonly arr;
|
|
3
|
+
private offset;
|
|
4
|
+
static fromHexString(hex: string): Uint8ArrayConsumer;
|
|
5
|
+
constructor(arr: Uint8Array, offset?: number);
|
|
6
|
+
consume(count: number): Uint8Array;
|
|
7
|
+
get(idx: number): number;
|
|
8
|
+
length(): number;
|
|
9
|
+
slice(start: number, end?: number): Uint8ArrayConsumer;
|
|
10
|
+
}
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const concat: (...arr: Uint8Array[]) => Uint8Array;
|
|
2
|
-
export declare const toHexString: (bytes: Uint8Array) => string;
|
|
3
|
-
export declare const pad: (num: number, paddingLen?: number) => string;
|
|
1
|
+
export declare const concat: (...arr: Uint8Array[]) => Uint8Array;
|
|
2
|
+
export declare const toHexString: (bytes: Uint8Array) => string;
|
|
3
|
+
export declare const pad: (num: number, paddingLen?: number) => string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OpKind } from '@taquito/rpc';
|
|
2
|
-
import { OperationContents } from '@taquito/rpc';
|
|
3
|
-
/**
|
|
4
|
-
* @returns A boolean value to indicate whether the operation kind is valid or not
|
|
5
|
-
*/
|
|
6
|
-
export declare const validateOperationKind: (opKind: OpKind) => boolean;
|
|
7
|
-
/**
|
|
8
|
-
* returns 0 when the two array of properties are identical or the passed property
|
|
9
|
-
* does not have any missing parameters from the corresponding schema
|
|
10
|
-
*
|
|
11
|
-
* @returns array element differences if there are missing required property keys
|
|
12
|
-
*/
|
|
13
|
-
export declare const validateMissingProperty: (operationContent: OperationContents) => string[];
|
|
1
|
+
import { OpKind } from '@taquito/rpc';
|
|
2
|
+
import { OperationContents } from '@taquito/rpc';
|
|
3
|
+
/**
|
|
4
|
+
* @returns A boolean value to indicate whether the operation kind is valid or not
|
|
5
|
+
*/
|
|
6
|
+
export declare const validateOperationKind: (opKind: OpKind) => boolean;
|
|
7
|
+
/**
|
|
8
|
+
* returns 0 when the two array of properties are identical or the passed property
|
|
9
|
+
* does not have any missing parameters from the corresponding schema
|
|
10
|
+
*
|
|
11
|
+
* @returns array element differences if there are missing required property keys
|
|
12
|
+
*/
|
|
13
|
+
export declare const validateMissingProperty: (operationContent: OperationContents) => string[];
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION: {
|
|
2
|
-
commitHash: string;
|
|
3
|
-
version: string;
|
|
4
|
-
};
|
|
1
|
+
export declare const VERSION: {
|
|
2
|
+
commitHash: string;
|
|
3
|
+
version: string;
|
|
4
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taquito/local-forging",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.4.0",
|
|
4
4
|
"description": "Provide local forging functionality to be with taquito",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tezos",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"engines": {
|
|
27
|
-
"node": ">=
|
|
27
|
+
"node": ">=18"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"test": "jest --coverage",
|
|
@@ -34,15 +34,14 @@
|
|
|
34
34
|
"precommit": "lint-staged",
|
|
35
35
|
"prebuild": "rimraf dist",
|
|
36
36
|
"version-stamp": "node ../taquito/version-stamping.js",
|
|
37
|
-
"build": "tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts",
|
|
38
|
-
"start": "rollup -c rollup.config.ts -w",
|
|
37
|
+
"build": "tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts --bundleConfigAsCjs",
|
|
38
|
+
"start": "rollup -c rollup.config.ts --bundleConfigAsCjs -w",
|
|
39
39
|
"build-webpack": "webpack --progress --color"
|
|
40
40
|
},
|
|
41
41
|
"lint-staged": {
|
|
42
42
|
"{src,test}/**/*.ts": [
|
|
43
43
|
"prettier --write",
|
|
44
|
-
"eslint --fix"
|
|
45
|
-
"git add"
|
|
44
|
+
"eslint --fix"
|
|
46
45
|
]
|
|
47
46
|
},
|
|
48
47
|
"jest": {
|
|
@@ -68,43 +67,42 @@
|
|
|
68
67
|
]
|
|
69
68
|
},
|
|
70
69
|
"dependencies": {
|
|
71
|
-
"@taquito/core": "^17.
|
|
72
|
-
"@taquito/utils": "^17.
|
|
73
|
-
"bignumber.js": "^9.1.
|
|
70
|
+
"@taquito/core": "^17.4.0",
|
|
71
|
+
"@taquito/utils": "^17.4.0",
|
|
72
|
+
"bignumber.js": "^9.1.2"
|
|
74
73
|
},
|
|
75
74
|
"devDependencies": {
|
|
76
|
-
"@taquito/rpc": "^17.
|
|
77
|
-
"@types/bluebird": "^3.5.
|
|
78
|
-
"@types/estree": "^1.0.
|
|
79
|
-
"@types/jest": "^
|
|
80
|
-
"@types/node": "^
|
|
81
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
82
|
-
"@typescript-eslint/parser": "^
|
|
75
|
+
"@taquito/rpc": "^17.4.0",
|
|
76
|
+
"@types/bluebird": "^3.5.40",
|
|
77
|
+
"@types/estree": "^1.0.2",
|
|
78
|
+
"@types/jest": "^29.5.5",
|
|
79
|
+
"@types/node": "^20",
|
|
80
|
+
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
|
81
|
+
"@typescript-eslint/parser": "^6.8.0",
|
|
83
82
|
"colors": "^1.4.0",
|
|
84
83
|
"coveralls": "^3.1.1",
|
|
85
84
|
"cross-env": "^7.0.3",
|
|
86
|
-
"eslint": "^8.
|
|
87
|
-
"jest": "^
|
|
88
|
-
"jest-config": "^
|
|
89
|
-
"lint-staged": "^
|
|
85
|
+
"eslint": "^8.51.0",
|
|
86
|
+
"jest": "^29.7.0",
|
|
87
|
+
"jest-config": "^29.7.0",
|
|
88
|
+
"lint-staged": "^14.0.1",
|
|
90
89
|
"lodash.camelcase": "^4.3.0",
|
|
91
|
-
"prettier": "^
|
|
90
|
+
"prettier": "^3.0.3",
|
|
92
91
|
"prompt": "^1.3.0",
|
|
93
|
-
"replace-in-file": "^
|
|
94
|
-
"rimraf": "^
|
|
95
|
-
"rollup": "^
|
|
92
|
+
"replace-in-file": "^7.0.1",
|
|
93
|
+
"rimraf": "^5.0.5",
|
|
94
|
+
"rollup": "^4.1.4",
|
|
96
95
|
"rollup-plugin-json": "^4.0.0",
|
|
97
|
-
"rollup-plugin-
|
|
98
|
-
"rollup-plugin-typescript2": "^0.32.1",
|
|
96
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
99
97
|
"shelljs": "^0.8.5",
|
|
100
98
|
"stream-browserify": "^3.0.0",
|
|
101
|
-
"ts-jest": "^
|
|
102
|
-
"ts-loader": "^9.
|
|
103
|
-
"ts-node": "^10.
|
|
99
|
+
"ts-jest": "^29.1.1",
|
|
100
|
+
"ts-loader": "^9.5.0",
|
|
101
|
+
"ts-node": "^10.9.1",
|
|
104
102
|
"ts-toolbelt": "^9.6.0",
|
|
105
|
-
"typescript": "~
|
|
106
|
-
"webpack": "^5.
|
|
107
|
-
"webpack-cli": "^
|
|
103
|
+
"typescript": "~5.2.2",
|
|
104
|
+
"webpack": "^5.89.0",
|
|
105
|
+
"webpack-cli": "^5.1.4"
|
|
108
106
|
},
|
|
109
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "f7b158c2c93a38d59a113e0cf541960aa25c961d"
|
|
110
108
|
}
|
package/signature.json
CHANGED
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
},
|
|
200
200
|
"license": "MIT",
|
|
201
201
|
"engines": {
|
|
202
|
-
"node": ">=
|
|
202
|
+
"node": ">=18"
|
|
203
203
|
},
|
|
204
204
|
"scripts": {
|
|
205
205
|
"test": "jest --coverage",
|
|
@@ -214,8 +214,7 @@
|
|
|
214
214
|
"lint-staged": {
|
|
215
215
|
"{src,test}/**/*.ts": [
|
|
216
216
|
"prettier --write",
|
|
217
|
-
"tslint --fix"
|
|
218
|
-
"git add"
|
|
217
|
+
"tslint --fix"
|
|
219
218
|
]
|
|
220
219
|
},
|
|
221
220
|
"jest": {
|
|
@@ -247,7 +246,7 @@
|
|
|
247
246
|
"devDependencies": {
|
|
248
247
|
"@taquito/taquito": "^8.0.4-beta.0",
|
|
249
248
|
"@types/jest": "^26.0.16",
|
|
250
|
-
"@types/node": "^
|
|
249
|
+
"@types/node": "^18",
|
|
251
250
|
"colors": "^1.4.0",
|
|
252
251
|
"coveralls": "^3.1.0",
|
|
253
252
|
"cross-env": "^7.0.2",
|
|
@@ -261,7 +260,6 @@
|
|
|
261
260
|
"rimraf": "^3.0.2",
|
|
262
261
|
"rollup": "^2.28.2",
|
|
263
262
|
"rollup-plugin-json": "^4.0.0",
|
|
264
|
-
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
265
263
|
"rollup-plugin-typescript2": "^0.27.3",
|
|
266
264
|
"shelljs": "^0.8.4",
|
|
267
265
|
"ts-jest": "^26.4.4",
|