Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
update dnt
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay committed Jun 22, 2023
1 parent decd487 commit 63a965b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _tasks/dnt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ await Promise.all([
importHelpers: true,
sourceMap: true,
target: "ES2021",
lib: ["ES2022.Error"],
lib: ["es2022.error"],
},
entryPoints: [
{
Expand Down Expand Up @@ -209,7 +209,7 @@ if (buildExamples) {
importHelpers: true,
sourceMap: true,
target: "ES2021",
lib: ["ES2022.Error", "DOM.Iterable"],
lib: ["es2022.error", "dom.iterable"],
},
entryPoints: exampleEntryPoints,
mappings: {
Expand Down
1 change: 1 addition & 0 deletions _tasks/dnt_examples_import_map.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"imports": {
"@noble/ed25519": "./deps/ed25519.ts",
"asserts": "../deps/std/testing/asserts.ts"
}
}
2 changes: 1 addition & 1 deletion deps/dnt.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/x/dnt@0.37.0/mod.ts"
export * from "https://deno.land/x/dnt@0.34.0/mod.ts"
2 changes: 1 addition & 1 deletion examples/sign/ed25519.eg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
*/

import { MultiAddress, westendDev } from "@capi/westend-dev"
import * as ed from "@noble/ed25519"
import { assert } from "asserts"
import { createDevUsers, ExtrinsicSender, is, Scope } from "capi"
import { signature } from "capi/patterns/signature/polkadot"
import * as ed from "../../deps/ed25519.ts"

const { alexa, billy } = await createDevUsers()
const scope = new Scope()
Expand Down
1 change: 1 addition & 0 deletions import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
},
"scopes": {
"examples/": {
"@noble/ed25519": "./deps/ed25519.ts",
"asserts": "./deps/std/testing/asserts.ts",
"capi": "./mod.ts",
"capi/patterns/compat/pjs_sender": "./patterns/compat/pjs_sender.ts",
Expand Down

0 comments on commit 63a965b

Please sign in to comment.