@omnisat/lasereyes 0.0.20 → 0.0.21
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/index.js +1 -3
- package/dist/index.mjs +1 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1302,7 +1302,7 @@ var LaserEyesProvider = ({
|
|
|
1302
1302
|
network: {
|
|
1303
1303
|
type: import_sats_connect.BitcoinNetworkType.Mainnet
|
|
1304
1304
|
},
|
|
1305
|
-
address:
|
|
1305
|
+
address: paymentAddress,
|
|
1306
1306
|
message
|
|
1307
1307
|
},
|
|
1308
1308
|
onFinish: (response) => {
|
|
@@ -1320,13 +1320,11 @@ var LaserEyesProvider = ({
|
|
|
1320
1320
|
message,
|
|
1321
1321
|
paymentType: P2TR
|
|
1322
1322
|
});
|
|
1323
|
-
console.log(signed);
|
|
1324
1323
|
return (_a = signed == null ? void 0 : signed.result) == null ? void 0 : _a.signature;
|
|
1325
1324
|
} else if (provider === PHANTOM) {
|
|
1326
1325
|
const utf8Bytes = new TextEncoder().encode(message);
|
|
1327
1326
|
const uintArray = new Uint8Array(utf8Bytes);
|
|
1328
1327
|
const response = yield library == null ? void 0 : library.signMessage(address2, uintArray);
|
|
1329
|
-
console.log(response);
|
|
1330
1328
|
const binaryString = String.fromCharCode(...response.signature);
|
|
1331
1329
|
return btoa(binaryString);
|
|
1332
1330
|
} else if (provider === WIZZ) {
|
package/dist/index.mjs
CHANGED
|
@@ -1224,7 +1224,7 @@ var LaserEyesProvider = ({
|
|
|
1224
1224
|
network: {
|
|
1225
1225
|
type: BitcoinNetworkType.Mainnet
|
|
1226
1226
|
},
|
|
1227
|
-
address:
|
|
1227
|
+
address: paymentAddress,
|
|
1228
1228
|
message
|
|
1229
1229
|
},
|
|
1230
1230
|
onFinish: (response) => {
|
|
@@ -1242,13 +1242,11 @@ var LaserEyesProvider = ({
|
|
|
1242
1242
|
message,
|
|
1243
1243
|
paymentType: P2TR
|
|
1244
1244
|
});
|
|
1245
|
-
console.log(signed);
|
|
1246
1245
|
return (_a = signed == null ? void 0 : signed.result) == null ? void 0 : _a.signature;
|
|
1247
1246
|
} else if (provider === PHANTOM) {
|
|
1248
1247
|
const utf8Bytes = new TextEncoder().encode(message);
|
|
1249
1248
|
const uintArray = new Uint8Array(utf8Bytes);
|
|
1250
1249
|
const response = yield library == null ? void 0 : library.signMessage(address2, uintArray);
|
|
1251
|
-
console.log(response);
|
|
1252
1250
|
const binaryString = String.fromCharCode(...response.signature);
|
|
1253
1251
|
return btoa(binaryString);
|
|
1254
1252
|
} else if (provider === WIZZ) {
|