Skip to content

Commit

Permalink
manual update: deno.land/x/subshell@0.2.45
Browse files Browse the repository at this point in the history
  • Loading branch information
subshell committed Nov 5, 2024
1 parent 92bf7bc commit 9abf492
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Subshell at its core is a TypeScript repl with these preloaded lines:
import {
ApiPromise,
WsProvider,
} from "https://deno.land/x/polkadot@0.2.43/api/mod.ts";
} from "https://deno.land/x/polkadot@0.2.45/api/mod.ts";

const provider = new WsProvider(`wss://polkadot.api.onfinality.io/public-ws`);

Expand Down Expand Up @@ -82,7 +82,7 @@ the [deno.land/x/polkadot](https://deno.land/x/polkadot) namespace.
You can import them like this in the Deno repl:

```
import { stringToU8a } from 'https://deno.land/x/polkadot@0.2.43/util/mod.ts';
import { stringToU8a } from 'https://deno.land/x/polkadot@0.2.45/util/mod.ts';
```

Subshell sessions run in patched
Expand Down Expand Up @@ -153,7 +153,7 @@ Here are Subshell's advantages over existing Node.js based shells.
In fact, you can load the Subshell init script in Deno.

```
$ deno repl --unstable --eval-file=https://deno.land/x/subshell@0.2.43-11/init.ts
$ deno repl --unstable --eval-file=https://deno.land/x/subshell@0.2.45/init.ts
...
Deno 1.23.2
exit using ctrl+d or close()
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ RUN chmod 644 /cache/deno_history.txt

USER subshell

ENV SUBSHELL_VERSION 0.2.43-11
ENV SUBSHELL_VERSION 0.2.45

CMD hub
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ a Deno 🦕 repl, using polkadot-js extension as remote signer ✍️.
Start with browser extension integration

```
$ deno repl --allow-net --allow-env --eval-file=https://deno.land/x/subshell@0.2.43-11/init.ts
$ deno repl --allow-net --allow-env --eval-file=https://deno.land/x/subshell@0.2.45/init.ts
```

Start in lite mode

```
$ deno repl --allow-net --allow-env --eval-file=https://deno.land/x/subshell@0.2.43-11/tini.ts
$ deno repl --allow-net --allow-env --eval-file=https://deno.land/x/subshell@0.2.45/tini.ts
```
2 changes: 1 addition & 1 deletion cache.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
ApiPromise,
WsProvider,
} from "https://deno.land/x/polkadot@0.2.43/api/mod.ts";
} from "https://deno.land/x/polkadot@0.2.45/api/mod.ts";

import fs from "node:fs";

Expand Down
2 changes: 1 addition & 1 deletion ci-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// execute with
// deno run --allow-read --allow-run --allow-write --allow-env ci-release.ts

import { stringCamelCase } from "https://deno.land/x/polkadot@0.2.43/util/mod.ts";
import { stringCamelCase } from "https://deno.land/x/polkadot@0.2.45/util/mod.ts";

// tighter specification for git arguments
type GitArgs =
Expand Down
6 changes: 3 additions & 3 deletions client/mod.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import {
ApiPromise,
WsProvider,
} from "https://deno.land/x/polkadot@0.2.43/api/mod.ts";
} from "https://deno.land/x/polkadot@0.2.45/api/mod.ts";
import type {
Signer,
SignerResult,
} from "https://deno.land/x/polkadot@0.2.43/api/types/index.ts";
} from "https://deno.land/x/polkadot@0.2.45/api/types/index.ts";
import type {
Registry,
SignerPayloadJSON,
SignerPayloadRaw,
} from "https://deno.land/x/polkadot@0.2.43/types/types/index.ts";
} from "https://deno.land/x/polkadot@0.2.45/types/types/index.ts";

export class Client implements Signer {
private encoder = new TextEncoder();
Expand Down
10 changes: 5 additions & 5 deletions init.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import "https://deno.land/x/polkadot@0.2.43/api-augment/mod.ts";
import "https://deno.land/x/polkadot@0.2.45/api-augment/mod.ts";
import {
ApiPromise,
WsProvider,
} from "https://deno.land/x/polkadot@0.2.43/api/mod.ts";
} from "https://deno.land/x/polkadot@0.2.45/api/mod.ts";
import { GearApi } from "https://gear-js.deno.dev/api/src/index.ts";
import { Client } from "https://deno.land/x/subshell@0.2.43-11/client/mod.ts";
// import { VerboseSigner } from "https://deno.land/x/subshell@0.2.43-11/signer/mod.ts";
import { Client } from "https://deno.land/x/subshell@0.2.45/client/mod.ts";
// import { VerboseSigner } from "https://deno.land/x/subshell@0.2.45/signer/mod.ts";
import { fromPng } from "npm:@rgba-image/png";
import * as sixel from "npm:sixel";
import { stringToU8a } from "https://deno.land/x/polkadot@0.2.43/util/mod.ts";
import { stringToU8a } from "https://deno.land/x/polkadot@0.2.45/util/mod.ts";
import {
ImageMagick,
initializeImageMagick,
Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ const status = await Deno.run({
"--allow-env",
"--no-prompt",
"--unstable",
"--eval-file=https://deno.land/x/subshell@0.2.43-11/init.ts",
"--eval-file=https://deno.land/x/subshell@0.2.45/init.ts",
],
}).status();
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2023 subshell authors & contributors
// Copyright 2017-2024 subshell authors & contributors
// SPDX-License-Identifier: MIT

// auto-generated via ci-release.ts, do not edit
Expand Down
10 changes: 5 additions & 5 deletions signer/mod.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import {
ApiPromise,
WsProvider,
} from "https://deno.land/x/polkadot@0.2.43/api/mod.ts";
} from "https://deno.land/x/polkadot@0.2.45/api/mod.ts";
import type {
Signer,
SignerResult,
} from "https://deno.land/x/polkadot@0.2.43/api/types/index.ts";
} from "https://deno.land/x/polkadot@0.2.45/api/types/index.ts";
import type {
Registry,
SignerPayloadJSON,
SignerPayloadRaw,
} from "https://deno.land/x/polkadot@0.2.43/types/types/index.ts";
import { Keyring } from "https://deno.land/x/polkadot@0.2.43/api/mod.ts";
import { createTestPairs } from "https://deno.land/x/polkadot@0.2.43/keyring/mod.ts";
} from "https://deno.land/x/polkadot@0.2.45/types/types/index.ts";
import { Keyring } from "https://deno.land/x/polkadot@0.2.45/api/mod.ts";
import { createTestPairs } from "https://deno.land/x/polkadot@0.2.45/keyring/mod.ts";

export function VerboseSigner(inner: Signer): Signer {
async function signRaw(payload: SignerPayloadRaw): Promise<SignerResult> {
Expand Down
2 changes: 1 addition & 1 deletion sixel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { fromPng } from "npm:@rgba-image/png";
import * as sixel from "npm:sixel";
import { stringToU8a } from "https://deno.land/x/polkadot@0.2.43/util/mod.ts";
import { stringToU8a } from "https://deno.land/x/polkadot@0.2.45/util/mod.ts";
import {
ImageMagick,
initializeImageMagick,
Expand Down
4 changes: 2 additions & 2 deletions subsh-deno
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [[ "$1" == cache ]]; then
done
$DENO run --no-lock --unstable -A cache.ts
else
# $DENO repl --v8-flags=--trace-side-effect-free-debug-evaluate --unstable --eval-file=https://deno.land/x/subshell@0.2.43-11/init.ts
# $DENO repl --v8-flags=--trace-side-effect-free-debug-evaluate --unstable --eval-file=https://deno.land/x/subshell@0.2.45/init.ts
# $DENO repl --no-lock --allow-read=".github" --allow-net --allow-env --no-prompt --unstable --eval-file=./init.ts
$DENO repl --no-lock --allow-read=".github" --allow-net --allow-env --no-prompt --unstable --eval-file=https://deno.land/x/subshell@0.2.43-11/init.ts
$DENO repl --no-lock --allow-read=".github" --allow-net --allow-env --no-prompt --unstable --eval-file=https://deno.land/x/subshell@0.2.45/init.ts
fi
2 changes: 1 addition & 1 deletion tini.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
ApiPromise,
WsProvider,
} from "https://deno.land/x/polkadot@0.2.43/api/mod.ts";
} from "https://deno.land/x/polkadot@0.2.45/api/mod.ts";

async function initApi() {
const PROVIDER = Deno.env.get("PROVIDER") ?? "wss://rpc.polkadot.io";
Expand Down

0 comments on commit 9abf492

Please sign in to comment.