Skip to content

Commit 5d78cf8

Browse files
author
jin
committed
Fixed salt, deps, types
1 parent 223e535 commit 5d78cf8

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

app/app.view.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
namespace $.$$ {
22

3-
$mol_tree
4-
53
export class $piterjs_app extends $.$piterjs_app {
64

75
@ $mol_mem

intro/intro.view.tree

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $piterjs_intro $mol_view
22
title \PiterJS Вступление
33
meetup $piterjs_meetup
44
page?val \
5-
pages *
5+
pages *$piterjs_intro_page
66
main <= Main $piterjs_intro_main meetup <= meetup
77
about <= About $piterjs_intro_page
88
title \Кто мы?

meetup/meetup.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ namespace $ {
8888
joined_name( id: $mol_int62_string, next?: string ) {
8989
$mol_wire_solid()
9090
const secret = $mol_wire_sync( this.peer_secret( id )! )
91-
const salt = $mol_charset_encode( this.id() )
91+
const salt = $mol_crypto_hash( $mol_charset_encode( this.id() ) ).slice( 0, 16 )
9292

9393
if( next ) {
9494
const closed = secret.encrypt( $mol_charset_encode( next ), salt )

0 commit comments

Comments
 (0)