@solana/kit 5.1.1-canary-20251216193810 → 5.1.1-canary-20251216194212
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.development.js +3 -3
- package/dist/index.development.js.map +1 -1
- package/dist/index.production.min.js +284 -284
- package/package.json +21 -21
|
@@ -4403,7 +4403,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
4403
4403
|
}
|
|
4404
4404
|
async function signBytes(key, data) {
|
|
4405
4405
|
assertSigningCapabilityIsAvailable();
|
|
4406
|
-
const signedData = await crypto.subtle.sign(ED25519_ALGORITHM_IDENTIFIER, key, data);
|
|
4406
|
+
const signedData = await crypto.subtle.sign(ED25519_ALGORITHM_IDENTIFIER, key, toArrayBuffer(data));
|
|
4407
4407
|
return new Uint8Array(signedData);
|
|
4408
4408
|
}
|
|
4409
4409
|
function signature(putativeSignature) {
|
|
@@ -4416,7 +4416,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
4416
4416
|
}
|
|
4417
4417
|
async function verifySignature(key, signature2, data) {
|
|
4418
4418
|
assertVerificationCapabilityIsAvailable();
|
|
4419
|
-
return await crypto.subtle.verify(ED25519_ALGORITHM_IDENTIFIER, key, signature2, data);
|
|
4419
|
+
return await crypto.subtle.verify(ED25519_ALGORITHM_IDENTIFIER, key, toArrayBuffer(signature2), toArrayBuffer(data));
|
|
4420
4420
|
}
|
|
4421
4421
|
async function generateKeyPair() {
|
|
4422
4422
|
await assertKeyGenerationIsAvailable();
|
|
@@ -7074,7 +7074,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
7074
7074
|
...config.headers ? normalizeHeaders2(config.headers) : void 0,
|
|
7075
7075
|
...{
|
|
7076
7076
|
// Keep these headers lowercase so they will override any user-supplied headers above.
|
|
7077
|
-
"solana-client": `js/${"5.1.1-canary-
|
|
7077
|
+
"solana-client": `js/${"5.1.1-canary-20251216194212"}`
|
|
7078
7078
|
}
|
|
7079
7079
|
}
|
|
7080
7080
|
}),
|