Skip to content

Commit

Permalink
Update module and moduleResolution (#1038)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanyav2 authored Nov 19, 2024
1 parent 05e6430 commit bfdeac3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"check": "tsc --noEmit -p ./tsconfig.json"
},
"dependencies": {
"one-webcrypto": "^1.0.3"
"@storacha/one-webcrypto": "^1.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/common/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { webcrypto } from "one-webcrypto";
import { webcrypto } from "@storacha/one-webcrypto";

/** @internal */
export function integerToOctetStringBE(i: bigint, len: number): Uint8Array {
Expand Down
2 changes: 1 addition & 1 deletion packages/field/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
},
"dependencies": {
"@divviup/common": "^0.2.2",
"one-webcrypto": "^1.0.3"
"@storacha/one-webcrypto": "^1.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/field/src/PrimeField.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// source: https://github.com/GuildOfWeavers/galois
import { webcrypto } from "one-webcrypto";
import { webcrypto } from "@storacha/one-webcrypto";
import { Vector } from "./Vector.js";
import { octetStringToIntegerBE } from "@divviup/common";

Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
"sourceMap": true,
"target": "ES2022",
"lib": ["dom", "es2020"],
"module": "esnext",
"moduleResolution": "node",
"module": "nodenext",
"moduleResolution": "nodenext",
"strict": true,
"verbatimModuleSyntax": true,
"preserveConstEnums": true,
"esModuleInterop": true,
"declaration": true,
"declarationMap": true,
"moduleDetection": "force",
"plugins": [
{
"name": "typescript-eslint-language-service"
Expand Down

0 comments on commit bfdeac3

Please sign in to comment.