Skip to content

Commit d374170

Browse files
committed
update to following the latest structure
1 parent 0bd2417 commit d374170

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

src/en/posts/deep-dive-khaos.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -289,11 +289,10 @@ yarn deploy
289289

290290
For some source codes, you need to update Rollup's setting and install additional Rollup plugins. In such cases, you can rewrite `rollup.config.js`, and install additional Rollup plugins. You can also utilize bundlers except for Rollup.
291291

292-
When you deploy, you can get the following standard output, so you should take a memo of the value of `IPFS_HASH_FOR_DIRECTORY`.
292+
When you deploy, you can get the following standard output, so you should take a memo of the value of `IPFS_HASH_FOR_FILE`.
293293

294294
```text
295-
> {"Name":"index.js","Hash":"IPFS_HASH_FOR_FILE","Size":"554"}
296-
> {"Name":"","Hash":"IPFS_HASH_FOR_DIRECTORY","Size":"609"}
295+
> {"Name":"index.js","Hash":"IPFS_HASH_FOR_FILE","Size":"871"}
297296
```
298297

299298
## Khaos Registry
@@ -302,13 +301,13 @@ When you deploy, you can get the following standard output, so you should take a
302301

303302
Address maps for deployed functions in IPFS are managed.
304303

305-
Fork this repository, and additionally write the value of `IPFS_HASH_FOR_DIRECTORY`, which you've just taken a note of, for map/functions.json.
304+
Fork this repository, and additionally write the value of `IPFS_HASH_FOR_FILE`, which you've just taken a note of, for map/functions.json.
306305

307306
```json
308307
[
309308
{
310309
"id": "foo-bar",
311-
"ipfs": "<IPFS_HASH_FOR_DIRECTORY>"
310+
"ipfs": "<IPFS_HASH_FOR_FILE>"
312311
}
313312
]
314313
```

src/ja/posts/deep-dive-khaos.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,10 @@ yarn deploy
291291

292292
ソースコードによっては Rollup の設定を更新する必要があったり、追加のプラグインをインストールする必要がある場合があります。その場合、あなたは `rollup.config.js` を書き換えたり、追加のプラグインをインストールできます。また、Rollup 以外のバンドラーを利用することもできます。
293293

294-
デプロイすると以下のような標準出力があるので、`IPFS_HASH_FOR_DIRECTORY` の値をメモしておいてください。
294+
デプロイすると以下のような標準出力があるので、`IPFS_HASH_FOR_FILE` の値をメモしておいてください。
295295

296296
```text
297-
> {"Name":"index.js","Hash":"IPFS_HASH_FOR_FILE","Size":"554"}
298-
> {"Name":"","Hash":"IPFS_HASH_FOR_DIRECTORY","Size":"609"}
297+
> {"Name":"index.js","Hash":"IPFS_HASH_FOR_FILE","Size":"871"}
299298
```
300299

301300
## Khaos Registry
@@ -304,13 +303,13 @@ yarn deploy
304303

305304
IPFS にデプロイされた関数のアドレスマップを管理しています。
306305

307-
このリポジトリをフォークして、`map/functions.json` に先ほどメモした `IPFS_HASH_FOR_DIRECTORY` の値を追記してください。
306+
このリポジトリをフォークして、`map/functions.json` に先ほどメモした `IPFS_HASH_FOR_FILE` の値を追記してください。
308307

309308
```json
310309
[
311310
{
312311
"id": "foo-bar",
313-
"ipfs": "<IPFS_HASH_FOR_DIRECTORY>"
312+
"ipfs": "<IPFS_HASH_FOR_FILE>"
314313
}
315314
]
316315
```

0 commit comments

Comments
 (0)