@mcintyre94/assertions
Advanced tools
Comparing version 2.0.0-development to 2.0.0-experimental.f9b30bb
@@ -44,3 +44,3 @@ // src/subtle-crypto.ts | ||
throw new Error( | ||
"This runtime does not support the generation of Ed25519 key pairs.\n\nInstall and import `@solana/webcrypto-ed25519-polyfill` before generating keys in environments that do not support Ed25519.\n\nFor a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20" | ||
"This runtime does not support the generation of Ed25519 key pairs.\n\nInstall and import `@mcintyre94/webcrypto-ed25519-polyfill` before generating keys in environments that do not support Ed25519.\n\nFor a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20" | ||
); | ||
@@ -47,0 +47,0 @@ } |
@@ -50,3 +50,3 @@ this.globalThis = this.globalThis || {}; | ||
throw new Error( | ||
"This runtime does not support the generation of Ed25519 key pairs.\n\nInstall and import `@solana/webcrypto-ed25519-polyfill` before generating keys in environments that do not support Ed25519.\n\nFor a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20" | ||
"This runtime does not support the generation of Ed25519 key pairs.\n\nInstall and import `@mcintyre94/webcrypto-ed25519-polyfill` before generating keys in environments that do not support Ed25519.\n\nFor a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20" | ||
); | ||
@@ -53,0 +53,0 @@ } |
@@ -35,3 +35,3 @@ // src/subtle-crypto.ts | ||
throw new Error( | ||
"This runtime does not support the generation of Ed25519 key pairs.\n\nInstall and import `@solana/webcrypto-ed25519-polyfill` before generating keys in environments that do not support Ed25519.\n\nFor a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20" | ||
"This runtime does not support the generation of Ed25519 key pairs.\n\nInstall and import `@mcintyre94/webcrypto-ed25519-polyfill` before generating keys in environments that do not support Ed25519.\n\nFor a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20" | ||
); | ||
@@ -38,0 +38,0 @@ } |
@@ -35,3 +35,3 @@ // src/subtle-crypto.ts | ||
throw new Error( | ||
"This runtime does not support the generation of Ed25519 key pairs.\n\nInstall and import `@solana/webcrypto-ed25519-polyfill` before generating keys in environments that do not support Ed25519.\n\nFor a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20" | ||
"This runtime does not support the generation of Ed25519 key pairs.\n\nInstall and import `@mcintyre94/webcrypto-ed25519-polyfill` before generating keys in environments that do not support Ed25519.\n\nFor a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20" | ||
); | ||
@@ -38,0 +38,0 @@ } |
@@ -7,3 +7,3 @@ this.globalThis = this.globalThis || {}; | ||
Install and import \`@solana/webcrypto-ed25519-polyfill\` before generating keys in environments that do not support Ed25519. | ||
Install and import \`@mcintyre94/webcrypto-ed25519-polyfill\` before generating keys in environments that do not support Ed25519. | ||
@@ -10,0 +10,0 @@ For a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20`)}async function p(){var e;if(t(),typeof globalThis.crypto>"u"||typeof((e=globalThis.crypto.subtle)==null?void 0:e.exportKey)!="function")throw new Error("No key export implementation could be found")}async function c(){var e;if(t(),typeof globalThis.crypto>"u"||typeof((e=globalThis.crypto.subtle)==null?void 0:e.sign)!="function")throw new Error("No signing implementation could be found")}async function u(){var e;if(t(),typeof globalThis.crypto>"u"||typeof((e=globalThis.crypto.subtle)==null?void 0:e.verify)!="function")throw new Error("No signature verification implementation could be found")} |
{ | ||
"name": "@mcintyre94/assertions", | ||
"version": "2.0.0-development", | ||
"version": "2.0.0-experimental.f9b30bb", | ||
"description": "Helpers for asserting that a JavaScript environment supports certain features necessary for the operation of the Solana JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57659