Skip to content

Commit

Permalink
build: polyfill self
Browse files Browse the repository at this point in the history
  • Loading branch information
xstelea committed Sep 5, 2023
1 parent 0b969b5 commit 891e5f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions typescript/src/rola.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// @ts-ignore
if (!globalThis.self) globalThis.self = globalThis

import { ResultAsync, err, errAsync, ok } from 'neverthrow'
import { createSignatureMessage } from './helpers/create-signature-message'
import { verifyProofFactory } from './helpers/verify-proof'
Expand Down

0 comments on commit 891e5f9

Please sign in to comment.