File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
- import * as Block from 'multiformats/block'
1
+ /* eslint-disable no-console */
2
+
2
3
import * as codec from '@ipld/dag-cbor'
4
+ import * as Block from 'multiformats/block'
3
5
import { sha256 as hasher } from 'multiformats/hashes/sha2'
4
6
5
7
async function run ( ) {
Original file line number Diff line number Diff line change
1
+ /* eslint-disable no-console */
1
2
import assert from 'assert'
3
+ import { base64 } from 'multiformats/bases/base64'
2
4
import { CID } from 'multiformats/cid'
3
5
import * as json from 'multiformats/codecs/json'
4
6
import { sha256 } from 'multiformats/hashes/sha2'
5
- import { base64 } from 'multiformats/bases/base64'
6
7
7
8
async function run ( ) {
8
9
// ** PART 1: CREATING A NEW CID **
Original file line number Diff line number Diff line change 1
- import { CID } from 'multiformats/cid'
1
+ /* eslint-disable no-console */
2
2
import crypto from 'crypto'
3
+ import { CID } from 'multiformats/cid'
3
4
import * as json from 'multiformats/codecs/json'
4
5
import * as hasher from 'multiformats/hashes/hasher'
5
6
You can’t perform that action at this time.
0 commit comments