Skip to content

Commit 24cdc4d

Browse files
phishing 0.21.1
1 parent 68feca4 commit 24cdc4d

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## master
44

5+
- phishing 0.21.1
56
- hw-{ledger, ledger-transports}, keyring, networks, util, util-crypto, x-{bigint, fetch, global, randomvalues, textdecoder, textencoder, ws} 12.0.1
67
- wasm-{bridge, crypto, crypto-{asmjs, init, wasm}, util} 7.1.1
78
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 10.3.4

phishing/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
To check for sites that are on the list -
44

55
```js
6-
import { checkIfDenied } from 'https://deno.land/x/polkadot@0.2.35/phishing/mod.ts';
6+
import { checkIfDenied } from 'https://deno.land/x/polkadot/phishing/mod.ts';
77

88
const isOnDeny = await checkIfDenied(window.location.host);
99

@@ -13,7 +13,7 @@ console.log(`isOnDeny=${isOnDeny}`);
1313
To check for addresses that are on the list -
1414

1515
```js
16-
import { checkAddress } from 'https://deno.land/x/polkadot@0.2.35/phishing/mod.ts';
16+
import { checkAddress } from 'https://deno.land/x/polkadot/phishing/mod.ts';
1717

1818
const info = await checkAddress('1b....');
1919

phishing/bundle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
import type { AddressList, HostList } from './types.ts';
33

4-
import { u8aEq } from 'https://deno.land/x/polkadot@0.2.35/util/mod.ts';
5-
import { decodeAddress } from 'https://deno.land/x/polkadot@0.2.35/util-crypto/mod.ts';
4+
import { u8aEq } from 'https://deno.land/x/polkadot/util/mod.ts';
5+
import { decodeAddress } from 'https://deno.land/x/polkadot/util-crypto/mod.ts';
66

77
import { fetchJson } from './fetch.ts';
88

phishing/detectPackage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
import { detectPackage } from 'https://deno.land/x/polkadot@0.2.35/util/mod.ts';
3+
import { detectPackage } from 'https://deno.land/x/polkadot/util/mod.ts';
44

55
import others from './detectOther.ts';
66
import { packageInfo } from './packageInfo.ts';

phishing/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { fetch } from 'https://deno.land/x/polkadot@0.2.35/x-fetch/mod.ts';
2+
import { fetch } from 'https://deno.land/x/polkadot/x-fetch/mod.ts';
33

44

55
async function fetchWithTimeout (url: string, timeout = 2000): Promise<Response> {

phishing/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22

3-
export const packageInfo = { name: '@polkadot/phishing', path: new URL(import.meta.url).pathname, type: 'deno', version: '0.2.35' };
3+
export const packageInfo = { name: '@polkadot/phishing', path: new URL(import.meta.url).pathname, type: 'deno', version: '0.21.1' };

0 commit comments

Comments
 (0)