1
0
Prechádzať zdrojové kódy

Revert "update js types, add app id for development (#4048)" (#4053)

This reverts commit 9a0e058819aeb2e988b6009b01f3ef8807b225fa.
Bartosz Dryl 1 rok pred
rodič
commit
dfa6834584

+ 1 - 1
packages/atlas/package.json

@@ -39,7 +39,7 @@
     "@hookform/resolvers": "^2.9.10",
     "@joystream/js": "^1.4.0",
     "@joystream/metadata-protobuf": "2.8.1",
-    "@joystream/types": "2.1.0",
+    "@joystream/types": "0.20.5",
     "@livesession/sdk": "^1.1.4",
     "@loadable/component": "^5.15.2",
     "@lottiefiles/react-lottie-player": "^3.5.0",

+ 2 - 2
packages/atlas/src/.env

@@ -4,7 +4,7 @@
 VITE_ENV=development
 
 # App configuration
-VITE_APP_ID=4414-2
+VITE_APP_ID=
 
 VITE_AVATAR_SERVICE_URL=https://atlas-services.joystream.org/avatars
 VITE_GEOLOCATION_SERVICE_URL=https://geolocation.joystream.org
@@ -22,7 +22,7 @@ VITE_PRODUCTION_NODE_URL=wss://rpc.joystream.org:9944
 VITE_PRODUCTION_FAUCET_URL=https://faucet.joystream.org/member-faucet/register
 
 # Development env URLs - this is the default configuration if VITE_ENV != production
-VITE_DEVELOPMENT_ORION_URL=https://atlas-dev.joystream.org/orion-v2/graphql 
+VITE_DEVELOPMENT_ORION_URL=https://atlas-dev.joystream.org/orion-v2/graphql
 VITE_DEVELOPMENT_QUERY_NODE_SUBSCRIPTION_URL=wss://atlas-dev.joystream.org/orion-v2/graphql
 VITE_DEVELOPMENT_NODE_URL=wss://atlas-dev.joystream.org/ws-rpc
 VITE_DEVELOPMENT_FAUCET_URL=https://atlas-dev.joystream.org/member-faucet/register

+ 1 - 1
packages/atlas/src/joystream-lib/extrinsics.ts

@@ -162,7 +162,7 @@ export class JoystreamLibExtrinsics {
     await this.ensureApi()
 
     const metadata = wrapMetadata(MemberRemarked.encode(msg).finish()).unwrap()
-    const tx = this.api.tx.members.memberRemark(memberId, metadata, null)
+    const tx = this.api.tx.members.memberRemark(memberId, metadata)
     return tx
   }
 

+ 18 - 2
yarn.lock

@@ -3567,7 +3567,7 @@ __metadata:
     "@joystream/js": ^1.4.0
     "@joystream/metadata-protobuf": 2.8.1
     "@joystream/prettier-config": ^1.0.0
-    "@joystream/types": 2.1.0
+    "@joystream/types": 0.20.5
     "@livesession/sdk": ^1.1.4
     "@loadable/component": ^5.15.2
     "@lottiefiles/react-lottie-player": ^3.5.0
@@ -3707,7 +3707,23 @@ __metadata:
   languageName: node
   linkType: hard
 
-"@joystream/types@npm:2.1.0, @joystream/types@npm:^2.0.0":
+"@joystream/types@npm:0.20.5":
+  version: 0.20.5
+  resolution: "@joystream/types@npm:0.20.5"
+  dependencies:
+    "@polkadot/api": 8.9.1
+    "@polkadot/keyring": 9.5.1
+    "@polkadot/types": 8.9.1
+    "@types/lodash": ^4.14.157
+    "@types/vfile": ^4.0.0
+    ajv: ^6.11.0
+    lodash: ^4.17.15
+    moment: ^2.24.0
+  checksum: a3e310f358d7aa6d51a39d639f6ceec5052959abd38bc3ef34339a3c411ea91647d4fe50d09361d2aecd7d254da5d90b774e44dc67656cf1a5cd72aa89b0ba7b
+  languageName: node
+  linkType: hard
+
+"@joystream/types@npm:^2.0.0":
   version: 2.1.0
   resolution: "@joystream/types@npm:2.1.0"
   dependencies: