Skip to content

Commit

Permalink
Merge pull request #4960 from mnaamani/joystream-js/release-1.6.0
Browse files Browse the repository at this point in the history
joystream/js v1.6.0 release
  • Loading branch information
mnaamani authored Nov 7, 2023
2 parents 30ecf0f + 6ec9397 commit a487937
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@joystream/cli",
"description": "Command Line Interface for Joystream community and governance activities",
"version": "1.2.1",
"version": "1.2.2",
"author": "Leszek Wiesner",
"bin": {
"joystream-cli": "./bin/run"
Expand Down Expand Up @@ -56,7 +56,7 @@
"proper-lockfile": "^4.1.1",
"slug": "^2.1.1",
"tslib": "^1.11.1",
"@joystream/js": "^1.4.0"
"@joystream/js": "^1.6.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.21.4",
Expand Down
5 changes: 4 additions & 1 deletion cli/src/commands/content/updateChannelPayoutsProposal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import chalk from 'chalk'
import UploadCommandBase from '../../base/UploadCommandBase'
import fs from 'fs'
import { createType } from '@joystream/types'
import { readBytesFromFile } from '@joystream/js/utils'

export default class UpdateChannelPayoutsProposal extends UploadCommandBase {
static description = 'Create channel payouts proposal.'
Expand Down Expand Up @@ -94,7 +95,9 @@ export default class UpdateChannelPayoutsProposal extends UploadCommandBase {
},
{
UpdateChannelPayouts: createType('PalletContentUpdateChannelPayoutsParametersRecord', {
commitment: payloadFilePath ? await generateCommitmentFromPayloadFile('PATH', payloadFilePath) : null,
commitment: payloadFilePath
? await generateCommitmentFromPayloadFile(readBytesFromFile('PATH', payloadFilePath))
: null,
payload: payloadFilePath
? {
objectCreationParams: {
Expand Down
4 changes: 4 additions & 0 deletions joystreamjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.6.0

- rework `util/readBytesFromFile` to support use in browser [#4584](https://github.com/Joystream/joystream/pull/4584)

### 1.5.0

- Update dependency on metadata protobuf to v2.10.0
Expand Down
2 changes: 1 addition & 1 deletion joystreamjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joystream/js",
"version": "1.5.0",
"version": "1.6.0",
"license": "GPL-3.0-only",
"description": "Joystream JS package provides utilities required to work with Joystream network.",
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion query-node/mappings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@apollo/client": "^3.2.5",
"@joystream/hydra-common": "5.0.0-alpha.4",
"@joystream/hydra-db-utils": "5.0.0-alpha.4",
"@joystream/js": "^1.5.0",
"@joystream/js": "^1.6.0",
"@joystream/warthog": "^2.41.9",
"@polkadot/types": "8.9.1"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/network-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"graphql": "^14.7.0",
"long": "^4.0.0",
"node-cleanup": "^2.1.2",
"@joystream/js": "^1.5.0",
"@joystream/js": "^1.6.0",
"uuid": "^7.0.3"
},
"devDependencies": {
Expand Down

0 comments on commit a487937

Please sign in to comment.