@solana-mobile/mobile-wallet-adapter-protocol-web3js 2.1.4 → 2.1.7
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/lib/cjs/index.browser.js +70 -129
- package/lib/cjs/index.js +70 -129
- package/lib/cjs/index.native.js +70 -129
- package/lib/esm/index.browser.js +71 -130
- package/lib/esm/index.js +71 -130
- package/lib/types/index.browser.d.ts +8 -4
- package/lib/types/index.d.ts +8 -4
- package/lib/types/index.native.d.ts +8 -4
- package/package.json +57 -53
package/lib/cjs/index.browser.js
CHANGED
|
@@ -81,143 +81,84 @@ function getTransactionFromWireMessage(byteArray) {
|
|
|
81
81
|
function transact(callback, config) {
|
|
82
82
|
return __awaiter(this, void 0, void 0, function* () {
|
|
83
83
|
const augmentedCallback = (wallet) => {
|
|
84
|
-
|
|
85
|
-
get(target, p) {
|
|
86
|
-
if (target[p] == null) {
|
|
87
|
-
switch (p) {
|
|
88
|
-
case 'signAndSendTransactions':
|
|
89
|
-
target[p] = function (_a) {
|
|
90
|
-
var { minContextSlot, commitment, skipPreflight, maxRetries, waitForCommitmentToSendNextTransaction, transactions } = _a, rest = __rest(_a, ["minContextSlot", "commitment", "skipPreflight", "maxRetries", "waitForCommitmentToSendNextTransaction", "transactions"]);
|
|
91
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
-
const payloads = transactions.map(getPayloadFromTransaction);
|
|
93
|
-
const options = {
|
|
94
|
-
min_context_slot: minContextSlot,
|
|
95
|
-
commitment: commitment,
|
|
96
|
-
skip_preflight: skipPreflight,
|
|
97
|
-
max_retries: maxRetries,
|
|
98
|
-
wait_for_commitment_to_send_next_transaction: waitForCommitmentToSendNextTransaction
|
|
99
|
-
};
|
|
100
|
-
const { signatures: base64EncodedSignatures } = yield wallet.signAndSendTransactions(Object.assign(Object.assign(Object.assign({}, rest), (Object.values(options).some(element => element != null)
|
|
101
|
-
? { options: options }
|
|
102
|
-
: null)), { payloads }));
|
|
103
|
-
const signatures = base64EncodedSignatures.map(toUint8Array).map(bs58__default["default"].encode);
|
|
104
|
-
return signatures;
|
|
105
|
-
});
|
|
106
|
-
};
|
|
107
|
-
break;
|
|
108
|
-
case 'signMessages':
|
|
109
|
-
target[p] = function (_a) {
|
|
110
|
-
var { payloads } = _a, rest = __rest(_a, ["payloads"]);
|
|
111
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
-
const base64EncodedPayloads = payloads.map(fromUint8Array);
|
|
113
|
-
const { signed_payloads: base64EncodedSignedMessages } = yield wallet.signMessages(Object.assign(Object.assign({}, rest), { payloads: base64EncodedPayloads }));
|
|
114
|
-
const signedMessages = base64EncodedSignedMessages.map(toUint8Array);
|
|
115
|
-
return signedMessages;
|
|
116
|
-
});
|
|
117
|
-
};
|
|
118
|
-
break;
|
|
119
|
-
case 'signTransactions':
|
|
120
|
-
target[p] = function (_a) {
|
|
121
|
-
var { transactions } = _a, rest = __rest(_a, ["transactions"]);
|
|
122
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
-
const payloads = transactions.map(getPayloadFromTransaction);
|
|
124
|
-
const { signed_payloads: base64EncodedCompiledTransactions } = yield wallet.signTransactions(Object.assign(Object.assign({}, rest), { payloads }));
|
|
125
|
-
const compiledTransactions = base64EncodedCompiledTransactions.map(toUint8Array);
|
|
126
|
-
const signedTransactions = compiledTransactions.map(getTransactionFromWireMessage);
|
|
127
|
-
return signedTransactions;
|
|
128
|
-
});
|
|
129
|
-
};
|
|
130
|
-
break;
|
|
131
|
-
default: {
|
|
132
|
-
target[p] = wallet[p];
|
|
133
|
-
break;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
return target[p];
|
|
138
|
-
},
|
|
139
|
-
defineProperty() {
|
|
140
|
-
return false;
|
|
141
|
-
},
|
|
142
|
-
deleteProperty() {
|
|
143
|
-
return false;
|
|
144
|
-
},
|
|
145
|
-
});
|
|
146
|
-
return callback(augmentedAPI);
|
|
84
|
+
return callback(augmentWalletAPI(wallet));
|
|
147
85
|
};
|
|
148
86
|
return yield mobileWalletAdapterProtocol.transact(augmentedCallback, config);
|
|
149
87
|
});
|
|
150
88
|
}
|
|
151
|
-
function
|
|
89
|
+
function startRemoteScenario(config) {
|
|
152
90
|
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
-
const
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
};
|
|
177
|
-
break;
|
|
178
|
-
case 'signMessages':
|
|
179
|
-
target[p] = function (_a) {
|
|
180
|
-
var { payloads } = _a, rest = __rest(_a, ["payloads"]);
|
|
181
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
-
const base64EncodedPayloads = payloads.map(fromUint8Array);
|
|
183
|
-
const { signed_payloads: base64EncodedSignedMessages } = yield wallet.signMessages(Object.assign(Object.assign({}, rest), { payloads: base64EncodedPayloads }));
|
|
184
|
-
const signedMessages = base64EncodedSignedMessages.map(toUint8Array);
|
|
185
|
-
return signedMessages;
|
|
186
|
-
});
|
|
187
|
-
};
|
|
188
|
-
break;
|
|
189
|
-
case 'signTransactions':
|
|
190
|
-
target[p] = function (_a) {
|
|
191
|
-
var { transactions } = _a, rest = __rest(_a, ["transactions"]);
|
|
192
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
193
|
-
const payloads = transactions.map(getPayloadFromTransaction);
|
|
194
|
-
const { signed_payloads: base64EncodedCompiledTransactions } = yield wallet.signTransactions(Object.assign(Object.assign({}, rest), { payloads }));
|
|
195
|
-
const compiledTransactions = base64EncodedCompiledTransactions.map(toUint8Array);
|
|
196
|
-
const signedTransactions = compiledTransactions.map(getTransactionFromWireMessage);
|
|
197
|
-
return signedTransactions;
|
|
198
|
-
});
|
|
91
|
+
const { wallet, close, associationUrl } = yield mobileWalletAdapterProtocol.startRemoteScenario(config);
|
|
92
|
+
const augmentedPromise = wallet.then((wallet) => {
|
|
93
|
+
return augmentWalletAPI(wallet);
|
|
94
|
+
});
|
|
95
|
+
return { wallet: augmentedPromise, close, associationUrl };
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
function augmentWalletAPI(wallet) {
|
|
99
|
+
return new Proxy({}, {
|
|
100
|
+
get(target, p) {
|
|
101
|
+
if (target[p] == null) {
|
|
102
|
+
switch (p) {
|
|
103
|
+
case 'signAndSendTransactions':
|
|
104
|
+
target[p] = function (_a) {
|
|
105
|
+
var { minContextSlot, commitment, skipPreflight, maxRetries, waitForCommitmentToSendNextTransaction, transactions } = _a, rest = __rest(_a, ["minContextSlot", "commitment", "skipPreflight", "maxRetries", "waitForCommitmentToSendNextTransaction", "transactions"]);
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
const payloads = transactions.map(getPayloadFromTransaction);
|
|
108
|
+
const options = {
|
|
109
|
+
min_context_slot: minContextSlot,
|
|
110
|
+
commitment: commitment,
|
|
111
|
+
skip_preflight: skipPreflight,
|
|
112
|
+
max_retries: maxRetries,
|
|
113
|
+
wait_for_commitment_to_send_next_transaction: waitForCommitmentToSendNextTransaction
|
|
199
114
|
};
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
115
|
+
const { signatures: base64EncodedSignatures } = yield wallet.signAndSendTransactions(Object.assign(Object.assign(Object.assign({}, rest), (Object.values(options).some(element => element != null)
|
|
116
|
+
? { options: options }
|
|
117
|
+
: null)), { payloads }));
|
|
118
|
+
const signatures = base64EncodedSignatures.map(toUint8Array).map(bs58__default["default"].encode);
|
|
119
|
+
return signatures;
|
|
120
|
+
});
|
|
121
|
+
};
|
|
122
|
+
break;
|
|
123
|
+
case 'signMessages':
|
|
124
|
+
target[p] = function (_a) {
|
|
125
|
+
var { payloads } = _a, rest = __rest(_a, ["payloads"]);
|
|
126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
+
const base64EncodedPayloads = payloads.map(fromUint8Array);
|
|
128
|
+
const { signed_payloads: base64EncodedSignedMessages } = yield wallet.signMessages(Object.assign(Object.assign({}, rest), { payloads: base64EncodedPayloads }));
|
|
129
|
+
const signedMessages = base64EncodedSignedMessages.map(toUint8Array);
|
|
130
|
+
return signedMessages;
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
break;
|
|
134
|
+
case 'signTransactions':
|
|
135
|
+
target[p] = function (_a) {
|
|
136
|
+
var { transactions } = _a, rest = __rest(_a, ["transactions"]);
|
|
137
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
+
const payloads = transactions.map(getPayloadFromTransaction);
|
|
139
|
+
const { signed_payloads: base64EncodedCompiledTransactions } = yield wallet.signTransactions(Object.assign(Object.assign({}, rest), { payloads }));
|
|
140
|
+
const compiledTransactions = base64EncodedCompiledTransactions.map(toUint8Array);
|
|
141
|
+
const signedTransactions = compiledTransactions.map(getTransactionFromWireMessage);
|
|
142
|
+
return signedTransactions;
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
break;
|
|
146
|
+
default: {
|
|
147
|
+
target[p] = wallet[p];
|
|
148
|
+
break;
|
|
206
149
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
};
|
|
218
|
-
return yield mobileWalletAdapterProtocol.transactRemote(augmentedCallback, config);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
return target[p];
|
|
153
|
+
},
|
|
154
|
+
defineProperty() {
|
|
155
|
+
return false;
|
|
156
|
+
},
|
|
157
|
+
deleteProperty() {
|
|
158
|
+
return false;
|
|
159
|
+
},
|
|
219
160
|
});
|
|
220
161
|
}
|
|
221
162
|
|
|
163
|
+
exports.startRemoteScenario = startRemoteScenario;
|
|
222
164
|
exports.transact = transact;
|
|
223
|
-
exports.transactRemote = transactRemote;
|
package/lib/cjs/index.js
CHANGED
|
@@ -81,143 +81,84 @@ function getTransactionFromWireMessage(byteArray) {
|
|
|
81
81
|
function transact(callback, config) {
|
|
82
82
|
return __awaiter(this, void 0, void 0, function* () {
|
|
83
83
|
const augmentedCallback = (wallet) => {
|
|
84
|
-
|
|
85
|
-
get(target, p) {
|
|
86
|
-
if (target[p] == null) {
|
|
87
|
-
switch (p) {
|
|
88
|
-
case 'signAndSendTransactions':
|
|
89
|
-
target[p] = function (_a) {
|
|
90
|
-
var { minContextSlot, commitment, skipPreflight, maxRetries, waitForCommitmentToSendNextTransaction, transactions } = _a, rest = __rest(_a, ["minContextSlot", "commitment", "skipPreflight", "maxRetries", "waitForCommitmentToSendNextTransaction", "transactions"]);
|
|
91
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
-
const payloads = transactions.map(getPayloadFromTransaction);
|
|
93
|
-
const options = {
|
|
94
|
-
min_context_slot: minContextSlot,
|
|
95
|
-
commitment: commitment,
|
|
96
|
-
skip_preflight: skipPreflight,
|
|
97
|
-
max_retries: maxRetries,
|
|
98
|
-
wait_for_commitment_to_send_next_transaction: waitForCommitmentToSendNextTransaction
|
|
99
|
-
};
|
|
100
|
-
const { signatures: base64EncodedSignatures } = yield wallet.signAndSendTransactions(Object.assign(Object.assign(Object.assign({}, rest), (Object.values(options).some(element => element != null)
|
|
101
|
-
? { options: options }
|
|
102
|
-
: null)), { payloads }));
|
|
103
|
-
const signatures = base64EncodedSignatures.map(toUint8Array).map(bs58__default["default"].encode);
|
|
104
|
-
return signatures;
|
|
105
|
-
});
|
|
106
|
-
};
|
|
107
|
-
break;
|
|
108
|
-
case 'signMessages':
|
|
109
|
-
target[p] = function (_a) {
|
|
110
|
-
var { payloads } = _a, rest = __rest(_a, ["payloads"]);
|
|
111
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
-
const base64EncodedPayloads = payloads.map(fromUint8Array);
|
|
113
|
-
const { signed_payloads: base64EncodedSignedMessages } = yield wallet.signMessages(Object.assign(Object.assign({}, rest), { payloads: base64EncodedPayloads }));
|
|
114
|
-
const signedMessages = base64EncodedSignedMessages.map(toUint8Array);
|
|
115
|
-
return signedMessages;
|
|
116
|
-
});
|
|
117
|
-
};
|
|
118
|
-
break;
|
|
119
|
-
case 'signTransactions':
|
|
120
|
-
target[p] = function (_a) {
|
|
121
|
-
var { transactions } = _a, rest = __rest(_a, ["transactions"]);
|
|
122
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
-
const payloads = transactions.map(getPayloadFromTransaction);
|
|
124
|
-
const { signed_payloads: base64EncodedCompiledTransactions } = yield wallet.signTransactions(Object.assign(Object.assign({}, rest), { payloads }));
|
|
125
|
-
const compiledTransactions = base64EncodedCompiledTransactions.map(toUint8Array);
|
|
126
|
-
const signedTransactions = compiledTransactions.map(getTransactionFromWireMessage);
|
|
127
|
-
return signedTransactions;
|
|
128
|
-
});
|
|
129
|
-
};
|
|
130
|
-
break;
|
|
131
|
-
default: {
|
|
132
|
-
target[p] = wallet[p];
|
|
133
|
-
break;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
return target[p];
|
|
138
|
-
},
|
|
139
|
-
defineProperty() {
|
|
140
|
-
return false;
|
|
141
|
-
},
|
|
142
|
-
deleteProperty() {
|
|
143
|
-
return false;
|
|
144
|
-
},
|
|
145
|
-
});
|
|
146
|
-
return callback(augmentedAPI);
|
|
84
|
+
return callback(augmentWalletAPI(wallet));
|
|
147
85
|
};
|
|
148
86
|
return yield mobileWalletAdapterProtocol.transact(augmentedCallback, config);
|
|
149
87
|
});
|
|
150
88
|
}
|
|
151
|
-
function
|
|
89
|
+
function startRemoteScenario(config) {
|
|
152
90
|
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
-
const
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
};
|
|
177
|
-
break;
|
|
178
|
-
case 'signMessages':
|
|
179
|
-
target[p] = function (_a) {
|
|
180
|
-
var { payloads } = _a, rest = __rest(_a, ["payloads"]);
|
|
181
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
-
const base64EncodedPayloads = payloads.map(fromUint8Array);
|
|
183
|
-
const { signed_payloads: base64EncodedSignedMessages } = yield wallet.signMessages(Object.assign(Object.assign({}, rest), { payloads: base64EncodedPayloads }));
|
|
184
|
-
const signedMessages = base64EncodedSignedMessages.map(toUint8Array);
|
|
185
|
-
return signedMessages;
|
|
186
|
-
});
|
|
187
|
-
};
|
|
188
|
-
break;
|
|
189
|
-
case 'signTransactions':
|
|
190
|
-
target[p] = function (_a) {
|
|
191
|
-
var { transactions } = _a, rest = __rest(_a, ["transactions"]);
|
|
192
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
193
|
-
const payloads = transactions.map(getPayloadFromTransaction);
|
|
194
|
-
const { signed_payloads: base64EncodedCompiledTransactions } = yield wallet.signTransactions(Object.assign(Object.assign({}, rest), { payloads }));
|
|
195
|
-
const compiledTransactions = base64EncodedCompiledTransactions.map(toUint8Array);
|
|
196
|
-
const signedTransactions = compiledTransactions.map(getTransactionFromWireMessage);
|
|
197
|
-
return signedTransactions;
|
|
198
|
-
});
|
|
91
|
+
const { wallet, close, associationUrl } = yield mobileWalletAdapterProtocol.startRemoteScenario(config);
|
|
92
|
+
const augmentedPromise = wallet.then((wallet) => {
|
|
93
|
+
return augmentWalletAPI(wallet);
|
|
94
|
+
});
|
|
95
|
+
return { wallet: augmentedPromise, close, associationUrl };
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
function augmentWalletAPI(wallet) {
|
|
99
|
+
return new Proxy({}, {
|
|
100
|
+
get(target, p) {
|
|
101
|
+
if (target[p] == null) {
|
|
102
|
+
switch (p) {
|
|
103
|
+
case 'signAndSendTransactions':
|
|
104
|
+
target[p] = function (_a) {
|
|
105
|
+
var { minContextSlot, commitment, skipPreflight, maxRetries, waitForCommitmentToSendNextTransaction, transactions } = _a, rest = __rest(_a, ["minContextSlot", "commitment", "skipPreflight", "maxRetries", "waitForCommitmentToSendNextTransaction", "transactions"]);
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
const payloads = transactions.map(getPayloadFromTransaction);
|
|
108
|
+
const options = {
|
|
109
|
+
min_context_slot: minContextSlot,
|
|
110
|
+
commitment: commitment,
|
|
111
|
+
skip_preflight: skipPreflight,
|
|
112
|
+
max_retries: maxRetries,
|
|
113
|
+
wait_for_commitment_to_send_next_transaction: waitForCommitmentToSendNextTransaction
|
|
199
114
|
};
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
115
|
+
const { signatures: base64EncodedSignatures } = yield wallet.signAndSendTransactions(Object.assign(Object.assign(Object.assign({}, rest), (Object.values(options).some(element => element != null)
|
|
116
|
+
? { options: options }
|
|
117
|
+
: null)), { payloads }));
|
|
118
|
+
const signatures = base64EncodedSignatures.map(toUint8Array).map(bs58__default["default"].encode);
|
|
119
|
+
return signatures;
|
|
120
|
+
});
|
|
121
|
+
};
|
|
122
|
+
break;
|
|
123
|
+
case 'signMessages':
|
|
124
|
+
target[p] = function (_a) {
|
|
125
|
+
var { payloads } = _a, rest = __rest(_a, ["payloads"]);
|
|
126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
+
const base64EncodedPayloads = payloads.map(fromUint8Array);
|
|
128
|
+
const { signed_payloads: base64EncodedSignedMessages } = yield wallet.signMessages(Object.assign(Object.assign({}, rest), { payloads: base64EncodedPayloads }));
|
|
129
|
+
const signedMessages = base64EncodedSignedMessages.map(toUint8Array);
|
|
130
|
+
return signedMessages;
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
break;
|
|
134
|
+
case 'signTransactions':
|
|
135
|
+
target[p] = function (_a) {
|
|
136
|
+
var { transactions } = _a, rest = __rest(_a, ["transactions"]);
|
|
137
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
+
const payloads = transactions.map(getPayloadFromTransaction);
|
|
139
|
+
const { signed_payloads: base64EncodedCompiledTransactions } = yield wallet.signTransactions(Object.assign(Object.assign({}, rest), { payloads }));
|
|
140
|
+
const compiledTransactions = base64EncodedCompiledTransactions.map(toUint8Array);
|
|
141
|
+
const signedTransactions = compiledTransactions.map(getTransactionFromWireMessage);
|
|
142
|
+
return signedTransactions;
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
break;
|
|
146
|
+
default: {
|
|
147
|
+
target[p] = wallet[p];
|
|
148
|
+
break;
|
|
206
149
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
};
|
|
218
|
-
return yield mobileWalletAdapterProtocol.transactRemote(augmentedCallback, config);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
return target[p];
|
|
153
|
+
},
|
|
154
|
+
defineProperty() {
|
|
155
|
+
return false;
|
|
156
|
+
},
|
|
157
|
+
deleteProperty() {
|
|
158
|
+
return false;
|
|
159
|
+
},
|
|
219
160
|
});
|
|
220
161
|
}
|
|
221
162
|
|
|
163
|
+
exports.startRemoteScenario = startRemoteScenario;
|
|
222
164
|
exports.transact = transact;
|
|
223
|
-
exports.transactRemote = transactRemote;
|