@vlayer/sdk 0.1.0-nightly-20241002-4630acc → 0.1.0-nightly-20241002-5b36661

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@vlayer/sdk",
3
3
  "type": "module",
4
4
  "module": "src/index.ts",
5
- "version": "0.1.0-nightly-20241002-4630acc",
5
+ "version": "0.1.0-nightly-20241002-5b36661",
6
6
  "types": "src/index.ts",
7
7
  "scripts": {
8
8
  "build": "npm run gen:types",
@@ -31,8 +31,8 @@ export const createExtensionWebProofProvider = ({
31
31
  }: WebProofProviderSetup): WebProofProvider => {
32
32
  return {
33
33
  getWebProof: async function (webProofSetup: WebProofSetupInput) {
34
- // TODO: we cant assume that developer is using vite
35
- // EXTESION_ID value should be injected by the build system
34
+ // TODO: we can't assume that developer is using vite
35
+ // VITE_EXTENSION_ID value should be injected by the build system
36
36
 
37
37
  return new Promise<WebProof>((resolve, reject) => {
38
38
  chrome.runtime.sendMessage(import.meta.env.VITE_EXTENSION_ID, {
@@ -46,7 +46,7 @@ export const createExtensionWebProofProvider = ({
46
46
  });
47
47
  const EXTENSION_ID = import.meta.env.VITE_EXTENSION_ID as string;
48
48
  const port = chrome.runtime.connect(EXTENSION_ID);
49
- //TODO : validate message in runtime
49
+ // TODO: validate message in runtime
50
50
  port.onMessage.addListener(
51
51
  (
52
52
  message: